-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Maybe I miss something, but I would appreciate if the greeter would support keyboard shortcuts, especially for shutdown/reboot. In test mode, there is support:
slick-greeter/src/main-window.vala
Lines 444 to 457 in 640a595
| case Gdk.Key.z: | |
| if (SlickGreeter.singleton.test_mode && (event.state & Gdk.ModifierType.MOD1_MASK) != 0) | |
| { | |
| show_shutdown_dialog (ShutdownDialogType.SHUTDOWN); | |
| return true; | |
| } | |
| break; | |
| case Gdk.Key.Z: | |
| if (SlickGreeter.singleton.test_mode && (event.state & Gdk.ModifierType.MOD1_MASK) != 0) | |
| { | |
| show_shutdown_dialog (ShutdownDialogType.RESTART); | |
| return true; | |
| } | |
| break; |
It would be great if they were configurable, but I would also be happy with sensible defaults, such as those used by gtk-greeter: https://github.com/Xubuntu/lightdm-gtk-greeter/blob/9f22ff36df4114d9ebb484afd90b5e58149f15a1/src/lightdm-gtk-greeter.c#L3138-L3143
Metadata
Metadata
Assignees
Labels
No labels