Registered Member
|
I'd want to assign few window actions for single shortcut. In particular, I'd want to move current window to desktop N and switch to this desktop N.
How to? I have tried to find appropriate dbus commands but have found one for the second step only: qdbus org.kde.kwin /KWin org.kde.KWin.setCurrentDesktop 1 How to move current window? Would it be possible, I can just call any commands I want in bash script and assign a shortcut for the script executing. More common. Is there some kind of documentation related to advanced KDE windows manipulation from user's perspective? |
Registered Member
|
OK, have found. Without any KDE-specifics:
Here the script argument is just desktop number starting form 0. So you can, say, assign 'Win+1' shortcut to 'theScriptName 0'. |
Registered Member
|
Nice trick. Seems it's pretty useful and powerful thing
|
Registered Member
|
There is a problem when no app's window is selected (i.e. desktop is selected). I'm on the way to resolve this issue. Will report later...
|
Registered Member
|
This is the next version. I'm not bash script writer. Any critics is appreciated.
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]