3

For some reason newt apps (whiptail, partimage, debconf ...) have all decided to use purple background. How to get regular blue background back ?

$ whiptail --title 'WARNING'  --yesno "Completely unsafe, proceed anyway ?" 8 50

enter image description here

At first i thought this might be some weird term issue but ncurses apps are faithful to their blue background:

$ dialog --yesno "Completely unsafe, proceed anyway ?"  5 40

enter image description here

lemonsqueeze
  • 1,664

1 Answers1

3

Took a while to figure out, turns out symlink for newt apps color palette has been changed:

http://cosmicb.no/2011/10/05/getting-rid-of-ubuntu-violet-colors/

$ ls -l /etc/alternatives/newt-palette
lrwxrwxrwx 1 root root 26 Dec 28  2014 /etc/alternatives/newt-palette -> /etc/newt/palette.ubuntu

To put it back :

$ sudo ln -sf /etc/newt/palette.original  /etc/alternatives/newt-palette
lemonsqueeze
  • 1,664