0

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 '18 at 4:27
  • I don't know what that even means, so you're probably right :P – Nathan Ringo May 20 '18 at 4:31
  • @JdeBP I can confirm (color) images in w3m work, so it's not in text mode, at least – Nathan Ringo May 20 '18 at 4:51
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.