Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #248120
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> |
| Newsgroups | linux.debian.user |
| Subject | (suspend && lock screen) vs (lock screen && suspend) |
| Date | Thu, 12 May 2022 15:10:01 +0200 |
| Message-ID | <EmgJP-eYY0-13@gated-at.bofh.it> (permalink) |
| References | <EmgJP-eYY0-15@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Thu May 12 13:06:50 2022 |
| Old-Return-Path | <gldu-debian-user-2@m.gmane-mx.org> |
| X-Amavis-Spam-Status | No, score=-1.572 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_MUA_MOZILLA=2.309, FORGED_YAHOO_RCVD=1.63, FOURLA=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, LDO_WHITELIST=-5, NML_ADSP_CUSTOM_MED=0.9, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.0.3 |
| Content-Language | en-GB |
| X-No-Archive | yes |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/789027 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/t5j0om$f1q$1@ciao.gmane.io |
| Approved | robomod@news.nic.it |
| Lines | 38 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 12 May 2022 14:06:24 +0100 |
| X-Original-Message-ID | <t5j0om$f1q$1@ciao.gmane.io> |
| X-Original-References | <t5ggf0$um6$1@dont-email.me> |
| Xref | csiph.com linux.debian.user:248120 |
Show key headers only | View raw
[Originally posted to comp.unix.shell but no replies there] $ uname -a Linux e130 5.16.0-0.bpo.4-amd64 #1 SMP PREEMPT Debian 5.16.12-1~bpo11+1 (2022-03-08) x86_64 GNU/Linux $ cat /etc/debian_version 11.2 Hi, Not sure if this just a command invocation problem or there are other issues at hand (say, power management, etc) but... I have a script that binds to 'CTRL + SHIFT + S': $ cat opt/bin/lock-suspend #!/bin/sh systemctl suspend && mate-screensaver-command -l This one seems to work, however I would have thought that the logical sequence would be: mate-screensaver-command -l && systemctl suspend that is, a) lock screen; b) suspend; c) resume with lock screen on. Instead, if I use the latter syntax, upon resuming, there is a 10 second delay before locking the screen, which is not ideal for obvious privacy reasons. Any input on that? -- Ottavio Caruso
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
(suspend && lock screen) vs (lock screen && suspend) Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> - 2022-05-12 15:10 +0200
Re: (suspend && lock screen) vs (lock screen && suspend) Greg Wooledge <greg@wooledge.org> - 2022-05-12 15:40 +0200
Re: (suspend && lock screen) vs (lock screen && suspend) Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> - 2022-05-12 18:40 +0200
Re: (suspend && lock screen) vs (lock screen && suspend) David Wright <deblis@lionunicorn.co.uk> - 2022-05-12 19:20 +0200
Re: (suspend && lock screen) vs (lock screen && suspend) Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> - 2022-05-13 12:30 +0200
csiph-web