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:

Default Tk theme.

there must be a way to theme them to look like the Qt or at least GTK apps, or not?

Tags:

11 Responses to “My eyes! The goggles, they do nothing!”

  1. Matty Says:

    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

  2. TimC Says:

    Thankfully, not.

  3. Sam Morris Says:

    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’. :)

  4. Jean de Largentaye Says:

    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.)

  5. Sven Joachim Says:

    > 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!

  6. Jon Says:

    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!

  7. Konstantin Khomoutov Says:

    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

  8. Konstantin Khomoutov Says:

    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.

  9. Donal Fellows Says:

    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).

  10. ulrik Says:

    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..

  11. John Says:

    http://tktable.sourceforge.net/tile/

Leave a Reply