aMule Forum

English => en_Bugs => Topic started by: canaveseAlcolica on November 10, 2008, 06:15:41 PM

Title: dark theme on ubuntu
Post by: canaveseAlcolica on November 10, 2008, 06:15:41 PM
Ubuntu Intrepid 8.10 amd64

Code: [Select]
$ amule --version
aMule 2.2.2 using wxGTK2 v2.8.8 (OS: Linux)

http://www.postimage.org/image.php?v=PqHLXZJ
http://www.postimage.org/image.php?v=PqHMerJ

background is white and the text is clear, the theme is DarkRoom. I tryed another theme (dark), but the result is the same.

what I can do?
Title: Re: dark theme on ubuntu
Post by: skolnick on November 11, 2008, 05:11:37 AM
I think this is wxGTK's issue, since AFAIK aMule does not control the colors, fonts and other looking-related settings, that is handled by wxGTK. You can try playing with GTK settings and see if you can get the color change you want.

Regards.
Title: Re: dark theme on ubuntu
Post by: jacobbb on May 03, 2009, 11:48:39 PM
Hi all!

I have the same problem in Ubuntu and I have found a (very bad  :)) workaround. The idea is to change theme before starting amule and restore it after. In this way, when the old theme is restored, the text remains readable.

The commands to automate this process are
Code: [Select]
theme=`gconftool-2 --get /desktop/gnome/interface/gtk_theme`
gconftool-2 --set /desktop/gnome/interface/gtk_theme --type string Human
amule &
sleep 5 && gconftool-2 --set /desktop/gnome/interface/gtk_theme --type string "$theme" &

If you want to start amule every time in this way you can create a desktop icon or a script with those commands.

Bye