You are not logged in.
Now that we are kind of forced to use Wayland since Plasma 6.4, I have a ton of global shortcuts mapped to scripts like this:
* Meta-F:
wmctrl -xa firefox || exec firefox
* Meta-K:
wmctrl -xa konsole || exec konsole
Since the forced Wayland upgrade, this always starts a new process and does not focus the existing window.
Is there an equivalent way of focusing an application in wayland like we could in Xorg with wmctrl?
Thank you.
Offline
You are not forced to anything. Nobody is stopping you from keeping using X11.
Offline
Well, I said "kind of", because for the moment I fixed by installing plasma-x11-session as suggested in another topic, but I know that is temporary a temporary solution with Xorg reaching end of support.
Ultimately, I will need to find a better solution to keep these Global Shortcuts working.
Last edited by tvidal (Yesterday 16:10:12)
Offline
You are not forced to anything. Nobody is stopping you from keeping using X11.
But it is forced. No new features are coming to X11 and some features are Wayland-only. Some DEs are dropping X11 support (and dropping it way too early imo) instead of allowing either graphical session. Making your own DE just to run X11 would be a lot of work.
Global shortcuts for X11 apps are kind of supported depending on DE, but should be a feature of XWayland imo. Not sure if it's even possible to make a script run under an X11 session so that you do get potential global shortcut support. Might be something hacky you could do like executing a script in Xterm. Not tested it myself.
Probably better to add X11 as default choice in SDDM
Offline