8

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.

5

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.

| improve this answer | |
13

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>

to ~/.config/openbox/lxde-rc.xml.

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.

| improve this answer | |
-1

Click on system tools > terminal , right click > add to desktop

| improve this answer | |
  • Welcome to Super User. I think the OP was looking for a keyboard shortcut rather than a permanent icon. – fixer1234 Jan 23 '19 at 10:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.