Skip to content

Instantly share code, notes, and snippets.

@hugs
Last active March 21, 2020 19:59
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugs/f0a11ec526d9913a7ab6b0858287f284 to your computer and use it in GitHub Desktop.
Save hugs/f0a11ec526d9913a7ab6b0858287f284 to your computer and use it in GitHub Desktop.
Elementary OS Setup (Loki)

Post-installation Elementary OS Setup and Tweaks

  • System Settings -> Mouse & Touchpad -> Touchpad -> Tap to click -> (Toggle on)
  • Connect to additional WiFi access points

Apply Updates:

sudo apt-get update
sudo apt-get upgrade

Install Dev Tools:

sudo apt-get install git vim

Install Chromium:

sudo apt-get install chromium-browser

Save some screen real estate

  • Launch Chromium
  • Settings -> Appearance -> "Use system title bar and borders" -> Set to unchecked

Install Node:

  • Go to https://nodejs.org/en/

  • Download *.tar.xz

  • Extract to ~/Downloads

  • Move folder to ~/Applications

  • Create aliases:

    cd /home/hugs/.local/bin
    ln -s /home/hugs/Applications/node-v9.3.0-linux-x64/bin/node node
    ln -s /home/hugs/Applications/node-v9.3.0-linux-x64/bin/npm npm
    ln -s /home/hugs/Applications/node-v9.3.0-linux-x64/bin/npx npx
    

Plank (aka "Dock"):

  • Add Files app, Keep in Dock
  • Add Terminal app, Keep in Dock
  • Add Chromium app, Keep in Dock
  • Except for System Settings app, remove all other apps from Dock

Launch Preferences (Control + Right-Click on Dock, then select Preferences)

  • Appearance -> Position -> Left
  • Behavior -> Hide Dock -> Autohide

Date & Time:

  • Change time zone to America/Chicago
  • Change time format to AM/PM

Wallpaper:

Create backgrounds directory (bug that it's missing?)

mkdir ~/.local/share/backgrounds

Terminal app:

Cleaner look & saves space when only one tab is open

gsettings set org.pantheon.terminal.settings tab-bar-behavior 'Hide When Single Tab'

So that control-D keyboard shorcut no longer closes the window (?!)

gsettings set org.pantheon.terminal.settings save-exited-tabs false

Disable edge tiling. (It's annoying)

gsettings set org.pantheon.desktop.gala.behavior edge-tiling false

Disable single-click open in Pantheon. (It's also annoying.)

gsettings set org.pantheon.files.preferences single-click false

Changes to ~/.bashrc:

vim ~/.bashrc
  • Append to the end of file: PS1='$ '

Libinput gestures:

mkdir Projects
cd Projects/
git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures/
sudo gpasswd -a $USER input
sudo make install
sudo apt-get install libinput-tools xdotool 
libinput-gestures-setup autostart
vim ~/.config/libinput-gestures.conf 
  • Log out, the log in for libinput changes to take effect
# Move to left workspace
gesture swipe right 4 xdotool key super+Left
# Move to right workspace
gesture swipe left 4 xdotool key super+Right
# View all windows & workspaces
gesture swipe up 4 xdotool key super+Down
# Exit view all workspaces
gesture swipe down 4 xdotool key super+Down
# Browser go forward (works only for Xorg, and Xwayland clients)
gesture swipe left xdotool key alt+Right
# Browser go back (works only for Xorg, and Xwayland clients)
gesture swipe right xdotool key alt+Left
@georgebax
Copy link

great gist dude

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment