Collection of @lzutao dotfiles.
Currently only tested for Debian-based and Arch-based distro.
Shell | WM / DE | Editor | Terminal | Multiplexer | Compositor | Audio | Monitor | IRC | |
---|---|---|---|---|---|---|---|---|---|
bash / zsh | XFCE | Vim / Subl | xfce4 / urxvt | tmux | compton | pulseaudio | custom |
Try to be compatible with tmux 1.8 and 2.3+. Use AltA as prefix key.
Manual configuration (no dependencies).
Keymap: View this config.
Installed package: View this config.
Custom syntax: bash, c, c++, css, html, java, js, makefile, python, xml.
Install tweak by:
sh ./scripts/tweak_firefox.sh
These instructions will get you a copy of the project up and running on your local machine.
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 |
Configure git:
USER_NAME="foo"
USER_EMAIL="[email protected]"
# 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>
-
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.
fontconfig
may cause noised font rendering on Fedora.
Ref: https://rpmfusion.org/Howto/Multimedia.
Use DRI_PRIME=1 glxinfo -B
or vainfo
to check.
wget https://gist.github.com/nicm/ea9cf3c93f22e0246ec858122d9abea1/raw/37ae29fc86e88b48dbc8a674478ad3e7a009f357/tmux-256color
/bin/tic -x tmux-256color
Try kill compton
daemon:
- Press CtrlAltF1 and login to the system.
- Type
kill $(pidof compton)
- Turn back to GUI: CtrlAltF7
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
- Disable
dmp
(Dynamic Power Management):- Add
amdgpu.dpm=0
orradeon.dpm=0
toGRUB_CMDLINE_LINUX_DEFAULT
in/etc/default/grub
. - Then run:
sudo update-grub
.
- Add
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
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.
This project is licensed under the MIT License - see the LICENSE file for details.