Difference between revisions of "GNOME (Português)"

From ArchWiki
Jump to navigation Jump to search
(Fix Category and Related Articles)
(Re-translating: this article is totally out-of-date, so I'll restart from zero.)
Line 1: Line 1:
[[Category:GNOME (Português)]]
+
[[Category:GNOME]]
 
[[cs:GNOME]]
 
[[cs:GNOME]]
 
[[de:GNOME]]
 
[[de:GNOME]]
[[en:GNOME]]
 
 
[[es:GNOME]]
 
[[es:GNOME]]
 
[[fr:GNOME]]
 
[[fr:GNOME]]
Line 9: Line 8:
 
[[nl:GNOME]]
 
[[nl:GNOME]]
 
[[pl:GNOME]]
 
[[pl:GNOME]]
 +
[[pt:GNOME]]
 
[[ru:GNOME]]
 
[[ru:GNOME]]
 
[[sr:GNOME]]
 
[[sr:GNOME]]
Line 16: Line 16:
 
[[zh-hans:GNOME]]
 
[[zh-hans:GNOME]]
 
[[zh-hant:GNOME]]
 
[[zh-hant:GNOME]]
{{Related articles start (Português)}}
+
{{Related articles start}}
 
{{Related|Desktop environment}}
 
{{Related|Desktop environment}}
{{Related|Display manager (Português)}}
+
{{Related|Display manager}}
 
{{Related|Window manager}}
 
{{Related|Window manager}}
 
{{Related|GTK+}}
 
{{Related|GTK+}}
{{Related|GDM (Português)}}
+
{{Related|GDM}}
 
{{Related|GNOME/Tips and tricks}}
 
{{Related|GNOME/Tips and tricks}}
 
{{Related|GNOME/Troubleshooting}}
 
{{Related|GNOME/Troubleshooting}}
Line 33: Line 33:
 
{{Related|Cinnamon}}
 
{{Related|Cinnamon}}
 
{{Related|MATE}}
 
{{Related|MATE}}
{{Related|Official repositories (Português)#gnome-unstable}}
+
{{Related|Official repositories#gnome-unstable}}
 
{{Related articles end}}
 
{{Related articles end}}
Para o GNOME 3, os desenvolvedores começaram do zero e criaram um novo complemento, um ambiente de trabalho moderno para os usuários e as tecnologias recentes. Algumas das características implementadas:
 
* Novo tema e visual, bem como fontes modernas.
 
* O modo de visualização das atividades fornece uma maneira mais fácil de acessar janelas e aplicativos.
 
* Recurso de pesquisa rápida (entre configurações, programas e arquivos) junto à visualização de atividades.
 
* Um novo aplicativo de Configuração do Sistema.
 
* Sistema de notificação mais sutil e um painel mais discreto.
 
* Serviço de mensagens integrado.
 
* E muito mais recursos: window tiling (semelhante ao Aero Snap), gerenciador de arquivos Nautilus aperfeiçoado etc.
 
  
[mais detalhes no site do [http://www.gnome3.org/ GNOME 3]]
+
[https://www.gnome.org/ GNOME] (pronounced ''gah-nohm'' or ''nohm'') is a [[desktop environment]] that aims to be simple and easy to use. It is designed by [[Wikipedia:The GNOME Project|The GNOME Project]] and is composed entirely of free and open-source software. GNOME is a part of the [[Wikipedia:GNU Project|GNU Project]]. The default display is [[Wayland]] instead of [[Xorg]].
  
== Introdução ==
+
== Installation ==
  
O GNOME 3 vem com '''duas''' interfaces, '''gnome-shell''', o novo layout padrão, e o modo '''fallback'''. ''Gnome-session'' detectará se o computador é capaz de rodar o ''gnome-shell'', do contrário iniciará no modo ''fallback''.
+
Two groups are available:
  
O modo '''fallback''' é muito similar ao layout do GNOME 2.x (enquanto usa o gnome-panel e metacity, alternativas ao gnome-shell e Mutter).
+
* {{Grp|gnome}} contains the base GNOME desktop and a subset of well-integrated [https://wiki.gnome.org/Apps applications];
 +
* {{Grp|gnome-extra}} contains further GNOME applications, including an archive manager, disk manager, [[Gedit|text editor]], and a set of games. Note that this group builds on the {{Grp|gnome}} group.
  
Caso esteja no modo fallback, pode-se escolher o gerenciamento de janelas preferido.
+
The base desktop consists of [[Wikipedia:GNOME_Shell|GNOME Shell]], a plugin for the [[Wikipedia:Mutter_(software)|Mutter]] window manager. It can be installed separately with {{Pkg|gnome-shell}}.
  
== Atualização do GNOME 2.32 atual ==
+
{{Note|''mutter'' acts as a composite manager for the desktop, employing hardware graphics acceleration to provide effects aimed at reducing screen clutter. The GNOME session manager automatically detects if your video driver is capable of running GNOME Shell and if not, falls back to software rendering using ''llvmpipe''.}}
  
{{Atenção|A sessão pode falhar durante a atualização e recomendado que você execute o comando no outra sessão, de outra DE ou VM, ou tty.}}
+
=== Additional packages ===
  
# pacman -Syu
+
These packages are not in the above mentioned groups:
  
'''Importante''': Apenas o GNOME 3.x modo '''falback''' estará instalado neste momento. Para instalar o novo shell:
+
* {{App|[[Wikipedia:GNOME Boxes|Boxes]]|A simple user interface to access [[libvirt]] virtual machines.|https://wiki.gnome.org/Apps/Boxes|{{Pkg|gnome-boxes}}}}
+
* {{App|Games|Simple game launcher for GNOME.|https://wiki.gnome.org/Apps/Games|{{Pkg|gnome-games}}}}
# pacman -S gnome-shell
+
* {{App|GNOME Initial Setup|A simple, easy, and safe way to prepare a new system.|https://github.com/GNOME/gnome-initial-setup|{{Pkg|gnome-initial-setup}}}}
 +
* {{App|GNOME MultiWriter|Write an ISO file to multiple USB devices at once.|https://wiki.gnome.org/Apps/MultiWriter|{{Pkg|gnome-multi-writer}}}}
 +
* {{App|GNOME PackageKit|Collection of graphical tools for PackageKit to be used in the GNOME desktop.|https://github.com/GNOME/gnome-packagekit|{{Pkg|gnome-packagekit}}}}
 +
* {{App|[[Wikipedia:Nemiver|Nemiver]]|A C/C++ debugger.|https://wiki.gnome.org/Apps/Nemiver|{{Pkg|nemiver}}}}
 +
* {{App|Recipes|Recipe management application for GNOME.|https://wiki.gnome.org/Apps/Recipes|{{Pkg|gnome-recipes}}}}
 +
* {{App|Simple Scan|Simple scanning utility.|https://launchpad.net/simple-scan|{{Pkg|simple-scan}}}}
 +
* {{App|[[Wikipedia:GNOME Software|Software]]|Lets you install and update applications and system extensions.|https://wiki.gnome.org/Apps/Software/|{{Pkg|gnome-software}}}}
  
== Instalação do GNOME 3 como novo ambiente de trabalho ==
+
== GNOME Sessions ==
  
GNOME 3 está no [extra]. Deve-se executar o seguinte comando para instalá-lo:
+
GNOME has three available sessions, all using GNOME Shell.
  
# pacman -Syu gnome
+
*'''GNOME''' is the default which uses Wayland. Traditional X applications are run through Xwayland.
 +
*'''GNOME Classic''' is a traditional desktop layout with a similar interface to GNOME 2, using pre-activated extensions and parameters. [http://worldofgnome.org/welcome-to-gnome-3-8-flintstones-mode/] Hence it is more a customized GNOME Shell than a truly distinct mode.
 +
*'''GNOME on Xorg''' runs GNOME Shell using Xorg.
  
Para adquirir aplicações adicionais:
+
== Starting GNOME ==
  
# pacman -Syu gnome-extra
+
GNOME can be started either graphically, using a [[display manager]], or manually from the console.
  
===Daemons e modulos necessários ao GNOME===
+
{{Note|Support for screen locking in GNOME is provided by GDM. If GNOME is not started using GDM, you will have to use another screen locker to provide this functionality - see [[List of applications/Security#Screen lockers]].}}
  
O desktop GNOME requer um daemon o '''DBUS''' para uma operação adequada.
+
=== Graphically ===
  
Para iniciar o DBUS no daemon:
+
Select the session: ''GNOME'', ''GNOME Classic'', or ''GNOME on Xorg'' from the display manager's session menu.
  
# /etc/rc.d/dbus start
+
=== Manually ===
  
Ou adicione o '''DAEMONS''' diretamente no diretório {{ic|/etc/[[rc.conf]]}} irão iniciar no boot:
+
==== Xorg sessions ====
  
DAEMONS=(syslog-ng '''dbus''' network crond)
+
* For the GNOME on Xorg session, add to the {{ic|~/.xinitrc}} file: {{ic|exec gnome-session}}.
 +
* For the GNOME Classic session, add to the {{ic|~/.xinitrc}} file: {{bc|<nowiki>export XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME
 +
export GNOME_SHELL_SESSION_MODE=classic
 +
exec gnome-session --session=gnome-classic</nowiki>}}
  
'''GVFS''' permite protocolos para acesso de arquivos remotos, como FTP ou SMB, para uso em aplicativos diversos como o gerenciandor de arquivos Nautilus. Isso é feito pelo '''FUSE''': o espaço virtual no sistema de arquivos na camada de módulos do kernel.
+
After editing the {{ic|~/.xinitrc}} file, GNOME can be launched with the {{ic|startx}} command (see [[xinitrc]] for additional details, such as preserving the logind session).  After setting up the {{ic|~/.xinitrc}} file it can also be arranged to [[Start X at login]].
  
Para carregar o módulo do kernel:
+
==== Wayland sessions ====
# modprobe fuse
 
  
Ou adicione o módulo em '''MODULES''' no diretório {{ic|/etc/rc.conf}} para que sejam iniciado no boot, exemplo:
+
{{Note|
 +
* An X server—provided by the {{Pkg|xorg-server-xwayland}} package—is still necessary to run applications that have not yet been ported to [[Wayland]].
 +
* Wayland with the proprietary [[NVIDIA]] driver currently suffers from very poor performance: {{bug|53284}}.
 +
}}  
  
MODULES=('''fuse''' usblp)
+
Manually starting a Wayland session is possible with {{ic|<nowiki>XDG_SESSION_TYPE=wayland dbus-run-session gnome-session</nowiki>}}.
  
{{Nota|FUSE é um módulo do kernel, não um daemon.}}
+
To start on login to tty1, add the following to your {{ic|.bash_profile}}:
  
===Executando o GNOME===
+
<nowiki>if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] && [[ -z $XDG_SESSION_TYPE ]]; then
 +
  XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
 +
fi</nowiki>
  
Para o melhor integrar no desktop '''GDM''' é recomendado (mas outros gerenciadores de login, tais como SLiM também funcionam consulte a seleção Policykit).
+
=== GNOME applications in Wayland ===
  
# pacman -S gdm
+
When the ''GNOME'' session is used, GNOME applications will be run using Wayland. See the current status of Wayland for GNOME applications at [https://wiki.gnome.org/Initiatives/Wayland/Applications/ GNOME Applications under Wayland]. For debugging cases, the [https://developer.gnome.org/gtk3/stable/gtk-running.html GTK+ manual] lists options and environment variables.
  
Confira o [[Display manager]] para iniciá-lo corretamente.
+
== Navigation ==
  
Se você preferir iniciar pelo console, adicione a linha no seu diretório {{ic|~/.xinitrc}}, certifique-se a última linha e inicia com ''exec'' (veja [[xinitrc]]):
+
To learn how to use the GNOME shell effectively read the [https://wiki.gnome.org/Projects/GnomeShell/CheatSheet GNOME Shell Cheat Sheet]; it highlights GNOME shell features and keyboard shortcuts. Features include task switching, keyboard use, window control, the panel, overview mode, and more.  A few of the shortcuts are:
  
exec gnome-session
+
* {{ic|Super}} + {{ic|m}}: show message tray
 +
* {{ic|Super}} + {{ic|a}}: show applications menu
 +
* {{ic|Alt-}} + {{ic|Tab}}: cycle active applications
 +
* {{ic|Alt-}} + {{ic|`}} (the key above {{ic|Tab}} on US keyboard layouts): cycle windows of the application in the foreground
 +
* {{ic|Alt}} + {{ic|F2}}, then enter {{ic|r}} or {{ic|restart}}: restart the shell in case of graphical shell problems (only in X/legacy mode, not in Wayland mode).
  
Agora o GNOME inciará quando digitar o comando:
+
=== Legacy names ===
$ startx
 
  
== Usando o shell==
+
{{Note|
 +
Some GNOME programs have undergone name changes where the application's name in documentation and about dialogs has been changed but the executable name has not. A few such applications are listed in the table below.}}
  
Veja https://live.gnome.org/GnomeShell/CheatSheet
+
{{Tip|Searching for the legacy name of an application in the Shell search bar will successfully return the application in question. For instance, searching for ''nautilus'' will return ''Files''.}}
  
== Customizando ==
+
{| class="wikitable"
=== Usando Gnome-tweak-tool ===
+
! Current
 +
! Legacy
 +
|-
 +
| [[Files]]
 +
| Nautilus
 +
|-
 +
| [[GNOME/Web|Web]]
 +
| Epiphany
 +
|-
 +
| Videos
 +
| Totem
 +
|-
 +
| Main Menu
 +
| Alacarte
 +
|-
 +
| Document Viewer
 +
| Evince
 +
|-
 +
| Disk Usage Analyser
 +
| Baobab
 +
|-
 +
| Image Viewer
 +
| EoG (Eye of GNOME)
 +
|-
 +
| [[GNOME/Keyring|Passwords and Keys]]
 +
| Seahorse
 +
|}
  
# pacman -S gnome-tweak-tool
+
== Configuration ==
  
Este customização da fonte, themas, o botão minimizar e maximizar e algumas configurações como qual ação é tomada quando é fechado.
+
The GNOME System Settings panel (''gnome-control-center'') and GNOME applications use the [[wikipedia:Dconf|dconf]] configuration system to store their settings.
  
Uma boa customização o tutorial é http://blog.fpmurphy.com/2011/03/customizing-the-gnome-3-shell.html que explora a gsettings.
+
You can directly access the dconf database using the {{ic|gsettings}} or {{ic|dconf}} command line tools. This also allows you to configure settings not exposed by the user interfaces.
  
====Wallpaper====
+
Up until GNOME 3.24 settings were applied by the GNOME settings daemon, which could be run outside of a GNOME session using:
$ GSETTINGS_BACKEND=dconf gsettings get org.gnome.desktop.background picture-uri
 
$ GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/gnome/SundownDunes.jpg"
 
  
Você preicisa apontar para um arquivo onde o usuário gdm para permissão de ler, e não em seu diretório home.
+
$ nohup /usr/lib/gnome-settings-daemon/gnome-settings-daemon > /dev/null &
  
====Desligar Som====
+
GNOME 3.24 however replaced the GNOME settings daemon with several separate settings plugins {{ic|/usr/lib/gnome-settings-daemon/gsd-*}}. These plugins are now controlled via desktop files under {{ic|/etc/xdg/autostart}} (org.gnome.SettingsDaemon.*.desktop). To run these plugins outside of a GNOME session you will now need to copy/edit the appropriate [[desktop entries]] to {{ic|~/.config/autostart}}.
$ GSETTINGS_BACKEND=dconf gsettings com org.gnome.desktop.sound event-sounds false
 
  
Insirá um "1" de volta /etc/shadow para desabilitar o login do usuário gdm.
+
The configuration is usually performed user-specific, this section does not cover how to create configuration templates for multiple users.  
  
====Alterar o layout do teclado no GDM====
+
=== System settings ===
Desde do GDM 3 a configuração do layout do teclado não importa o gnome, você tem que configurar no Xorg.
 
  
=== Alterando o GTK3 usando o tema settings.ini ===
+
Control panel settings of note.
  
Similar para {{ic|~/.gtkrc-2.0}} GTK2+ é possível definir o GTK3 (Gnome 3) atrávez do tema {{ic|${XDG_CONFIG_HOME}/gtk-3.0/settings.ini}}. Por default {{ic|${XDG_CONFIG_HOME} }} é interpretado como {{ic|~/.config}}.
+
==== Color ====
  
Apenas o tema Adwaita existe neste momento para gtk3 e é disponível no pacote '''gnome-themes-standard'''.
+
The daemon {{ic|colord}} reads the display's EDID and extracts the appropriate color profile.  Most color profiles are accurate and no setup is required; however for those that are not accurate, or for older displays, color profiles can be put in {{ic|~/.local/share/icc/}} and directed to.
  
Exemplo:
+
==== Date & time ====
  
  [Configurações]
+
If the system has a configured [[Network Time Protocol daemon]], it will be effective for GNOME as well. The synchronization can be set to manual control from the menu, if required.
  gtk-theme-name = Adwaita
 
  gtk-fallback-icon-theme = gnome
 
  # next option is applicable only if selected theme supports it
 
  gtk-application-prefer-dark-theme = true
 
  # set font name and dimension
 
  gtk-font-name = Sans 10
 
  
Pode ser necessário reiniciar o DE ou WM para aplicar as configurações.
+
To show the date in the top bar, execute:
  
{{Nota|Mais opções podem ser encontradas: [http://developer.gnome.org/gtk3/3.0/GtkSettings.html#GtkSettings.properties GtkSettings documentation]}}
+
$ gsettings set org.gnome.desktop.interface clock-show-date true
  
=== Redimensionar a barra de título Massive ===
+
Additionally, to show week numbers in the calendar opened on the top bar, execute:
  # sed -i "/title_vertical_pad/s/value=\"[0-9]\{1,2\}\"/value=\"0\"/g" /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
+
  $ gsettings set org.gnome.desktop.calendar show-weekdate true
  
{{ic|Alt}} + {{ic|F2}} e ''reiniciar'' seguido de {{ic|Enter}} 
+
==== Default applications ====
  
Isso vai alterar o title_vertical_pad para de 14 para 0 colocando mas elegância nas janelas.
+
Upon installing GNOME for the first time, you may find that the wrong applications are handling certain protocols. For example, ''totem'' opens videos instead of a previously used [[VLC]]. Some of the associations can be set from system settings via: ''System'' > ''Details'' > ''Default applications''.
 +
 
 +
For other protocols and methods see [[Default applications]] for configuration.  
  
Para restaurar as configurações originais:
+
==== Mouse and touchpad ====
sudo pacman -S gnome-themes-standard
 
  
===Configurando tema para o ícone===
+
To help reduce touchpad interference you may wish to implement the settings below via ''gnome-control-center'':
  
{{Nota | Com o gnome-tweak-tool na versão 3.0.3 e superior, você deve adicionar os temas dos ícones dentro de ~/.icons.}}
+
* Disable touchpad while typing
 +
* Disable scrolling
 +
* Disable tap-to-click
  
Útil, o Gnome 3 pode usar os ícones do Gnome 2, assim não fica preso no padrão definido. Para isso, você pode copiar o seu ícone preferido para ~/.icons. Exemplo:
+
Depending on your device, other configuration settings may be available, but not exposed via the default GUI. For example, a different touchpad {{ic|click-method}}
 +
{{hc|$ gsettings range org.gnome.desktop.peripherals.touchpad click-method|
 +
enum
 +
'default'
 +
'none'
 +
'areas'
 +
'fingers'}}
 +
to be set manually:  
 +
$ gsettings set org.gnome.desktop.peripherals.touchpad click-method 'fingers'
 +
or via ''gnome-tweak-tool''.
  
$ cp -R /home/user/Desktop/my_new_icon_theme ~/.icons
+
{{Note|1=The [[synaptics]] driver is not supported by GNOME. Instead, you should use [[libinput]]. See [https://bugzilla.gnome.org/show_bug.cgi?id=764257#c12 this bug report].}}
  
The new icon theme 'my_new_icon_theme' will now be selectable using the gnome-tweak-tool (under 'Interface'), otherwise it can be set with no need of gnome-tweak-tool by adding the gtk-icon-theme-name entry inside ${XDG_CONFIG_HOME}/gtk-3.0/settings.ini.
+
==== Network ====
{{hc|${XDG_CONFIG_HOME}/gtk-3.0/settings.ini|2=
+
 
.....
+
[[NetworkManager]] is the native tool of the GNOME project to control network settings from the shell. [[Install]] the {{pkg|networkmanager}} package and [[enable]] the {{ic|NetworkManager.service}} systemd unit.
gtk-icon-theme-name = my_new_icon_theme
+
 
.....
+
While any other [[network manager]] can be used as well, NetworkManager provides the full integration via the shell network settings and a status indicator applet {{Pkg|network-manager-applet}} (not required for GNOME).
 +
 
 +
==== Online accounts ====
 +
 
 +
Backends for the GNOME messaging application {{Pkg|empathy}} as well as the GNOME Online Accounts section of the System Settings panel are provided in a separate group: {{Grp|telepathy}}. See [[GNOME/Troubleshooting#Unable to add accounts in Empathy and GNOME Online Accounts|Unable to add accounts in Empathy and GNOME Online Accounts]]. Some online accounts, such as [[ownCloud]], require {{Pkg|gvfs-goa}} to be installed for full functionality in GNOME applications such as [[GNOME Files]] and GNOME Documents [https://wiki.gnome.org/ThreePointSeven/Features/Owncloud].
 +
 
 +
==== Search ====
 +
 
 +
The GNOME shell has a search that can be quickly accessed by pressing the {{ic|Super}} key and starting to type. The {{Pkg|tracker}} package is installed by default as a part of {{Grp|gnome}} group and provides an indexing application and metadata database. It can be configured with the ''Search and Indexing'' menu item; monitor status with ''tracker-control''.  It is started automatically by ''gnome-session'' when the user logs in. Indexing can be started manually with {{ic|tracker-control -s}}.  Search settings can also be configured in the ''System Settings'' panel.
 +
 
 +
The Tracker database can be queried using the ''tracker-sparql'' command. View its manual page {{ic|man tracker-sparql}} for more information.
 +
 
 +
=== Advanced settings ===
 +
 
 +
As noted above, many configuration options such as changing the [[GTK+]] theme or the [[window manager]] theme are not exposed in the GNOME System Settings panel (''gnome-control-center''). Those users that want to configure these settings may wish to use the GNOME Tweak Tool ({{Pkg|gnome-tweak-tool}}), a convenient graphical tool which exposes many of these settings. 
 +
 
 +
GNOME settings (which are stored in the DConf database) can also be configured using the [https://developer.gnome.org/dconf/unstable/dconf-editor.html ''dconf-editor''] (a graphical DConf configuration tool) or the [https://developer.gnome.org/gio/stable/GSettings.html ''gsettings''] command line tool. The GNOME Tweak Tool does not do anything else in the background of the GUI; note though that you will not find all settings described in the following sections in it.
 +
 
 +
==== Appearance ====
 +
 
 +
===== GTK+ themes and icon themes =====
 +
 
 +
To install a new theme or icon set, add the relevant {{ic|~/.local/share/themes}} or {{ic|~/.local/share/icons}} respectively (add to {{ic|/usr/share/}} instead of {{ic|~/.local/share/}} for the themes to be available systemwide.)  They and other GUI settings can also be defined in {{ic|~/.config/gtk-3.0/settings.ini}}:
 +
 
 +
{{hc|~/.config/gtk-3.0/settings.ini|<nowiki>
 +
[Settings]
 +
gtk-theme-name = Adwaita
 +
# next option is applicable only if selected theme supports it
 +
gtk-application-prefer-dark-theme = true
 +
# set font name and dimension
 +
gtk-font-name = Sans 10
 +
</nowiki>}}
 +
 
 +
Additional theme locations:
 +
* [http://www.deviantart.com/browse/all/customization/skins/linuxutil/desktopenv/gnome/gtk3/ DeviantArt].
 +
* [http://gnome-look.org/index.php?xcontentmode=167 gnome-look.org].
 +
* [https://aur.archlinux.org/packages.php?O=0&K=gtk3&do_Search=Go GTK+ 3 themes in the AUR].
 +
* [https://aur.archlinux.org/packages.php?O=0&K=xcursor&do_Search=Go&PP=50&SB=v&SO=d Cursor themes in the AUR].
 +
* [https://aur.archlinux.org/packages.php?O=0&K=icon-theme&do_Search=Go&PP=50&SB=v&SO=d Icon themes in the AUR].
 +
 
 +
Once installed, they can be selected using the GNOME Tweak Tool or GSettings - see below for GSettings commands:
 +
 
 +
For the GTK+ theme:
 +
$ gsettings set org.gnome.desktop.interface gtk-theme ''theme-name''
 +
 
 +
For the icon theme
 +
$ gsettings set org.gnome.desktop.interface icon-theme ''theme-name''
 +
 
 +
====== Global dark theme ======
 +
 
 +
GNOME will use the Adwaita light theme by default however a dark variant of this theme (called the Global Dark Theme) also exists and can be selected using the Tweak Tool or by editing the GTK+ 3 settings file - see [[GTK+#Dark theme variant]]. Some applications such as Image Viewer (''eog'') use the dark theme by default. It should be noted that the Global Dark Theme only works with GTK+ 3 applications; some GTK+ 3 applications may only have partial support for the Global Dark theme. Qt and GTK+ 2 support for the Global Dark Theme may be added in the future.
 +
 
 +
===== Window manager themes =====
 +
 
 +
The window manager theme follows the GTK+ theme. Using {{ic|org.gnome.desktop.wm.preferences theme}} is deprecated and ignored.
 +
 
 +
====== Titlebar height ======
 +
 
 +
{{Note|Applying this configuration shrinks the titlebar of the GNOME-terminal and Chromium, but does not appear to affect the Nautilus titlebar height.}}
 +
 
 +
{{hc|~/.config/gtk-3.0/gtk.css|
 +
headerbar.default-decoration {
 +
padding-top: 0px;
 +
padding-bottom: 0px;
 +
min-height: 0px;
 +
font-size: 0.6em;
 +
}
 +
 
 +
headerbar.default-decoration button.titlebutton {
 +
padding: 0px;
 +
min-height: 0px;
 +
}
 +
}}
 +
See [https://ask.fedoraproject.org/en/question/10035/shrink-title-bar/?answer=86149#post-id-86149] for more information.
 +
 
 +
====== Titlebar button order ======
 +
 
 +
To set the order for the GNOME window manager (Mutter, Metacity):
 +
$ gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
 +
 
 +
{{Tip|The colon indicates which side of the titlebar the window buttons will appear.}}
 +
 
 +
====== Hide titlebar when maximized ======
 +
 
 +
*[[Install]] {{AUR|gnome-shell-extension-pixel-saver-git}} or {{AUR|gnome-shell-extension-pixel-saver}}. Maximized windows get the title bar merged into the activity bar, saving precious pixels.
 +
 
 +
*[[Install]] {{AUR|mutter-hide-legacy-decorations}}. It changes a default setting in the window manager, so as to automatically hide the titlebar on legacy (non-headerbar) apps when they are maximized or tiled to the side.
 +
 
 +
*[[Install]] {{AUR|maximus}}. To start the application, execute ''maximus'' from a terminal. When running, the daemon will automatically maximize windows. It will undecorate maximized windows and redecorate them when they are unmaximized. If you do not want all windows to start maximized, run {{ic|maximus -m}} instead. Note that this will only work with windows decorated by the window manager; applications that use client-side decoration such as [[GNOME Files]] will not be undecorated when maximized.
 +
 
 +
===== GNOME Shell themes =====
 +
 
 +
The theme of GNOME Shell itself is configurable. To use a Shell theme, firstly ensure that you have the {{Pkg|gnome-shell-extensions}} package installed. Then enable the ''User Themes'' extension, either through GNOME Tweak Tool or through the [https://extensions.gnome.org GNOME Shell Extensions] webpage. Shell themes can then be loaded and selected using the GNOME Tweak Tool.
 +
 
 +
There are a number of GNOME Shell themes available [https://aur.archlinux.org/packages.php?O=0&K=gnome-shell-theme&do_Search=Go&PP=50&SB=v&SO=d in the AUR].
 +
 
 +
Shell themes can also be downloaded from [http://gnome-look.org/index.php?xcontentmode=191 gnome-look.org].
 +
 
 +
===== Icons on menu =====
 +
 
 +
The default GNOME schema doesn't display any icon on menus. To display icons on menus, issue the following command.
 +
 
 +
$ gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}"
 +
 
 +
==== Desktop ====
 +
 
 +
Various Desktop settings can be applied.
 +
 
 +
===== Icons on the Desktop =====
 +
 
 +
See [[GNOME/Files#Desktop Icons]].
 +
 
 +
===== Lock screen and background =====
 +
 
 +
When setting the Desktop or Lock screen background, it is important to note that the Pictures tab will only display pictures located in {{ic|/home/''username''/Pictures}} folder. If you wish to use a picture not located in this folder, use the commands indicated below.
 +
 
 +
For the desktop background:
 +
$ gsettings set org.gnome.desktop.background picture-uri 'file:///path/to/my/picture.jpg'
 +
 
 +
For the lock screen background
 +
$ gsettings set org.gnome.desktop.screensaver picture-uri 'file:///path/to/my/picture.jpg'
 +
 
 +
==== Extensions ====
 +
 
 +
{{Note|The GNOME Shell browser plugin which allows users to install extensions from [https://extensions.gnome.org extensions.gnome.org] works out-of-the-box for browsers such as [[GNOME/Web]]. For [[Firefox]], Google Chrome/Chromium, Opera and Vivaldi browsers, it is required to install {{AUR|chrome-gnome-shell-git}} and the appropriate browser extension.}}
 +
 
 +
GNOME Shell can be customized with extensions per user or system-wide.
 +
 
 +
The catalogue of extensions is available at [https://extensions.gnome.org extensions.gnome.org]. By a user they can be installed and activated in the browser by setting the switch in the top left of the screen to '''ON''' and clicking '''Install''' on the resulting dialog (if the extension in question is not installed). After installation it is shown in the [https://extensions.gnome.org/local/ extensions.gnome.org/local/] tab, which has to be visited as well to check for available updates. Installed extensions can also be enabled or disabled using {{Pkg|gnome-tweak-tool}}.
 +
 
 +
More information about GNOME shell extensions is available on the [https://extensions.gnome.org/about/ GNOME Shell Extensions about page].
 +
 
 +
[[Installing]] extensions via a package makes them available for all users of the system and automates the update process.
 +
 
 +
The {{Pkg|gnome-shell-extensions}} package provides a set of extensions maintained as part of the GNOME project (many of the included extensions are used by the GNOME Classic session).  
 +
 
 +
Users who want a taskbar but do not wish to use the GNOME Classic session may want to enable the ''Window list'' extension (provided by the {{Pkg|gnome-shell-extensions}} package).
 +
 
 +
Listing currently enabled extensions can be achieved with:
 +
$ gsettings get org.gnome.shell enabled-extensions
 +
 
 +
==== Input methods ====
 +
 
 +
GNOME has integrated support for input methods through [[IBus]], only {{Pkg|ibus}} and the wanted input method engine (e.g. {{Pkg|ibus-libpinyin}} for Intelligent Pinyin) needed to be installed, after installation the input method engine can be added as a keyboard layout in GNOME's Regional & Language Settings.
 +
 
 +
==== Fonts ====
 +
 
 +
{{Tip|If you set the ''Scaling factor'' to a value above 1.00, the Accessibility menu will be automatically enabled.}}
 +
 
 +
Fonts can be set for Window titles, Interface (applications), Documents and Monospace. See the Fonts tab in the Tweak Tool for the relevant options.
 +
 
 +
For hinting, RGBA will likely be desired as this fits most monitors types, and if fonts appear too blocked reduce hinting to ''Slight'' or ''None''.
 +
 
 +
==== Startup applications ====
 +
 
 +
To start certain applications on login, copy the relevant {{ic|.desktop}} file from {{ic|/usr/share/applications/}} to {{ic|~/.config/autostart/}}.
 +
 
 +
The {{Pkg|gnome-tweak-tool}} allows managing autostart-entries.
 +
 
 +
{{Tip|If the plus sign button in the Tweak Tool's Startup Applications section is unresponsive, try start the Tweak Tool from the terminal using the following command: {{ic|gnome-tweak-tool}}. See the following [https://bbs.archlinux.org/viewtopic.php?pid&#61;1413631#p1413631 forum thread].}}
 +
 
 +
{{Note|The deprecated ''gnome-session-properties'' dialog can be added by [[install]]ing the {{AUR|gnome-session-properties}} package.}}
 +
 
 +
==== Power ====
 +
 
 +
When you are using a laptop you might want to alter the following settings:
 +
 
 +
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout ''3600''
 +
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type ''hibernate''
 +
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout ''1800''
 +
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type ''hibernate''
 +
$ gsettings set org.gnome.settings-daemon.plugins.power power-button-action ''suspend''
 +
$ gsettings set org.gnome.desktop.lockdown disable-lock-screen ''true''
 +
 
 +
To keep the monitor active when the lid is closed:
 +
 
 +
$ gsettings set org.gnome.settings-daemon.plugins.xrandr default-monitors-setup do-nothing
 +
 
 +
GNOME 3.24 deprecated the following settings:
 +
 
 +
org.gnome.settings-daemon.plugins.power button-hibernate
 +
org.gnome.settings-daemon.plugins.power button-power
 +
org.gnome.settings-daemon.plugins.power button-sleep
 +
org.gnome.settings-daemon.plugins.power button-suspend
 +
org.gnome.settings-daemon.plugins.power critical-battery-action
 +
 
 +
===== Configure behaviour on lid switch close  =====
 +
 
 +
The GNOME Tweak Tool can optionally ''inhibit'' the ''systemd'' setting for the lid close ACPI event.[http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.17/gnome-tweak-tool-3.17.1.news] To ''inhibit'' the setting, start the tweak tool and, under the power tab, check the ''Don't suspend on lid close'' option. This means that the system will do nothing on lid close instead of suspending - the default behaviour. Checking the setting creates {{ic|~/.config/autostart/ignore-lid-switch-tweak.desktop}} which will autostart the Tweak Tool's inhibitor.
 +
 
 +
If you do not want the system to suspend or do nothing on lid close, you will need to ensure that the setting described above is '''not''' checked and then configure ''systemd'' with {{ic|1=HandleLidSwitch=''preferred_behaviour''}} as described in [[Power management#ACPI events]].
 +
 
 +
===== Change critical battery level action =====
 +
 
 +
The settings panel does not provide an option for changing the critical battery level action. These settings have been removed from dconf as well. They are now managed by upower. Edit the upower settings in {{ic|/etc/UPower/UPower.conf}}. Find these settings and adjust to your needs.
 +
 
 +
{{hc|head=/etc/UPower/UPower.conf|output=
 +
PercentageLow=10
 +
PercentageCritical=3
 +
PercentageAction=2
 +
CriticalPowerAction=HybridSleep
 
}}
 
}}
 +
 +
==== Sort applications into application (app) folders ====
 +
 +
{{Tip|The [https://github.com/prurigro/gnome-catgen gnome-catgen] ({{AUR|gnome-catgen-git}}) script allows you to manage folders through the creation of files in {{ic|~/.local/share/applications-categories}} named after each category and containing a list of the desktop files belonging to apps you would like to have inside. Optionally, you can have it cycle through each app without a folder and input the desired category until you ctrl-c or run out of apps.}}
 +
 +
In the '''dconf-editor''' navigate to {{ic|org.gnome.desktop.app-folders}} and set the value of {{ic|folder-children}} to an array of comma separated folder names:
 +
 +
['Utilities', 'Sundry']
 +
 +
Add applications using {{ic|gsettings}}:
 +
 +
$ gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/Sundry/ apps "['alacarte.desktop', 'dconf-editor.desktop']"
 +
 +
This adds the applications {{ic|alacarte.desktop}} and {{ic|dconf-editor.desktop}} to the Sundry folder.  This will also create the folder {{ic|org.gnome.desktop.app-folders.folders.Sundry}}.
 +
 +
To name the folder (if it has no name that appears at the top of the applications):
 +
 +
$ gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/Sundry/ name "Sundry"
 +
 +
Applications can also be sorted by their category (specified in their ''.desktop'' file):
 +
 +
$ gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/Sundry/ categories "['Office']"
 +
 +
If certain applications matching a category are not wanted in a certain folder, exclusions can be set:
 +
 +
$ gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/Sundry/ excluded-apps "['libreoffice-draw.desktop']"
 +
 +
For further information, refer to the [https://git.gnome.org/browse/gsettings-desktop-schemas/tree/schemas/org.gnome.desktop.app-folders.gschema.xml.in app-folders schema].
 +
 +
== See also ==
 +
 +
* [https://www.gnome.org/ The Official Website of GNOME]
 +
* [https://extensions.gnome.org/ Extensions for GNOME-shell]
 +
* [https://wiki.gnome.org/Projects/GnomeShell/CheatSheet GNOME Shell Cheat Sheet], commands, keyboard shortcuts and other tips for using GNOME Shell.
 +
* Themes, icons, and backgrounds:
 +
** [https://wiki.gnome.org/Personalization Personalize GNOME]
 +
** [https://www.gnome-look.org/ GNOME Look]
 +
* GTK+/GNOME programs:
 +
** [https://wiki.gnome.org/Apps GNOME Apps Index]
 +
* [http://blog.fpmurphy.com/2011/03/customizing-the-gnome-3-shell.html Customizing the GNOME Shell]
 +
* GNOME Source/Mirrors:
 +
** [https://git.gnome.org/browse/ GNOME Git Repository]
 +
** [https://github.com/GNOME GNOME Github Mirror]

Revision as of 04:59, 22 August 2017

GNOME (pronounced gah-nohm or nohm) is a desktop environment that aims to be simple and easy to use. It is designed by The GNOME Project and is composed entirely of free and open-source software. GNOME is a part of the GNU Project. The default display is Wayland instead of Xorg.

Installation

Two groups are available:

  • gnome contains the base GNOME desktop and a subset of well-integrated applications;
  • gnome-extra contains further GNOME applications, including an archive manager, disk manager, text editor, and a set of games. Note that this group builds on the gnome group.

The base desktop consists of GNOME Shell, a plugin for the Mutter window manager. It can be installed separately with gnome-shell.

Note: mutter acts as a composite manager for the desktop, employing hardware graphics acceleration to provide effects aimed at reducing screen clutter. The GNOME session manager automatically detects if your video driver is capable of running GNOME Shell and if not, falls back to software rendering using llvmpipe.

Additional packages

These packages are not in the above mentioned groups:

  • Boxes — A simple user interface to access libvirt virtual machines.
https://wiki.gnome.org/Apps/Boxes || gnome-boxes
  • Games — Simple game launcher for GNOME.
https://wiki.gnome.org/Apps/Games || gnome-games
  • GNOME Initial Setup — A simple, easy, and safe way to prepare a new system.
https://github.com/GNOME/gnome-initial-setup || gnome-initial-setup
  • GNOME MultiWriter — Write an ISO file to multiple USB devices at once.
https://wiki.gnome.org/Apps/MultiWriter || gnome-multi-writer
  • GNOME PackageKit — Collection of graphical tools for PackageKit to be used in the GNOME desktop.
https://github.com/GNOME/gnome-packagekit || gnome-packagekit
https://wiki.gnome.org/Apps/Nemiver || nemiver
  • Recipes — Recipe management application for GNOME.
https://wiki.gnome.org/Apps/Recipes || gnome-recipes
  • Simple Scan — Simple scanning utility.
https://launchpad.net/simple-scan || simple-scan
  • Software — Lets you install and update applications and system extensions.
https://wiki.gnome.org/Apps/Software/ || gnome-software

GNOME Sessions

GNOME has three available sessions, all using GNOME Shell.

  • GNOME is the default which uses Wayland. Traditional X applications are run through Xwayland.
  • GNOME Classic is a traditional desktop layout with a similar interface to GNOME 2, using pre-activated extensions and parameters. [1] Hence it is more a customized GNOME Shell than a truly distinct mode.
  • GNOME on Xorg runs GNOME Shell using Xorg.

Starting GNOME

GNOME can be started either graphically, using a display manager, or manually from the console.

Note: Support for screen locking in GNOME is provided by GDM. If GNOME is not started using GDM, you will have to use another screen locker to provide this functionality - see List of applications/Security#Screen lockers.

Graphically

Select the session: GNOME, GNOME Classic, or GNOME on Xorg from the display manager's session menu.

Manually

Xorg sessions

  • For the GNOME on Xorg session, add to the ~/.xinitrc file: exec gnome-session.
  • For the GNOME Classic session, add to the ~/.xinitrc file:
    export XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME
    export GNOME_SHELL_SESSION_MODE=classic
    exec gnome-session --session=gnome-classic

After editing the ~/.xinitrc file, GNOME can be launched with the startx command (see xinitrc for additional details, such as preserving the logind session). After setting up the ~/.xinitrc file it can also be arranged to Start X at login.

Wayland sessions

Note:
  • An X server—provided by the xorg-server-xwayland package—is still necessary to run applications that have not yet been ported to Wayland.
  • Wayland with the proprietary NVIDIA driver currently suffers from very poor performance: FS#53284.

Manually starting a Wayland session is possible with XDG_SESSION_TYPE=wayland dbus-run-session gnome-session.

To start on login to tty1, add the following to your .bash_profile:

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] && [[ -z $XDG_SESSION_TYPE ]]; then
  XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
fi

GNOME applications in Wayland

When the GNOME session is used, GNOME applications will be run using Wayland. See the current status of Wayland for GNOME applications at GNOME Applications under Wayland. For debugging cases, the GTK+ manual lists options and environment variables.

Navigation

To learn how to use the GNOME shell effectively read the GNOME Shell Cheat Sheet; it highlights GNOME shell features and keyboard shortcuts. Features include task switching, keyboard use, window control, the panel, overview mode, and more. A few of the shortcuts are:

  • Super + m: show message tray
  • Super + a: show applications menu
  • Alt- + Tab: cycle active applications
  • Alt- + ` (the key above Tab on US keyboard layouts): cycle windows of the application in the foreground
  • Alt + F2, then enter r or restart: restart the shell in case of graphical shell problems (only in X/legacy mode, not in Wayland mode).

Legacy names

Note: Some GNOME programs have undergone name changes where the application's name in documentation and about dialogs has been changed but the executable name has not. A few such applications are listed in the table below.
Tip: Searching for the legacy name of an application in the Shell search bar will successfully return the application in question. For instance, searching for nautilus will return Files.
Current Legacy
Files Nautilus
Web Epiphany
Videos Totem
Main Menu Alacarte
Document Viewer Evince
Disk Usage Analyser Baobab
Image Viewer EoG (Eye of GNOME)
Passwords and Keys Seahorse

Configuration

The GNOME System Settings panel (gnome-control-center) and GNOME applications use the dconf configuration system to store their settings.

You can directly access the dconf database using the gsettings or dconf command line tools. This also allows you to configure settings not exposed by the user interfaces.

Up until GNOME 3.24 settings were applied by the GNOME settings daemon, which could be run outside of a GNOME session using:

$ nohup /usr/lib/gnome-settings-daemon/gnome-settings-daemon > /dev/null &

GNOME 3.24 however replaced the GNOME settings daemon with several separate settings plugins /usr/lib/gnome-settings-daemon/gsd-*. These plugins are now controlled via desktop files under /etc/xdg/autostart (org.gnome.SettingsDaemon.*.desktop). To run these plugins outside of a GNOME session you will now need to copy/edit the appropriate desktop entries to ~/.config/autostart.

The configuration is usually performed user-specific, this section does not cover how to create configuration templates for multiple users.

System settings

Control panel settings of note.

Color

The daemon colord reads the display's EDID and extracts the appropriate color profile. Most color profiles are accurate and no setup is required; however for those that are not accurate, or for older displays, color profiles can be put in ~/.local/share/icc/ and directed to.

Date & time

If the system has a configured Network Time Protocol daemon, it will be effective for GNOME as well. The synchronization can be set to manual control from the menu, if required.

To show the date in the top bar, execute:

$ gsettings set org.gnome.desktop.interface clock-show-date true

Additionally, to show week numbers in the calendar opened on the top bar, execute:

$ gsettings set org.gnome.desktop.calendar show-weekdate true

Default applications

Upon installing GNOME for the first time, you may find that the wrong applications are handling certain protocols. For example, totem opens videos instead of a previously used VLC. Some of the associations can be set from system settings via: System > Details > Default applications.

For other protocols and methods see Default applications for configuration.

Mouse and touchpad

To help reduce touchpad interference you may wish to implement the settings below via gnome-control-center:

  • Disable touchpad while typing
  • Disable scrolling
  • Disable tap-to-click

Depending on your device, other configuration settings may be available, but not exposed via the default GUI. For example, a different touchpad click-method

$ gsettings range org.gnome.desktop.peripherals.touchpad click-method
 
enum
'default'
'none'
'areas'
'fingers'

to be set manually:

$ gsettings set org.gnome.desktop.peripherals.touchpad click-method 'fingers'

or via gnome-tweak-tool.

Note: The synaptics driver is not supported by GNOME. Instead, you should use libinput. See this bug report.

Network

NetworkManager is the native tool of the GNOME project to control network settings from the shell. Install the networkmanager package and enable the NetworkManager.service systemd unit.

While any other network manager can be used as well, NetworkManager provides the full integration via the shell network settings and a status indicator applet network-manager-applet (not required for GNOME).

Online accounts

Backends for the GNOME messaging application empathy as well as the GNOME Online Accounts section of the System Settings panel are provided in a separate group: telepathy. See Unable to add accounts in Empathy and GNOME Online Accounts. Some online accounts, such as ownCloud, require gvfs-goa to be installed for full functionality in GNOME applications such as GNOME Files and GNOME Documents [2].

Search

The GNOME shell has a search that can be quickly accessed by pressing the Super key and starting to type. The tracker package is installed by default as a part of gnome group and provides an indexing application and metadata database. It can be configured with the Search and Indexing menu item; monitor status with tracker-control. It is started automatically by gnome-session when the user logs in. Indexing can be started manually with tracker-control -s. Search settings can also be configured in the System Settings panel.

The Tracker database can be queried using the tracker-sparql command. View its manual page man tracker-sparql for more information.

Advanced settings

As noted above, many configuration options such as changing the GTK+ theme or the window manager theme are not exposed in the GNOME System Settings panel (gnome-control-center). Those users that want to configure these settings may wish to use the GNOME Tweak Tool (gnome-tweak-tool), a convenient graphical tool which exposes many of these settings.

GNOME settings (which are stored in the DConf database) can also be configured using the dconf-editor (a graphical DConf configuration tool) or the gsettings command line tool. The GNOME Tweak Tool does not do anything else in the background of the GUI; note though that you will not find all settings described in the following sections in it.

Appearance

GTK+ themes and icon themes

To install a new theme or icon set, add the relevant ~/.local/share/themes or ~/.local/share/icons respectively (add to /usr/share/ instead of ~/.local/share/ for the themes to be available systemwide.) They and other GUI settings can also be defined in ~/.config/gtk-3.0/settings.ini:

~/.config/gtk-3.0/settings.ini
[Settings]
gtk-theme-name = Adwaita
# next option is applicable only if selected theme supports it
gtk-application-prefer-dark-theme = true
# set font name and dimension
gtk-font-name = Sans 10

Additional theme locations:

Once installed, they can be selected using the GNOME Tweak Tool or GSettings - see below for GSettings commands:

For the GTK+ theme:

$ gsettings set org.gnome.desktop.interface gtk-theme theme-name

For the icon theme

$ gsettings set org.gnome.desktop.interface icon-theme theme-name
Global dark theme

GNOME will use the Adwaita light theme by default however a dark variant of this theme (called the Global Dark Theme) also exists and can be selected using the Tweak Tool or by editing the GTK+ 3 settings file - see GTK+#Dark theme variant. Some applications such as Image Viewer (eog) use the dark theme by default. It should be noted that the Global Dark Theme only works with GTK+ 3 applications; some GTK+ 3 applications may only have partial support for the Global Dark theme. Qt and GTK+ 2 support for the Global Dark Theme may be added in the future.

Window manager themes

The window manager theme follows the GTK+ theme. Using org.gnome.desktop.wm.preferences theme is deprecated and ignored.

Titlebar height
Note: Applying this configuration shrinks the titlebar of the GNOME-terminal and Chromium, but does not appear to affect the Nautilus titlebar height.
~/.config/gtk-3.0/gtk.css
headerbar.default-decoration {
 padding-top: 0px;
 padding-bottom: 0px;
 min-height: 0px;
 font-size: 0.6em;
}

headerbar.default-decoration button.titlebutton {
 padding: 0px;
 min-height: 0px;
}

See [3] for more information.

Titlebar button order

To set the order for the GNOME window manager (Mutter, Metacity):

$ gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
Tip: The colon indicates which side of the titlebar the window buttons will appear.
Hide titlebar when maximized
  • Install mutter-hide-legacy-decorationsAUR. It changes a default setting in the window manager, so as to automatically hide the titlebar on legacy (non-headerbar) apps when they are maximized or tiled to the side.
  • Install maximusAUR. To start the application, execute maximus from a terminal. When running, the daemon will automatically maximize windows. It will undecorate maximized windows and redecorate them when they are unmaximized. If you do not want all windows to start maximized, run maximus -m instead. Note that this will only work with windows decorated by the window manager; applications that use client-side decoration such as GNOME Files will not be undecorated when maximized.
GNOME Shell themes

The theme of GNOME Shell itself is configurable. To use a Shell theme, firstly ensure that you have the gnome-shell-extensions package installed. Then enable the User Themes extension, either through GNOME Tweak Tool or through the GNOME Shell Extensions webpage. Shell themes can then be loaded and selected using the GNOME Tweak Tool.

There are a number of GNOME Shell themes available in the AUR.

Shell themes can also be downloaded from gnome-look.org.

Icons on menu

The default GNOME schema doesn't display any icon on menus. To display icons on menus, issue the following command.

$ gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}"

Desktop

Various Desktop settings can be applied.

Icons on the Desktop

See GNOME/Files#Desktop Icons.

Lock screen and background

When setting the Desktop or Lock screen background, it is important to note that the Pictures tab will only display pictures located in /home/username/Pictures folder. If you wish to use a picture not located in this folder, use the commands indicated below.

For the desktop background:

$ gsettings set org.gnome.desktop.background picture-uri 'file:///path/to/my/picture.jpg'

For the lock screen background

$ gsettings set org.gnome.desktop.screensaver picture-uri 'file:///path/to/my/picture.jpg'

Extensions

Note: The GNOME Shell browser plugin which allows users to install extensions from extensions.gnome.org works out-of-the-box for browsers such as GNOME/Web. For Firefox, Google Chrome/Chromium, Opera and Vivaldi browsers, it is required to install chrome-gnome-shell-gitAUR and the appropriate browser extension.

GNOME Shell can be customized with extensions per user or system-wide.

The catalogue of extensions is available at extensions.gnome.org. By a user they can be installed and activated in the browser by setting the switch in the top left of the screen to ON and clicking Install on the resulting dialog (if the extension in question is not installed). After installation it is shown in the extensions.gnome.org/local/ tab, which has to be visited as well to check for available updates. Installed extensions can also be enabled or disabled using gnome-tweak-tool.

More information about GNOME shell extensions is available on the GNOME Shell Extensions about page.

Installing extensions via a package makes them available for all users of the system and automates the update process.

The gnome-shell-extensions package provides a set of extensions maintained as part of the GNOME project (many of the included extensions are used by the GNOME Classic session).

Users who want a taskbar but do not wish to use the GNOME Classic session may want to enable the Window list extension (provided by the gnome-shell-extensions package).

Listing currently enabled extensions can be achieved with:

$ gsettings get org.gnome.shell enabled-extensions

Input methods

GNOME has integrated support for input methods through IBus, only ibus and the wanted input method engine (e.g. ibus-libpinyin for Intelligent Pinyin) needed to be installed, after installation the input method engine can be added as a keyboard layout in GNOME's Regional & Language Settings.

Fonts

Tip: If you set the Scaling factor to a value above 1.00, the Accessibility menu will be automatically enabled.

Fonts can be set for Window titles, Interface (applications), Documents and Monospace. See the Fonts tab in the Tweak Tool for the relevant options.

For hinting, RGBA will likely be desired as this fits most monitors types, and if fonts appear too blocked reduce hinting to Slight or None.

Startup applications

To start certain applications on login, copy the relevant .desktop file from /usr/share/applications/ to ~/.config/autostart/.

The gnome-tweak-tool allows managing autostart-entries.

Tip: If the plus sign button in the Tweak Tool's Startup Applications section is unresponsive, try start the Tweak Tool from the terminal using the following command: gnome-tweak-tool. See the following forum thread.
Note: The deprecated gnome-session-properties dialog can be added by installing the gnome-session-propertiesAUR package.

Power

When you are using a laptop you might want to alter the following settings:

$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 3600
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type hibernate
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 1800
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type hibernate
$ gsettings set org.gnome.settings-daemon.plugins.power power-button-action suspend
$ gsettings set org.gnome.desktop.lockdown disable-lock-screen true

To keep the monitor active when the lid is closed:

$ gsettings set org.gnome.settings-daemon.plugins.xrandr default-monitors-setup do-nothing

GNOME 3.24 deprecated the following settings:

org.gnome.settings-daemon.plugins.power button-hibernate
org.gnome.settings-daemon.plugins.power button-power
org.gnome.settings-daemon.plugins.power button-sleep
org.gnome.settings-daemon.plugins.power button-suspend
org.gnome.settings-daemon.plugins.power critical-battery-action
Configure behaviour on lid switch close

The GNOME Tweak Tool can optionally inhibit the systemd setting for the lid close ACPI event.[4] To inhibit the setting, start the tweak tool and, under the power tab, check the Don't suspend on lid close option. This means that the system will do nothing on lid close instead of suspending - the default behaviour. Checking the setting creates ~/.config/autostart/ignore-lid-switch-tweak.desktop which will autostart the Tweak Tool's inhibitor.

If you do not want the system to suspend or do nothing on lid close, you will need to ensure that the setting described above is not checked and then configure systemd with HandleLidSwitch=preferred_behaviour as described in Power management#ACPI events.

Change critical battery level action

The settings panel does not provide an option for changing the critical battery level action. These settings have been removed from dconf as well. They are now managed by upower. Edit the upower settings in /etc/UPower/UPower.conf. Find these settings and adjust to your needs.

/etc/UPower/UPower.conf
PercentageLow=10
PercentageCritical=3
PercentageAction=2
CriticalPowerAction=HybridSleep

Sort applications into application (app) folders

Tip: The gnome-catgen (gnome-catgen-gitAUR) script allows you to manage folders through the creation of files in ~/.local/share/applications-categories named after each category and containing a list of the desktop files belonging to apps you would like to have inside. Optionally, you can have it cycle through each app without a folder and input the desired category until you ctrl-c or run out of apps.

In the dconf-editor navigate to org.gnome.desktop.app-folders and set the value of folder-children to an array of comma separated folder names:

['Utilities', 'Sundry']

Add applications using gsettings:

$ gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/Sundry/ apps "['alacarte.desktop', 'dconf-editor.desktop']"

This adds the applications alacarte.desktop and dconf-editor.desktop to the Sundry folder. This will also create the folder org.gnome.desktop.app-folders.folders.Sundry.

To name the folder (if it has no name that appears at the top of the applications):

$ gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/Sundry/ name "Sundry"

Applications can also be sorted by their category (specified in their .desktop file):

$ gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/Sundry/ categories "['Office']"

If certain applications matching a category are not wanted in a certain folder, exclusions can be set:

$ gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/Sundry/ excluded-apps "['libreoffice-draw.desktop']"

For further information, refer to the app-folders schema.

See also