You are not logged in.

#1 2016-06-15 07:35:37

nbd
Member
Registered: 2014-08-04
Posts: 389

Configuring Tcl/Tk look/theme

Greetings,

I'd like to tweak the appearance of git-gui, which is written in Tcl, but cannot figure out how to do it (don't know anything about Tcl). I found this thread where the advise was:

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

However, this command didn't do any noticeable changes in git-gui. Could someone advise please how can one change the cursor (git-gui for some reason has a left-handed cursor) and remove the "tearoff" line from the drop-down menus?

Thanks.


bing different

Offline

#2 2016-06-16 04:28:26

nbd
Member
Registered: 2014-08-04
Posts: 389

Re: Configuring Tcl/Tk look/theme

Well, I checked and it turns out that this application consists of several tcl files which basically are scripts:

/usr/share/git-gui/lib

If this was Python I guess it would be sufficient to grep for some keywords in order to find out where the menu and cursor styles is set. Could someone advise how such code can be recognized in Tcl? Or maybe some

*TkTheme*cursor:
*TkTheme*menu:

lines should be added to .Xresources?


bing different

Offline

Board footer

Powered by FluxBB