O/H Shaun McCance έγραψε:
On Wed, 2009-01-07 at 17:43 +0200, cyberpython wrote:Hi, I would like to ask if there is a way (e.g. a settings file) to determine the name of the current icon theme (e.g. Oxygen-Refit) apart from the gconf command line tool. (Note: I am interested to determine the icon-theme name programmatically within Java code, so I cannot use methods involving GUI tools.)You could look for the "Net/IconThemeName" XSetting. http://standards.freedesktop.org/xsettings-spec/xsettings-spec-0.5.html -- Shaun If anyone is interested, I found a Perl script that does exactly that and using this script as a guide I came up with the followong code in Java (thet text above the code is in Greek but it really says nothing of great importance): http://cyberpython.wordpress.com/2009/01/10/java-de-info/ |