Skip to content

Comments

Add grab-reboot option to example config file#202

Merged
kdj0c merged 1 commit intokmscon:mainfrom
jtollet:feature/add-grab-reboot-to-config
Jan 6, 2026
Merged

Add grab-reboot option to example config file#202
kdj0c merged 1 commit intokmscon:mainfrom
jtollet:feature/add-grab-reboot-to-config

Conversation

@jtollet
Copy link
Contributor

@jtollet jtollet commented Jan 6, 2026

Document the grab-reboot keyboard shortcut in the example configuration file.

The grab-reboot feature allows users to configure a keyboard shortcut (e.g., Ctrl+Alt+Delete) to trigger an immediate system reboot. This option is already fully implemented in kmscon with:

  • Code implementation in src/kmscon_seat.c
  • CLI option --grab-reboot documented in --help
  • Man pages documentation (kmscon.1 and kmscon.conf.1)

This PR adds the missing commented example line in scripts/etc/kmscon.conf to help users discover and configure this feature. The option is disabled by default for security reasons, and includes an appropriate warning about the immediate reboot without confirmation.

Document the grab-reboot keyboard shortcut in the example configuration
file with appropriate warning about immediate reboot without confirmation.
@kdj0c
Copy link
Contributor

kdj0c commented Jan 6, 2026

Thanks, that was on my todo list ;)

@kdj0c kdj0c merged commit ac860db into kmscon:main Jan 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants