Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Is there a way to have keyboard shortcuts in Lubuntu

  1. #1
    Join Date
    Aug 2009
    Beans
    51

    Is there a way to have keyboard shortcuts in Lubuntu

    I just want to have Ctrl+T as my Terminal shortcut but I dont know how with the Lubuntu distro

  2. #2
    Join Date
    Dec 2009
    Beans
    540
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Is there a way to have keyboard shortcuts in Lubuntu

    check out xbindkeys, I don't believe LXDE comes with a default shortcut option like Gnome.

  3. #3
    Join Date
    Jul 2010
    Location
    All over
    Beans
    1
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Is there a way to have keyboard shortcuts in Lubuntu

    To see what keyboard shortcut bindings are currently set, and to add more without using xbindkeys, you can dig through the following file and edit it:

    /home/<user>/.config/openbox/lxde-rc.xml

    I imagine you can figure it out just fine, but for a quick start, at least on PC hardware,
    A- means "Alt+"
    C- means "Ctrl+"
    S- means "Shift+"
    W- means the "Windows" key
    so, for example, C-A-T is ctrl+alt+"t", which runs a terminal window.

    I found the meat of this information (and a bit more) here, on the lxde forums: http://forum.lxde.org/viewtopic.php?f=8&t=457

    There might be even more on the openbox forums, but I'm happy with this solution.

    Cheers,
    ~George J.

  4. #4
    Join Date
    Jul 2006
    Beans
    1,152

    Re: Is there a way to have keyboard shortcuts in Lubuntu

    As curiousgeorgej said, you don't need xbindkeys for this. Openbox itself can manage keybindings. You might find the official documentation useful as well: http://openbox.org/wiki/Help:Bindings

    Please note that if you use LXDE, you will need to edit the lxde-rc.xml file, and not the rc.xml file that Openbox normally uses and that will be referred to in most documentation.

    To launch a terminal with the keybindings Ctrl T, you would add the following to your (lxde-)rc.xml in the <keyboard> section:

    Code:
    <keybind key="C-t">
        <action name="execute">
            <command>urxvt</command>
          </action>
      </keybind>
    Replace urxvt with whatever terminal you prefer to use.

    You might also be interested in this post I wrote some time ago: http://urukrama.wordpress.com/2008/0...x-keybindings/
    Last edited by urukrama; July 9th, 2010 at 10:34 AM.

  5. #5
    Join Date
    Aug 2010
    Beans
    1

    Re: Is there a way to have keyboard shortcuts in Lubuntu

    Hello,

    I have been using Lubuntu on a P3 700.
    I need to remap some shortcuts.
    But nothing works:

    1. commented out the keybindings in /home/<user>/.config/openbox/lubuntu-rc.xml
    2. renamed above file to lxde-rc.xml

    what gives?

  6. #6
    Join Date
    Jul 2010
    Location
    New Jersey
    Beans
    167
    Distro
    Lubuntu

    Re: Is there a way to have keyboard shortcuts in Lubuntu

    It seems to me the keyboard shortcut support for Lubuntu/LXDE is a joke. You can't use custom commands? And that's if I could get it to actually work, I haven't been able to get anything to work, i got the GUI to display but it doesn't change any of the keys.

    Perhaps I need to log in and out but or restart but I'm just not gonna bother with it.

    EDIT:

    In Lubuntu 10.10 they seem to be working a lot better now, it was a lil try doing the config for the keys but it works now at least.
    Last edited by Gaygerbil; October 11th, 2010 at 05:40 AM.

  7. #7
    Join Date
    Oct 2008
    Beans
    11

    Re: Is there a way to have keyboard shortcuts in Lubuntu

    I modified "lubuntu-rc" instead of "lxde-rc" in the same directory, and it worked.

  8. #8
    Join Date
    Jun 2009
    Location
    Peru
    Beans
    19
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Is there a way to have keyboard shortcuts in Lubuntu

    strange when I tried opensuse 11.3 lxde and modified "lxde-rc" it did nothing. In Lubuntu, however, only "lubuntu-rc" , mentioned by culip, was present and modifying it worked like a charm

    thanks! keeping lubuntu since suse and the massive headaches it gave me were just not for me!

  9. #9
    Join Date
    Feb 2008
    Beans
    86
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Is there a way to have keyboard shortcuts in Lubuntu

    you may have to run

    openbox --reconfigure

    to have openbox reload the configuration file after you've made changes to it.

    HTH,

    Uwe

  10. #10
    Join Date
    Nov 2008
    Beans
    27

    Re: Is there a way to have keyboard shortcuts in Lubuntu

    Anyway, Lubuntu 10.10 is set up already with CTRL+ALT+T to open a terminal (mine was anyway...)

    You can check the keyboard shortcuts already set up by looking at the output of:

    grep -A 2 "<keybind" ~/.config/openbox/lubuntu-rc.xml

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •