How to use the palette config option?

Asked by seenxu

the palette option is cool, but how can I convert a #xxxxxx(6-digit) color name to a #xxxxxxxxxxxx(16-digit) name? I had tried the example palette setting from terminator_config manpage, but the config file can't be parsed during the start of terminator.

thx

Question information

Language:
English Edit question
Status:
Solved
For:
Terminator Edit question
Assignee:
No assignee Edit question
Solved by:
Chris Jones
Solved:
Last query:
Last reply:
Revision history for this message
Best Chris Jones (cmsj) said :
#1

As I understand it, they are 16bit colour values rather than the 8bit values used in #xxxxxx style colours. I didn't particularly want to make this more complex, but it's the format that vte/GNOME Terminal use.

For what it's worth, the current trunk of Terminator has a graphical profile editor that will (hopefully soon) be able to save a config file, at which point you can choose the colour you want and not have to care about what values it has!

Revision history for this message
seenxu (seenxu) said :
#2

Thanks Chris Jones, that solved my question.

Revision history for this message
seenxu (ye-xu-hdm) said :
#3

thx for your reply and helpful tip.

just now I used the gnome-terminal profile preference to modify
gnome-terminal's colors, then copy its colorpalette stringvalue, which
resides in $HOME/.gconf/apps/gnome-terminal/profiles/Default/%gconf.xml
to $HOME/.config/terminator/config, to solve my issue.

On Sat, Dec 27, 2008 at 20:27, Chris Jones
<email address hidden> wrote:
> Your question #55416 on Terminator changed:
> https://answers.edge.launchpad.net/terminator/+question/55416
>
> Status: Open => Answered
>
> Chris Jones proposed the following answer:
> As I understand it, they are 16bit colour values rather than the 8bit
> values used in #xxxxxx style colours. I didn't particularly want to make
> this more complex, but it's the format that vte/GNOME Terminal use.
>
> For what it's worth, the current trunk of Terminator has a graphical
> profile editor that will (hopefully soon) be able to save a config file,
> at which point you can choose the colour you want and not have to care
> about what values it has!
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.edge.launchpad.net/terminator/+question/55416/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.edge.launchpad.net/terminator/+question/55416
>
> You received this question notification because you are a direct
> subscriber of the question.
>