- Download Debian and install network install.
- No root user.
- Seperate partition for home.
- Add
non-free
to the end of/etc/apt/sources.list
1. - 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.git
1.cd capitaine-cursors
1.cp dist/ ~/.icons/capitaine-cursors/
- If you have a HIDPI monitor do the following:
1. Edit
vi ~/.Xresources
1. AddXft.dpi: 180 Xft.autohint: 0 Xft.lcdfilter: lcddefault Xft.hintstyle: hintfull Xft.hinting: 1 Xft.antialias: 1 Xft.rgba: rgb
- Edit
vi ~/.Xresources
and add your custom cursor: 1. AddXcursor.theme: capitaine-cursors
- To fix a blocked wireless card:
sudo rfkill list
check 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 list
xinput list-props DEVICE-ID
xinput 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 && make
runmake install
. make
kitty (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/config
changebindsym Mod1+Return exec i3-sensible-terminal
tobindsym 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-askpass
to 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:config
to falseui.allow_platform_file_picker
- Setup pulseaudio:
apt install pulseaudio
- Clone
https://github.com/graysky2/pulseaudio-ctl.git
cd pulseaudio-ctl && make
make install
should 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.monitor
1.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-stereo
1.pulseaudio --kill
1.pulseaudio --start
- Notifications
git clone https://github.com/dunst-project/dunst.git && cd dunst
- Install the dependincies found at here
make
make 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