Gnome

Edit / Debug

sudo apt install -y dconf-editor
 
dconf watch /
 
gsettings list-recursively org.gnome.settings-daemon.plugins | grep media
# get settings
gsettings list-recursively | grep -i gedit
gsettings list-recursively org.gnome.settings-daemon.plugins.power
dconf read /org/gnome/settings-daemon/plugins/media-keys/calculator 
 
# unity
setsid unity
dconf dump /org/compiz/
 
# http://askubuntu.com/questions/67355/how-do-i-completely-turn-off-screensaver-and-power-management
# /usr/share/glib-2.0/schemas/org.gnome.desktop.wm.preferences.gschema.xml 
 
# reset pannel settings
gconftool-2 --recursive-unset /apps/panel
dconf reset -f /org/gnome/gnome-panel/
gsettings reset-recursively org.gnome.gnome-panel
 
# reset gnome theme settings
gsettings reset org.gnome.desktop.interface gtk-theme
gsettings reset org.gnome.desktop.interface icon-theme
 
# proxy
gsettings set org.gnome.system.proxy mode 'manual' ;
gsettings set org.gnome.system.proxy.http host '192.168.1.222';
gsettings set org.gnome.system.proxy.http port 8080;
gsettings set org.gnome.system.proxy.http authentication-user 'foo';
gsettings set org.gnome.system.proxy.http authentication-password 'bar';
 
# gnome-session-flashback
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-dark'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru'
 
gsettings set org.gnome.desktop.sound theme-name 'Yaru'
 
 
gsettings set org.gnome.desktop.media-handling automount false
 
 
 
# Disable application search
gsettings set org.gnome.desktop.search-providers disable-external true
 
# Move application launcher to bottom
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
 
 
 
# ltsp
# http://unix.stackexchange.com/questions/27484/set-default-global-gnome-preferences-gnome-3
gsettings set com.canonical.indicator.session suppress-shutdown-menuitem true
gsettings set com.canonical.indicator.session suppress-restart-menuitem true
gsettings set com.canonical.indicator.session user-show-menu false
gsettings set org.gnome.desktop.wm.preferences num-workspaces 2
gsettings set com.canonical.indicator.keyboard visible false
gsettings set com.canonical.indicator.datetime show-date true
gsettings set com.canonical.indicator.datetime show-day true
gsettings set com.canonical.indicator.datetime show-week-numbers true
gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier '<Super>'
 
gsettings set org.gnome.nautilus.preferences always-use-location-entry true
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
gsettings set org.gnome.nautilus.preferences show-image-thumbnails 'local-only'
gsettings set org.gnome.nautilus.preferences show-directory-item-counts 'local-only' 
 
gsettings set org.gnome.desktop.wm.preferences visual-bell true
gsettings set org.gnome.desktop.wm.preferences visual-bell-type 'frame-flash' 
 
gsettings set org.gnome.nautilus.desktop home-icon-visible false
gsettings set org.gnome.nautilus.desktop network-icon-visible false
gsettings set org.gnome.nautilus.desktop trash-icon-visible false 
 
gsettings set org.gnome.desktop.screensaver lock-enabled false
gsettings set org.gnome.desktop.session idle-delay 900 
 
gsettings set com.canonical.indicator.sound visible true
gsettings set org.gnome.desktop.sound event-sounds false
 
gsettings set com.canonical.indicator.bluetooth visible false
 
gsettings set com.canonical.indicator.keyboard visible false
 
# disable display lock
gsettings set org.gnome.desktop.screensaver lock-enabled false
 
# disable display timeout
gsettings set org.gnome.settings-daemon.plugins.power active false
 
# configure display timeout
gsettings set org.gnome.settings-daemon.plugins.power sleep-display-battery 900
gsettings set org.gnome.settings-daemon.plugins.power sleep-display-ac 900
 
# disable display rotation
gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock true 
 
# move buttons to right
gsettings set org.gnome.desktop.wm.preferences button-layout 'menu:minimize,maximize,close'
 
# fix alt key in Photoshop (wine)
# Ubuntu 14.04
gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier '<Super>'
# ubuntu 11.04
gconftool-2 -t str --set /apps/metacity/general/mouse_button_modifier "<Super>"
 
# change default font size to 10
gsettings set org.gnome.desktop.interface font-name 'Ubuntu 10'
 
# show files on dektop
gconftool-2 --type bool --set /apps/nautilus/preferences/show_desktop true
gconftool-2 --type bool --set /apps/nautilus/desktop/volumes_visible true
 
# gnome icons
gsettings set org.gnome.desktop.background show-desktop-icons true
gsettings set org.gnome.nautilus.desktop volumes-visible true
gsettings set org.gnome.desktop.lockdown disable-lock-screen true
 
# background
gsettings set org.gnome.desktop.background picture-options 'spanned'
 
gsettings set org.gnome.desktop.screensaver idle-activation-enabled false
gsettings set org.gnome.settings-daemon.plugins.power active false
 
 
gsettings set org.gnome.desktop.background picture-uri "file:///home/user/background.jpg"
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
gsettings set org.gnome.nautilus.list-view default-zoom-level 'smallest'
 
 
gsettings set org.gnome.nautilus.preferences always-use-location-entry true
 
# reset gnome settings
rm -rf .gnome .gnome2 .gconf .gconfd .metacity
 
# nautilus
gsettings set org.gnome.nautilus.preferences always-use-location-entry true
 
# show date
gsettings set org.gnome.shell.clock show-date true
 
# autologin
cat /etc/gdm/gdm.conf-custom
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=service
 
# move buttons to right
gconftool-2 --set /apps/metacity/general/button_layout --type string menu:minimize,maximize,close
 
# set buttons back to left (Ubuntu default)
gconftool-2 --set /apps/metacity/general/button_layout --type string close,maximize,minimize:menu
 
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ -t string -s /apps/metacity/general/theme Radiance
 
# disable screen lock??
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ --type boolean -s /apps/gnome-power-manager/lock_on_blank_screen false
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ --type boolean -s /apps/gnome-power-manager/lock_use_screensaver_settings false
 
# url-handlers
gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "/usr/bin/azureus %s"
gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/needs_terminal false
gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true
 
# compiz
To disable Compiz on the command line:
gconftool-2 --type string --set /apps/gnome-session/rh/window_manager "metacity"
gconftool-2 --type bool --set /apps/metacity/general/compositing_manager false
 
To enable:
gconftool-2 --type string --set /apps/gnome-session/rh/window_manager "compiz"
 
# configure win key (Super_L) to open nautilus
gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_1 "<Super>e"
gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_1 "nautilus"
 
gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_11 "gnome-search-tool"
gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_11 "<Super>f"
 
gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_terminal "<Super>x"
 
# more info
http://www.gnome.org/~bmsmith/gconf-docs/C/metacity.html
 
# export and import panel
gconftool-2 --dump /apps/panel > my-panel-setup.entries
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --load my-panel-setup.entries
 
# view desktop (super_l + d)
gconftool-2 -t str --set /apps/metacity/global_keybindings/show_desktop "<Super>d"
 
# global autostart directory
/etc/xdg/autostart/
 
# disable vino server
gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled false
 
# all applications can go fullscreen by hitting <Alt>-F11
gconftool-2 --set /apps/metacity/window_keybindings/toggle_fullscreen --type string "<Alt>F11"
 
 
 
# set vlc als default media player
sed -i 's|totem.desktop|vlc.desktop|g' /etc/gnome/defaults.list
#gconftool-2 --type string --set /desktop/gnome/volume_manager/autoplay_dvd_command "vlc %m" 
#gconftool-2 --type string --set /desktop/gnome/volume_manager/autoplay_dvd_command "vlc dvd:/%m" 
 
 
update-rc.d -f avahi-daemon remove
update-rc.d -f bluetooth remove
 
 
 
 
mkdir /etc/xdg/autostart/disabled/
mv /etc/xdg/autostart/bluetooth-applet.desktop /etc/xdg/autostart/disabled/
mv /etc/xdg/autostart/evolution-alarm-notify.desktop /etc/xdg/autostart/disabled/
mv /etc/xdg/autostart/user-dirs-update-gtk.desktop /etc/xdg/autostart/disabled/
mv /etc/xdg/autostart/trackerd.desktop /etc/xdg/autostart/disabled/
mv /etc/xdg/autostart/tracker-applet.desktop /etc/xdg/autostart/disabled/
 jockey-gtk.desktop 
