/my-xubuntu-conf

My Xubuntu configuration

Primary LanguageShell

My Xubuntu installation and config

Installation

  • Most of the work is done by the shell script init.sh.
    • Download it by pasting this command into the terminal:
    wget https://raw.githubusercontent.com/mp4096/my-xubuntu-conf/master/init.sh
    • Open it (nano init.sh) and make sure you're ok with its contents. Remember that piping downloaded files directly into shell is considered harmful.
    • Run it by typing (requires su permissions):
    source init.sh
  • Install fancy typefaces:
    • Download Fantasque Sans and Source Code Pro.
    • Untar them by calling tar -zxvf $filename.
    • Move all *.otf files to ~/.fonts/.
    • Install them by typing sudo fc-cache -fv.
  • Python3: Install Anaconda from here.
  • Setup git:
git config --global user.name "ABC"
git config --global user.email "XYZ"

Workarounds and hacks

(Mostly hardware-specific)

  • Static noise (humming) in headphones output:
    • Run alsamixer in terminal and set Headphone Mic Boost to [dB gain: 10.00, 10.00].
    • References: [1].
  • Xfce mouse cursor disappears after unlock:
    • Seems to be specific to Intel graphic cards.
    • Workaround: Press Ctrl+Alt+F1 and Ctrl+Alt+F7.
    • References: [1].
  • Turn off Bluetooth on startup:
    • This one is nasty. Basically, you can disable the systemd's Bluetooth service, but then you cannot turn it on quickly (via blueman). So we'll modify rc.local and activate the corresponding systemd service.
    • Open /etc/rc.local as su and add rfkill block bluetooth before exit 0.
    • Reenable rc.local: sudo systemctl reenable rc-local.
  • Dell XPS 13 specific: Disable touchpad while typing:
    • Add the following snippet to /usr/share/X11/xorg.conf.d/51-synaptics-quirks.conf:
    # Disable generic Synaptics device, as we're using
    # "DLL0704:01 06CB:76AE Touchpad"
    # Having multiple touchpad devices running confuses syndaemon
    Section "InputClass"
        Identifier "SynPS/2 Synaptics TouchPad"
        MatchProduct "SynPS/2 Synaptics TouchPad"
        MatchIsTouchpad "on"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/event*"
        Option "Ignore" "on"
    EndSection
    
    • Restart lightdm by typing sudo systemctl restart lightdm or reboot.
    • Now you can configure this functionality either using syndaemon or the GUI.
    • References: [1].