Skip to content

tesuji/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d630e75 · Feb 18, 2025
Feb 18, 2025
Apr 21, 2019
May 7, 2018
Apr 22, 2018
Aug 26, 2024
Mar 17, 2023
Apr 22, 2018
Jan 19, 2025
Apr 22, 2018
May 7, 2018
Dec 9, 2019
Dec 23, 2024
Oct 27, 2024
Nov 28, 2024
Feb 18, 2025
May 6, 2019
Jul 24, 2018
Aug 15, 2019
Mar 6, 2019
Dec 11, 2019
Dec 22, 2018
Feb 22, 2019
Apr 22, 2018
Feb 23, 2023
Apr 16, 2020
Feb 28, 2019
Jul 4, 2020
Jan 9, 2025

Repository files navigation

dotfiles

Collection of @lzutao dotfiles.

Currently only tested for Debian-based and Arch-based distro.

General Information

Shell WM / DE Editor Terminal Multiplexer Compositor Audio Monitor Mail IRC
bash / zsh XFCE Vim / Subl xfce4 / urxvt tmux compton pulseaudio custom

tmux

Try to be compatible with tmux 1.8 and 2.3+. Use AltA as prefix key.

zsh

Manual configuration (no dependencies).

subl

Keymap: View this config.

Installed package: View this config.

Custom syntax: bash, c, c++, css, html, java, js, makefile, python, xml.

Firefox

Install tweak by:

sh ./scripts/tweak_firefox.sh

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

GNU Stow is needed for installing this dotfiles, to install stow, use the following command in proper distribution.

Distro Command
Debian and Ubuntu sudo apt-get install stow
Arch Linux sudo pacman -Syu --needed stow

Installation

Configure git:

USER_NAME="foo"
USER_EMAIL="foo@bar.com"
# I recommend you to do this step, because sometimes if you
# need to rebase the dotfiles, the global git config would go off
# and stay in your way
git config user.name "$USER_NAME"
git config user.email "$USER_EMAIL"
#
git config --global user.name "$USER_NAME"
git config --global user.email "$USER_EMAIL"

Telling Git about your signing key if you have one.

Now install it. Note that you have manually backup and remove old configs.

cd ~
git clone https://github.com/lzutao/dotfiles.git
cd dotfiles
stow <whatever>

Post-installation

  • User should use stow --restow <folder> to update properly.

  • User should log out and log in again to use Gnome Keyring Daemon.

    Rationale: This repo contains ~/.profile file.

Known Issues

  • fontconfig may cause noised font rendering on Fedora.

Fedora

Use hardware rendenring

Ref: https://rpmfusion.org/Howto/Multimedia. Use DRI_PRIME=1 glxinfo -B or vainfo to check.

TERM=tmux-256color with tmux from source

wget https://gist.github.com/nicm/ea9cf3c93f22e0246ec858122d9abea1/raw/37ae29fc86e88b48dbc8a674478ad3e7a009f357/tmux-256color
/bin/tic -x tmux-256color

Xubuntu 18.04 desktop freezes with movable mouse

Try kill compton daemon:

  • Press CtrlAltF1 and login to the system.
  • Type
    kill $(pidof compton)
  • Turn back to GUI: CtrlAltF7

amdgpu - Radeon HD 8790M causes crash when resuming with kernel 4.18+

Temporary fix

Disable the radeon and amdgpu in file /etc/modprobe.d/blacklist.conf.

% sudo tee -a /etc/modprobe.d/blacklist.conf << EOF
blacklist amdgpu
blacklist radeon
EOF
% sudo update-initramfs -u -v

Tried methods (Wrong ones):

  • Disable dmp (Dynamic Power Management):
    • Add amdgpu.dpm=0 or radeon.dpm=0 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.
    • Then run: sudo update-grub.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Thanks To

All other dotfiles that I stole from. I give references in the comment of many files. But I am too lazy to list all here.

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.