Ttk applications like git-gui
and gitk
look ugly by default on Linux because the default Ttk tries to emulate Motif.
Here is how to make them less ugly.
- Choose a Ttk theme. A partial list is provided by the official wiki of TCL.
- If the chosen a theme that is not built-in:
- If not already done, create a directory dedicated to Ttk themes. Example:
mkdir ~/.local/share/tk-themes
- Put the theme’s directory (there should be a
pkgIndex.tcl
file at its root) in it. For example, if we want theClearlooks
theme, we copy the content of thethemes/clearlooks
directory of the “Ttk themes” project (see the link above) in~/.local/share/tk-themes/clearlooks
- If not already done, add the line
export TCLLIBPATH=
(where `` is the path to the directory where you put your Ttk themes) to your~/.profile
file (or whatever the script that e
- If not already done, create a directory dedicated to Ttk themes. Example: