S
S
Sergey Burduzha2018-03-28 01:08:46
ubuntu
Sergey Burduzha, 2018-03-28 01:08:46

What is the name of the command for locking the screen in ubuntu?

I installed the alarm clock program to lock the screen after a while. And then you work for a long time and forget to break for rest.
So, you need a command to lock the screen, to enter in the "command" field.
5abac0c44b9dc553351361.jpeg
Until now, I worked in xubuntu, it's easy with commands, but how can I find the right command in unity?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Burduzha, 2018-03-28
@serii81

It is necessary to register gnome-session-quit --no-prompt
Also this command can be called from the terminal.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question