GNOME

GNOME 3.22 (Fedora 25)

Intro
$ dbus-launch gsettings get org.gnome.desktop.session session-name 'gnome'                                                                              # default GNOME 3 $ dbus-launch gsettings set org.gnome.desktop.session session-name 'gnome-fallback'  # rezim spatnej kompatibility (hardware cannot handle graphics acceleration)
 * GNOME 3 pre svoje fungovanie potrebuje v podstate iba DBus service (sucast freedesktop.org projektu)
 * Bola vykonana (zatial este nie uplna) migracia z GConf (GNOME 2) na GSettings (GNOME 3)
 * (low-level configuration system) is only the GSettings backend. Most applications will not want to interface directly with dconf, but rather with GSettings
 * Commandline konfiguracny nastroj ' v GNOME 3 zamiena predosly ' z GNOME 2
 * Analogicky GUI aplikacia ' v GNOME 3 zamiena predosly ' z GNOME 2
 * nemoze zmenit hodnotu kluca pokial nebezi DBus service (napr. problemy s X-serverom), mozno vsak pouzit utilitu
 * Kedze este nebola zavrsena plna migracia z Gconf na GSettings, pre plnu konfigurovatelnost GNOME 3 sa moze okrem predurceneho (resp. GUI ekvivalent ) pouzivat aj  (resp. GUI ). Pre realny zivot je vsak uz takmer (GNOME > 3.14) plna migracia na GSettings.

GUI tools
 (basic)
 * configuration utilities for the GNOME desktop

 (advanced)
 * application for changing the advanced settings

 (expert)
 * allows you to browse and modify dconf databases

Commandline interface
 gsettings list-recursively > gsettings.all gsettings list-recursively org.gnome.desktop.background gsettings reset org.gnome.desktop.interface gtk-enable-primary-paste         # Middle Click Paste (true) gsettings reset org.gnome.desktop.peripherals.touchpad disable-while-typing  # (true)

GSettings schemas
gsettings --schemadir ~/.local/share/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com/schemas/ get org.gnome.shell.extensions.system-monitor move-clock $ ln -s ~/.local/share/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com/schemas/org.gnome.shell.extensions.system-monitor.gschema.xml \ /usr/share/glib-2.0/schemas/ $ glib-compile-schemas /usr/share/glib-2.0/schemas/
 * At runtime, GSettings looks for schemas in the subdirectories of all directories specified in the  environment variable. The usual location to install schema files is
 * Uzivatel moze pridat svoju directory (napr. ) nastavenim premennej
 * Ina moznost je specifikovat directory, kde sa ma hladat schema, napr.
 * kompiluje vsetky GSettings XML schemas files v jeden binarny file, ktory potom cita GSettings

gsettings get org.gnome.shell.extensions.system-monitor move-clock
 * Jednoducha moznost nastavenia vlastnych default hodnot vytvorenim subora s filename extension

Windows Management

 * Clutter
 * Library for creating fast, hardware-accelerated (OpenGL), visually rich graphical user interfaces


 * Mutter & Muffin
 * Window and compositing managers. Mutter & Muffin combines the Clutter toolkit with solid window-management inherited from the Metacity window manager
 * Mutter used as the display core of a larger system such as GNOME Shell or Moblin (default manager for GNOME 3 in Fedora)
 * Muffin used as the display core of a larger system such as Cinnamon (non-default in Fedora)


 * Metacity
 * Window manager that was used by default in the GNOME 2 desktop. Since Gnome 3.16 metacity themes are no more supported. Mutter no longer uses Metacity themes.

Themes

 * Vsetky themes subory sa nachadzaju v, resp. directory
 * Zmena celej theme, resp. desktop-u (odhliadnuc od icons a cursors), zahrna zmenu dvoch sub-theme:
 * Shell theme -
 * uzivatel moze vyberat, menit GNOME Shell theme az po nainstalovani extensions
 * GTK+ Theme -
 * Current (Window) theme -
 * Themes je mozne velmi jedoducho vyberat, menit pomocou v menu Appearance
 * Default theme pre GNOME 3 (a zaroven aj pre Fedora) je Adwaita, rozne ine themes:
 * http://www.deviantart.com/browse/all/customization/skins/linuxutil/desktopenv/gnome/
 * http://gnome-look.org/

Customizing
$ wget https:// raw.githubusercontent.com/musinsky/config/master/GNOME/gnome-shell.css -P /usr/share/themes//gnome-shell/ $ wget https:// raw.githubusercontent.com/musinsky/config/master/GNOME/gtk.css -P /usr/share/themes//gtk-3.0/ $ ln -s /usr/share/themes/Adwaita/gtk-2.0/ /usr/share/themes// gsettings set org.gnome.shell.extensions.user-theme name '' gsettings set org.gnome.desktop.interface gtk-theme ''
 * Najoptimalnejsi sposob ako menit niektore nastavenia v Shell alebo GTK+ themes je vytvorit kvazi novu theme, ktora je odvodena od povodnej theme. Window theme, resp. Metacity nie je mozne derivovat
 * Customizing default Shell theme derived from default gnome-shell.css
 * Customizing default GTK+ theme (Adwaita) derived from default gtk.css
 * Applying changes


 * https://wiki.archlinux.org/index.php/GNOME
 * http://blog.fpmurphy.com/2011/03/customizing-the-gnome-3-shell.html
 * http://blog.fpmurphy.com/2011/05/more-gnome-shell-customization.html
 * https://github.com/gnome-integration-team/firefox-gnome

