How do I force every single GUI element (windows, dialogs, menus etc) to ALWAYS open on the screen it was launched from?
by Red Squirrel from LinuxQuestions.org on (#54P22)
This is one of my absolute worse pet peves with multi monitor setups and it seems no OS maker can get this right. Windows is just as terrible.
Say you are in a program, and you click on something that launches a dialog, every now and then the dialog will end up on another monitor instead of the one I'm actually working off of. Or worse, launching a new application from a desktop icon or start menu, and the window goes in some random place instead of the monitor I'm working on. I've even seen instances where a right click context menu sends the menu on another screen.
How do I fix this permanently and globally? There's too much "it depends" when it comes to this, and I want to get rid of that. I want to make it global. There are window rules you can set in KDE but they seem to only be honoured at random.
Right now it's happening In Firefox where I have a popup ending on on another screen. It's VERY irritating, especially when I don't have access to that screen. I'm working from home and right now that screen is toggled to the work PC. If I change it, it will send all those windows all over the place making a huge mess on my work PC. (a known Windows issue with Displayport) so that is not an option.
So how do I force applications to always open dialogs on the same monitor it was launched from?
If it matters I'm running Kubuntu 20.04.


Say you are in a program, and you click on something that launches a dialog, every now and then the dialog will end up on another monitor instead of the one I'm actually working off of. Or worse, launching a new application from a desktop icon or start menu, and the window goes in some random place instead of the monitor I'm working on. I've even seen instances where a right click context menu sends the menu on another screen.
How do I fix this permanently and globally? There's too much "it depends" when it comes to this, and I want to get rid of that. I want to make it global. There are window rules you can set in KDE but they seem to only be honoured at random.
Right now it's happening In Firefox where I have a popup ending on on another screen. It's VERY irritating, especially when I don't have access to that screen. I'm working from home and right now that screen is toggled to the work PC. If I change it, it will send all those windows all over the place making a huge mess on my work PC. (a known Windows issue with Displayport) so that is not an option.
So how do I force applications to always open dialogs on the same monitor it was launched from?
If it matters I'm running Kubuntu 20.04.