Open tryedandcatched opened 8 months ago
Could you post the contents of your config.toml
and variables.toml
?
I finished making my config file and the same thing is happening too. Seems that running lemurs -c <path/to/config.toml>
as shown in README.md simply spawns a new Lemurs instance in the terminal instead of saving the config file.
@coastalwhite sorry for the ping, but is there any way to save the config.toml
and variables.toml
inside Lemurs?
I am not sure I understand the question correctly @amsyarzero.
The easiest way to use a config.toml
is to put it at /etc/lemurs/config.toml
(same for variables: /etc/lemurs/variables.toml
).
@WyeneCloud seems that this also affects me. After saving my config.toml
and variables.toml
, running lemurs --preview
shows this:
However, after rebooting, besides the border and password replacement character (the #
), everything else is colored back to the default colors instead. For reference, here are my two TOML files.
I read a bit more about tty (the text-only part we interact with before logging in) and it seems that tty only supports 16 colors. There is a way to change it, but it requires a bit more fiddling with the built-in colors.
@coastalwhite , sorry for ping again, but could you confirm whether Lemurs, in tty, uses 16 or 256 colors?
Yeah, this seems like a mess up on my part. As mentioned in the crossterm docs. It seems that only a small selection of the colors that are settable in lemurs is actually visible in the TTY. Lemurs in the TTY uses 256 colors.
Thank you for the confirmation, coastalwhite. After changing the colors to the options provided in extra/config.toml
:
I can confirm that the colors display properly now.
@WyeneCloud unfortunately, this is a limitation of the tty itself, which Lemurs uses during bootup, so you can only use these colors.
Thanks you. sorry for the late response, are you sure there is no work around?
Thanks you. sorry for the late response, are you sure there is no work around?
Unfortunately, there is no workaround for now. Unless you manage to change the tty itself to something that can support 256-bit colors.
EDIT: Check out this fork of kmscon, which allows for 256-bit support in tty. However, anything related to that is beyond the scope of this issue.
Hi. thanks for reading my issues i mean its more an question than an issues but maybe it is so : i made an custom build of lemurs with custom color the build went perfectly and when i use --preview it's work perfectly but when i log using the TTY ony the orange is showing everything else is black so idk. Thanks have a nice day