Skip to content

faptc/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published