Maximize an application window takes over all screens

Please post all general support questions for LXDE here.
Post Reply
blastwave
Posts: 1
Joined: Tue Nov 22, 2022 6:51 pm

Maximize an application window takes over all screens

Post by blastwave »

Code: Select all


Dear LXDE folks : 

    I have been happy to use LXDE as my desktop for many years and in general it
just works perfectly. Lightweight and without any silly gimmicks. One feature I
disable is the screensaver. It was a wonderful idea in the days of a CRT and
even the DEC VT100 but we just do not see flying toasters that much anymore. I
try to disable the screensaver from the "Preferences" menu option but for some
obscure reason that app is a hit or miss affair. My screens, three monitors, all
go blank after some period of time. Very strange. So I did the draconian measure
of simply "dpkg --purge xscreensaver" from my system. I did see a warning :

    dpkg: warning: while removing xscreensaver, directory '/usr/share/fonts/xscreensaver' not empty so not removed

I won't need that anymore right? So I rm that out of existence also. Hot on the
heels of that was this : 

# dpkg --purge xscreensaver-data    
(Reading database ... 257188 files and directories currently installed.)
Removing xscreensaver-data (6.02+dfsg1-2+b1) ...
Purging configuration files for xscreensaver-data (6.02+dfsg1-2+b1) ...
Processing triggers for man-db (2.11.0-1+b1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
#

No problem. The screensaver is gone from my system. To be safe on the next login
this was cleaned up : 

$ cat /etc/xdg/lxsession/LXDE/autostart
@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
$ 

The xscreensaver line was removed. 

    * * *  H E R E    C O M E S    T H E    P R O B L E M  * * * 

A new behavior now exists wherein any app that I maximize will take over all
three monitors. I have the usual stuff from "xdpyinfo" : 

$ xdpyinfo
name of display:    :0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    12101004
X.Org version: 1.21.1.4
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x5000020, revert to PointerRoot
number of extensions:    30
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    DRI2
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    NV-CONTROL
    NV-GLX
    Present
    RANDR
    RECORD
    RENDER
    SECURITY
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-VidModeExtension
    XINERAMA
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    5760x1080 pixels (1573x292 millimeters)
  resolution:    93x94 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x304
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store WHEN MAPPED, save-unders NO
  largest cursor:    256x256
  current input event mask:    0x7a803f
    KeyPressMask             KeyReleaseMask           ButtonPressMask          
    ButtonReleaseMask        EnterWindowMask          LeaveWindowMask          
    ExposureMask             StructureNotifyMask      SubstructureNotifyMask   
    SubstructureRedirectMask FocusChangeMask          PropertyChangeMask       
  number of visuals:    276
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    11 bits
  visual:
    visual id:    0x22
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    11 bits
.
.
.

    That large width is the result of three monitors side by side. 

Also, some applications, when I hit "full screen" now center on the middle of
the three monitors and that is a new bizarre feature. Is this an LXDE issue or
something in OpenBox or even lower into X11?  I will try the holy grail of dumb
stupid things and actually logout and backin to see if the "Microsoft Method"
does any change. 

Oh, also, if I launch an application like gimp or firefox or thunderbird or just
about anything then the application appears on some random location way off to
the left on monitor 1 or perhaps on some other monitor but it DOES NOT appear on
the monitor where I expect it to be. 

Any input would be great as I doubt screensaver was a magic bullet. 

Lastly .. any way to have a compositor auto-start ?  If I do not have that then
all my XTerms begin to shake and jiggle and dance madly. This may be of some
value : 


sedna$ cat $HOME/.config/compton/compton.conf
shadow=false
fading=false
backend="glx"
paint-on-overlay=true
glx-no-stencil=true
vsync="opengl-swc"


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

Post Reply