Hi,This is probably the "whiptail" frontend to debconf. The documentation
The text dialog boxes that appear when you do dpkg-reconfigure <package
name, or when you are resolving a config file conflict on package
update: is it possible to change their colour scheme?
It's typically a blue screen background, a grey dialog background, black text, a red selection bar?
Hi,I think this is a great idea.
The text dialog boxes that appear when you do dpkg-reconfigure <package
name, or when you are resolving a config file conflict on package
update: is it possible to change their colour scheme?
It's typically a blue screen background, a grey dialog background, black text, a red selection bar\u2026I am wincing in pain. Literally hissing.
These days I actually find the accessibility mode high contrast colourME TOO.
scheme as offered by the installer to be preferable so if I could use
that for all debconf dialogs I'd be happy.
$ wget https://archive.ubuntu.com/ubuntu/pool/main/c/cdebconf/cdebconf-newt-udeb_0.251ubuntu1_amd64.udeb
$ dpkg-deb -x cdebconf-newt-udeb_0.251ubuntu1_amd64.udeb ./
I inspected ./etc/newt/palette.dark,
# mkdir /etc/newt/
copied ./etc/newt/palette.dark to /etc/newt/, changed its owner from
the downloading user to root:root, checked that its permissions were
sane
and then tested with
# NEWT_COLORS_FILE=/etc/newt/palette.dark dpkg-reconfigure locales
which looked satisfactory to me.
So I then did
# ln -Tv /etc/newt/palette.dark /etc/newt/palette
On Thu, 12 Feb 2026, Davidson wrote:
So I then did
# ln -Tv /etc/newt/palette.dark /etc/newt/palette
It now occurs to me that this hard linking could bite me later, if
anything clobbers
/etc/newt/palette
because palatte.dark, which is data I do not want to lose, would get clobbered too. So I have done
# ln -Tvsf /etc/newt/palette.dark /etc/newt/palette
to make palette a soft link instead.
On Thu, 12 Feb 2026, Davidson wrote:Aha! So newt it is. Doing a "strings /usr/lib/x86_64-linux-gnu/libnewt.so.0.52 | less"
On Thu, 12 Feb 2026, Davidson wrote:
So I then did
# ln -Tv /etc/newt/palette.dark /etc/newt/palette
It now occurs to me that this hard linking could bite me later, if
anything clobbers
/etc/newt/palette
because palatte.dark, which is data I do not want to lose, would get clobbered too. So I have done
# ln -Tvsf /etc/newt/palette.dark /etc/newt/palette
to make palette a soft link instead.
LOL. A soft link suffers from the same problem as the hard link.
# rm /etc/newt/palette
# cp -a /etc/newt/palette.dark /etc/newt/palette
...so perhaps you can point at another palette file with the environment variable NEWT_COLORS_FILE or even (gasp! :) stuff colours directly into NET_COLORS...
$ wget https://archive.ubuntu.com/ubuntu/pool/main/c/cdebconf/cdebconf-newt-udeb_0.251ubuntu1_amd64.udeb
$ dpkg-deb -x cdebconf-newt-udeb_0.251ubuntu1_amd64.udeb ./
# mkdir /etc/newt/
copied ./etc/newt/palette.dark to /etc/newt/, changed its owner from
the downloading user to root:root, checked that its permissions were
sane
and then tested with
# NEWT_COLORS_FILE=/etc/newt/palette.dark dpkg-reconfigure locales
which looked satisfactory to me.
Hi,My pleasure. Thanks to yourself for the idea.
On Thu, Feb 12, 2026 at 03:48:10PM -0500, Davidson wrote:
$ wget https://archive.ubuntu.com/ubuntu/pool/main/c/cdebconf/cdebconf-newt-udeb_0.251ubuntu1_amd64.udeb
$ dpkg-deb -x cdebconf-newt-udeb_0.251ubuntu1_amd64.udeb ./
[\u2026]
# mkdir /etc/newt/
copied ./etc/newt/palette.dark to /etc/newt/, changed its owner from
the downloading user to root:root, checked that its permissions were
sane
and then tested with
# NEWT_COLORS_FILE=/etc/newt/palette.dark dpkg-reconfigure locales
which looked satisfactory to me.
Excellent work, thanks!
I suspect that palette.dark does exist somewhere in Debian as theCool.
high contrast text installer seems to use the same colour scheme and interface, but this is great for now.
If you do not beat me to itVery unlikely, for the wiki is dark and full of horrors.
then I will write this up on the Debian wiki at some point as thisI thank you for your service.
was too hard to find and seems like it might be useful for more
people.
I inspected ./etc/newt/palette.dark,
# mkdir /etc/newt/
copied ./etc/newt/palette.dark to /etc/newt/, changed its owner from
the downloading user to root:root, checked that its permissions were
sane
and then tested with
# NEWT_COLORS_FILE=/etc/newt/palette.dark dpkg-reconfigure locales
which looked satisfactory to me.
So I then did
# ln -Tv /etc/newt/palette.dark /etc/newt/palette
and verified that this had the desired effect with
# dpkg-reconfigure locales
And it did. I now have the dark theme by default.
Hi,Poking at the sources, it seems to be a configure-time option, so perhaps there's some change in debian/rules or some such?
On Thu, Feb 12, 2026 at 03:48:10PM -0500, Davidson wrote:
I inspected ./etc/newt/palette.dark,
# mkdir /etc/newt/
copied ./etc/newt/palette.dark to /etc/newt/, changed its owner from
the downloading user to root:root, checked that its permissions were
sane
and then tested with
# NEWT_COLORS_FILE=/etc/newt/palette.dark dpkg-reconfigure locales
which looked satisfactory to me.
So I then did
# ln -Tv /etc/newt/palette.dark /etc/newt/palette
and verified that this had the desired effect with
# dpkg-reconfigure locales
And it did. I now have the dark theme by default.
Strangely, on my Debian 13 hosts this isn't taking effect unless I set NEWT_COLORS_FILE=/etc/newt/palette. On Debian 12 and below, just putting
the file at /etc/newt/palette seems to be enough.
I haven't yet worked out if this is some difference in how my Debian 13
hosts are configured, or a bug.
Hi,
On Thu, Feb 12, 2026 at 03:48:10PM -0500, Davidson wrote:
I inspected ./etc/newt/palette.dark,
# mkdir /etc/newt/
copied ./etc/newt/palette.dark to /etc/newt/, changed its owner
from the downloading user to root:root, checked that its
permissions were sane
and then tested with
# NEWT_COLORS_FILE=/etc/newt/palette.dark dpkg-reconfigure locales
which looked satisfactory to me.
So I then did
# ln -Tv /etc/newt/palette.dark /etc/newt/palette
and verified that this had the desired effect with
# dpkg-reconfigure locales
And it did. I now have the dark theme by default.
Strangely, on my Debian 13 hosts this isn't taking effect unless I
set NEWT_COLORS_FILE=/etc/newt/palette. On Debian 12 and below, just
putting the file at /etc/newt/palette seems to be enough.
I haven't yet worked out if this is some difference in how my Debian
13 hosts are configured, or a bug.
FWIW: From apt's logs it looks as though whiptail was installed, and
had been installed long before I began any investigation into the
topic.
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 119:49:20 |
| Calls: | 125 |
| Calls today: | 125 |
| Files: | 489 |
| D/L today: |
859 files (365M bytes) |
| Messages: | 76,568 |
| Posted today: | 26 |