You are not logged in.
Hello,
is there a way to switch KDE activities from bash?
Maybe something similar to switching desktops like this?
$ xdotool set_desktop --relative -- +1If not, is there a library function for that purpose somewhere that I can utilize with some basic C or Python skills?
Thanks in advance!
Last edited by sillywalks (2021-09-09 06:24:57)
Offline
I don't use KDE any more, but I used to be able to switch activities using qdbus.
Something like this?
qdbus org.kde.kglobalaccel /component/plasma_desktop invokeShortcut "Next Activity"Offline
I don't use KDE any more, but I used to be able to switch activities using qdbus.
Something like this?
qdbus ...
Thanks a lot! :-) Got it working with:
$ qdbus org.kde.ActivityManager /ActivityManager/Activities org.kde.ActivityManager.Activities.NextActivityOffline