Skip to content

Minimalist and Elegant GNOME Desktop Customization

Notifications You must be signed in to change notification settings

Twilight4/gnome-settings

Repository files navigation

GNOME - Aesthetic Gruvbox Dark Color Theme Setup

Installing GNOME Package Dependencies and file resources

sudo pacman -Syu
sudo pacman -S --needed gnome-tweak-tool gnome-shell-extensions extension-manager kitty neofetch git conky jq curl rsync gnome-control-center gnome-keyring gnome-nettool gnome-power-manager gnome-shell gnome-usage 

paru -S gnome-shell-extension-gamemode-git gdm-git xdg-desktop-portal-gnome
git clone https://github.com/Twilight4/gnome-settings ~/downloads/gnome-settings

Installing GTK theme

rsync -av ~/downloads/gnome-settings/themes/.config ~
ls -al ~/.config/.local/share/themes
ln -s ~/.config/.local/share/themes/Gruvbox-Dark-BL-MOD/gtk-4.0/assets ~/.config/gtk-4.0
ln -s ~/.config/.local/share/themes/Gruvbox-Dark-BL-MOD/gtk-4.0/gtk.css ~/.config/gtk-4.0
ln -s ~/.config/.local/share/themes/Gruvbox-Dark-BL-MOD/gtk-4.0/gtk-dark.css ~/.config/gtk-4.0

Installing icons and cursor theme

rsync -av ~/downloads/gnome-settings/icons/.config ~
ls -al ~/.config/.local/share/icons
rsync -av ~/downloads/gnome-settings/cursors/.config ~ 
ls -al ~/.config/.local/share/icons

Installing fonts and wallpapers

rsync -av ~/downloads/gnome-settings/fonts/.config ~
ls -al ~/.config/.local/share/fonts
sudo rsync -av ~/downloads/gnome-settings/wallpapers/usr /
ls -al /usr/share/backgrounds/gruvbox

Installing GNOME extensions

rsync -av ~/downloads/gnome-settings/gnome-extensions/.config ~
cat ~/.config/.local/share/gnome-shell/extensions/extensions.txt

Importing GNOME shell configurations

cd ~/downloads/gnome-settings/gnome-shell-config
dconf load /org/gnome/desktop/ < org-gnome-desktop.conf
dconf load /org/gnome/shell/ < org-gnome-shell.conf
cd -

Importing system settings and applying GTK themes

cd ~/downloads/gnome-settings/dconf-settings
dconf load / < gnome-settings.ini
cd -
~/downloads/gnome-settings/gnome-scripts/gtkthemes

Tip: Exporting system settings

dconf dump / > gnome-settings.ini

Importing GNOME scripts

