Post by f***@protonmail.comPost by Charles CurleyOn Sun, 18 Aug 2024 15:58:09 +0000
Post by f***@protonmail.comis use dialog to create simple menus
it's always white background and blue text
how can i change the colors
You will have to provide more information before anyone can answer that.
Which desktop/window manager? KDE, XFCE, etc.?
If your program runs in a terminal, which terminal emulation program?
rxvt, xfce4-terminal, etc.?
debian 11
xfce
xterm
By default Xterm has a different color palette than the Linux console.
A custom XResources file can be used to configure Xterm to very closely
match the console palette if desired. See:
https://www.n0nb.us/blog/2020/02/coping-with-color-on-the-linux-console-and-xterm-and-friends/
Programs like dialog that are based on Ncurses request a color from the
terminal but when the terminal is configured for some other hue, the
client programs have no control over that.
As my blog post shows, I like to unify the color schemes between the
console, Gnome Terminal, and Xterm.
If this is not your issue, then you'll need to consult the dialog
manual.
- Nate
--
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819