Skip to content

Instantly share code, notes, and snippets.

@nopjia
Last active October 15, 2021 20:55
Show Gist options
  • Save nopjia/683a87746e56373d87022b76f028dff8 to your computer and use it in GitHub Desktop.
Save nopjia/683a87746e56373d87022b76f028dff8 to your computer and use it in GitHub Desktop.
Configuring a new Ubuntu installation

New Ubuntu Install

Ubuntu 20.04.3 LTS

Settings

  • Power > When the Power Button is pressed
  • Displays > Night Light on
  • Nautilus > Hamburger Menu > Show Hidden Files

Install Software

# write bash aliases

cat >> ~/.bash_aliases <<EOF
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias open='xdg-open > /dev/null 2>&1'
EOF


# install google chrome
# https://www.ubuntuupdates.org/ppa/google_chrome

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable


# install software

sudo snap install vlc
sudo snap install code --classic
sudo snap install sublime-text --classic


# install nvm
# https://github.com/creationix/nvm

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install --lts

GNOME Tweak Tool and Extensions

sudo apt install gnome-tweak-tool
sudo apt install gnome-shell-extensions
sudo apt install chrome-gnome-shell

Settings

  • Power > Suspend when laptop lid is closed > OFF
  • Top Bar > Battery Percentage > ON

Extensions

Dash to Panel config

[/]
animate-appicon-hover=false
animate-appicon-hover-animation-extent={'RIPPLE': 4, 'PLANK': 4, 'SIMPLE': 1}
appicon-margin=0
available-monitors=[0]
dot-color-1='#5294e2'
dot-color-2='#5294e2'
dot-color-3='#5294e2'
dot-color-4='#5294e2'
dot-color-dominant=false
dot-color-override=false
dot-color-unfocused-1='#5294e2'
dot-color-unfocused-2='#5294e2'
dot-color-unfocused-3='#5294e2'
dot-color-unfocused-4='#5294e2'
dot-size=0
dot-style-focused='METRO'
dot-style-unfocused='SQUARES'
focus-highlight=true
focus-highlight-color='#f57900'
focus-highlight-dominant=false
group-apps=false
group-apps-label-font-color='#dddddd'
group-apps-label-font-color-minimized='#dddddd'
group-apps-label-font-weight='inherit'
group-apps-label-max-width=140
hotkeys-overlay-combo='TEMPORARILY'
panel-anchors='{"0":"MIDDLE"}'
panel-element-positions='{"0":[{"element":"showAppsButton","visible":true,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":false,"position":"stackedBR"}]}'
panel-lengths='{"0":100}'
panel-sizes='{"0":32}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment