Is there any way of making ubuntu (through CLI) to lock screen after X minutes?
I need to do so for example:
- I'm watching a 2Hours movie, so I need to make ubuntu that after 123 minutes to
lock screen.
|
Is there any way of making ubuntu (through CLI) to I need to do so for example:
| |||
|
feedback
|
|
Edit: I completely forgot about this:
So you could run, for example, But there is a more convenient way:
| ||||
|
feedback
|
|
Remember that you can simplify that command. Simply run
Now scroll down to the end of the file and add the following line
After having saved the file, whenever you run the command | ||||
|
feedback
|