You are not logged in.
Is it possible to lock gnome 3.10 from the cli? I really cannot find anything via google but it would be important for me as I want to lock and suspend gnome by one key combination.
Gnome-screensaver is non-existent. Tried gdm, but it has no man so I have no clue how to solve this.
Offline
When I was using mate, there was a command called mate-session-save something or other, and it served as a logout command. There were some other options, but I can't remember what they were. My point is that there may be a gnome-session-* command. Do you have tab completion? Try and see what comes up when you try and tab-complete gnome-session. If not try and grep the contents of /usr/bin for gnome-session
Offline
No luck unfortunately. I have tab completion however gnome-session has only: gnome-session, gnome-session-inhibit, gnome-session-properties, gnome-session-quit. They have man pages, I checked them but none of them offers anything like this.
Offline
The lockscreen is called by gnome-screensaver
Offline
There is no gnome screensaver anymore. As I have read it is provided by gdm somehow. That's why I don't know what to do.
Offline
Do that:
dbus-send --session --dest=org.gnome.ScreenSaver --type=method_call --print-reply --reply-timeout=20000 /org/gnome/ScreenSaver org.gnome.ScreenSaver.SetActive boolean:true
method return sender=:1.1081 -> dest=:1.1192 reply_serial=2Have fun ;]
Web Developer.
Offline
You Sir are a genious! ![]()
It works, although it does not lock the screen, the screen saver comes in immediately, but locking won't happen (or at least not in a minute) for me. Do you happen to know how to achieve that?
Offline
Well, I like the look of it. ;-)
Offline