This repository does the following
- Installs common useful packages (check
./install.sh
for the list) - Sets up i3wm configuration keybindings. See
./config
for more info - Sets up custom keybindings for scripts such as a lock screen with
cmd+shift+l
and screenshots withcmd+shift+p
- Contains configuration files for other programs (i.e.
ranger
,compton
etc) - Daemon for auto mounting external drives (
thunar
) - Daemon for managing hardware keys including brightness and volume controls (
xfce
) - Instructions for setting up things like
git
andohmyzsh
- Barebones documentation for general day-to-day running of the machine
sudo apt-get install -y git-core git
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
git config --global user.email "your email" && git config --global user.name "your name"
cat ~/.ssh/id_rsa.pub
Copy terminal output to github ssh settings
cd the-directory-you-want-your-code-to-live
git clone git@github.com:josephluck/linux-config.git
cd linux-config
If the below doesn't work, RTFM.
sudo -i
echo "deb http://debian.sur5r.net/i3/ $(lsb_release -c -s) universe" >> /etc/apt/sources.list
logout
Take a look at ./install.sh
and install all the things! You can try running the command, but it's probably worth just copy and pasting in the bits you want.
chsh -s `which zsh`
config
is the i3 config...cp config ~/.config/i3/config
i3status.conf
should gocp i3status.conf ~/.config/i3/i3status.conf
compton
is the compton compositor config,cp compton ~/.config/compton/config
rc.conf
is the ranger config, copy it tocp rc.conf ~/.config/ranger/rc.conf
if you install rangerscreen.sh
is a tool for positioning a connected monitor to above the laptop.cmd+shift+u
to move a workspace up,cmd+shift+d
to move a workspace down
- Run
xfce4-appearance-settings
- Adjust the DPI according to your needs. 96 is good for MBP, resolution-wise, 1920x1200 seems to work well.
reboot
ranger
- CLI file explorerarandr
- Screen layout editor GUI
Note that there's keybindings set up for a few of these in the i3 config, but unless you install these packages, they won't work (obvs)
termite
- A better terminal emulator supporting line wrapping. A config file is specified in this repository. To use itcd [this directory] && mkdir ~/.config/termite && cp ./termite-config ~/.config/termite/config
. Update i3 config to usetermite
instead ofi3-sensible-terminal
on theshift+return
keybindgnome-screenshot
- if you have installed from ubuntu - you'll have thissuper+shift+p
to take a screeniecronopete
- Backup manager, you will need to set this up for your drive thoughpulseaudio
- Audio device managerplayerctl
- Control audio from hardware buttons i.e. play, back, forwardi3lock-fancy
- Fancy lock screen -cmd+shift+l
to lock, password to unlock, you need to install a few other things, so RTFMSqlectron
- Linux SQL guifind
- Better find tool for bash
sudo apt-get autoremove