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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Using Gmail because my stupid email provider thinks this is spam.]

On 29/10/20 09:47AM, Marc Branchaud wrote:
> On 2020-10-29 7:44 a.m., Serg Tereshchenko wrote:
> > 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...
>
> > 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

Your other option would be to disable theming completely by setting the
config `gui.usettk` to 0 (via git config). If you still see gray panels
with this option set to 0 I would consider that a bug.

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

On my system the themes are located in /usr/lib/tk8.6/ttk/. So for
example, the theme clam can be found at
/usr/lib/tk8.6/ttk/clamTheme.tcl.

-- 
Regards,
Pratyush Yadav



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux