Talk:GTK+

From ArchWiki
Jump to: navigation, search

Error in 3.3 Reduce widget sizes

Dunno about this section:

To use smaller icons, use a line like this:

gtk-icon-sizes = "panel-menu=16,16:panel=16,16:gtk-menu=16,16:gtk-large-toolbar=16,16\
:gtk-small-toolbar=16,16:gtk-button=16,16"

I get an error message at the terminal when I start a GTK3 app unless I put spaces around the colons : But with the spaces it seems to have no effect anyway... maybe this is another essential feature that has been removed from the latest GTK? Alister.Hood (talk) 12:49, 14 December 2014 (UTC)

Ah - I see it works in GTK2 and is deprecated and ignored in recent versions of GTK3. But it looks to me like the need for spaces is a bug. I wonder if there is any way to get smaller icons in GTK3 apps... Alister.Hood (talk) 13:02, 14 December 2014 (UTC)

Themes

To force a theme tip is not quite correct or complete. GTK2_RC_FILES=/usr/share/themes/Industrial/gtk-2.0/gtkrc would apply only a theme but it would be useful to instead point it to a copy of .gtkrc-2.0 which includes icons, fonts and whatnot like the one created by lxappearance. This way the user could use adwaita dark system wide and apply adwaita (bright) to a select few applications with env GTK2_RC_FILES=.gtkrc-2.0.mine Ubone (talk) 18:00, 17 November 2016 (UTC)

The theme tip provides a way to easily test a GTK+ theme without editing any configuration files. Of course, the gtkrc files can be used to store any other settings like the icon theme, but this is a different purpose. --City-busz (talk) 23:31, 1 December 2016 (UTC)
Maybe add as note or hint somehow, it could save people some time if nof familiar. Ubone (talk) 04:03, 6 December 2016 (UTC)