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

Maximizing a window only to the current screen

Tags: None
(comma "," separated)
Shiverz
Registered Member
Posts
1
Karma
0
Hello dear KDE Community,

I just recently stared using Kubuntu and I have been fiddling around to get my triple monitor setup working. Everything seems to run fine now, except for one thing:
Whenever I click "Maximize" on a window title bar, the window will maximize over all three screens.

The behavior I'd like to see is that the window maximizes only to the currently active screen (or to the screen the most % of the window is in (or however its determined where to maximize it when it is between 2 screens)).

I tried Enlightenment as window manager just to rule out that its not my nvidia x server settings; here it maximizes just like I want it to.
Don't really know what to look for; didn't find a setting neither in the graphical settings of KWin nor in the the config files.
I'm sure someone here can point me in the right direction. Any kind of help is greatly appreciated.

Kind regards


Some details:
Kubuntu 16.04.1 LTS
2 x Nvidia GeForce GT 730 (no SLI Bridge) // Driver Version 375.26 (latest stable)
Kubuntu Backports (ppa:kubuntu-ppa/backports) installed --- plasmashell 5.8.5

Code: Select all
##### xorg.conf #####
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 375.26  (buildd@lcy01-27)  Thu Dec 15 11:34:48 UTC 2016


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 1920 0
    Screen      1  "Screen1" LeftOf "Screen0"
    Screen      2  "Screen2" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection


Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "WOR TERRA 2446W"
    HorizSync       30.0 - 82.0
    VertRefresh     55.0 - 76.0
EndSection

Section "Monitor"

    # HorizSync source: unknown, VertRefresh source: unknown
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "WOR TERRA 2446W"
    HorizSync       30.0 - 82.0
    VertRefresh     55.0 - 76.0
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "WOR TERRA 2446W"
    HorizSync       30.0 - 82.0
    VertRefresh     55.0 - 76.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 730"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 730"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 730"
    BusID          "PCI:4:0:0"
    Screen          0
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Monitor0" 
EndSection
   
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DVI-D-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
OCD
Registered Member
Posts
4
Karma
0
OS
Hi, I am in the same situation.

I found it didn't matter which distro is used (and I've been through a few testing this). The common element is that they all ran Plasma 5.

2 x Nvidia GeForce 9800 GT (no SLI Bridge) // Driver Version 340.101

Is there a way to get the same maximise action as Plasma 4?

Thank you.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]