Autore: Hendrik Boom Data: To: dng Oggetto: Re: [DNG] uxterm colors: was Steve's Gnome usage poll [Was: Re:
Gnome - Introducing stronger dependencies on systemd
On Sun, Jun 29, 2025 at 08:01:58PM -0400, Steve Litt wrote: > marc said on Sun, 29 Jun 2025 11:40:25 +0200
>
> >> >uxterm $colours -sb -rightbar -geometry 100x50+300+10 -bc +vb &
> >>
> >> I wish you'd told me this 25 years ago, but today is the second best
> >> time :-). Now here's a tough one that I haven't been able to find an
> >> answer to: How do I set -bg to an rgb value in the uxterm command
> >> itself, or a shellscript that calls the command?
> >
> >Hello
> >
> >xterm -fg '#00c020' -bg '#500050'
> >
> >Note that the # needs to be quoted or escaped, otherwise the shell
> >thinks it is the start of a comment and disregards it.
>
> Thanks Marc,
>
> The quotes were the secret sauce I just couldn't discover. Works
> perfectly now, no need to make color names in English.
You can avoid the # syntax and the need for quotes by using
another syntax for RGB values: