How do I create a "Lock Screen" launcher?

Chat about anything related to Linux Mint
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Locked
jtliii

How do I create a "Lock Screen" launcher?

Post by jtliii »

I frequently have to leave my desk, sometimes quickly and it would be very useful to have a "Lock Screen" launcher. I know the keyboard shortcut but you can't simply add ctrl+alt+l to the launcher command. This may seem minor to most but it would be very helpful to me. If anyone knows how to create one I would appreciate it if they would share that information. Also knowing how to create a shutdown launcher would be a nice bonus.

Thank you.

I forgot to mention I am using Mint 14 Mate.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
caribriz

Re: How do I create a "Lock Screen" launcher?

Post by caribriz »

Hi,

I did this for a Lock Screen launcher in LM14 mate:

Right-click the desktop > Create Launcher
Fill in the fields:
Name: Lock Screen
Command: mate-screensaver-command --lock
(two dashes before lock)
Click the icon in the window and navigate to a suitable icon (I used /usr/share/icons/Mint-X/actions/48x48/gnome-lockscreen.png)
Click ok
Can left-click the launcher and drag to panel if desired.

The options I have in Control Center > Screensaver are -
Screensaver theme > Blank Screen
"Lock screen when screensaver is active" is checked.
I have the slider for "idle" over to the far right.

For the shutdown:
This tutorial worked for me -
http://community.linuxmint.com/tutorial/view/1113
User avatar
twodogs
Level 4
Level 4
Posts: 320
Joined: Sat Jun 09, 2007 9:18 pm

Re: How do I create a "Lock Screen" launcher?

Post by twodogs »

I use Linux Mint 16 Petra with Cinnamon 2.0

This is how I do it..

open 'system settings' and look under 'preferences.' open the 'hot corners' icon.

I use the upper right corner. When I 'bang it' with my mouse, screen locks!

Use 'custom' with the command 'cinnamon-screensaver-command -a' and that will do it.

Enjoy!
jtliii

Re: How do I create a "Lock Screen" launcher?

Post by jtliii »

Thank you for the help. I don't have the "hot corners" option under preferences, maybe because I am using Mate but that is okay because the solution suggested by caribriz is exactly what I was looking for and is working perfectly. Thanks again for the help.
threeta
Level 1
Level 1
Posts: 4
Joined: Fri Dec 06, 2013 9:30 pm

Re: How do I create a "Lock Screen" launcher?

Post by threeta »

oh and click on "hover enabled"
DanielR
Level 4
Level 4
Posts: 242
Joined: Mon Sep 23, 2013 1:22 pm

Re: How do I create a "Lock Screen" launcher?

Post by DanielR »

Why don't you use the keyboard shortcut to lock your screen? The default key combination should be CTRL+ALT+L but you can assign a different key combination through the "Keyboard Shortcuts" application in Menu-Preferences.
Locked

Return to “Chat about Linux Mint”