change colorset of running sakura process

Bug #1878410 reported by Nikola Maric
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sakura
Confirmed
Wishlist
Unassigned

Bug Description

I'm interested in running a command that would change a colorset of some sakura window/process. Why? Because I want to change the colors of my terminal when I ssh into different servers. And I want it done in the same terminal window (sakura process), dynamically when I log in and out from different servers.

Not a solution:
* I am aware of `--colorset` option, but it's only useful if I'm spawning a new sakura process, but not usable on already running one, which is my idea.
* I'm aware of shell escape sequences, but these can be reversed/changed by another program output, and in order for them to work on remote machines, one of .profile .bashrc .zshrc of those users would need to be edited, which changes the paradigm to more decentralized solution. And I'd prefer to configure everything on my client machine, in my terminal of choice - sakura.

Possible solution:
* Honestly, I don't know much about GTK nor POSIX, but they both have systems for passing user defined signals. I'm aware that would greatly change the architecture of sakura, but it would introduce some real-time configurability (perhaps other options could be changed at runtime in the future, as well).

Here are some existing solutions implemented in different terminal emulators:
* Using special ANSI escape code (not one commonly used for coloring fg/bg, because that can be reconfigured by any programs output) like mentioned here - https://unix.stackexchange.com/a/326417/57288.
* Konsole solution which resembles my idea the most - https://forum.kde.org/viewtopic.php?f=227&t=96156.
* Same thing is used by iTerm2 on OSX - https://github.com/erangaeb/dev-notes/blob/master/oh-my-zsh/iTrem2-ssh.zsh
* But it's also capable of receiving such command via AppleScript - https://gist.github.com/porras/5856906.
* Full usage example - https://coderwall.com/p/t7a-tq/change-terminal-color-when-ssh-from-os-x.

Thank you!

Tags: wishlist
Nikola Maric (maricn)
tags: added: wishlist
David Gómez (dabisu)
Changed in sakura:
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.