How do I change key bindings in Lubuntu? (e.g. to lock screen with Super-L instead of Ctrl-Alt-L)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I am pretty much used to Windows Key + L shortcut to lock the screen. Ubuntu has a nice config app to change key bindings. Unfortunately I could not find similar app in Lubuntu.
How can I change key-bindings in Lubuntu?
keyboard lubuntu shortcut-keys keyboard-layout key-binding
add a comment |Â
up vote
0
down vote
favorite
I am pretty much used to Windows Key + L shortcut to lock the screen. Ubuntu has a nice config app to change key bindings. Unfortunately I could not find similar app in Lubuntu.
How can I change key-bindings in Lubuntu?
keyboard lubuntu shortcut-keys keyboard-layout key-binding
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am pretty much used to Windows Key + L shortcut to lock the screen. Ubuntu has a nice config app to change key bindings. Unfortunately I could not find similar app in Lubuntu.
How can I change key-bindings in Lubuntu?
keyboard lubuntu shortcut-keys keyboard-layout key-binding
I am pretty much used to Windows Key + L shortcut to lock the screen. Ubuntu has a nice config app to change key bindings. Unfortunately I could not find similar app in Lubuntu.
How can I change key-bindings in Lubuntu?
keyboard lubuntu shortcut-keys keyboard-layout key-binding
keyboard lubuntu shortcut-keys keyboard-layout key-binding
edited Jan 29 at 8:34
muru
131k19275473
131k19275473
asked Jan 28 at 19:47
Pawel Debski
76841028
76841028
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
If you want to do modifications to your keybinding in Lubuntu than have a look into less ~/.config/openbox/lubuntu-rc.xml
There you will find all the present key-bindings.
add a comment |Â
up vote
0
down vote
accepted
Unfortunately Lubuntu Openbox Configuration Manager does not have a "Keyboard" pane. You could install and use xbindkeys-config
graphical tool for remapping keyboard, however I found it confusing and impractical for Lubuntu. No worry - editing key bindings in command line is pretty straightforward:
$ cd $HOME # To got to your home directory
$ find . -name "*lubuntu-rc*" -print # To search for lubuntu-rc.xml file
./.config/openbox/lubuntu-rc.xml
$ vim ./.config/openbox/lubuntu-rc.xml # Open the file with vim editor, you can also use gedit
The beginning of the file says:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
...
Don't worry, you can edit this file. It actually has been copied on creation of your user account and you can safely search for lock screen section, on vim
on command mode use:
/lock
Then you will see something like this:
<!-- Lock the screen on Ctrl + Alt + l-->
<keybind key="C-A-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>
Change it to:
<keybind key="W-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>
the mark <!-- -->
denotes a comment, so you can make notes inside, to be able to remember how to change it back if you wish.
Then save changes, reboot and you'll be able to lock the screen with Windows + L.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
If you want to do modifications to your keybinding in Lubuntu than have a look into less ~/.config/openbox/lubuntu-rc.xml
There you will find all the present key-bindings.
add a comment |Â
up vote
1
down vote
If you want to do modifications to your keybinding in Lubuntu than have a look into less ~/.config/openbox/lubuntu-rc.xml
There you will find all the present key-bindings.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
If you want to do modifications to your keybinding in Lubuntu than have a look into less ~/.config/openbox/lubuntu-rc.xml
There you will find all the present key-bindings.
If you want to do modifications to your keybinding in Lubuntu than have a look into less ~/.config/openbox/lubuntu-rc.xml
There you will find all the present key-bindings.
answered Jan 29 at 8:12
AlexOnLinux
38019
38019
add a comment |Â
add a comment |Â
up vote
0
down vote
accepted
Unfortunately Lubuntu Openbox Configuration Manager does not have a "Keyboard" pane. You could install and use xbindkeys-config
graphical tool for remapping keyboard, however I found it confusing and impractical for Lubuntu. No worry - editing key bindings in command line is pretty straightforward:
$ cd $HOME # To got to your home directory
$ find . -name "*lubuntu-rc*" -print # To search for lubuntu-rc.xml file
./.config/openbox/lubuntu-rc.xml
$ vim ./.config/openbox/lubuntu-rc.xml # Open the file with vim editor, you can also use gedit
The beginning of the file says:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
...
Don't worry, you can edit this file. It actually has been copied on creation of your user account and you can safely search for lock screen section, on vim
on command mode use:
/lock
Then you will see something like this:
<!-- Lock the screen on Ctrl + Alt + l-->
<keybind key="C-A-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>
Change it to:
<keybind key="W-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>
the mark <!-- -->
denotes a comment, so you can make notes inside, to be able to remember how to change it back if you wish.
Then save changes, reboot and you'll be able to lock the screen with Windows + L.
add a comment |Â
up vote
0
down vote
accepted
Unfortunately Lubuntu Openbox Configuration Manager does not have a "Keyboard" pane. You could install and use xbindkeys-config
graphical tool for remapping keyboard, however I found it confusing and impractical for Lubuntu. No worry - editing key bindings in command line is pretty straightforward:
$ cd $HOME # To got to your home directory
$ find . -name "*lubuntu-rc*" -print # To search for lubuntu-rc.xml file
./.config/openbox/lubuntu-rc.xml
$ vim ./.config/openbox/lubuntu-rc.xml # Open the file with vim editor, you can also use gedit
The beginning of the file says:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
...
Don't worry, you can edit this file. It actually has been copied on creation of your user account and you can safely search for lock screen section, on vim
on command mode use:
/lock
Then you will see something like this:
<!-- Lock the screen on Ctrl + Alt + l-->
<keybind key="C-A-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>
Change it to:
<keybind key="W-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>
the mark <!-- -->
denotes a comment, so you can make notes inside, to be able to remember how to change it back if you wish.
Then save changes, reboot and you'll be able to lock the screen with Windows + L.
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Unfortunately Lubuntu Openbox Configuration Manager does not have a "Keyboard" pane. You could install and use xbindkeys-config
graphical tool for remapping keyboard, however I found it confusing and impractical for Lubuntu. No worry - editing key bindings in command line is pretty straightforward:
$ cd $HOME # To got to your home directory
$ find . -name "*lubuntu-rc*" -print # To search for lubuntu-rc.xml file
./.config/openbox/lubuntu-rc.xml
$ vim ./.config/openbox/lubuntu-rc.xml # Open the file with vim editor, you can also use gedit
The beginning of the file says:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
...
Don't worry, you can edit this file. It actually has been copied on creation of your user account and you can safely search for lock screen section, on vim
on command mode use:
/lock
Then you will see something like this:
<!-- Lock the screen on Ctrl + Alt + l-->
<keybind key="C-A-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>
Change it to:
<keybind key="W-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>
the mark <!-- -->
denotes a comment, so you can make notes inside, to be able to remember how to change it back if you wish.
Then save changes, reboot and you'll be able to lock the screen with Windows + L.
Unfortunately Lubuntu Openbox Configuration Manager does not have a "Keyboard" pane. You could install and use xbindkeys-config
graphical tool for remapping keyboard, however I found it confusing and impractical for Lubuntu. No worry - editing key bindings in command line is pretty straightforward:
$ cd $HOME # To got to your home directory
$ find . -name "*lubuntu-rc*" -print # To search for lubuntu-rc.xml file
./.config/openbox/lubuntu-rc.xml
$ vim ./.config/openbox/lubuntu-rc.xml # Open the file with vim editor, you can also use gedit
The beginning of the file says:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
...
Don't worry, you can edit this file. It actually has been copied on creation of your user account and you can safely search for lock screen section, on vim
on command mode use:
/lock
Then you will see something like this:
<!-- Lock the screen on Ctrl + Alt + l-->
<keybind key="C-A-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>
Change it to:
<keybind key="W-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>
the mark <!-- -->
denotes a comment, so you can make notes inside, to be able to remember how to change it back if you wish.
Then save changes, reboot and you'll be able to lock the screen with Windows + L.
edited Jan 29 at 14:20
answered Jan 28 at 19:47
Pawel Debski
76841028
76841028
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000746%2fhow-do-i-change-key-bindings-in-lubuntu-e-g-to-lock-screen-with-super-l-inste%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password