PINE64
How to disable lock screen in Phosh? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: How to disable lock screen in Phosh? (/showthread.php?tid=12570)

Pages: 1 2


How to disable lock screen in Phosh? - lat - 12-20-2020

I'd like to completely disable the lock screen in Phosh - I strongly prefer not having to type in my password to start using the phone.  I'd expect to have this option in user settings, but it's not there (yet?).  What would be a proper way to disable lock screen?

The only idea (and probably not a good one) that came to my mind is to create a passwordless user.  I've attempted to do it and failed.  I copied the sha512 hash of the empty password into /etc/shadow.  It didn't work as evidenced by my inability to ssh into PinePhone from computer using empty password.  I tried it on different distros, and in the case of Mobian my attempts even rendered the install unrecoverable (I wonder why), even after restoring the original /etc/shadow that I had backed up previously.

Thanks for any input on this issue!


RE: How to disable lock screen in Phosh? - dukla2000 - 12-20-2020

I too wish there was a way to excise this, to me, useless functionality. It really does slow down my access with no benefit.

I have mused a couple of times here with no progress, and spent long times with Prof Duck and trying to find something on the Purism forums with no success yet.

I suspect the only option is a feature request to Purism. IMHO the logical place for a switch, after settings, would be /usr/share/phosh/phoc.ini but that has no clues.


RE: How to disable lock screen in Phosh? - lat - 12-22-2020

(12-20-2020, 02:11 PM)dukla2000 Wrote: I suspect the only option is a feature request to Purism.

I've created an issue upstream.  Hopefully Purism will impement this feature.

Apparently they already have this in the pipeline.
The issue is that Phosh currently does not honor this setting:
Code:
org.gnome.desktop.screensaver 'lock-enabled' gsetting



RE: How to disable lock screen in Phosh? - quixote - 05-27-2021

Erm... if it's in the pipeline, it must be tiny because it's the end of May and phosh is *still* not paying any attention to the gsettings commands. Sad

eg as in this thread

first command gets status. If set to false, change to true:

Code:
$ gsettings get org.gnome.desktop.lockdown disable-lock-screen
$ gsettings set org.gnome.desktop.lockdown disable-lock-screen true

If anybody knows any kludge to KO that lock screen, I'd be very grateful! It's an intense pain.


RE: How to disable lock screen in Phosh? - marcih - 05-28-2021

(05-27-2021, 01:59 AM)quixote Wrote: Erm... if it's in the pipeline, it must be tiny because it's the end of May and phosh is *still* not paying any attention to the gsettings commands. Sad

eg as in this thread

first command gets status. If set to false, change to true:

Code:
$ gsettings get org.gnome.desktop.lockdown disable-lock-screen
$ gsettings set org.gnome.desktop.lockdown disable-lock-screen true

If anybody knows any kludge to KO that lock screen, I'd be very grateful! It's an intense pain.

It's "in the pipeline" in the sense that it's a known issue, but it's not actively being worked on. According to this, the setting you're trying is currently not being taken into account by phosh. Here's a similar report about disabling not the whole lockscreen but the PIN, which I imagine is more like what you'd be interested in.


RE: How to disable lock screen in Phosh? - 3x5co - 06-09-2021

I think there are two issues here: Locking the screen, and forcing a password. I recently ran an update to Mobian that give me the option, in settings, to disable automatic screen lock. I also ran the above gsetting.

However, the screen still locks when you turn off the display via power button. I think I would be OK with the screen locking if it didn't also prompt me for a password to log back in. Is there a way to disable just this?


RE: How to disable lock screen in Phosh? - Rainer - 06-09-2021

I second that! One of the few uses of my cell phone is to play a cd's worth of music on headphones as I go for a walk. There is nothing more annoying than suspend mode coming up every couple of minutes and turning off my music. This was happening with plasma-mobile as well. Is there any way to prevent this behaviour with an 'inhibit suspend mode' type of command. Thanks.


RE: How to disable lock screen in Phosh? - quixote - 06-17-2021

There have been some updates since these questions, but still no solution I can see for do away with the PIN requirement. You're right, marcih, that what I'm really looking for is a no-PIN system, not a no-lock-screen system.

Sounds like there's quite a few of us. I wish the phosh devs would make the gui pay attention to the gsettings disable-lock-screen setting! It does nothing on my phone Sad


RE: How to disable lock screen in Phosh? - 3x5co - 09-18-2021

It looks like this has been [fixed](https://gitlab.gnome.org/World/Phosh/phosh/-/commit/bca85c8a984ba24eb5f0de7f28ba671667d6314a), and is waiting for [a merge](https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/747) into the codebase. So keep an eye on those threads.


RE: How to disable lock screen in Phosh? - Merc - 09-18-2021

I'd like this feature as well, I was a little disappointed when I found that the org.gnome.desktop.screensaver lock-enabled gsetting didn't work. I'll often lie in bed and watch TV and rather often look at my phone, my options right now are either leave the screen always on and drain the battery or constantly having to re-enter my password when the screen powers off. It's not a big deal but it's a small quality of life improvement.