Ubuntu (Gnome) Post-Install Setup Script

Ubuntu (Gnome) Post-Install Setup Script

A post-installation automation script for Ubuntu (GNOME) that installs your preferred software, sets system settings, configures GNOME extensions, applies keyboard shortcuts, sets Bengali fonts, removes Snap, and prepares a ready-to-use development and multimedia environment.


Features


Repo Link: https://github.com/shuvroce/ubuntu-setup


Directory Structure

ubuntu-setup/
├── configs/           # Terminal profile config file
├── fonts/
├── deb/               # Local .deb packages (VSCode, IntelliJ IDEA, etc.)
├── dconf/             # GNOME dconf backup for settings
│   └── gnome-settings.conf
├── scripts/           # Custom scripts to copy to /usr/local/bin
├── wallpapers/        # Wallpapers to copy to ~/Pictures/Wallpaper
├── setup.sh           # Main automation script
├── extensions.sh      # Extensions installation script
└── apps.sh            # Flatpak apps installation script

Prerequisites


Install Git

sudo apt install git -y

Usage

  1. Clone or copy the repository to your home folder:
    git clone https://github.com/shuvroce/ubuntu-setup.git ~/ubuntu-setup

  1. Place your .deb files in ubuntu-setup/deb/ and the script will install them automatically. (Optional)

  1. Make the script executable:
    chmod +x ~/ubuntu-setup/setup.sh

  1. Run the script:
    ~/ubuntu-setup/setup.sh

> The script uses sudo for package installation, system configuration, and Snap removal. You may be prompted for your password multiple times.


  1. After completion, reboot the system to apply all GNOME settings and extensions.

Customizations

GNOME Extensions


Install Extensions

Run extensions.sh script:

~/ubuntu-setup/extensions.sh

Keyboard Shortcuts

Shortcut Action
Super + B Browser
Super + C VS Code
Super + E File Explorer
Super + T Terminal
Super + S Settings
Super + R Resource Monitor / Task Manager
Super + X Extension Manager
Super + N Notepad / Text Editor
Super + Q Quit Program
Super + 1..4 Switch to Workspace 1..4

DNS


Fonts


Flatpak Apps

Installed from Flathub:


Install Flatpak Apps

Run apps.sh script:

~/ubuntu-setup/apps.sh

> Apps that fail to install will not stop the script.


Utility Scripts

Any scripts placed in ubuntu-setup/scripts/ will be copied to usr/local/bin and made executable, allowing you to run them as commands.


Uninstall/Remove apps completely (deb/flatpak/snap)




Others

Terminal Profile

The posh terminal profile is installed from:

https://github.com/pixegami/terminal-profile

Configure Firefox profile

For Firefox profile, visit:

https://ffprofile.com/ to config firefox

Remove Discord Ads

Follow the tutorial for better discore:

https://github.com/CroissantDuNord/discord-adblock

Notes