Registered Member
|
Where - and how - does KDE decide what the resolution of my screens should be at log in?
I run "KDE Platform Version 4.14.2" under Debian on a Lenovo ThinkPad T430, and I have two monitors attached - one is the laptop screen, the other is an external one. Until this week it has worked fine; I have them working together as one display. Now, however, when I log in, the two screen are placed on top of each other, both display the same output - ie. I have two cursors, etc, and the resolution is something ridiculously low. I can change it in 'System settings', but only for the current session. Looking online I see suggestions involving krandrrc or similar, but it looks like a hack to me, and since it was working before, it ought to be working now. I can probably fix it by reinstalling the whole system, but I would like to understand what is going on here. |
|
krandrrc should be cruft, kscreen stores its stuff in ~/.kde/share/apps/kscreen/* resp. ~/.local/share/kscreen/* in KDE5 ("ps ax | grep kded", will either say kded4 or kded5) - you could inspect whether one of those files contains the "ridiculous low resolution" (aka VGA?)
If you're on KDE4 and have ~/.kde/share/config/krandrrc (or ~/.kde4/share/config/krandrrc), try to move it away. You may also want to check /var/log/Xorg.0.log on whether you're accidentally using the VGA driver (which is the ultimate failsafe solution, if it's loaded, it should be unloaded and replaced by sth. "better") |
Registered Member
|
Hi luebking,
Thank you for your insight. I don't think it is X - it used to work, and the fact that can manually reconfigure it to work suggests that the driver is loaded. I had a look in the directories you suggested and found:
And they contain:
This looks a lot like python to me, BTW, but I could use a manual for what it means. So, what is listed here is 1 line from each of the four files, and what each line tells corresponds to what I can see in settings, where HDMI3 has a max resolution of 1920x1200 and LVDS1 is 1600x900. What I don't quite understand is why there are four files, all vaguely similar; can I just delete them and then the system will create new ones - and all will be good? Also, I don't understand why it suddenly stopped working - something like 2 weeks ago I suddenly found several things acting strange; my VM (virtualbox) wouldn't start because /usr didn't have the right permissions, my VPN couldn't start because /etc/network/interfaces had lost the network card and only listed loopback, and this problem, where my screens sort of work, but aren't initialised correctly. |
|
Those files reflect the various setups you had, so that when you restore a hardware state, the previous setup (position, rotation, resolution, primary, ...) can be restored.
=> You can delete those files anytime. Python is a whitespace driven language (ie. the amount of leading whitespace controls the code flow) - so this is certainly anything *but* python I'd say the format is JSON. > I don't understand why it suddenly stopped working At least the presented configurations do not explain a "unified" setup. Since there're two different external outputs listed (Samsung & Dell): did one of them enter the stage when the trouble started? Is your current external output in this list? Did you check "xrandr -q" on what the "ridiculous low resolution" actually is? Could also be that "somthing"™ tries to use a resolution common to the outputs (since they also operate in "cloned" or "unified" mode) - eg. XGA? |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient