This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] switching advanced window settings in kde3.4.0-b

Tags: None
(comma "," separated)
jbloch
Registered Member
Posts
2
Karma
0
OS
Hello there. I am trying to find a way to switch the screen an app is forced onto with a script or something.

I.e.: I have a window setting that keeps all of the windows of a certain app on one of my desktops. I would like to be able to click a button or run something that changes which desktop the app is forced onto, so that I can open a second instance of the app on another desktop. This needs to be a 1-click or keyboard-shortcut solution. It would also be really cool if I can see which destop is set currently.

Thanks for any suggestions!

-jeremy
jbloch
Registered Member
Posts
2
Karma
0
OS
I figured it out. Remarkable that this info is as obscure as it is.

to get the setting into the file (in my case the rule is in group '13'):
kwriteconfig --file kwinrulesrc --group 13 --key desktop 1

to get kwin to reload the settings from the file:
dcop kwin default reconfigure


I just put these two lines into a couple of aliases, with different values for the 'desktop' key.

-jeremy


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]