GNOME applications blocking window manager keyboard shortcuts? Drawing over everything?
- I believe this is not just about GNOME, but all GTK+ and Qt applications  . Haven't read through the reports, but it appears to be some flaw in Xorg. Not much we can do about this, so unless you want to discuss a workaround this can be closed. -- Alad (talk) 19:50, 8 December 2014 (UTC)
GNOME and fontconfig settings
Since there isn't a section dedicated to fonts in GNOME 3 I was thinking about writing one, but I put it here first:
GNOME doesn't use the dpi settings set by xorg server to scale fonts, instead it uses a fixed dpi of 96 that cannot be changed unlike previous versions:
/* As we cannot rely on the X server giving us good DPI information, and * that we don't want multi-monitor screens to have different DPIs (thus * different text sizes), we'll hard-code the value of the DPI * * See also: * https://bugzilla.novell.com/show_bug.cgi?id=217790• * https://bugzilla.gnome.org/show_bug.cgi?id=643704 */
The gnome-settings-daemon plugin xsettings relies on this hardcoded value for some calculations and there is currently no way of changing it beside customizing the code in abs. The dimension of text can be tweaked changing the text-scaling-factor (1.0 by default), using gnome-tweak-tool or editing the following key in dconf-editor:
The xsettings plugins will also merge some Xft values in the X resources db overwriting values set in .Xresources od .Xdefaults files. The defaults are:
Xft.antialias: 1 Xft.dpi: 96 Xft.hinting: 1 Xft.hintstyle: hintmedium Xft.lcdfilter: lcddefault Xft.rgba: none
Some of those values can be changed using dconf-editor (org.gnome.settings-daemon.plugins.xsettings) or gnome-tweak-tool. It is possible to change this values using xrdb -merge ~/.Xresources after gnome is started but gnome will still use its values internally so it is not a good idea.
It is a good idea to configure your fonts.conf in a way consistent with the gnome settings otherwise, at least on my laptop, fonts will looks weird in some gnome apps.
The dpi setting of the Xserver can be changed to 96 following this guide, this way it will be the same for all applications, the drawback is that fonts might look too small or too big in other application if the real DPI of your monitor differs too much from 96.
For and LCD monitor it is a good idea to activate the lcd filter setting the following keys in dconf-editor:
org.gnome.settings-daemon.plugins.xsettings.antialiasing rgba org.gnome.settings-daemon.plugins.xsettings.rgba-order rgb, bgr, vrgb or vbgr (as your monitor requires)
Since the lcdfilter is not designed to work together with autohinting it is a good idea to disable it also in fonts.conf. It is also a good idea to use the same hinting value as in your font.conf, the default in gnome is medium:
This values in fonts.conf will match the gnome settings:
<match target="font"> <edit mode="assign" name="rgba"><const>rgb</const></edit> <edit mode="assign" name="autohint"><bool>false</bool></edit> <edit mode="assign" name="hinting"><bool>true</bool></edit> <edit mode="assign" name="hintstyle"><const>hintmedium</const></edit> <edit mode="assign" name="antialias"><bool>true</bool></edit> <edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit> </match>
- I think that info must be in Font configuration, linked from there if needed -- Kycok (talk) 10:57, 3 June 2014 (UTC)
- Well, it is very GNOME specific and complex at the same time. I would vote for putting it into GNOME tips and crosslink it from GNOME#Fonts as well as from Font configuration. But first: Above contribution of Erm67 is a couple of years back. Does someone know whether the instructions still work like that? --Indigo (talk) 09:04, 10 November 2014 (UTC)
- Update to note: GNOME tips was cleaned up removing GNOME content after I suggested above. It does not make sense to put these instructions there anymore. --Indigo (talk) 12:41, 15 January 2015 (UTC)
I can't get reverse natural scrolling on my trackpath to work (scroll with fingers in same direction as if it was a mouse wheel). I am happy to propose some text for the wiki if someone can tell me how to do it ... --Bronze (talk) 04:33, 26 February 2017 (UTC)
- Is there not a natural scrolling setting under Settings -> Mouse & Touchpad that you can toggle? -- Chazza (talk) 09:57, 26 February 2017 (UTC)
Manually start a Wayland session
Under: Starting Gnome -> Manually -> Wayland Session the article lists
XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
as the command to start a
dbus-run-session starts a new dbus session and this somehow prevents for example evolution to access my default keyring. I dont know why, but simply starting
gnome-session works. I dont know with which dbus instance the gnome-keyring starts through its .desktop files in
/etc/xdg but the problem seems to be that these 2 would run on different instances of dbus.
I do not want to edit the wiki page as long as i dont know if this is my mistake or really a mistake on the page. I will look into this in the next week, until then, any guidance is appreciated. Tornado (talk) 12:55, 6 April 2018 (UTC)
I am experiencing this problem https://github.com/systemd/systemd/issues/5247 and I guess that this command is problematic as is, it should be replaced —This unsigned comment is by Nsqm (talk) 14:20, 2020 April 7. Please sign your posts with ~~~~!
Installing GNOME Extensions
- Note: Extensions from extensions.gnome.org can be installed right away with gnome-software.
This used to be the case, but I think this feature was removed. Could someone confirm?
redundancy of XDG_SESSION_TYPE and GDK_BACKEND variables "Xorg sessions" section
In the "Xorg sessions" section, it suggests putting
XDG_SESSION_TYPE=x11 GDK_BACKEND=x11 exec startx in
~/.bash_profile. But previously, it suggests setting
~/.xinitrc. So isn't it redundant to set them again? —This unsigned comment is by TDA (talk) 03:13, 24 August 2020 (UTC). Please sign your posts with ~~~~!
webp-pixbuf-loader 0.0.2-1 already includes the thumbnailer configuration file, as described https://lists.archlinux.org/pipermail/aur-requests/2020-October/046081.html I come from this forum thread https://bbs.archlinux.org/viewtopic.php?pid=1935714
So, the section https://wiki.archlinux.org/index.php/GNOME#WEBP,_thumbnails should be deleted as it's not required anymore and the AUR link is broken.
gnome-session: alternative sessions
Should this article mention that
gnome-session can be used to initiate non-GNOME sessions (technically GNOME-derivative), such as Pantheon, GNOME/Openbox, something users came up with on their own, etc.? quequotion (talk) 11:23, 14 January 2021 (UTC)
Troubleshooting no Wayland on nVidia driver
If Wayland is expected, but X11 session type is received when using
echo $XDG_SESSION_TYPE) or when using
loginctl show-session <sessionnum> -p Type, there might be missing kernel configuration parameter for nVidia driver.
journalctl log entry will report error:
systemd: org.gnome.Shell@wayland.service: Skipped due to 'exec-condition'. systemd: Condition check resulted in GNOME Shell on Wayland being skipped.
Starting Wayland manually
dbus-run-session -- gnome-shell --display-server --wayland
will produce error messages:
mutter-Message: 14:33:45.804: Adding device '/dev/dri/card0' (nvidia-drm) using non-atomic mode setting (using atomic mode setting not allowed). (gnome-shell:11885): GLib-CRITICAL **: 14:33:45.804: g_hash_table_destroy: assertion 'hash_table != NULL' failed (gnome-shell:11885): mutter-WARNING **: 14:33:45.805: Failed to open gpu '/dev/dri/card0': Failed to activate universal planes: Operation not permitted (gnome-shell:11885): mutter-WARNING **: 14:33:45.805: Failed to create backend: No GPUs found
The key error message is 1st line which includes nvidia-drm.
nvidia-drm support with kernel configuration parameter.
For GRUB update
boot/grub/grub.cfg file by appending to