You are not logged in.

#1 2015-02-14 23:21:38

Airblader
Member
From: Munich, Germany
Registered: 2015-02-02
Posts: 19

git-gui look?

Hi everyone,

when I open git-gui, it looks awful and the menu text is basically impossible to read. See this screenshot: the menu text is completely unreadable and only recognizable when I hover over it (the same for all submenus):

http://i.imgur.com/eleHHsj.png.

I've tried setting my GTK2 and GTK3 theme (via lxappearance, for example) and other applications pick up on it. What am I missing, what is git-gui doing differently?

Thanks in advance for your help!

-- mod edit: converted img to url.  Please see guidelines on image sizes.  Trilby --

Last edited by Trilby (2015-02-15 01:20:35)

Offline

#2 2015-02-14 23:49:11

progandy
Member
Registered: 2012-05-17
Posts: 5,280

Re: git-gui look?

git gui is based on tcl/tk and the ttk widgets. You can get a slightly better design with the clam theme which you have to set in the xrdb, e.g. with ~/.Xresources or this way:

echo '*TkTheme: clam' | xrdb -merge -

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2015-02-14 23:54:00

Airblader
Member
From: Munich, Germany
Registered: 2015-02-02
Posts: 19

Re: git-gui look?

That did the trick. Thank you!

Offline

#4 2015-02-15 00:02:59

progandy
Member
Registered: 2012-05-17
Posts: 5,280

Re: git-gui look?

No problem. If you don't use the clam theme, then you can change the colors with an x resource file, e.g.

*Menu.background: Black
*Menu.foreground: White

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2015-02-15 01:37:37

Airblader
Member
From: Munich, Germany
Registered: 2015-02-02
Posts: 19

Re: git-gui look?

Also good to know. And TK is the right hint to look more into it if need be. Thanks again!

Offline

Board footer

Powered by FluxBB