Score:0

What does the system tray "Lock" button actually do [22.10]?

in flag

Ok yes, it sound like a dumb question as I am indeed talking about this:

enter image description here

But my question is a little more complicated and has identical origins as the question asked here: Remove lock button/icon from system tray Ubuntu 18.04 with gnome 3.28

However, I don't necessarily want to disable the lock button, I just need to edit its behavior somehow - as it appears to alter the X-session. So, is there some command binding for this button or configuration file I can view/change to see where the locking behavior comes from?

Score:1
cn flag

The system tray "lock" button locks your screen. It keeps your current session alive, but kicks a password protected screensaver in action. You can return to your session providing the password.

The idea of this function is to allow you to briefly walk away from your computer preventing others to access your desktop in the mean time. In a default Ubuntu install, the shortcut key Super+L performs the same function of that button.

To edit its behavior, you will need some developer skills. You will need to edit some source code, and perhaps you will need to recompile some components of Gnome Shell.

Sterling Butters avatar
in flag
Can you point me to where this source is located? I was able to discover that it likely depends on the display manager e.g. it seems that the GUI calls the equivalent of `dm-tool lock` (if using lightdm). After learning that lightdm uses light-locker under the hood (which just changes the Virtual Terminal and throws up the greeter) - I'm looking to see if there are other alternatives that don't do this but allow for identical lock and login screen.
vanadium avatar
cn flag
No, sorry, my knowledge does not extent into the source code.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.