Skip to main content
Topic: tuigreet shutdown (Read 214 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

tuigreet shutdown

I installed moksha using the wiki

the tuigreet part sets the startup command

but I am unable to shutdown at the greeter

https://github.com/apognu/tuigreet#power-management

what command would one use for artix?
Is it a second command?

I'll edit into wiki


Re: tuigreet shutdown

Reply #2
I think you misunderstand?

moksha reboots fine.

if i enter the greeter and hit F12 to shutdown from there, it does not work as tuigreet makes a systemd call, yes?

Re: tuigreet shutdown

Reply #3
command = "tuigreet --remember-session --time --theme 'border=blue;text=blue;prompt=green;time=yellow;action=blue;button=blue;container=black;input=red' --power-reboot 'loginctl reboot' --power-shutdown 'loginctl reboot'"

i believe works, for dinit, and is a bit decorative

 

Re: tuigreet shutdown

Reply #4
Mine is similar, for OpenRC:

command = "tuigreet --theme 'border=gray;text=yellow;prompt=lightblue;time=green;action=cyan;button=gray;container=black;input=lightcyan' --remember --remember-user-session --user-menu --asterisks --time --power-reboot='loginctl reboot' --power-shutdown='loginctl poweroff' -g RootVOL=$(cat /proc/cmdline|cut -d' ' -f1|cut -d= -f3)"

For tuigreet 11.0 the plan is to be able to store all settings in a config file, which makes sense  ;)

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons