Windows-like global shortcuts with the <Super> key in Xubuntu

10,043

I had the same issue and I finally resolved it. Since there is no way to solve this with Xfce alone, one needs the small tool ksuperkey. It was originally developed for KDE, but it works fine on other desktops. You basically install ksuperkey or compile it yourself, and bind your menu to "alt+f1". Once you run ksuperkey, the superkey will behave as one would expect. I highly recommend to put this tool into some form of autostart, so that ksuperkey gets started on startup. Set it and forget it!

Share:
10,043

Related videos on Youtube

Vitor Py
Author by

Vitor Py

Updated on September 18, 2022

Comments

  • Vitor Py
    Vitor Py over 1 year

    I would to define Windows-like shortcuts using the Super ("Windows") key. I'm running Xubuntu 11.04 (Natty).

    Using Settings->Settings Manager->Windows Manager->Keyboard I assigned Super+D to "Show desktop".

    Then, using Settings->Settings Manager->Keyboard->Applications Shortcut I assigned Super+E to thunar. So far, everything works perfectly.

    But, at least, I'd like the Super key when pressed alone to open the Applications Menu but, being Super a modifier key I wasn't able to assign it alone to a shortcut. For reference this problem is also described here.

    Based on this forum post I used to xmodmap to make it behave like a normal key - ie. not a modifier key. And guess what, it works. Sorta.

    Super alone works perfectly. Super+E still opens thunar but also opens the Applications Menu. Super+D no longers works at all.

    Of course, I can just remove my .Xmodmap file and assign a Super+A or similar to Applications Menu. But if there's a way to get just Super working it would be great.

    Can someone shed some light on this issue?

    • charlie-tca
      charlie-tca almost 13 years
      Have you tried adding both shortcuts to the same place? Try setting Super + D in Keyboard shortcuts, maybe?
    • Bruno Pereira
      Bruno Pereira about 12 years
      Hello, this question has no information and activity for a very long time. I am closing it for now. If by any reason you think this question is still viable or useful in anyways or that there is still a good chance it will be answered please flag it to a moderator or add a comment with the reasons why you want it open. Regards
    • Severus Tux
      Severus Tux about 8 years
      Please reopen this Question. Reasons : this is still an existing problem in Xubuntu. How Set Super key for Application and super+D for Desktop is nowhere mentioned.
  • Vitor Py
    Vitor Py almost 13 years
    Removing the xmodmap modification and the Super_L shortcut to the Applications Menu doesn't work. Pressing Super alone does nothing.
  • charlie-tca
    charlie-tca almost 13 years
    In Ubuntu Natty super key is used for the menu. The same is not true for other distributions. Xubuntu does not use Unity, and does not use the shortcuts assigned by Unity.
  • Doug
    Doug over 7 years
    That was one of the only things I didn't like about Xubuntu, I could map all shortcuts the way I like (to emulate the default ArchBang Openbox shortcuts), and still wanted the Super key to access the menu. What I ended up living with is using alt-F3 for my applications search (dmenu?).
  • okoloBasii
    okoloBasii over 7 years
    For Xubuntu 16.04. See 'Settings Manager' > 'Window Manager' > 'Keyboard'