* Re: betterlockscreen: patch to enable call to suspend with void.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19354@inbox.vuxu.org>
@ 2020-03-16 15:56 ` Piraty
2020-03-16 15:58 ` Piraty
` (4 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: Piraty @ 2020-03-16 15:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/19354#issuecomment-599615413
Comment:
I don't use this package, but i guess the sudo line only works for those who configure NOPASSWD in sudoers ?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: betterlockscreen: patch to enable call to suspend with void.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19354@inbox.vuxu.org>
2020-03-16 15:56 ` betterlockscreen: patch to enable call to suspend with void Piraty
@ 2020-03-16 15:58 ` Piraty
2020-03-16 16:57 ` MaxLeoSchmid
` (3 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: Piraty @ 2020-03-16 15:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/19354#issuecomment-599615413
Comment:
I don't use this package, but i guess the sudo line only works for those who configure NOPASSWD in sudoers ?
I'm afraid it's not that simple
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: betterlockscreen: patch to enable call to suspend with void.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19354@inbox.vuxu.org>
2020-03-16 15:56 ` betterlockscreen: patch to enable call to suspend with void Piraty
2020-03-16 15:58 ` Piraty
@ 2020-03-16 16:57 ` MaxLeoSchmid
2020-03-16 18:47 ` Piraty
` (2 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: MaxLeoSchmid @ 2020-03-16 16:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
New comment by MaxLeoSchmid on void-packages repository
https://github.com/void-linux/void-packages/pull/19354#issuecomment-599649589
Comment:
You're right.
I have the NOPASSWD exeption/rule(?) set for halt, zzz etc. like it is described in the wiki here:
[https://wiki.voidlinux.org/Post_Installation#Allow_users_to_shutdown_without_a_password](https://wiki.voidlinux.org/Post_Installation#Allow_users_to_shutdown_without_a_password)
I didn't think about the fact, that the "sudo zzz" process would just stay around if you don't add the rule in the sudoers file.
Would there be any issues with xbps just changing the line manually after installing?
If not a wiki entry showing you, how to do that, would probably be a better way.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: betterlockscreen: patch to enable call to suspend with void.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19354@inbox.vuxu.org>
` (2 preceding siblings ...)
2020-03-16 16:57 ` MaxLeoSchmid
@ 2020-03-16 18:47 ` Piraty
2020-03-16 18:48 ` Piraty
2020-04-24 16:06 ` [PR PATCH] [Closed]: " MaxLeoSchmid
5 siblings, 0 replies; 6+ messages in thread
From: Piraty @ 2020-03-16 18:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/19354#issuecomment-599702624
Comment:
i don't know about systemd-suspend, but usually things like consolekit or elogind are used to elevate permission for such event. If that is above your skill, ask upstream
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: betterlockscreen: patch to enable call to suspend with void.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19354@inbox.vuxu.org>
` (3 preceding siblings ...)
2020-03-16 18:47 ` Piraty
@ 2020-03-16 18:48 ` Piraty
2020-04-24 16:06 ` [PR PATCH] [Closed]: " MaxLeoSchmid
5 siblings, 0 replies; 6+ messages in thread
From: Piraty @ 2020-03-16 18:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/19354#issuecomment-599702624
Comment:
i don't know about systemd-suspend, but usually things like consolekit or elogind are used to elevate permission for such event. At least you can ask upstream if they up to support different mechanisms of suspend
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PR PATCH] [Closed]: betterlockscreen: patch to enable call to suspend with void.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19354@inbox.vuxu.org>
` (4 preceding siblings ...)
2020-03-16 18:48 ` Piraty
@ 2020-04-24 16:06 ` MaxLeoSchmid
5 siblings, 0 replies; 6+ messages in thread
From: MaxLeoSchmid @ 2020-04-24 16:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
There's a closed pull request on the void-packages repository
betterlockscreen: patch to enable call to suspend with void.
https://github.com/void-linux/void-packages/pull/19354
Description:
betterlockscreen assumes you are running systemd and therefore invokes
suspend using systemctl. With the patch you can now suspend on void.
The patch also adds a 1 second delay before suspending to make sure the screen
actually locks before suspending.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-04-24 16:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19354@inbox.vuxu.org>
2020-03-16 15:56 ` betterlockscreen: patch to enable call to suspend with void Piraty
2020-03-16 15:58 ` Piraty
2020-03-16 16:57 ` MaxLeoSchmid
2020-03-16 18:47 ` Piraty
2020-03-16 18:48 ` Piraty
2020-04-24 16:06 ` [PR PATCH] [Closed]: " MaxLeoSchmid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).