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

kingblue
Posts: 4
Joined: Thu Apr 20, 2023 8:11 am

Re: Maximize an application window takes over all screens

Post by kingblue »

What's wrong?

free games
JamieOhara321
Posts: 5
Joined: Wed Jul 05, 2023 9:13 am

Re: Maximize an application window takes over all screens

Post by JamieOhara321 »

If you have multiple screens connected to your computer, maximizing a window will typically make it occupy the full screen of the monitor it is currently active on,io games rather than spanning across all screens simultaneously.
bekeanloinse
Posts: 4
Joined: Sat Jul 15, 2023 3:31 am

Re: Maximize an application window takes over all screens

Post by bekeanloinse »

In an attempt to disable the screensaver feature, which has become obsolete in today's modern display landscape, I initially disabled it through the "Preferences" menu option. Unfortunately, this approach proved inconsistent, as my three monitors continued to go blank after a certain period of time. Seeking a more definitive solution, I decided to remove xscreensaver using the "dpkg fnf --purge xscreensaver" command.
salmawisoky
Posts: 1
Joined: Fri Aug 18, 2023 1:52 pm

Re: Maximize an application window takes over all screens

Post by salmawisoky »

To maximize an application window and have it take over all screens in a multi-monitor setup, you can follow these steps:

1. Ensure that your computer is connected to multiple monitors and that they are properly configured as an extended display.

1. Locate the application window that you want to maximize across all screens. Drift Boss

1. Click and hold the title bar of the application window.

1. Drag the window to the top edge of one of your screens and release the mouse button. This action will maximize the window on that screen.

1. With the window now maximized on one screen, take your mouse cursor to the top edge of the screen until it turns into a double-headed arrow.

1. Click and drag the window towards the other monitor. As you drag, the window should move across screens.

1. Once the window reaches the edge of the first monitor, it should automatically snap and maximize on the second monitor, taking over the entire screen.

By following these steps, you should be able to maximize an application window across multiple screens, effectively utilizing all available screen space.
herrylauu
Posts: 2
Joined: Sat May 20, 2023 1:07 am

Re: Maximize an application window takes over all screens

Post by herrylauu »

Click the maximize button (usually represented by a square icon) in the upper-right corner of the application window. Some operating systems, like Windows, might allow the window to span across multiple screens when maximized.
stumble guys
bekeanloinse
Posts: 4
Joined: Sat Jul 15, 2023 3:31 am

Re: Maximize an application window takes over all screens

Post by bekeanloinse »

Thank you for these helpful tips for me. wordle
Post Reply