Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: n00b on 11 January 2025, 20:55:44

Title: tuigreet shutdown
Post by: n00b on 11 January 2025, 20:55:44
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
Title: Re: tuigreet shutdown
Post by: Artist on 11 January 2025, 21:10:46
See https://wiki.artixlinux.org/Site/MokshaDesktopForArtix#Shutdown_or_reboot_not_completing

artist
Title: Re: tuigreet shutdown
Post by: n00b on 11 January 2025, 21:17:35
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?
Title: Re: tuigreet shutdown
Post by: n00b on 11 January 2025, 21:50:42
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 poweroff'"

i believe works, for dinit, and is a bit decorative
Title: Re: tuigreet shutdown
Post by: Artist on 11 January 2025, 22:25:16
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