Skip to content

Ashmin-Bhujel/ubuntu-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu Setup

Install Ubuntu

  • Make a bootable drive for Ubuntu
  • Boot with the drive
  • Install Ubuntu with appropriate configurations

Update The Packages

sudo apt update
sudo apt upgrade
sudo apt install nala git
sudo nala full-upgrade

Update Snap Store

sudo snap refresh snap-store
  • Uninstall snap version of Firefox browser

Install Necessary Packages

sudo nala install curl wget git git-flow build-essential net-tools gnome-tweaks gnome-shell-extension-manager btop gdb ubuntu-restricted-extras vlc libgtop2-dev fzf ripgrep bat fd-find

Install fastfetch

sudo add-apt-repository ppa:zhangsongcui3371/fastfetch
sudo nala update
sudo nala install fastfetch

Install ghostty Terminal

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mkasberg/ghostty-ubuntu/HEAD/install.sh)"

Setup zsh and ohmyzsh

  1. Install zsh

    sudo nala install zsh
  2. Setup ohmyzsh

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  3. Add zsh-syntax-highlighting plugin

    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    • Add zsh-syntax-highlighting in plugins list inside .zshrc file
  4. Install spaceship-prompt theme for ohmyzsh

    git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
    ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
    • Set ZSH_THEME="spaceship" in your .zshrc file

Setup Ubuntu's Look and Feel

  1. Tweak system settings

  2. Gnome extensions

    • Appindicator and KStausNotifierItem Support - [ 3v1n0 ] Disable the default Appindicator First
    • Clipboard Indicator - [ Tudmotu ]
    • System Monitor - [ fmuellner ]
    • Logo Menu - [ Aryan Kausik ]
      • Extension Manager
      • Software Center: snap-store
    • Transparent Top Bar [ Gonzague ]
    • Ubuntu Dock
      • Icon Size: 32
      • Behaviour - { CA: Focus, minimize or show preview, SA: Cycle through windows }
      • Appearance - { Indicator: Dots (Dominant color), Dynamic: 0 to 100 }

Install Web Browsers

  • Helium browser (Chromium based)

    • Setup Helium browser
    • Import Bookmarks
    • Extensions
      • React Developer Tools
      • Redux DevTools
      • Wappalyzer
      • WhatFont
  • Brave browser (Chromium based) [Optional]

    curl -fsS https://dl.brave.com/install.sh | sh
    • Setup Brave browser
    • Import Bookmarks
    • Extensions
      • React Developer Tools
      • Redux DevTools
      • Wappalyzer
      • WhatFont
  • Zen browser (Firefox based) [Optional]

    • Install Zen browser using tarball script

      bash <(curl -s https://updates.zen-browser.app/install.sh)
    • Create a zen-local file inside /etc/apparmor.d directory with the following content if a warning pop us when starting up the browser

      NOTE: Replace {username} with your username, There will also some configurations needed to be done after initial startup.

      # This profile allows everything and only exists to give the
      # application a name instead of having the label "unconfined"
      abi <abi/4.0>,
      include <tunables/global>
      profile zen-local
      /home/{username}/.tarball-installations/zen/{zen,zen-bin,updater}
      flags=(unconfined) {
        userns,
        # Site-specific additions and overrides. See local/README for details.
        include if exists <local/zen>
      }
    • Extensions

      • Zen Mods
        • Floating status bar
      • uBlock Origin
      • Wappalyzer
      • WhatFont

Install GUI Applications

  • Spotify Music Player

    curl -sS https://download.spotify.com/debian/pubkey_C85668DF69375001.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
    echo "deb https://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
    sudo nala update
    sudo nala install spotify-client
  • OBS Studio

    sudo add-apt-repository ppa:obsproject/obs-studio
    sudo nala update
    sudo nala install ffmpeg obs-studio

Install Development Tools

  • Setup Git and GitHub

    • Git config

      git config --global user.name "Your Name"
      git config --global user.email "Your Email"
      git config --global init.defaultBranch "main"
    • Setup SSH key for GitHub

      ssh-keygen
      • Copy the public key from .ssh/ directory
      • Go to GitHub > Settings > SSH and GPG Keys then add the generated SSH key
      • Check the connection by ssh -T git@github
  • tmux

    sudo nala install tmux
    git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
  • node

    Note: Its recommended to visit the official Node.js site for latest version of installation command.

  • pnpm

    curl -fsSL https://get.pnpm.io/install.sh | sh -
  • uv and python [Optional]

    • Install uv

      curl -LsSf https://astral.sh/uv/install.sh | sh
    • Install python

      uv python install

About

My personalized setup and configurations for fresh installation of Ubuntu desktop.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages