Hi I am new to GNU/Linux. I searched the web and saw that the most common shortcut to the terminal is Ctrl+Alt+T, however this doesn’t work for me.
This prompts two questions. First, do the shortcut keys depend on the desktop environment or on the Linux distribution?
Second, how can I add a custom shortcut to an specific program in LXDE (in this case the LX terminal)?
PS: In LXDE I can’t see the option “shortcut key” or something similar right-clicking on a
.desktop file and going to properties. Also going to shortcuts and gestures in system settings, I see that I can add a custom shortcut, but I don’t know how to point it to the LX terminal.
Key bindings come mostly from desktop environment, although linux distributions may set some “default” in config files.
You can point to “LX terminal” by the name of its program which is called
lxterminal. For example inside LX terminal you can write ‘lxterminal’ to run another instance/window of terminal.
If you use LXDE, open box, and you want to bind ctrl+alt+t to open the
LXTerminal, you need to add
<!-- Launch LXTerminal with Ctrl+Alt+t--> <keybind key="C-A-t"> <action name="Execute"> <command>lxterminal</command> </action> </keybind>
Key bindings are found in the
<keyboard> section of your rc.xml configuration file. Any bindings outside of that section are not valid and will be ignored.
I also had same problem while running LXDE on rpi.
For me it started working when I added following lines into
“~/.config/openbox/lxde-pi-rc.xml” this file.
<keybind key="C-A-t"> <action name="Execute"> <command>lxterminal</command> </action> </keybind>
Click on system tools > terminal , right click > add to desktop