git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-gui: Why are the main panels no longer white?

From
Marc Branchaud <marcnarc@xiplink.com>
Date
Oct 29, 2020, 13:47 UTC
Message-ID
<619dac64-106c-d6df-b121-ce6589b4af3a@xiplink.com>
In-Reply-To
<20201029114400.38284-1-serg.partizan@gmail.com>
On 2020-10-29 7:44 a.m., Serg Tereshchenko wrote:
Show 5 quoted lines
> Hi Marc!
> 
> What tcl-tk theme are you using? Autodetection supposed to fetch
> color from TreeView background, and probably your theme using
> that odd gray for TreeViews.

Thanks for your reply! It's been a long, long time since I've had to muck around with a .X* file...

Show 9 quoted lines
> To set your desired color for background, you can add
> 
> *Text.Background: white
> 
> to ~/.Xresources; and `xrdb -merge ~/.Xresources` to apply it.
> 
> Or, try another theme. This one gives me white background.
> 
> *TkTheme: clam

Unfortunately none of those gives me white panels, although I do see other visual aspects change under different themes (also, `xrdb -query` shows that the *Text.Background setting has applied).

However, saying
	*background: white
does the trick!
To narrow the scope of that, I'm going with
	git-gui*Text.Background: white
> To list available themes, run `wish`
> 
> ::ttk::themes
I have:
	classic default clam alt
"ttk::style theme use" says I'm using the "default" theme.
Is there some way I can edit/view the theme definitions?
Thanks for the help!
		M.
Previous: Serg TereshchenkoNext: Serg Tereshchenko
Message 4 of 12 in “git-gui: Why are the main panels no longer white?”
  1. Marc BranchaudOct 28, 2020
  2. Serg TereshchenkoOct 29, 2020
  3. Serg TereshchenkoOct 29, 2020
  4. Marc BranchaudOct 29, 2020
  5. ReplySerg Tereshchenko, Oct 29, 2020
  6. Serg TereshchenkoOct 29, 2020
  7. Marc BranchaudOct 29, 2020
  8. Serg TereshchenkoOct 29, 2020
  9. Marc BranchaudOct 30, 2020
  10. serg.partizan@gmail.comOct 30, 2020
  11. partizanOct 29, 2020
  12. Pratyush YadavOct 30, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.