gnome-at-session.desktop
 
super small
-rw-r--r-- 1 root root 6282 2009-01-20 10:08 gnome-power-manager.desktop
-rw-r--r-- 1 root root  347 2008-12-01 15:37 nm-applet.desktop
-rw-r--r-- 1 root root 5083 2008-10-20 09:20 redhat-print-applet.desktop
-rw-r--r-- 1 root root  236 2008-10-24 07:57 update-notifier.desktop
update-rc.d -f laptop-mode remove
 update-rc.d -f rsync remove
 update-rc.d -f powernowd remove
 
 
 
# get keys
gconftool-2 -R /apps > apps-optionen.txt
 
 
 
gconftool-2 -t string -s /apps/nautilus/preferences/default_folder_viewer 'list_view'
gconftool-2 -t string -s /apps/nautilus/list_view/default_zoom_level smallest
gconftool-2 -t string -s /desktop/gnome/url-handlers/mailto/command 'thunderbird "%s"'
 
 
 
gconftool-2 -t string -s /apps/metacity/general/theme Mist
gconftool-2 -t boolean -s /apps/metacity/general/reduced_resources true
 
gconftool-2 -t boolean -s /desktop/gnome/remote_access/enabled false
 
 
# disable
gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true
 
# allow root to login
sed -i 's|AllowRoot=false|AllowRoot=true|g' /etc/gdm/gdm.conf
/etc/init.d/gdm restart
 
 
# set default list view in nautilus
gconftool-2 --type string --set /apps/nautilus/preferences/default_folder_viewer 'list_view'
 
# set small entrys
gconftool-2 -t string -s /apps/nautilus/list_view/default_zoom_level smallest
 
 
# restore all defalut settings
gconftool-2 --recursive-unset /
 
# disable screensaver
gconftool-2 --type boolean -s /apps/gnome_settings_daemon/screensaver/start_screensaver false
 
# set font size to 8
gconftool-2 --set /apps/nautilus/preferences/desktop_font --type string "Sans 8"
gconftool-2 --set /desktop/gnome/interface/document_font_name --type string "Sans 8"
gconftool-2 --set /desktop/gnome/interface/font_name --type string "Sans 8"
gconftool-2 --set /apps/metacity/general/titlebar_font --type string "Sans Bold 8"
gconftool-2 --set /desktop/gnome/interface/monospace_font_name --type string "Monospace 8"
 
# Turn off tool tips
gconftool-2 --type bool --set /apps/panel/global/tooltips_enabled false
 
# use Mist theme
gconftool-2 --type string --set /apps/metacity/general/theme Mist
 
# net, test
gconftool-2 --type float --set /desktop/gnome/font_rendering/dpi 86
 
 
gconftool-2 --type string --set /apps/gnome-session/options/logout_effect black
 
gconftool-2 --type bool --set /apps/metacity/general/reduced_resources true
 
 
gconftool-2 --type string --set /desktop/gnome/background/picture_options none
gconftool-2 --type string --set /desktop/gnome/background/primary_color 000000
gconftool-2 --type string --set /desktop/gnome/background/color_shading_type solid
 
# Show directory item counts:
gconftool-2 --type string --set /apps/nautilus/preferences/show_directory_item_counts local_only
 
 
# set firefox as default browser
gconftool-2 -t string -s /desktop/gnome/url-handlers/http/command 'mozilla "%s"'
 
# set thunderbird as default mail program
gconftool-2 -t string -s /desktop/gnome/url-handlers/mailto/command 'thunderbird "%s"'
 
# disable image preview
gconftool-2 --type string --set /apps/nautilus/preferences/show_image_thumbnails never
 
gconftool-2 -t int -s /apps/nautilus/preferences/directory_limit 10000
 
