Well, recently I kind of found a workaround for the issue we, not just me, are having with a wrong display resolution at Kubuntu's startup. It's pretty simple, it's like clicking krandrtray in 9.10 with KDE 4.3.x, but Kubuntu runs a short script at startup instead.
You open Kate or Kwrite and type these lines...
What it means is...
Execute xrandr (what handles screen resolution and refresh rate) size pos_1/width/height and xrandr refresh rate 70 (Hz).
How do you get the correct position value that you must insert before forward slash?
Just type xrandr in Konsole and it will show you a table with all available resolutions and their respective acceptable refresh rates. The * marks the current refresh rate.
The resolution sizes are set like this...
Size 0 would be your monitor highest resolution, Size 1 would be the second highest resolution available and so on.
OK, you saved the script and possibly named it something like display.sh.
What's next?
Go to System Settings > Advanced Tab > Autostart.
There click on Add Script... and a new dialog window will appear on screen.
Enter the path to your file... (Remember the file named display.sh? Guess what, that's what you need to find now.)
If you clicked on OK, then a new script file will be listed there. Under Run On column select Pre-KDE startup from the drop-down menu.
FINAL STEP
Now you're ready to restart your PC and test this workaround.
NOTES
The login screen will use the same screen resolution that drives you mad... but the rest will work pretty fine IMHO.
What will this small script do?
It will automatically resize the screen resolution and set your preferred refresh rate at once, just after the screen changes from login to splash screen. Once you can see your desktop, everything should be fine, I mean, it shouldn't look so messy anymore.
You open Kate or Kwrite and type these lines...
Code:
#!/bin/sh exec xrandr -s 1/1024x768 && xrandr -r 70
Execute xrandr (what handles screen resolution and refresh rate) size pos_1/width/height and xrandr refresh rate 70 (Hz).
Code:
#!/bin/sh exec xrandr -s size_position/widthxheight && xrandr -r rate
Just type xrandr in Konsole and it will show you a table with all available resolutions and their respective acceptable refresh rates. The * marks the current refresh rate.
The resolution sizes are set like this...
Size 0 would be your monitor highest resolution, Size 1 would be the second highest resolution available and so on.
OK, you saved the script and possibly named it something like display.sh.
What's next?
Go to System Settings > Advanced Tab > Autostart.
There click on Add Script... and a new dialog window will appear on screen.
Enter the path to your file... (Remember the file named display.sh? Guess what, that's what you need to find now.)
If you clicked on OK, then a new script file will be listed there. Under Run On column select Pre-KDE startup from the drop-down menu.
FINAL STEP
Now you're ready to restart your PC and test this workaround.
NOTES
The login screen will use the same screen resolution that drives you mad... but the rest will work pretty fine IMHO.
What will this small script do?
It will automatically resize the screen resolution and set your preferred refresh rate at once, just after the screen changes from login to splash screen. Once you can see your desktop, everything should be fine, I mean, it shouldn't look so messy anymore.
Comment