Skip to content

Instantly share code, notes, and snippets.

Last active June 5, 2018 19:48
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save heikomat/776260a50f502df91ffc0da3789bd0de to your computer and use it in GitHub Desktop.

Install sudo:

apt install sudo
addgroup YOURUSERNAME sudo

Install Chrome

As described here:

wget -q -O - | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt update
apt-get install google-chrome-stable

Remove possibly unnecessary packages like libreoffice and firefox:

sudo apt purge libreoffice*
sudo apt purge firefox*
sudo apt purge firefox-esr
sudo apt purge hv3
sudo apt purge xfburn
sudo apt purge quodlibet
sudo apt autoremove

Prevent evbug from spamming your /var/log/debug

Add this line to your /etc/modprobe.d/blacklist.conf (creating the file, if it doesn't exist)

blacklist evbug

Make login not take forever


sudo apt install rng-tools5

Get audio to work

As described here

Make tap-to-click work

  1. if /etc/X11/xorg.conf doesn't exist, create one:
    1. go to a non graphical tty by pressing ctrl+alt+f1
    2. login
    3. Kill the current x-session with sudo service lightdm stop (replace lightdm with your display-manager, for example gdm)
    4. sudo X -configure
    5. sudo mv /root/ /etc/X11/xorg.conf
    6. sudo service lightdm start (replace lightdm with your display-manager, for example gdm)
  2. Add the following section at the end of the file:
    Section  "InputClass"
            Identifier  "touchpad overrides"
            Driver "libinput"
            MatchIsTouchpad "on"
            Option "Tapping" "on"
            Option "TappingButtonMap" "lmr"
            Option "ButtonMapping" "1 3 2"

Update the keyboard-layout

  1. sudo apt install keyboard-configuration console-setup
  2. Change the layout in /etc/default/keyboard to your liking, for example to de
  3. Reboot

Install designs

sudo apt install papirus-icon-theme gnome-themes-standard

Download and install osx-arc-collection from here

  • Select OSX-Arc-Shadow as window manager theme
  • Select OSX-Arc-Shadow as style (in appearance)
  • Select Papirus-Adapta-Nokto as icon theme

Style lightdm

Edit the /etc/lightdm/lightdm.conf as root and uncomment the following lines be removing the #:

  • greeter-hide-users=false

Add mac-like screenshot-shortcuts (xfce)

  • sudo apt install xfce4-screenshooter
  • create with the following content:
    mkdir $target
    filename=$(date +%F__%H-%M-%S).png
    if [ "$1" = "region" ]; then
      xfce4-screenshooter --region --open cat > $path
    elif [ "$1" = "window" ]; then
      xfce4-screenshooter --window --open cat > $path
      xfce4-screenshooter --fullscreen --open cat > $path
  • make it executable with chmod +x
  • map /PATH/TO/ region to alt + shift + 2
  • map /PATH/TO/ window to alt + shift + 3
  • map /PATH/TO/ fullscreen to alt + shift + 4

Add samba to thunar

  • sudo apt install gvfs-backends
  • reboot
  • Open Thunar and select Browse Network

Speed up boot

Don't wait for network connectivity


sudo systemctl disable NetworkManager-wait-online.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment