change terminal properties from the shell running inside the terminal
Submitted by Kai Johnson
Link to original bug (#569869)
Description
I'd like to be able to enter a command in the gnome-terminal that changes the existing profile of the current window. My personal use case is that I like my different projects to have different backgrounds, so I've resorted to creating shortcut icons with the --tab-with-profile and --working-directory specified so they open to the root of my project with a profile with a distinct background color.
I understand that vte handles the terminal emulation, so is this even possible? If it is, I'd love some advice on how to implement this myself.
Version: 2.22.x