Using Mate DE and i3-gaps WM
May 4th 2017
Use Debian Stretch RC3 Installer: https://www.debian.org/devel/debian-installer/
- Non-graphical install
- Ignore warning about firmware not found for wireless card
- Went for full LVM disk encryption
- Selected Mate desktop
After install
- Login as root and add my user acount to sudoers group
$ adduser mike sudo
- Add
contrib non-freeto/etc/apt/sources.listdeb http://ftp.us.debian.org/debian/ stretch main contrib non-free deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free deb http://security.debian.org/debian-security stretch/updates main contrib non-free deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
- Make the caps lock key an escape
- Add
XKBOPTIONS="caps:escape"to/etc/default/keyboard
- Add
- Install plymouth for a graphical boot and disk decrypt screen
sudo apt install plymouth plymouth-themes- edit
/etc/initramfs-tools/modulesand add the following lines:# KMS intel_agp drm i915 modeset=1 - edit
/etc/default/gruband add this line:GRUB_GFXMODE=1920x1080 - edit the
GRUB_CMDLINE_LINUX_DEFAULTline to read:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" - update Grub to pick up the changes:
sudo update-grub2 - set the default theme to
lines:sudo /usr/sbin/plymouth-set-default-theme lines - apply the changes:
sudo update-initramfs -u - reboot
Setup touchpad with libinput
- add the following to
/usr/share/X11/xorg.conf.d/40-libinput.confSection "InputClass" Identifier "libinput touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "Tapping" "True" Option "PalmDetection" "True" Option "TappingDrag" "True" Option "TappingDragLock" "True" Option "HorizontalScrolling" "True" Option "NaturalScrolling" "False" Option "TappingButtonMap" "lrm" Option "ClickMethod" "clickfinger" Option "ScrollMethod" "twofinger" EndSection
Install i3-gaps
git clone https://github.com/Airblader/i3 gapssudo apt install libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev xcb libxcb1-dev libxcb-icccm4-dev libyajl-dev libev-dev libxcb-xkb-dev libxcb-cursor-dev libxkbcommon-dev libxcb-xinerama0-dev libxkbcommon-x11-dev libstartup-notification0-dev libxcb-randr0-dev libxcb-xrm0 libxcb-xrm-devcd i3-gaps; autoreconf --force --installmkdir -p build; cd build; ../configure --prefix=/usr --sysconfdir=/etc --disable-sanitizersmake; sudo make install
Setup Mate to use i3 as window manager
- install
dconf-editor - Change org/mate/desktop/session/required/components/windowmanager to 'i3'
- Remove 'filemanager' from org/mate/desktop/session/required-components-list
- TODO: link to i3 config
Use rofi instead of dmenu:
- Make rofi look pretty with an Arc Dark theme. Add to ~/.Xresources
rofi.color-normal: argb:31d1f21, #c4cbd4, argb:96404552, #4084d6, #f9f9f9 rofi.color-urgent: argb:2c1d1f21, #cc6666, argb:e54b5160, #a54242, #f9f9f9 rofi.color-active: argb:2c1d1f21, #65acff, argb:e44b5160, #4491ed, #f9f9f9 rofi.separator-style: solid
- install
network-managerandnetwork-manager-gnomefornm-applet - install
libnotify-binto use `notify-send - install
arc-themeand paprius icon set for some better looks - install compton and start with
compton -CGbon login for terminal and notification transparency - use https://github.com/alexandrefvb/mate-cycle-backgrounds to make a desktop slideshow from a directory of chromecast backgrounds
- install
bluemanfor a mate panel bluetooth applet
Intel i915 kernel module:
cat /etc/modprobe.d/i915.conf
options i915 enable_rc6=1 enable_fbc=1 semaphores=1
cat /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection
Systemd suspend service:
cat /etc/systemd/sleep.conf
[Sleep]
# the following is only valid for kernel 4.10 and up
#SuspendState=deep
# for kernel 4.9 mem = S3 suspend-to-RAM
SuspendState=mem