May 13, 2024
FOSS developer's first two reactions to problem reports
Defensiveness is a FOSS developer's primary competency. This is clear from reactions to millions of questions/bug reports from many frustrated users, but this one is a champ! Google 'linux screen corruption after resume', and you will get Ubuntu, Mint, and other forum posts about this problem. There is no solution by the enlightened ivory tower dwellers that write the kernel or desktop managers. What they suggest is painfully expected: "Do not sleep your system" or "Upgrade".
Fortunately, users across the globe are already so fed up with this sort of crap that most of them flat out refuse to forego that for which they use their Linux of desktop/driver combination. Kudos and power to the user!
But I found a solution. It is very simple, unobtrusive, and at the fingertips of every user: create a shell script with these two lines, adjust them for your monitor configuration that you can discover from xrandr (needs to be installed), and voila, your screen is back to normal, without logging out, rebooting, or foregoing any nice features:
#!/bin/sh xrandr --output HDMI-1 --off; xrandr --output HDMI-1 --auto; xrandr --output VGA-1 --auto --right-of HDMI-1;
This is it. The enlightened master race that lords over Linux forums should have thought of that, but I found no mention of such solutions except for a single, scarcely upvoted post on Unix Stack Exchange that mentions the 1st 2x lines, but it alone results in the screen becoming duplicated across the monitors instead of extended. The 3d line fixes that.
Posted by: LinuxLies at
08:02 AM
| No Comments
| Add Comment
Post contains 268 words, total size 2 kb.
35 queries taking 0.0586 seconds, 148 records returned.
Powered by Minx 1.1.6c-pink.








