You are not logged in.
I stopped using GNOME and KDE for the time being, but, of course, I'm still using GTK+ and Qt applications.
In keeping with the Arch Way of keeping things simple, I want to learn how to configure GTK+ and Qt by editing text configuration files in my home directory. I've gotten pretty good at finding documentation and changing settings for GTK+, but I'm having a hard time with Qt. Not only that, but the settings I change in the "systemsettings" application don't seem to apply unless I am actually running KDE.
So, is there a way to configure the appearance and themes of Qt applications without using "systemsettings"? Is it possible to do by modifying text configuration files? Do you know where I can learn more about it?
Thank you!
Last edited by drcouzelis (2010-09-08 06:28:08)
Offline
qtconfig
Excuse my poor English.
Offline
qtconfig
Thank you, that is a good start. I can now change my Qt theme outside of KDE. Do you know what file qtconfig saves the information in?
Also, is the icon theme a Qt setting or a KDE setting? Can I change that without using systemsettings?
Offline
qtconfig stores everything in '~/.config/Trolltech.conf'.
I don't think pure Qt has its own icon themes as such, but I believe it will respect the current gtk icon theme setting if it detects a gnome environment. It's problematic in a non-de environment though, and it will usually resort to using its built-in icons. The gtk icon theme is set in the '~/.gtkrc-2.0' configuration file.
Last edited by Wittfella (2010-09-08 11:03:55)
Offline
qtconfig stores everything in '~/.config/Trolltech.conf'.
I don't think pure Qt has its own icon themes as such, but I believe it will respect the current gtk icon theme setting if it detects a gnome environment. It's problematic in a non-de environment though, and it will usually resort to using its inbuit icons. The gtk icon theme is set in the ~/.gtkrc-2.0' configuration file.
Aha! There it is! I was expecting it to be something like ".qtrc".
As for icons, I have "hicolor" set in my .gtkrc-2.0 file, but my KDE applications are using oxygen.
Offline
Try adding this to your ~/.xinitrc somewhere before the last line:
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
It just might work...
Offline