Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
29
rated 0 times [  29] [ 0]  / answers: 1 / hits: 44961  / 1 Year ago, thu, january 19, 2023, 9:49:29

Like gnome Control + alt + L



In Lxde how can i do that? What I have to intall to do this?



thanks



--searching for a solution on my own but...



ok if I do alt+f2 and type xscreensaver-command -lock that's a small solution. tryed to do
an small script but it's not working..



this is what I do



vi lock.sh



#!/bin/bash
xscreensaver-command -lock
exit 0


chmod +x lock.sh



but this doesnt work.. ideas?


More From » lubuntu

 Answers
4

You should be able to bind the screensaver lock command to CTRL+ALT+L by editing your Lubuntu keyboard & mouse configuration file



Add the following to ~/.config/openbox/lubuntu-rc.xml



<keybind key="C-A-L">      
<action name="Execute">
<command>xscreensaver-command -lock</command>
</action>
</keybind>


This should be located inbetween the XML tags



<keyboard>
...
</keyboard


enter image description here



Logout and login for the changes to take effect.


[#42001] Friday, January 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
initiallartebeest

Total Points: 24
Total Questions: 118
Total Answers: 105

Location: Venezuela
Member since Thu, Jul 15, 2021
3 Years ago
;