Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: ltrk on October 31, 2020, 04:54:00 AM

Title: App windows running off screen; display seems offset from center
Post by: ltrk on October 31, 2020, 04:54:00 AM
Iḿ running coreplus 9.x
I recently switched from xvesa to xorg.
Xorg starts with a high resolution that makes the text too small. I could not figure how to change system font size so I just lowered the resolution using xrandr.
Now the core icon that was initially at the center of the screen is shifted right and down. Apps start with their windows at the edges of the screen. The terminal window starts at a corner with just enough height for the x,min.max buttons to be visible. Some app dialogs (e.g. Libreoffice) show up taller than the screen.
For some reason apps dont seem to see the screen size correctly -thats my guess.

tks,
ltrk
Title: Re: App windows running off screen; display seems offset from center
Post by: Juanito on October 31, 2020, 05:28:28 AM
It might be better to make an xorg.conf snippet like this:
Code: [Select]
$ cat /usr/local/share/X11/xorg.conf.d/10-screen.conf
Section "Device"
        Identifier      "broadcom"
        Driver         "modesetting"
        Option          "HDMI-1" "u2720q"
EndSection

Section "Monitor"
        Identifier      "u2720q"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device        "broadcom"
        Monitor       "u2720q"
        DefaultDepth  24
        SubSection "Display"
                Depth          24
                Modes         "1920x1080" "1280x1024"  "1024x768"
        EndSubSection
EndSection
..the example sets an RPi screen to 1920x1080, but by reference to your /var/log/Xorg.0.log, you should be able to substitute the values for your hardware.
Title: Re: App windows running off screen; display seems offset from center
Post by: Rich on October 31, 2020, 08:35:59 AM
Hi ltrk
... Now the core icon that was initially at the center of the screen is shifted right and down. ...
By any chance, if you slide the mouse pointer all the way (hard) against the right or bottom edge of the screen, does
the desktop move left or up?