Can _anyone_ shed some light on this weird behaviour of #wmctrl on #Wayland / #XWayland / #Gnome where I usually have to execute this snippet twice?
> wmctrl -x -r code.Code -e 0,0,0,5760,1200
First time it will just move the window to the central screen (triple head setup 🖥️🖥️🖥️) _and maximize_ it.
From there I have to drag it over to the left and execute again before this eventually works and I get my editor over all 3 screens.
I'm totally lost what in this chain of wm magic causes this.
Beko Pharm (deprecated)
in reply to Beko Pharm (deprecated) • • •ĸurth
in reply to Beko Pharm (deprecated) • • •but have you tried it on X to rule out a XW issue? after all wmctrl is a 'native' X tool.
i never had any issues positioning/dimensioning. Gnome is a while back, though.
Beko Pharm (deprecated)
in reply to ĸurth • • •@kurth no. not really. Switched to Wayland years ago and don't even have the full environment installed 🤔 This is why I mention that magic chain. I don't know what makes this work on Wayland. It just does. At the second try at least xD
Think Fedora is even going to drop X completely.
Aarøn 🇪🇺 🇺🇦
in reply to Beko Pharm (deprecated) • • •Maybe it is related to this? github.com/electron/electron/i…
Have similar issues, but only with electron 🤮 bundled "apps". I use sway as window manager, tho.
[Bug]: Electron crashes under Wayland · Issue #39449 · electron/electron
GitHubBeko Pharm (deprecated)
in reply to Aarøn 🇪🇺 🇺🇦 • • •eshep
in reply to Beko Pharm (deprecated) • •Beko Pharm (deprecated)
in reply to eshep • • •@eshep wmctrl is also for X-Window-Manager. No idea what makes it work on Wayland in the first place =)
Can't wrap my head around xdotool but I may try for science 👍
eshep likes this.