Systemd/logind: Difference between revisions
Tags: Mobile edit Mobile web edit |
Marked this version for translation Tags: Mobile edit Mobile web edit |
||
| Line 23: | Line 23: | ||
<translate> | <translate> | ||
<!--T:14--> | |||
If you want to ignore short presses of the power button entirely, you can use the following snippet instead: | If you want to ignore short presses of the power button entirely, you can use the following snippet instead: | ||
</translate> | </translate> | ||
| Line 34: | Line 35: | ||
Long-pressing your power button (5 seconds or longer) to do a hard reset is handled by your machine’s BIOS/EFI and thus still possible. | Long-pressing your power button (5 seconds or longer) to do a hard reset is handled by your machine’s BIOS/EFI and thus still possible. | ||
<!--T:15--> | |||
Similar to the power key, you can ignore the reboot, suspend and hibernate keys like this: | Similar to the power key, you can ignore the reboot, suspend and hibernate keys like this: | ||
</translate> | </translate> | ||
| Line 44: | Line 46: | ||
<translate> | <translate> | ||
<!--T:16--> | |||
Or ignore the action of closing/opening the lid on laptops like this: | Or ignore the action of closing/opening the lid on laptops like this: | ||
</translate> | </translate> | ||
| Line 61: | Line 64: | ||
Say you want your laptop to stay awake when closing the lid in some circumstances, for example if you want to listen to music. If you start your lock screen with an inhibit on the lid switch | Say you want your laptop to stay awake when closing the lid in some circumstances, for example if you want to listen to music. If you start your lock screen with an inhibit on the lid switch | ||
<!--T:17--> | |||
<code>systemd-inhibit --what=handle-lid-switch lock-screen-tool</code> | <code>systemd-inhibit --what=handle-lid-switch lock-screen-tool</code> | ||
| Line 75: | Line 79: | ||
<translate> | <translate> | ||
<!--T:18--> | |||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:systemd]] | [[Category:systemd]] | ||
</translate> | </translate> | ||