Bug 162444 - Support temporarily switching the color scheme
Summary: Support temporarily switching the color scheme
Status: RESOLVED LATER
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 01:30 UTC by fexpop
Modified: 2015-10-12 12:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fexpop 2008-05-22 01:30:19 UTC
Version:           2.1  (using Devel)
Installed from:    Compiled sources

In KDE4 Versions of Konsole it is not possible anymore to temporarily switch to a different schema.

I'm using this feature of Konsole 1.x very often for different reasons

1. Usually I've got lots of Konsole windows open at a time. Some with SSH sessions, some running calculations, some for system administration etc. The ability to give them a different color schema very easily from the  settings menu aids a lot in telling all the Konsoles apart, in differentiating the important from the less important etc.

2. On my Laptop I'm switching schemas depending on the lighting conditions.

The new way of putting it all in a profile makes using Konsole a lot harder for me. E.g., what used to be a 3-click action

Settings -> Schema -> Green on Black

has now become a 10+8-click action. 10 clicks creating a 'temporary' new profile and switching to it:

Settings -> Manage Profiles -> New Profile -> Appearance -> Green on Black -> OK -> Close -> Settings -> Change Profile -> New Profile

and 8 clicks deleting the temporary "New Profile" and switching to the old one:

Settings -> Manage Profiles -> New Profile -> Delete Profile -> Close -> Settings -> Change Profile -> Shell

Wow, that's real progress ;-)

So, please re-introduce the good old "schema" settings in Konsole 2.x.

BTW, I'm also missing the context menus right-clicking a tab.

Kind regards,

Felix
Comment 1 Robert Knight 2008-05-22 03:03:45 UTC
> has now become a 10+8-click action. 10 clicks creating a 'temporary'
> new profile and switching to it: 

Creating and deleting profiles every time you want to change the background color is unnecessary.  I would create three or four profiles with different color settings and just switch between them.  My profile list looks something like:

- Shell
- KDE 4
- KDE 4 Alt Colors
- KDE 4 Release
- Shell Pastel Colors

One feature which is not made obvious in the UI is that profiles inherit settings from their parent profile, the parent being the profile which was selected when you click 'New Profile'.  In the example list above, if I change the font size in the "Shell" profile it will propagate to the other profiles unless I specifically set a different font size in one of them.

When you have a set of profiles created selecting one of them is just a matter of right click -> Change Profile -> [Profile Name].

Having said that, I am not opposed to the idea of adding a menu to change the color scheme for a single tab rather than a profile.  There are temporary settings for changing the scrollback and font size amongst other things.  The problem there is the confusion over whether a setting applies to all tabs permanently or only to the current one.

> BTW, I'm also missing the context menus right-clicking a tab. 

There is a separate bug report for that.  



Comment 2 Matthew Woehlke 2008-05-22 04:04:59 UTC
I can change the color scheme with three keys; 'n' 'c' enter ;-) (assuming I'm "me" on my own box). Have you discovered 'konsoleprofile' yet? I use that (actually the underlying escape sequences) in a number of scripts; for example root's .bashrc changes the colors to a red background, kde's ("kde" is name of the user I use to build KDE) changes to a blue background, etc.

...in case you didn't figure out yet:
$ alias
alias nc='konsoleprofile ColorScheme=Linux'
Comment 3 fexpop 2008-05-22 12:13:02 UTC
Robert Knight wrote:

> 
> Creating and deleting profiles every time you want to change the background color is unnecessary. 


Sure, at least deleting isn't necessary at all. I had just included it 
to show how much effort a *temporary* change of a colour scheme takes. 
If you decide to keep the scheme and give it a name it's simple again. 
But it's not the same, see below.

> I would create three or four profiles with different color settings and just switch between them.  My profile list looks something like:
> 
> - Shell
> - KDE 4
> - KDE 4 Alt Colors
> - KDE 4 Release
> - Shell Pastel Colors


Sure, I knew this advice was coming. But it doesn't give the comfort of 
Konsole 1.x. Here ar e some reasons:

1. I have to know *before* if there's a colour scheme I would eventually 
like to use. Everytime I decide on-thy-fly to change colours I'm out 
there again with my 10 (+8) clicks.
2. Morover on my Laptop I would need all the profiles in outdoor/indoor 
variants.
3. If I need to change e.g. the font, I would have to change the setting 
in every single profile, unless I only change the parent (while 
inheritance from a parent is a very bad idea, see below!)
4. Creating a whole profile just for a different colour scheme is bloated.
5. I have to create the profiles on every machine I'm using. They are 
not there if I just sit down to help on a colleagues machine.


> One feature which is not made obvious in the UI is that profiles inherit settings from their parent profile, 
 > the parent being the profile which was selected when you click 'New 

Profile'.  In the example list above,
 > if I change the font size in the "Shell" profile it will propagate to 

the other profiles unless I specifically
 > set a different font size in one of them.


This is a very bad idea!!! How are you supposed to know which profiles 
are affected, if you're changing a profile? Neither the parent nor the 
children of a profile are listed anywhere!

The results of changing a single profile are completely unpredictable 
unless you remember the complete history of profile relationships (do you?)!

And then there are some questions of consistency:

Do changes cascade down to grandchildren as well? (Answer: Sometimes!)
How is a parent-children relationship tracked? By name? (If I delete the 
profile "Shell" and create a new one called "Shell" is it still 
considered the parent of "Child of Shell" even if it's not?)

I played around a bit. After a couple of changes in different profiles 
with even a clear relationship, i.e. parent-child-grandchild, I was in 
complete confusion!


> Having said that, I am not opposed to the idea of adding a menu to change the color scheme for a single tab 
 > rather than a profile.  There are temporary settings for changing the 

scrollback and font size amongst other things.

> The problem there is the confusion over whether a setting applies to all tabs permanently or only to the current one.


I don't see any problem here. It's not a problem for font sizes either. 
  You could explicitly call it "temporary colour schema", or you could 
place the colour schema selection in the "View" menu as well, which kind 
of indicates that it's not a permanent setting.

Kind regards,

Felix
Comment 4 fexpop 2008-05-22 12:20:54 UTC
Hi,

one more note. As a temporary workaround it would suffice to ship a set 
of standard profiles wich just differ in the colour scheme.

Kind regards,

Felix
Comment 5 Adam Hunt 2015-10-07 17:08:53 UTC
This feature is available in KDE5.

Recommend close: RESOLVED LATER