this post was submitted on 12 Mar 2024
6 points (100.0% liked)
KDE
5389 readers
257 users here now
KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.
Plasma 6 Bugs
If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.
If it hasn't, report it yourself.
PLEASE THINK CAREFULLY BEFORE POSTING HERE.
Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thank you!
This is what I came up with.
So you'd save the scripts somewhere you like, and run the
useThisSession
one in the session you'd like to be the target.Then, you can run / bind to a shortcut / ... the
runCommand
script, and it will show, raise, set Session, and run the command on the target saved earlier.useThisSession.sh
:runCommand.sh
:For testing purposes, I'm using
"echo cmd"
instead of'!!'
(note the different type of quotes) to not cause any... unintended... executions.Running
qdbus $MYCMD_SERVICE /konsole/MainWindow_$MYCMD_WINDOW
will show you all methods available on the Window, eg, so you can pick&choose from those if you want different behaviour from show (& un-minimize) and raise.EDIT: syntax adjusted to work in 'regular' bash
Great! Anyway, still far from what you can get with tmux or kitty with just a line in the config...