Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying a bunch of alternative desktops that come with Debian 11 in a VM (gnome-boxes).
All of the desktops I tried (XFCE, Gnome Flashback, Cinnamon) can change the screen resolution, but if I do it in KDE, the screen just flickers a bit and gives up -- doesn't even show a prompt to keep the new resolution.
Is this a known problem, and is there a solution to this?
This is a shot in the dark, as I've never used gnome-boxes, but I have encountered a similar issue in VirtualBox a smattering of times.
I have been able to resolve it (with one exception, I think) by cycling through the display types (VMSVGA, VBoxVGA, VBoxSVGA, etc.) in the settings for the VM. I would shut down the VM, change the display type, and reboot to test the new selection.
This is a shot in the dark, as I've never used gnome-boxes, but I have encountered a similar issue in VirtualBox a smattering of times.
I have been able to resolve it (with one exception, I think) by cycling through the display types (VMSVGA, VBoxVGA, VBoxSVGA, etc.) in the settings for the VM. I would shut down the VM, change the display type, and reboot to test the new selection.
I don't think Gnome Boxes has this option (I couldn't find it). Debian 11 dropped VirtualBox. So I can't use it (easily).
I have openSUSE (with KDE desktop) running in a VM, and needed to provide an explicit display mode for it. I first used xrandr to create and set the required display mode (1920x1080) on the fly, and subsequently made it permanent with a minimal xorg.conf...
I have openSUSE (with KDE desktop) running in a VM, and needed to provide an explicit display mode for it. I first used xrandr to create and set the required display mode (1920x1080) on the fly, and subsequently made it permanent with a minimal xorg.conf...
Isn't that what actually allows you to change screen resolutions in KDE?
KScreen is KDE's tool for managing X display configuration. It doesn't always work as expected. There are other tools, including the originals, /etc/X11/xorg.conf, and its newer variant, /etc/X11/xorg.conf.d/*.conf. It can take as little as the following /etc/X11/xorg.conf to override broken automagic failing to use a display's native 1920x1080 mode:
Code:
Section "Device"
Identifier "DDev"
EndSection
Section "Monitor"
Identifier "DMon"
# HorizSync 30-86 # may be needed if EDID broken
# VertRefresh 56-76 # may be needed if EDID broken
Option "PreferredMode" "1920x1080"
EndSection
Section "Screen"
Identifier "DScr"
Device "DDev"
Monitor "DMon"
EndSection
I remember doing stuff like this when installing Debian >10 years ago (and what drove me to Ubuntu at the time). But I thought we were past this?
For the most part yes (courtesy of EDID), but I just documented what I found necessary when VirtualBox didn't advertise the native display resolution of my laptop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.