Re: how to make konsole tabs more distinguishable

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

 



On Tue, 2020-05-26 at 19:26 -0500, J.B. Nicholson wrote:
> test wrote:
> > when opening multiple tabs in a konsole window, the active tab is
> > virtually
> > indistinguishable from the tabs that aren't active.  How can I make the
> > active tab more distinguishable, like giving it different a background
> > colour?
> 
> Use a style sheet to change the selected tab color:
> 
> /* Change the selected tab's background to a light gray */
> QTabBar::tab:selected {
>      background: #999999
> }
> 
> /* Change the selected tab's text to red */
> QTabBar::tab:selected {
>      color: red
> }
> 
> These examples come from the Konsole help, chapter 6 "Using Style Sheet
> for the Tab 
> Bar" available from Help -> "Konsole Handbook". There are other examples
> there as well.
> 
> The only thing not explicitly mentioned in my copy of this page is that
> one sets 
> their stylesheet file in Settings -> "Configure Konsole" -> "Tab Bar" ->
> "Use 
> user-defined stylesheet:".

Thank you very much, this is exactly what I was looking for :)

It works great for me with these colours:


QTabBar::tab::selected {
    background: DarkSlateGray;
    color: White;
}
QTabBar::tab {
    color: gray10;
}





[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux