Bug 396960

Summary: Feature Request: ability to set Konsole tab background color using escape codes (like can already be done for the terminal background color)
Product: [Applications] konsole Reporter: Xtal <kde>
Component: tabbarAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: wishlist CC: manu
Priority: NOR Keywords: junior-jobs
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=447459
Latest Commit: Version Fixed In:
Attachments: Color tabs in Firefox

Description Xtal 2018-07-29 15:28:38 UTC
Created attachment 114193 [details]
Color tabs in Firefox

Konsole already supports setting the background color of the current terminal by outputting an escape code within the terminal, example shell command: 

    echo -ne '\e]11;#0000ff\a'

...this sets the terminal background color to hex code #0000ff (blue).

It would be awesome if something similar could be done for Konsole's tabs.  This would make them much easier to tell apart quickly without needing to read them every time, and make switching tabs very efficient, easily when logged into lots of different hosts.

This would also make it easy for people to write simple shell scripts etc that automatically set the tab color based on hostname, username and lots of other things.

I've attached an example screenshot of a Firefox plugin that lets the user set tab background colors.