Registered Member
|
Hi,
I have a very specific display setup/window handling problem I have not been able to resolve satisfactorily myself. The setting: I have a Lenovo X200 with a pen-based touchscreen which I use for lectures; specifically okular/evince and xournal. When using an external projector I overlap/stack both the internal and the external display and run them in their respective native resolution because only using the smaller external resolution in clone mode for both displays screws up the Wacom stylus behaviour. So there is the following display situation:
Now, when running xournal in fullscreen mode or Okular in presentation mode I would like for them to only expand their windows to the smaller VGA screen size (1024x768 ) and not to the bigger native size of the tablet display (1280x800). In Gnome/Unity I used to do this via special hints in the compiz display configuration. However, since both environments have becoming more and more unstable, erratic and annoying for me wrt. to xrandr switching and panel handling, I'd really like to set up my configuration with KDE which has been very stable and smooth so far. I've tried applying the geometry and window restrictions to the two applications, but they do not seem to apply for fullscreen "windows" as these always expand to the larger screen. Any ideas and help would be much appreciated. Thank you very much, Stephan |
Administrator
|
In the Window Rules, are you setting "Force" or "Force Temporarily" for the "Maximum Size"?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Yes, this works for the normal Window mode in Okular, but when I switched to presentation mode the full screen display was expanded to the maximum size of the LVDS screen, not the 1024x768 that I explicitly stated in the "Force" setup of the Window Rules. I plan to do some experiments with KWin scripting during the weekend and will report the progress I (hopefully) make for future reference.
|
|
The screens do not really overlap, do they?
You just want okular to take the full VGA screen, but it ends up being fullscreen on the tablet. Is that correct? Looks like a bug. Okular creates an extra window (override type...) and that will likely end up on the tablet and "fullscreen" just means "fullscreen" - so what you want to ensure is that the extra okular presentation window ends on the VGA panel. But the rules don't apply on that window, i'll check why. You can however simply "alt+lmb" move the window from one screen to the other (despite it's fullscreen) |
|
Correction: rules apply, but not initially (once you move a forced window t the desired screen, you cannot move it back)
|
|
It sends a configure request after it's mapped
I'll have a patch for kwin. As workaround, aside the screen rule, also enforce a position (topleft corner) that will cause it to end up being on the VGA (should be "0,0" from your ascii art) - that should do |
Registered Member
|
For clarification, the xrandr command line I use is the following:
|
|
No, i fear for the overlapping this wont do. But forcing the size should (in doubt alongside forcing the screen, while it shouldn't matter)
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft