You are not logged in.

#1 2020-05-04 09:02:30

860lacov
Member
Registered: 2020-05-02
Posts: 476

[SOLVED]How to setup xfce superkey to whisker menu open at key release

I moved (actually trying to move) from Arch based distribution to Arch.

There was default system shortcut - left super key to whisker menu open. I changed xfce windows manager tweaks to use super instead alt to change windows sizes.
In the system I used it was ok.
I could press and release super key and whisker menu popped up.
Or press and hold whisker super key ant with right mouse button I could change widnows size.

I thought that it is as easy as configure shortcut in keybord shortucts xfce4-popup-whiskermenu but it's not.
With xfce4-popup-whiskermenu bonded to super key I can open whisker menu but I can't resize windows because whisker menu pops up immediately after key press.

I check my previous system live boot and there is no shortcut for super key

I believe that it can be connected to xmodmap or/and xcape but I don't know how to figure it out.

Last edited by 860lacov (2020-05-04 22:53:30)

Offline

#2 2020-05-04 11:45:44

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED]How to setup xfce superkey to whisker menu open at key release

It was perhaps this tool here:

https://github.com/hanschen/ksuperkey

There is an AUR package for it.

Offline

#3 2020-05-04 16:51:14

860lacov
Member
Registered: 2020-05-02
Posts: 476

Re: [SOLVED]How to setup xfce superkey to whisker menu open at key release

It seems that it was xcape.

I found the 'tutorial' with solution like that:
Bind Alt+F1 keys to xfce4-popup-whiskermenu and run command xcape -e 'Super_L=Alt_L|F1'
Works flawlessly but I don't know how to make it permanent. Do I need to create a systemd service or there could be something simpler?

Offline

#4 2020-05-04 18:03:59

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED]How to setup xfce superkey to whisker menu open at key release

In XFCE's settings tool, go into the "Session and Startup" section, then select the "Application Autostart" tab. You will have an "Add" button at the bottom of the list to add your own autostart entry for xcape.

Offline

Board footer

Powered by FluxBB