I'm trying to change the colors in the virtual terminal. So far I've tried:

  • echo -en "\e]PXYYYYYY"-style escapes
  • writing to /sys/module/vt/parameters/default{red,grn,blu}
  • the PIO_CMAP ioctl

At this point I'm suspecting that there's a kernel feature I'm missing. My current kernel config is here, my uname -r is 4.9.95-gentoo.

  • You're getting ahead of yourself. (-: The first question to be asking is whether your framebuffer is even in an indexed colour mode in the first place.
    – JdeBP
    May 20, 2018 at 4:27
  • I don't know what that even means, so you're probably right :P May 20, 2018 at 4:31
  • @JdeBP I can confirm (color) images in w3m work, so it's not in text mode, at least May 20, 2018 at 4:51

1 Answer 1


Looks like this was an issue with my setup -- redshift seems to block \e]R from working.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .