You are not logged in.
Hi, i am try to change the color palette, background color and foreground color of pseudo terminal emulator from script.
I use this escape sequence for change the color palette:
"\e]4;ColorNumber;#rrggbb\a" example: echo -ne "\e]4;3;#ff0000\a"
This change the color 3 of terminal palette to red.
This command usually work in all terminals i had used; gnome tilda urxvt guake stjerm and others.
For change the foreground and the background i use:
"\e]10;#rrggbb\a" (foreground)
"\e]11;#rrggbb\a" (background)
These two work only for some terminals, on guake and on stjerm not work.
Exist any other escape sequence to set the background and foreground color ?
Offline