- Download Debian and install network install.
- No root user.
- Seperate partition for home.
- Add
non-freeto the end of/etc/apt/sources.list1. - Find missing firmware with
cat /var/log/syslog | grep firmware. - Locate new firmware with
apt search FIRMWAREnAME. - Install the packages suggested by apt.
- Install the following:
apt install git i3 xorg firefox-esr wicd-curses xinput dbus-x11 htop scrot. * Note that dbus-x11 must be installed or dbus will not function correctly in the user space (the system bus will still work). - Install i3-gaps
git clone https://github.com/maestrogerardo/i3-gaps-deb.git && cd i3-gaps-deb.- Execute i3-gaps-deb with
.i3-gaps-deb. * Ignore the bit about adding to the i3 config, we will take care of that next. - Create the following directory structure
~/.config/i3/ - Copy the default i3 config
cp /etc/i3/config ~/.config/i3/config - Edit your new config file and remove "exec i3-config-wizard" (should be the last line)
vi ~/.config/i3/config - Add the necessary gaps info to your i3 config
./i3-gaps-deb --config >> ~/.config/i3/config - Reboot for the heck of it.
- Log in and run startx to make sure things are working.
- Add custom cursors:
1.
git clone https://github.com/keeferrourke/capitaine-cursors.git1.cd capitaine-cursors1.cp dist/ ~/.icons/capitaine-cursors/ - If you have a HIDPI monitor do the following:
1. Edit
vi ~/.Xresources1. AddXft.dpi: 180 Xft.autohint: 0 Xft.lcdfilter: lcddefault Xft.hintstyle: hintfull Xft.hinting: 1 Xft.antialias: 1 Xft.rgba: rgb - Edit
vi ~/.Xresourcesand add your custom cursor: 1. AddXcursor.theme: capitaine-cursors - To fix a blocked wireless card:
sudo rfkill listcheck for soft or hard blocks, soft blocks can be fixed below.sudo rfkill unblock all- Fix your touchpad, add the following lines to
.xsessionrc. -
xinput set-prop 13 287 1```
- Note that you can use the following commands to find out what properties to set for your device.
xinput listxinput list-props DEVICE-IDxinput set-prop DEVICE-ID PROP-ID 1
- Add Kitty
apt install libxcursor-dev libxrandr-dev libxinerama-dev libgl1-mesa-dev python3-dev libxi-dev- Clone Kitty
git clone https://github.com/kovidgoyal/kitty && cd kitty - Manually install >=1.5 version of [harfbuzz](https://harfbuzz.github.io/install-harfbuzz.html
1. Follow the download link, and download the latest tar and unpack it. 1. Follow the directions in the building link. After running./configure && makerunmake install. makekitty (ignore wayland errors, we aren't using it).- You can now test kitty out with
python3 .. - To finish building, run
python3 setup.py linux-package. - In the linux-package dir you will find bin, lib and share. 1. sudo cp bin/* /usr/bin 1. sudo cp -r lib/* /usr/lib/ 1. sudo cp -r share/* /usr/share/
- Edit
~/.config/i3/configchangebindsym Mod1+Return exec i3-sensible-terminaltobindsym Mod1+Return exec kitty. - Add Fish
- Add the repo
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/2/Debian_9.0/ /' > /etc/apt/sources.list.d/shells:fish:release:2.list. - Add the release key
wget -nv https://download.opensuse.org/repositories/shells:fish:release:2/Debian_9.0/Release.key -O Release.key apt-key add - < Release.key - Update and install
apt update && apt install fish. - Add VS code --- missing
- Fix ssh ask pass
apt install ssh-askpass. - Add
export SSH_ASKPASS=ssh-askpassto your.xinitrc - Brightness fix.
apt install xbacklight- Add the following to
/etc/X11/xorg.conf:Section "Device" Identifier "Card0" Driver "intel" Option "Backlight" "intel_backlight" EndSection - Firefox file download/upload fix: change the following value in
about:configto falseui.allow_platform_file_picker - Setup pulseaudio:
apt install pulseaudio- Clone
https://github.com/graysky2/pulseaudio-ctl.git cd pulseaudio-ctl && makemake installshould be done as root.- Configure pulse audio:
1.
pacmd list-sources | grep -e device.string -e 'name:'1. Edit /etc/pulseaudio/default.pa (at the bottom) and add the following, changing the device name to the one found above:set-default-source alsa_output.pci-0000_04_01.0.analog-stereo.monitor1.pacmd list-sinks | grep -e 'name:' -e 'index'1. Edit /etc/pulseaudio/default.pa (at the bottom) and add the following, changing the device name to the one found above:set-default-sink alsa_output.pci-0000_04_01.0.analog-stereo1.pulseaudio --kill1.pulseaudio --start - Notifications
git clone https://github.com/dunst-project/dunst.git && cd dunst- Install the dependincies found at here
makemake install(as root)- Install libnotify-bin to enable notify-send
apt install libnotify-bin. - Set fish as the default:
chsh -s /usr/bin/fish - Install pgcli:
sudo apt install python-pip && sudo pip install pgcli