Super_L and Super_R [Solved]

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
harlekein

Super_L and Super_R [Solved]

Post by harlekein »

I have installed Mint 17 on my laptop, when I wish to use the super key to get the menu on my laptop I have to set it to Super_L. When I plug in my external keyboard I have to set it to Super_R.

Is there a way to bind both keys to this function?

Is there a way to add the menu button action through a new custom shortcut?

I found dconf editor and looked at org.cinnamon.muffin.keybindings. This particular shortcut isn't there. I figure if I can find where the value is stroed, perhaps I could change it to "Super".
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
harlekein

Re: Super_L and Super_R

Post by harlekein »

With xev I found out that on my keyboard Super_L has keycode 133 and Super_R has keycode 134. So I tried to remap 134 to Super_L:

Code: Select all

xmodmap -e "keycode 134 = Super_L"
This does give the following:

Code: Select all

KeyRelease event, serial 40, synthetic NO, window 0x4600001,
    root 0x9d, subw 0x0, time 21683599, (86,222), root:(87,295),
    state 0x50, keycode 134 (keysym 0xffeb, Super_L), same_screen YES,
    XKeysymToKeycode returns keycode: 133
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
But it does not trigger the menu like Super_L does.
harlekein

Re: Super_L and Super_R

Post by harlekein »

No ideas?
anandrkris

Re: Super_L and Super_R

Post by anandrkris »

https://github.com/linuxmint/Cinnamon/issues/630 > This has been fixed in github and should be available in next release. That is, both menu keys are mapped by default and can be changed in Menu Applet settings, if desired.
Workaroundsuggested in this comment.
HTH.
harlekein

Re: Super_L and Super_R

Post by harlekein »

Thank you very much this information!
Locked

Return to “Cinnamon”