1

I want to script-start a fullscreen krdc connection on my primary monitor. However, the only control I seem to have over the active screen is the "Active screen follows mouse" option -- which I like, but which isn't helpful for scripts.

The --geometry option doesn't help.

Since I can't trust the active screen, is there another way (EG, environment, kstart) to specify which screen is active for a specific application?

1

You can set manual overrides for things using the Window Rules feature of KDE. The easiest way is to open the program then right click it's title bar and select More Actions then Special Application Settings then adjust the Screen setting to Force and specify the number of the screen, I believe 1 is the primary and 2 would be your secondary monitor.

enter image description here

enter image description here

|improve this answer|||||
  • Thanks, very useful! I had no idea all that kwin stuff existed -- the window matching tab even made it possible to restrict the rule to this specific window. – Autumn Oct 1 '18 at 5:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.