timothycrosley / streamdeck-ui

A Linux compatible UI for the Elgato Stream Deck.
https://timothycrosley.github.io/streamdeck-ui/
MIT License
1.12k stars 240 forks source link

Switching Workspaces #309

Closed justbenuk closed 1 year ago

justbenuk commented 1 year ago

I like to use my streamdeck to switch workspaces, My current keymaps are Super(1 to 5). if I press them on my keyboard all works as expected. If I press them on the streamdeck it opens the activities window (same as when you press just the super key)

I have set the streamdeck to press cmd+1 to change to workspace space one. But it just opens the activities window instead of moving to workspace 1 Expected behavior A clear and concise description of what you expected to happen.

I am currently running Manjaro Gnome

My streamdeck is the MK.2, XL

oparada1988 commented 1 year ago

Have you tried using xev to determine the key keysym number? for super+1 should be:

0xffe9+0x31

for super+1(numpad)

0xffe9+0xffb1

edit, forgot those are for my keypad, yours should be different. to determine super prest alt, then super.

justbenuk commented 1 year ago

I have tried that also and still doesn't change to the next screen

justbenuk commented 1 year ago

So I managed to work around it by changing the keybindings to something else. Normally its Super + 1to5, I changed to use alt + f1 to f5 and it worked as expected

keilmillerjr commented 1 year ago

I can confirm this issue. cmd+2 and cmd+0x32 (using xev) both yield only a super keypress. Can we re-open this issue?

Using the streamdeck-ui package 2.0.15-1 (latest git commit).

System:
  Kernel: 6.2.9-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
  Desktop: GNOME v: 43.4 tk: GTK v: 3.24.37 wm: gnome-shell dm: GDM v: 43.0
    Distro: Arch Linux
keilmillerjr commented 1 year ago

A workaround is using the xdotool utility.

command: xdotool key super+2