Skip to content

Devel GTK GNOME icons

Simeon Andreev edited this page Feb 23, 2023 · 1 revision

Background

In Gtk3.10, menus with images as well as many stock icons were deprecated. This includes things such as icons for menu items, and icons on "OK" and "Cancel" type buttons. As Gtk and GNOME are closely tied together, these icons were disabled in GNOME3 as well.

This causes issues with testing, as testing icon related patches on GNOME3 can be misleading when the GNOME setting isn't enabled. For example, an SWT snippet may use an icon, but does not show up when you run it on GNOME3. Fortunately, this setting can be re-enabled with a simple command.

Solution

In a command line, as a normal user, enter this command:

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

Clone this wiki locally