Customize and Debug GNOME

April 15, 2024

—

Tweaks for Nautilus and the GTK theme, and how to debug GNOME Shell.

Contents

Nautilus Custom Icon

nautilus

Custom Icons in Nautilus is not allowed anymore since version 46. It works for directories from UI only. Thus it is required to set a custom icon through command-line:

https://discourse.gnome.org/t/survey-custom-file-thumbnail-usage/18241

$ gio set $HOME/AppImage/BLAH.AppImage metadata::custom-icon file://$HOME/Pictures/BLAH.png

delete:
$ gio set -t string BLAH.AppImage metadata::custom-icon-name -d

GTK Dark Theme

gtk

Set dark theme for nautilus.

Run dconf-editor and set org.gnome.desktop.interface.color-scheme to prefer-dark → Apply.

GNOME Shell Debugging

gnome-shell
$ sudo journalctl -f /usr/bin/gnome-shell

and

Alt-F2 + lg -> Extensions choose extensions and Show Errors.