Here’s a little script I use for every fresh install I do. It isn’t ground breaking stuff, but it saves me the hassle of diving into settings and finding all the check boxes to check. Here it is:
# Set Gnome Clock to AM/PM Mode
gsettings set org.gnome.desktop.interface clock-format '12h'
# Enable Fractional Scaling
gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
# Add Minimize and Maximize buttons
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
# Display Battery Percentage
gsettings set org.gnome.desktop.interface show-battery-percentage true
# Enable Tap to Click
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
# Enable Natural Scrolling
gsettings set org.gnome.desktop.peripherals.mouse natural-scroll true
gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll true
# Install Flatpak
sudo apt install flatpak
# Add Flathub repository
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# Install GNOME Software plugin
sudo apt install gnome-software-plugin-flatpak
To finish making gnome into a comfortable home for me, I also manually install the dash-to-dock and blur my shell gnome extensions.
Also note that I used to run into a bug with some apps and the fractional scaling option turned on. Even with the scaling set to a round number, apps like Vivaldi would be blurry when fractional scaling was enabled. When I had that issue I’d disable it and use gsettings set org.gnome.desktop.interface text-scaling-factor 1.2
instead.
I never thought about having a script to setup gnome. Thank you
Here is my setup for Bookworm.
#------------------------------------------------------------------------------#
Debian 12 Setup by Luckykar
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
Firewall Enable After Install
#------------------------------------------------------------------------------#
sudo apt install firewalld firewall-config ’ Install firewall
sudo firewall-cmd --state 'check status
sudo firewall-cmd --list-all 'list rules
sudo firewall-cmd --set-default-zone=drop 'set zone to drop all, adjust to suit.
#------------------------------------------------------------------------------#
“Packages” Make Sure Non-Free Repos Are Enabled
#------------------------------------------------------------------------------#
sudo apt install synaptic inxi lame twolame x264 x265 libavcodec-extra ffmpeg vorbis-tools firmware-linux-nonfree firmware-linux hardinfo dconf-editor curl wget neofetch htop net-tools lm-sensors cpu-x gnome-nettool nautilus-gtkhash nautilus-image-converter drawing ttf-mscorefonts-installer fonts-noto fonts-noto-cjk ttf-ancient-fonts yaru-theme-gnome-shell yaru-theme-gtk yaru-theme-icon yaru-theme-sound
#------------------------------------------------------------------------------#
Extensions
#------------------------------------------------------------------------------#
sudo apt install gnome-shell-extension-manager gnome-shell-extensions-extra gnome-shell-extension-dashtodock gnome-shell-extension-desktop-icons-ng gnome-shell-extension-impatience gnome-shell-extension-arc-menu
#------------------------------------------------------------------------------#
Flatpak if Required
#------------------------------------------------------------------------------#
sudo apt install flatpak
sudo apt install gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub com.github.tchx84.Flatseal
flatpak install flathub org.chromium.Chromium
flatpak install flathub io.gitlab.librewolf-community
flatpak install flathub com.brave.Browser
#------------------------------------------------------------------------------#
Extra Security Profiles
#------------------------------------------------------------------------------#
sudo apt install apparmor-profiles apparmor-profiles-extra apparmor-utils
#------------------------------------------------------------------------------#
Click to Minimize App on Dock
#------------------------------------------------------------------------------#
run terminal paste in :
gsettings set org.gnome.shell.extensions.dash-to-dock click-action ‘minimize’
#------------------------------------------------------------------------------#
Add Shutdown Button for Dock ‘Optional’
#------------------------------------------------------------------------------#
nano ~/.local/share/applications/shutdown-for-dock.desktop
[Desktop Entry] Name=Shutdown for Dock Exec=gnome-session-quit --power-off Comment=Shutdown button for Ubuntu dock Terminal=false Type=Application Icon=system-shutdown
Save and Exit : ctrl x and answer y to save.
#------------------------------------------------------------------------------#
Google Chrome Install If Required
#------------------------------------------------------------------------------#
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install libu2f-udev
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get -f install 'If any Errors
#------------------------------------------------------------------------------#
Wayland Firefox Enable ‘only use if required’
#------------------------------------------------------------------------------#
Firefox Enable Wayland and a few tweaks, use with caution.
sudo nano /etc/environment
paste in:
MOZ_ENABLE_WAYLAND=1
save and exit: ctrl x and answer y to save.
#------------------------------------------------------------------------------#
Wayland Google Chrome ‘only use if required’
#------------------------------------------------------------------------------#
Google Chrome Wayland
Open browser paste in:
chrome://flags/
Search for:
Preferred Ozone platform
Set to auto
Enjoy Chrome or Chromium Browsers with Wayland Support.
#------------------------------------------------------------------------------#
Debian12 Bookworm Repos
#------------------------------------------------------------------------------#
Debian Bookworm 12 sources.list
Debian Main Packages
deb https://deb.debian.org/debian/ bookworm contrib main non-free non-free-firmware #deb-src https://deb.debian.org/debian/ bookworm contrib main non-free non-free-firmware
Debian Updates
deb https://deb.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware #deb-src https://deb.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
Debian Security
deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware #deb-src https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
Debian Proposed Updates
deb https://deb.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware #deb-src https://deb.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
Debian Backports
deb https://deb.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware #deb-src https://deb.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
#------------------------------------------------------------------------------#
End of File Debian 12 Gnome
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
Debian 12 Quick Setup Luckykar
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
Firewall Enable After Install
#------------------------------------------------------------------------------#
sudo apt install firewalld firewall-config ’ Install firewall
sudo firewall-cmd --state 'check status
sudo firewall-cmd --list-all 'list rules
sudo firewall-cmd --set-default-zone=drop 'set zone to drop all, adjust to suit.
#------------------------------------------------------------------------------#
“Packages” Make Sure Non-Free Repos Are Enabled
#------------------------------------------------------------------------------#
sudo apt install synaptic inxi lame twolame x264 x265 libavcodec-extra ffmpeg vorbis-tools firmware-linux-nonfree firmware-linux hardinfo dconf-editor curl wget neofetch htop net-tools lm-sensors cpu-x gnome-nettool nautilus-gtkhash nautilus-image-converter drawing ttf-mscorefonts-installer fonts-noto fonts-noto-cjk ttf-ancient-fonts yaru-theme-gnome-shell yaru-theme-gtk yaru-theme-icon yaru-theme-sound
#------------------------------------------------------------------------------#
Extensions
#------------------------------------------------------------------------------#
sudo apt install gnome-shell-extension-manager gnome-shell-extensions-extra gnome-shell-extension-dashtodock gnome-shell-extension-desktop-icons-ng gnome-shell-extension-impatience gnome-shell-extension-arc-menu
#------------------------------------------------------------------------------#
Flatpak if Required
#------------------------------------------------------------------------------#
sudo apt install flatpak
sudo apt install gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub com.github.tchx84.Flatseal
flatpak install flathub org.chromium.Chromium
flatpak install flathub io.gitlab.librewolf-community
flatpak install flathub com.brave.Browser
#------------------------------------------------------------------------------#
Extra Security Profiles
#------------------------------------------------------------------------------#
sudo apt install apparmor-profiles apparmor-profiles-extra apparmor-utils
#------------------------------------------------------------------------------#
Click to Minimize App on Dock
#------------------------------------------------------------------------------#
run terminal paste in :
gsettings set org.gnome.shell.extensions.dash-to-dock click-action ‘minimize’
#------------------------------------------------------------------------------#
Google Chrome Install If Required
#------------------------------------------------------------------------------#
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install libu2f-udev
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get -f install 'If any Errors
#------------------------------------------------------------------------------#
Wayland Firefox Enable ‘only use if required’
#------------------------------------------------------------------------------#
Firefox Enable Wayland and a few tweaks, use with caution.
sudo nano /etc/environment
paste in:
MOZ_ENABLE_WAYLAND=1
save and exit: ctrl x and answer y to save.
#------------------------------------------------------------------------------#
Wayland Google Chrome ‘only use if required’
#------------------------------------------------------------------------------#
Google Chrome Wayland
Open browser paste in:
chrome://flags/
Search for:
Preferred Ozone platform
Set to auto
Enjoy Chrome or Chromium Browsers with Wayland Support.
#------------------------------------------------------------------------------#
DEBIAN 12 BOOKWORM REPOS
#------------------------------------------------------------------------------#
Debian Bookworm 12 sources.list
Debian Main Packages
deb https://deb.debian.org/debian/ bookworm contrib main non-free non-free-firmware #deb-src https://deb.debian.org/debian/ bookworm contrib main non-free non-free-firmware
Debian Updates
deb https://deb.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware #deb-src https://deb.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
Debian Security
deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware #deb-src https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
Debian Proposed Updates
deb https://deb.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware #deb-src https://deb.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
Debian Backports
deb https://deb.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware #deb-src https://deb.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
#------------------------------------------------------------------------------#
End of File Debian 12 Gnome
#------------------------------------------------------------------------------#
Thanks for your setup, I have been trying to post up mine but the formatting is messing everything up.
Do you still need to isolate workspaces? I think that’s the default now, but on older versions I had to:
gsettings set org.gnome.shell.app-switcher current-workspace-only true
And then I have a volume wheel on my keyboard and I always need to set the volume steps to 1 via:
gsettings set org.gnome.settings-daemon.plugins.media-keys volume-step 1
My wisdom to your wisdom