# new in gnome 2.4
apt-get install hamster-applet
/usr/lib/hamster-applet/hamster-applet -w
 
 
echo "* Setting font sizes"
gconftool-2 --set /apps/nautilus/preferences/desktop_font --type string "Sans 8"
gconftool-2 --set /desktop/gnome/interface/document_font_name --type string "Sans 8"
gconftool-2 --set /desktop/gnome/interface/font_name --type string "Sans 8"
gconftool-2 --set /apps/metacity/general/titlebar_font --type string "Sans Bold 8"
gconftool-2 --set /desktop/gnome/interface/monospace_font_name --type string "Monospace 8"
echo "* Smaller toolbars icons only"
gconftool-2 --set /desktop/gnome/interface/toolbar_style --type string "icons"
echo "* Disabling UI sounds"
gconftool-2 --set /desktop/gnome/sound/event_sounds --type bool 0
echo "* Fixing mute key"
gconftool-2 --set /desktop/gnome/sound/default_mixer_tracks --type list --list-type string "[PCM]"
echo "* Fullscreen with -F11"
gconftool-2 --set /apps/metacity/window_keybindings/toggle_fullscreen --type string "F11"
echo "* Setting suspend when closing lid, blank screen"
gconftool-2 --set /apps/gnome-power-manager/actions/sleep_type_battery --type string "suspend"
gconftool-2 --set /apps/gnome-power-manager/actions/sleep_type_ac --type string "suspend"
gconftool-2 --set /apps/gnome-power-manager/buttons/lid_battery --type string "suspend"
gconftool-2 --set /apps/gnome-power-manager/buttons/lid_ac --type string "blank"
gconftool-2 --set /apps/gnome-power-manager/timeout/sleep_computer_ac --type int 0
gconftool-2 --set /apps/gnome-power-manager/timeout/sleep_computer_battery --type int 300
gconftool-2 --set /apps/gnome-power-manager/timeout/sleep_display_ac --type int 300
gconftool-2 --set /apps/gnome-power-manager/timeout/sleep_display_battery --type int 60
echo "* Don't display battery warning"
gconftool-2 --set /apps/gnome-power-manager/notify/low_capacity --type bool 0
echo "* Unconstraining windows to the top of the screen"
gconftool-2 --type bool --set /apps/compiz/plugins/move/allscreens/options/constrain_y 0
 
 
 
 
gconftool-2 --type bool --set /apps/nautilus/preferences/always_use_browser true					
gconftool-2 --type string --set /desktop/gnome/background/picture_options 'centered'					
gconftool-2 --type string --set /apps/epiphany/general/homepage 'http://www.sidux.com'					
gconftool-2 --type bool --set /apps/gnome-screensaver/lock_enabled false						
gconftool-2 --type int --set /apps/panel/toplevels/bottom_panel_screen0/background/opacity 3000				
gconftool-2 --type int --set /apps/panel/toplevels/top_panel_screen0/background/opacity 3000				
gconftool-2 --type string --set /apps/panel/toplevels/bottom_panel_screen0/background/type color			
gconftool-2 --type string --set /apps/panel/toplevels/top_panel_screen0/background/type color				
gconftool-2 --type bool --set /apps/gnome-osd/avoid_panels true								
gconftool-2 --type bool --set /apps/gnome-osd/animations true								
gconftool-2 --type bool --set /apps/gnome-osd/drop_shadow true								
gconftool-2 --type string --set /apps/gnome-osd/osd_halignment 'center'							
gconftool-2 --type string --set /apps/gnome-osd/osd_vposition 'top'							
gconftool-2 --type bool --set /apps/gnome-osd/plugins/gaim/enabled true							
gconftool-2 --type bool --set /desktop/gnome/sound/enable_esd true							
gconftool-2 --type bool --set /desktop/gnome/sound/event_sounds true		
gconftool-2 --type string --set /desktop/gnome/interface/gtk_theme 'Clearlooks'					
gconftool-2 --type float --set /apps/gnome-terminal/profiles/Default/background_darkness 0.6				
gconftool-2 -t string -s /apps/nautilus/icon_view/default_zoom_level 'small'						
gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/background_type 'transparent'
 
 
http://blogs.sun.com/ThinGuy/entry/putting_gnome_on_atkins
http://library.gnome.org/admin/system-admin-guide/2.22/performance-8.html.en
http://www.linux-user.de/ausgabe/2004/03/028-gconf/index.html
 
# TEST
Panels wouldn't work correctly??
Solution: Try with a fresh configuration by moving you old configs out of the way:
for d in .gnome* .gconf*; do mv $d $d.old; done
 
 
 