$ mkdir -p /usr/share/themes//metacity-1/ $ cp /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml /usr/share/themes//metacity-1/
 * Customizing Adwaita Window (Metacity) theme based on default metacity-theme-3.xml
 * reduce titlebar height

$ sed -i '/title_vertical_pad/s|value="[0-9]\{1,2\}"|value="2"|g' /usr/share/themes//metacity-1/metacity-theme-3.xml
 * change titlebar color (in section)

$ sed -i 's/gtk:custom(wm_bg_b,gtk:bg\[NORMAL\])/blend\/#000000\/gtk:bg\[NORMAL\]\/0.8/' /usr/share/themes//metacity-1/metacity-theme-3.xml

gsettings set org.gnome.desktop.wm.preferences theme '' # GNOME 3.16 is DEPRECATED

GNOME Shell
gsettings get org.gnome.shell enabled-extensions    # Installed Extensions
 * GNOME Shell je zakladna cast user interface v GNOME 3 (spusta aplikacie, prepina okna, ....), pouziva Mutter (compositing window manager) a je stale aktivne vyvijane
 * Prostredie GNOME Shell sa moze flexibilne upravovat pomocou roznych extensions, ktore jednoducho nacitavaju JavaScript a CSS. Je to nahrada za applets a widgets
 * Subory s GNOME Shell extensions sa nachadzaju v, resp.
 * Pomocou aplikacie v menu Extensions je mozne (analogicky ako Themes) instalovat, zapinat/vypinat rozne extensions
 * Od verzie GNOME 3.2 je takisto mozne instalovat, zapinat/vypinat rozne extensions priamo vo web browser prostrednictvom GNOME Shell Integration plugin
 * Novy nastroj umoznuje konfigurovat jednotlive extensions ( subor)

$ dnf copr enable region51/chrome-gnome-shell $ dnf install chrome-gnome-shell
 * Pocnuc Fedora 24 je potrtebne instalovat browser extension (chrome-gnome-shell) pre moznu integraciu extensions pomocou browsera


 * Available extensions:
 * https://extensions.gnome.org/
 * https://git.gnome.org/browse/gnome-shell-extensions/tree/extensions

User Themes
$ dnf install gnome-shell-extension-user-theme  # is already installed with
 * https://git.gnome.org/browse/gnome-shell-extensions/tree/extensions/user-theme

AlternateTab

 * https://git.gnome.org/browse/gnome-shell-extensions/tree/extensions/alternate-tab

Applications Menu

 * https://git.gnome.org/browse/gnome-shell-extensions/tree/extensions/apps-menu

Window List
wget -O - https:// raw.githubusercontent.com/musinsky/config/master/GNOME/extension-window-list.css >> ~/.local/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com/stylesheet.css
 * https://git.gnome.org/browse/gnome-shell-extensions/tree/extensions/window-list

system-monitor

 * https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet

SDIR=~/.local/share/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com/schemas/

gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor background '#00000000' gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor move-clock false gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor icon-display false gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor cpu-show-text false gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor cpu-style 'both' gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor cpu-graph-width 80 gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor memory-display false gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor net-show-text false gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor net-style 'digit' gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor disk-usage-style 'bar' gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor thermal-display true gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor thermal-show-text false gsettings --schemadir $SDIR set org.gnome.shell.extensions.system-monitor thermal-style 'digit'

OpenWeather

 * https://github.com/jenslody/gnome-shell-extension-openweather

SDIR=~/.local/share/gnome-shell/extensions/openweather-extension@jenslody.de/schemas/

gsettings --schemadir $SDIR set org.gnome.shell.extensions.openweather city '48.7172,21.2497>Košice, Slovensko >-1 && 46.2601,6.0577>CERN, Switzerland >-1 && 56.7574,37.1376>Дубна, Россия >-1' gsettings --schemadir $SDIR set org.gnome.shell.extensions.openweather unit 'celsius' gsettings --schemadir $SDIR set org.gnome.shell.extensions.openweather wind-speed-unit 'kph' gsettings --schemadir $SDIR set org.gnome.shell.extensions.openweather pressure-unit 'hPa' gsettings --schemadir $SDIR set org.gnome.shell.extensions.openweather use-symbolic-icons false gsettings --schemadir $SDIR set org.gnome.shell.extensions.openweather days-forecast 5 gsettings --schemadir $SDIR set org.gnome.shell.extensions.openweather decimal-places 0

TopIcons

 * reduce default icons size

$ sed -i 's/Panel.PANEL_ICON_SIZE/16/g' ~/.local/share/gnome-shell/extensions/topIcons@adel.gadllah@gmail.com/extension.js

others extensions

 * Frippery Applications Menu
 * Frippery Bottom Panel


 * Media player indicator
 * Coverflow Alt-Tab
 * EasyScreenCast
 * Drop Down Terminal