Window control on wayland

I am having issues controlling/tiling windows using keyboard shortcuts in the input simulation action. I attached the code for the action also
No description
33 Replies
Terrorwolf
Terrorwolf4w ago
@Oliemanq what is the shortcut you use exactly on the keyboard? Could you try Super instead of Meta?
nekename
nekename4w ago
are you using Wayland
Oliemanq
OliemanqOP4w ago
I am on wayland, and I installed the experimental thing that has been linked somewhere for wayland support I am trying to use Meta/Super + arrow keys for the shortcut Is there an easier way to do window management on linux? Like is there some plugin like the windows ones? Id understand if there wasn't since x11 vs wayland vs xorg seems like such a big difference it would be a pain to maintain
nekename
nekename4w ago
x11 and xorg are not different, x11 is the protocol and xorg is basically the only current implementation probably the problem is kde vs gnome vs every other DE/WM anyway, try installing this version of the plugin https://vault.amankhanna.me/#/send/9LaCFQjPTEmZ8oIuAlXYVA/YSxmBZdhw4Tz0x8MTdSzoQ make sure to restart opendeck after installing
Oliemanq
OliemanqOP4w ago
I think I already had that installed I found that somewhere
nekename
nekename4w ago
oh OK, makes sense you were getting that prompt then uhh idk then...
Terrorwolf
Terrorwolf4w ago
Currently there is no plugin for Linux. Also I don't know if its really possible since every tiling Manager/ Window Manager would be different and posibbly would need its own implementation (either in form of its own plugin or all in one action) I currently use just Input Simulation for it.
Oliemanq
OliemanqOP4w ago
With your setup, are you just using like meta + arrow keys? Cause mine really doesn’t want to activate shortcuts
Terrorwolf
Terrorwolf4w ago
I am using this:
No description
Terrorwolf
Terrorwolf4w ago
Just checked, it also works with Meta instead of Super But I am on Arch Gnome X11.
Oliemanq
OliemanqOP4w ago
ah it worked... not sure why it worked now but it does
Terrorwolf
Terrorwolf4w ago
Did you try my solution? If yes, then Maybe it was the difference that you put a press and release on the arrow key and I used a click
Oliemanq
OliemanqOP4w ago
One thing that seems to be happening, I have the button set to a multi action where it triggers the window movement and then switches back to the default screen. However, its triggering the button on the default screen yeah yours worked Like its triggering the button behind it when it switches screens
Terrorwolf
Terrorwolf4w ago
what do you mean, switches back to default screen?
Oliemanq
OliemanqOP4w ago
like, I have two pages set up. One is the default screen with all my normal buttons, and the other is just the window stuff
No description
No description
Terrorwolf
Terrorwolf4w ago
ah. ok. you mean the profile with screen.
Oliemanq
OliemanqOP4w ago
yeah wasn't sure what the terminology was
Terrorwolf
Terrorwolf4w ago
so in the multiaction you have from top to bottom the move window and then switch back to the profile?
Oliemanq
OliemanqOP4w ago
So, when I hit the top button on the move profile, the one overlaping with skip back, it triggers the one that overlaps with it after switching profiles
Terrorwolf
Terrorwolf4w ago
thats interresting. could you try putting the input simulation in the key up field and see if that works?
Oliemanq
OliemanqOP4w ago
Heres a video of it happening
Oliemanq
OliemanqOP4w ago
you can also see the skip back stays down for some reason It should already be there, its a multi action with the input simulation and switch profile
Terrorwolf
Terrorwolf4w ago
the switch profile is the last thing in the multi action?
Oliemanq
OliemanqOP4w ago
ive tried both both trigger it
Terrorwolf
Terrorwolf4w ago
the multiaction has nothing to do if the input simulation is on key down or up.
Oliemanq
OliemanqOP4w ago
oh I get what youre saying now Ok it does still trigger it
Terrorwolf
Terrorwolf4w ago
Could you try putting an empty input simulation as a third thing below the switching profile (which should be then the middle one)?
Oliemanq
OliemanqOP4w ago
and for some reason it still treats the skip back button as pressed, even though it doesnt switch screens till after the key is released didnt fix it
Terrorwolf
Terrorwolf4w ago
interresting. I am not home anymore, but will try later if I can reproduce this issue ok.
Oliemanq
OliemanqOP4w ago
ok sounds good
Terrorwolf
Terrorwolf4w ago
ok. Problem is reproducible for me on my device. I have testet it with the brightness action and switch profile. When only switch Profile is used then it works as expected.
Oliemanq
OliemanqOP4w ago
Yeah I tested it a bit more, it seems like its when switch profile is used within multi action doesnt matter what else is in it, it just always happens and that also causes the weird visual bugs with the button staying pressed visually
Terrorwolf
Terrorwolf4w ago
Yeah. The same I also got from my testing

Did you find this page helpful?