# enable menu icons
gconftool-2 -s –type bool /desktop/gnome/interface/menus_have_icons true
 
 
# GEDIT
# jump-to-paying
gconftool-2 --type bool --set /apps/rhythmbox/plugins/jump-to-playing/active "true"
# desktop
gconftool-2 --type int --set /desktop/gnome/thumbnail_cache/maximum_age "60" # only allow thumbnails for 60 days
gconftool-2 --type string --set /desktop/gnome/interface/document_font_name "Myriad Pro Condensed 12" # change document font
gconftool-2 --type string --set /desktop/gnome/interface/font_name "Myriad Pro Condensed 12" # change document font
gconftool-2 --type bool --set  /apps/nautilus/desktop/computer_icon_visible "true"
gconftool-2 --type bool --set  /apps/nautilus/desktop/home_icon_visible "true"
gconftool-2 --type bool --set  /apps/nautilus/desktop/trash_icon_visible "true"
 
# gedit
gsettings set org.gnome.gedit.preferences.editor display-line-numbers true
gsettings set org.gnome.gedit.preferences.editor create-backup-copy false
gsettings set org.gnome.gedit.preferences.editor tabs-size 4
gsettings set org.gnome.gedit.preferences.editor insert-spaces true
gsettings set org.gnome.gedit.preferences.editor bracket-matching true
 
 
gconftool-2 --type bool --set /apps/gedit-2/preferences/editor/auto_indent/auto_indent "true" # auto-indent on
gconftool-2 --type bool --set /apps/gedit-2/preferences/editor/current_line/highlight_current_line "true" # add highlight for current line
gconftool-2 --type bool --set /apps/gedit-2/preferences/editor/font/use_default_font "false" # turn off default font settings
gconftool-2 --type bool --set /apps/gedit-2/preferences/editor/line_numbers/display_line_numbers "true" # show line numbers
gconftool-2 --type bool --set /apps/gedit-2/preferences/editor/save/auto_save "false" # turn off auto saving
gconftool-2 --type bool --set /apps/gedit-2/preferences/editor/save/create_backup_copy "false" # turn off backups
gsettings set org.gnome.gedit.preferences.editor create-backup-copy false
gconftool-2 --type int --set /apps/gedit-2/preferences/editor/tabs/tabs_size "4"
gconftool-2 --type string --set /apps/gedit-2/preferences/editor/colors/scheme "oblivion" # change theme to oblivion
gconftool-2 --type string --set /apps/gedit-2/preferences/editor/font/editor_font "Monaco 10" # change font
gconftool-2 --type string --set /apps/gedit-2/preferences/editor/wrap_mode/wrap_mode "GTK_WRAP_WORD" # text wrap on
# gnome-screenshot
gconftool-2 --type bool --set  /apps/gnome-screenshot/include_pointer "false" # turn off mouse pointer in screenshots
# nautilus
gconftool-2 --type bool --set /apps/nautilus/desktop/volumes_visible "false" # do not show volumes on desktop
gconftool-2 --type string --set /apps/nautilus/preferences/date_format "iso" # iso date format
gconftool-2 --type string --set /apps/nautilus/preferences/default_folder_viewer "list" # change nautilus to show list view
gconftool-2 --type string --set /apps/nautilus/preferences/desktop_font "Myriad Pro Condensed 12" # desktop font
 
