My eyes! The goggles, they do nothing!
Dear Lazyweb,
do you know how to theme Tk apps? In the default setting, Tk apps running on my KDE4 desktop, cause spontanous eye cancer:
there must be a way to theme them to look like the Qt or at least GTK apps, or not?
Tags: lazyweb

November 23rd, 2009 at 10:54 am
You can also use qgit instead of gitk. I use it and it works correctly. The fact that it is qt4 app is a great advantage.
Best regards
November 23rd, 2009 at 11:33 am
Thankfully, not.
November 23rd, 2009 at 11:55 am
At least we can do something about those fonts.
If you don’t like anti-aliased fonts then go into your gitk preferences and set your fonts to ‘Helvetica 9′ and ‘Courier 9′.
If you do like anti-aliased fonts then install tk8.5 and run ‘wish8.5 /usr/bin/gitk’.
November 23rd, 2009 at 12:26 pm
While TK supports theming, I haven’t found a quick user-friendly way to activate it. After quick googling, I found a handful of references, it seems that themeing has to be included in the program, none explain how a user can enable themes at runtime…
(These posts found through a recent Hacker News post.)
November 23rd, 2009 at 12:34 pm
> If you do like anti-aliased fonts then install tk8.5 and run ‘wish8.5 /usr/bin/gitk’.
Hey, cool! I just made this permanent by running “update-alternatives –config wish”.
Thank you, Sam!
November 23rd, 2009 at 4:45 pm
I was utterly convinced “sqlitebrowser” was a TCL tool until recently because I thought it looked as ugly as (e.g.) gitk. It turns out it’s a qt3 tool. Damned if I can figure out how to theme it - qconfig just doesn’t seem to work!
November 23rd, 2009 at 5:21 pm
Install tk8.5. Then you can uninstall tk8.4 if you do not have application which depend on this specific version. If you do, run update-alternatives –config wish and select wish8.5.
After this you will get your fonts rendered using Xft/fontconfig.
The alternative way is to fix your XRDB by listing a good-looking font as default, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516178#10
November 23rd, 2009 at 5:27 pm
Oh, forget to add: changes making gitk use more of Tk 8.5 features (its own themeing engine) wase recently committed upstream. This will allow to customize it to fit more nicely to the users’ DEs.
November 23rd, 2009 at 5:28 pm
We’ve (well, Pat Thoyts especially) been working with the gitk guys to improve it so that it stops looking butt-ugly. However, the theming is not a simple as just a switch you can turn on because the themed widgets work quite a bit different under the hood; they have to if they’re going to support dynamic themes since some things just aren’t portable to all themes. Even basic stuff like setting the background color of a button isn’t portable across all platforms (you’re not allowed to do that to buttons on OSX).
November 23rd, 2009 at 5:35 pm
gitk’s usability gives you brain cancer. It’s a good example how a simple application got worse the more it developed! The simple interface (of when I don’t know, git 1.5.3?) of before was so much easier to use.
Now, look at the number of actions in the contex menu and the great design of the new views dialog..
November 23rd, 2009 at 8:18 pm
http://tktable.sourceforge.net/tile/