sudo mv ~/downloads/gnome-settings/gnome-scripts/* /usr/bin

Importing conky configurations

rsync -av ~/downloads/gnome-settings/conky-config/.config ~
ls -al ~/.config/conky
ls -al ~/.config/autostart

Change weather location

  1. Go to https://openweathermap.org/ and search your city
  2. Copy the city ID from URL and paste it in city_id variable in file: ~/.config/conky/alshain-mod/scripts/weather-v2.0.sh

Importing CLI tools themes

rsync -av ~/downloads/gnome-settings/kitty-theme/.config ~
ls -al ~/.config/kitty
rsync -av ~/downloads/gnome-settings/foot-theme/.config ~
ls -al ~/.config/foot
rsync -av ~/downloads/gnome-settings/neofetch-theme/.config ~
ls -al ~/.config/neofetch
rsync -av ~/downloads/gnome-settings/btop-theme/.config ~
ls -al ~/.config/btop

Copying GTK themes to system-wide location for GDM recognition

sudo cp -r ~/.config/.local/share/icons/Gruvbox-plus-icon-MOD/ /usr/share/icons
sudo cp -r ~/.config/.local/share/icons/Gruvbox_Cursors_Light /usr/share/icons

Importing autostart applications and post-installation settings

rsync -av ~/downloads/gnome-settings/autostart/.config ~
ls -al ~/.config/autostart
~/downloads/gnome-settings/gnome-setup-script/setup.sh
rm -rf ~/downloads/gnome-settings

Other customization options

  • Neovim theme can be changed to gruvbox
  • Emacs theme can be changed by using command load-theme
  • Firefox theme is changed to gruvbox GTK theme
  • GDM theme and settings are set to gruvbox in dconf database but you can always change them using gdm-settings app
  • User account's pfp can be set

Keybinds

General

Keybind Description
SUPER + Return Open Kitty terminal
SUPER + A Show all apps
SUPER + Q Exit focused window
SUPER + Y Lock screen
SUPER + SHIFT + Q Power off
SUPER + F Toggle fullscreen of focused window
SUPER + D Dashboard menu
SUPER + S Hide window
SUPER + P Displays/Monitors menu
SUPER + TAB Switch applications
ALT + ESC Switch windows directly
ALT + TAB Switch windows on current workspace
SUPER + backtick Switch windows of an application
SUPER + N Show the calendar widget
SUPER + SHIFT + X Show the run command prompt - type gnome-restart to restart gnome shell

Default keybinds

Accessibility

Keybind Description
ALT + SUPER + S Turn screen reader on or off
ALT + SUPER + 8 Turn zoom on or off
ALT + SUPER + = Zoom in
ALT + SUPER + - Zoom out

Navigation

Keybind Description
SHIFT + ALT + H Move window one monitor to the left
SHIFT + ALT + L Move window one monitor to the right
SUPER + I Workspace 1 - terminal
SUPER + O Workspace 2 - terminal
SUPER + W Workspace 3 - web browser
SUPER + E Workspace 4 - emacs
SUPER + SHIFT + I Switch to Workspace 1
SUPER + SHIFT + O Switch to Workspace 2
SUPER + SHIFT + W Switch to Workspace 3
SUPER + SHIFT + E Switch to Workspace 4

Screenshots

Keybind Description
SHIFT + CTRL + ALT + R Recored a screencast interactively
SHIFT + PRINT + F Take a screenshot
PRINT Take a screenshot interactively
ALT + PRINT Take a screenshow of a window

Custom-set keybinds

Keybind Description
SUPER + SHIFT + C Activate Caffeine for 30mins
SUPER + SHIFT + T Launch athena welcome menu
SUPER + SHIFT + Y Launch variables menu
SUPER + SHIFT + U Launch role viewer
SUPER + SHIFT + CTRL + M Update mirrors
SUPER + SHIFT + CTRL + U Update system
SUPER + SHIFT + ESC Launch gnome usage
SUPER + SHIFT + Z Launch webcam
SUPER + CTRL + ESC Launch btop
SUPER + CTRL + C Launch cava
SUPER + CTRL + U Launch tty-clock
SUPER + CTRL + M Launch musikcube
SUPER + CTRL + , Launch cmatrix
SUPER + CTRL + F Launch neofetch
SUPER + CTRL + N Launch newsboat
SUPER + CTRL + P Launch pipes
SUPER + ALT + V Toggle VPN

Other

Keybind Description
ALT + SPACE Activate the window menu
SUPER + SPACE Switch to next input source
SHIFT + SUPER + SPACE Switch to previous input source
SUPER + F1 Launch help browser

Troubleshooting GNOME session freeze

  1. Restart the display manager or try to disabling it - Ctrl+Alt+F2 (or alternative), issue command:
    • sudo systemctl restart gdm
    • sudo systemctl disable gdm
  2. Use command in virtual console which should make the session functional again: gnome-restart
  3. Use killall command: killall -3 gnome-shell
  4. Restart the PC
  5. Clear GNOME Shell extensions or lastly installed one in virtual console and then restart display manager:
    • rm -rf ~/.config/.local/share/gnome-shell/extensions/culprit-extension
  6. Reinstall GNOME and then restart the PC:
    • sudo pacman -Rns gnome-shell gnome-session
    • sudo pacman -S gnome-shell gnome-session
  7. Use a live USB or recovery mode

About

Minimalist and Elegant GNOME Desktop Customization

Resources

Stars

Watchers

Forks