• dialog colors

    From fxkl47BF@protonmail.com@21:1/5 to All on Sun Aug 18 18:00:02 2024
    is use dialog to create simple menus
    it's always white background and blue text
    how can i change the colors

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fxkl47BF@protonmail.com@21:1/5 to Charles Curley on Sun Aug 18 20:10:01 2024
    On Sun, 18 Aug 2024, Charles Curley wrote:

    On Sun, 18 Aug 2024 15:58:09 +0000
    fxkl47BF@protonmail.com wrote:

    is 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to fxkl47BF@protonmail.com on Sun Aug 18 20:00:01 2024
    On Sun, 18 Aug 2024 15:58:09 +0000
    fxkl47BF@protonmail.com wrote:

    is 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.?

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to Charles Curley on Sun Aug 18 20:20:01 2024
    On Sun, Aug 18, 2024 at 11:56:38AM -0600, Charles Curley wrote:
    On Sun, 18 Aug 2024 15:58:09 +0000
    fxkl47BF@protonmail.com wrote:

    is 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.?

    I guess it is /usr/bin/dialog, from the same-named package. This would be
    a ncurses program, although there seems to be an X incarnation.

    Not installed on my box, so I can't currently try things (for the curious:
    the man page is online here [1]). There seems to be a dialogrc init file,
    I guess that's where to set things like colors.

    Cheers

    [1] https://manpages.debian.org/bookworm/dialog/dialog.1.en.html
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZsI5DQAKCRAFyCz1etHa RvEJAJ91nQm2eflotWPh07L7GUm1ZSJxLQCfXp9SlcRkITIjnGNXqHYcf9aB3PE=
    =h7AL
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nate Bargmann@21:1/5 to fxkl47BF@protonmail.com on Sun Aug 18 22:40:03 2024
    * On 2024 18 Aug 13:08 -0500, fxkl47BF@protonmail.com wrote:
    On Sun, 18 Aug 2024, Charles Curley wrote:

    On Sun, 18 Aug 2024 15:58:09 +0000
    fxkl47BF@protonmail.com wrote:

    is 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


    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQSC1k9rDmfNQfaJu6b7LFEw1VqIGQUCZsJa9gAKCRD7LFEw1VqI GeELAKCusNlCu5WF9nWHjqQSsTRRUmYXewCfRcPy7Qdj//5dO2dDT/wFVo2TKPk=
    =WWwi
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From debian-user@howorth.org.uk@21:1/5 to tomas@tuxteam.de on Sun Aug 18 22:20:01 2024
    <tomas@tuxteam.de> wrote:
    On Sun, Aug 18, 2024 at 11:56:38AM -0600, Charles Curley wrote:
    On Sun, 18 Aug 2024 15:58:09 +0000
    fxkl47BF@protonmail.com wrote:

    is use dialog to create simple menus
    it's always white background and blue text
    how can i change the colors
    [snip]
    I guess it is /usr/bin/dialog, from the same-named package. This
    would be a ncurses program, although there seems to be an X
    incarnation.

    Not installed on my box, so I can't currently try things (for the
    curious: the man page is online here [1]). There seems to be a
    dialogrc init file, I guess that's where to set things like colors.

    Cheers

    [1] https://manpages.debian.org/bookworm/dialog/dialog.1.en.html

    The man page also mentions the --colors option, which appears to
    control whether you can embed color control characters in the dialog
    text.

    Without more information from the OP it's difficult to go any further.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Nate Bargmann on Sun Aug 18 23:30:02 2024
    On Sun, 18 Aug 2024 15:35:02 -0500
    Nate Bargmann <n0nb@n0nb.us> wrote:


    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/

    The original poster (OP) may find it simpler to install xfce4-terminal.
    It has a nice GUI for configuring colors, including some pre-defined
    color schemes. Edit -> Preferences -> Colors



    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)