dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
429 stars 78 forks source link

Dynamic color palette support? #115

Open mkrawiec opened 9 years ago

mkrawiec commented 9 years ago

According to the man page, palette option shouldn't be used anymore. Does kmscon have support for xterm-like dynamic color palettes e.g. printf "\e]4;0;rgb:20/20/1d\e\\" or echo -e "\e[31m\e[43m" because this commands invoked in kmscon doesn't seem to do anything.

Is there any way to customize termcolors other then hardcoding them in tsm_vte.c?

dvdhrm commented 9 years ago

No, this hasn't been implemented, yet. Patches always welcome!

There's currently a lot work going on to rewrite libtsm, so you might wanna wait some weeks to see whether someone else did it.

leonormes commented 9 years ago

Has this been implemented yet?

Magicrafter13 commented 3 years ago

How do we change the colors in kmscon? The manual never actually explains it as far as I can tell.

timmypidashev commented 2 years ago

@Magicrafter13 have you found a solution as of yet? New kmscon user trying to find the docs myself. figured out how to get a palette loading, but other than solarized nothing else works, and I have no clue where these palettes are being pulled from... kmscon.conf:

font-size=16
font-name=JetBrains Mono
font-engine=pango
palette=solarized
drm
walking-octopus commented 1 year ago

There's a line mentioning a vte.c file solarized, but it is only present in an old commit.

https://github.com/dvdhrm/kmscon/blob/0b3452719992f855b64fa21c9d7fbd6158a8d23a/COPYING#LL120C35-L120C44 https://github.com/dvdhrm/kmscon/commit/227ada42a27001b8b28424f47437b20800b0160b#diff-908b6ff12f2e817d51e8788238d28bdf3f547b4c6fb90dfc132820f525e8cf6c