User:Erus Iluvatar/dconf.ini

From ArchWiki

dconf.ini

This is a commented excerpt from my Gnome configuration. Only interresting or non default values are given a rationale and shown.

dconf.ini
[org/gnome/desktop/background]
; To use this wallpaper, install f33-backgroundsAUR
picture-uri='file:///usr/share/backgrounds/f33/default/f33.xml'

[org/gnome/desktop/calendar]
; For work-related things, weekdate are usefull
show-weekdate=true

[org/gnome/desktop/input-sources]
; This keeps two keyboard layouts available
sources=[('xkb', 'fr+oss'), ('xkb', 'us')]
xkb-options=['terminate:ctrl_alt_bksp', 'lv3:ralt_switch']

[org/gnome/desktop/interface]
; Same as above, weekdays are usefull
clock-show-weekday=true
; Hot corners are distracting, turn them off
enable-hot-corners=false
; This is set to greyscale as default and has a graphical knob, but keep an eye on it for unusual setups
font-antialiasing='rgba'
; This is set to slight as default
font-hinting='full'
; GTK and Icons themes, arc-gtk-theme and tela-icon-themeAUR
gtk-theme='Arc'
icon-theme='Tela'
; The battery percentage is a usefull information, why is it not enabled by default ?!
show-battery-percentage=true

[org/gnome/desktop/peripherals/keyboard]
; Unless using a small laptop keyboard, numlock is preferred on in my setups
numlock-state=true

[org/gnome/desktop/peripherals/touchpad]
; This is set to 'none' since my hardware handles two/three fingers gestures, the other usefull option is 'fingers'
click-method='none'
; Disable the Apple-esque "natural" scroll which is enable by default
natural-scroll=false
; Tap to click is usefull for me
tap-to-click=true

[org/gnome/desktop/screensaver]
; See org/gnome/desktop/background at the beginning of the file
picture-uri='file:///usr/share/backgrounds/f33/default/f33.xml'

[org/gnome/desktop/session]
; Set the time after which the session is considered idle to slightly over 2,5 hours :D
idle-delay=uint32 9001

[org/gnome/desktop/wm/keybindings]
; Unset <Alt>F6
cycle-group=@as []
; Unset <Shift><Alt>F6
cycle-group-backward=@as []
; Unset switching to system controls with <Control><Alt>Escape
cycle-panels=@as []
; Unset <Shift><Control><Alt>Escape
cycle-panels-backward=@as []
; Unset <Alt>Escape
cycle-windows=@as []
; Unset <Shift><Alt>Escape
cycle-windows-backward=@as []
; Use i3-like keybind for moving windows between workspaces
move-to-workspace-1=['<Shift><Super>1']
move-to-workspace-2=['<Shift><Super>2']
move-to-workspace-3=['<Shift><Super>3']
move-to-workspace-4=['<Shift><Super>4']
move-to-workspace-5=['<Shift><Super>5']
move-to-workspace-6=['<Shift><Super>6']
; These keybinds are set but not used, see num-workspaces below
move-to-workspace-7=['<Shift><Super>7']
move-to-workspace-8=['<Shift><Super>8']
move-to-workspace-9=['<Shift><Super>9']
; Usefull when switching windows between only two workspaces
move-to-workspace-last=['<Shift><Super>threesuperior']
; Same keybind as Windows 
show-desktop=['<Super>d']
; To switch between applications and not windows
switch-applications=['<Super>Tab']
switch-applications-backward=['<Shift><Super>Tab']
; Unset whatever this is
switch-group=@as []
switch-group-backward=@as []
; Use i3-like keybind for switching between workspaces
switch-to-workspace-1=['<Super>ampersand']
switch-to-workspace-2=['<Super>eacute']
switch-to-workspace-3=['<Super>quotedbl']
switch-to-workspace-4=['<Super>apostrophe']
switch-to-workspace-5=['<Super>parenleft']
switch-to-workspace-6=['<Super>minus']
; These keybinds are set but not used, see num-workspaces below
switch-to-workspace-7=['<Super>egrave']
switch-to-workspace-8=['<Super>underscore']
switch-to-workspace-9=['<Super>ccedilla']
; Very usefull when working between only two workspaces to guickly switch to the previous one
switch-to-workspace-last=['<Super>twosuperior']
; To switch between windows, needs current-workspace-only=false in org/gnome/shell/window-switcher to be sane to use : why is this not the default ?!
switch-windows=['<Alt>Tab']
switch-windows-backward=['<Shift><Alt>Tab']
; Why is this not set by default ? 
toggle-fullscreen=['<Alt>F11']

[org/gnome/desktop/wm/preferences]
; Don't get in front of the other windows when you get focus, please ? 
auto-raise=false
; Gimme all the buttons in my windows please ! 
button-layout='appmenu:minimize,maximize,close'
; Windows get focus when the mouse enters one, but don't lose it when the mouse leaves
focus-mode='sloppy'
; to get the workspaces to show visually in the upper bar, no more than 6 workspaces should exist so we limit ourserlves to 6
num-workspaces=6
; But we still name them
workspace-names=['Web', 'Terminal', 'Files', 'Games', 'Communication', 'Misc']

[org/gnome/mutter]
; Please let me move the dialogs independantly from their parent window
attach-modal-dialogs=false
; New windows should be centered
center-new-windows=true
; We have set 6 workspaces with names, so no dynamic stuff is needed
dynamic-workspaces=false

[org/gnome/nautilus/preferences]
; Self explanatory
default-folder-viewer='list-view'

[org/gnome/settings-daemon/plugins/media-keys]
; See below
custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']
; Unset <Super>F1
help=@as []
; Same keybind as Windows 
home=['<Super>e']
; Unset magnifier shortcuts
magnifier=@as []
magnifier-zoom-in=@as []
magnifier-zoom-out=@as []
; Unset screenreader shortcut
screenreader=@as []

[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
; Use i3-like keybind
binding='<Super>Return'
command='gnome-terminal'
name='Launch Terminal'

[org/gnome/settings-daemon/plugins/power]
; Power button suspends by default but I don't want this
power-button-action='nothing'
; Don't suspend when inactive on A/C power
sleep-inactive-ac-type='nothing'
; Set inactivity to 1/2 hour
sleep-inactive-battery-timeout=1800

[org/gnome/shell]
; I don't remember turning those off, but oh well ? 
disabled-extensions=['apps-menu@gnome-shell-extensions.gcampax.github.com', 'window-list@gnome-shell-extensions.gcampax.github.com', 'places-menu@gnome-shell-extensions.gcampax.github.com', 'windowsNavigator@gnome-shell-extensions.gcampax.github.com']
; Workspace indicator is nice to view what is on which desktop, those can be set and tweaked through "Extensions" 
enabled-extensions=['workspace-indicator@gnome-shell-extensions.gcampax.github.com', 'native-window-placement@gnome-shell-extensions.gcampax.github.com', 'user-theme@gnome-shell-extensions.gcampax.github.com', 'drive-menu@gnome-shell-extensions.gcampax.github.com']
; This is where you can set the applications that show up in the pseudo dock in the activities view
favorite-apps=['firefox.desktop']
; Set to 99 forbids the "Welcome to GNOME" dialog to ever show up
welcome-dialog-last-shown-version='99'

[org/gnome/shell/extensions/user-theme]
; Dark theme for the shell as opposed to the light one on the GTK applications
name='Arc-Dark'

[org/gnome/shell/keybindings]
; Unset all keybinds, except for focusing the notifications
focus-active-notification=@as []
switch-to-application-1=@as []
switch-to-application-2=@as []
switch-to-application-3=@as []
switch-to-application-4=@as []
switch-to-application-5=@as []
switch-to-application-6=@as []
switch-to-application-7=@as []
switch-to-application-8=@as []
switch-to-application-9=@as []
; Use the focus-active-notification keybind to show ALL the notifications instead
toggle-message-tray=['<Super>n']

[org/gnome/shell/overrides]
; Looks like dynamic workspaces need to be disabled here too ? 
dynamic-workspaces=false

[org/gnome/shell/window-switcher]
; See switch-windows in org/gnome/desktop/wm/keybindings : why is this not the default ?!
current-workspace-only=false

[org/gnome/terminal/legacy]
; Dark terminal, ofc
theme-variant='dark'

[org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9]
; Gnome terminal settings / color theme
background-color='rgb(17,17,17)'
bold-is-bright=false
default-size-columns=160
default-size-rows=48
font='Terminus 12'
foreground-color='rgb(171,171,171)'
palette=['rgb(27,27,27)', 'rgb(255,107,107)', 'rgb(163,212,110)', 'rgb(234,202,117)', 'rgb(67,94,135)', 'rgb(146,83,114)', 'rgb(120,158,198)', 'rgb(171,171,171)', 'rgb(85,87,83)', 'rgb(255,141,141)', 'rgb(200,231,168)', 'rgb(255,209,85)', 'rgb(88,122,164)', 'rgb(225,101,161)', 'rgb(70,164,255)', 'rgb(255,255,255)']
use-system-font=false
use-theme-colors=false
visible-name='Main'

[org/gnome/tweaks]
; This is set after the notice about Extensions moving to a separate app has been shown
show-extensions-notice=false

[system/locale]
region='fr_FR.UTF-8'


GDM Configuration

For all gdm configurations, change the icon theme and show the weekday on the clock :

$ sudo -u gdm dbus-launch gsettings set org.gnome.desktop.interface icon-theme Tela
$ sudo -u gdm dbus-launch gsettings set org.gnome.desktop.interface clock-show-weekday true

On laptops, show also the battery percentage and enable tap to click :

$ sudo -u gdm dbus-launch gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
$ sudo -u gdm dbus-launch gsettings set org.gnome.desktop.interface show-battery-percentage true