# Ubuntu Unity
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
dconf write /org/compiz/profiles/unity/plugins/unityshell/icon-size 24
gsettings set com.canonical.Unity always-show-menus true
 
  gsettings set org.gnome.gedit.preferences.editor auto-indent true
  gsettings set org.gnome.gedit.preferences.editor bracket-matching true
  gsettings set org.gnome.gedit.preferences.editor display-line-numbers true
  gsettings set org.gnome.gedit.preferences.editor display-right-margin true
  gsettings set org.gnome.gedit.preferences.editor editor-font 'Monospace 12'
  gsettings set org.gnome.gedit.preferences.editor ensure-trailing-newline true
  gsettings set org.gnome.gedit.preferences.editor highlight-current-line true
  gsettings set org.gnome.gedit.preferences.editor insert-spaces true
  gsettings set org.gnome.gedit.preferences.editor right-margin-position 80
  gsettings set org.gnome.gedit.preferences.editor scheme 'classic'
  gsettings set org.gnome.gedit.preferences.editor syntax-highlighting true
  gsettings set org.gnome.gedit.preferences.editor tabs-size 2
  gsettings set org.gnome.gedit.preferences.editor wrap-mode 'none'
  gsettings set org.gnome.gedit.plugins active-plugins "['bookmarks', 'bracketcompletion', 'codecomment', 'dashboard', 'snippets', 'filebrowser', 'spell', 'modelines', 'colorpicker', 'wordcompletion', 'zeitgeistplugin', 'sessionsaver', 'time', 'docinfo', 'multiedit']"
  gsettings set org.gnome.gedit.plugins.filebrowser enable-remote false
  gsettings set org.gnome.gedit.preferences.ui bottom-panel-visible false
  gsettings set org.gnome.gedit.preferences.ui side-panel-visible true
  gsettings set org.gnome.gedit.preferences.ui statusbar-visible true
 
gsettings set org.gnome.nm-applet disable-disconnected-notifications "true"
gsettings set org.gnome.nm-applet disable-connected-notifications "true"
 
# fix invisible mouse pointer / no mouse under gnome
gsettings set org.gnome.settings-daemon.plugins.cursor active false
 
# nm-applet
# disable nm-applet
gsettings list-recursively org.gnome.nm-applet
gsettings set org.gnome.nm-applet show-applet true
 
# Disable auto-opening nautilus window after auto-mount
gsettings set org.gnome.desktop.media-handling automount-open false
 
# start calculator when ThinkVantage button pressed
gsettings set  org.gnome.settings-daemon.plugins.media-keys calculator 'Launch1'
 
# BROKEN? custom-keybindings
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/']"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/custom2/ binding 'Launch1'
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/custom2/ command 'gnome-terminal'
 
 
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ -t boolean -s /apps/gnome-screensaver/idle_activation_enabled false
 
 
# todo
/org/gnome/gnome-panel/layout/objects/workspace-switcher/
 
gsettings set org.gnome.desktop.interface can-change-accels true
 
# Links
https://wiki.archlinux.org/index.php/GNOME
http://www.webupd8.org/2011/10/things-to-tweak-after-installing-ubuntu.html
 
# mate
https://github.com/vinadoros/CustomScripts/blob/master/DMATE.sh
gsettings set org.mate.pluma editor-font "Ubuntu Mono 13"
gsettings set org.mate.pluma editor-font "Ubuntu Mono 13"
gsettings set org.mate.pluma display-line-numbers true
gsettings set org.mate.pluma bracket-matching true
gsettings set org.mate.pluma insert-spaces true
gsettings set org.mate.pluma active-plugins "['docinfo', 'snippets', 'sort', 'filebrowser', 'changecase', 'quickopen', 'spell', 'time', 'modelines']"
 
# keybindings
/org/gnome/desktop/wm/keybindings/move-to-corner-ne ['<Super>7']

GNOME extension manager

sudo apt install gnome-shell-extension-manager

Suspend shortkey
https://blog.programster.org/using-the-cli-to-set-custom-keyboard-shortcuts
https://askubuntu.com/questions/22054/how-can-i-suspend-using-a-keyboard-shortcut-without-administrator-privileges/1481601#1481601

gsettings set org.gnome.settings-daemon.plugins.media-keys suspend "['<Super><Shift>s']"
 
# or create a custom keybinding:
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name 'suspend'
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command 'systemctl suspend'
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding '<Super>s'
 
# enable night light color temperatue
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled true
gsettings set org.gnome.settings-daemon.plugins.color night-light-temperature 3700

Ubuntu

# set icon size in dock
gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 20
 
# hide mounts in dock
gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false
 
# get favorite apps
gsettings get org.gnome.shell favorite-apps
 
# add app to favorite app
gsettings set org.gnome.shell favorite-apps "$(gsettings get org.gnome.shell favorite-apps | sed s/.$//), 'appname.desktop']"

Links
https://searchcode.com/file/83101146/config/ubuntu/13.10/keybindings/org.gnome.settings-daemon.plugins.media-keys.sh/