resolution changes itself when i reboot or close session
-
- Posts: 10
- Joined: 22. Jul 2013, 21:12
- Location: Khorasan, between Syria and Irak.
resolution changes itself when i reboot or close session
Resolution changes itself to a default 1920x1080 every time i reboot or close session ... i can't keep another resolution except this, and i tried VGA , HDMI, DVI, and even the propietary Nvidia driver...
Re: resolution changes itself when i reboot or close session
Try searching the forum for xrandr. If you can fix your problem this way, then you can set it up to do so automatically at boot. I had a similar problem which was ahrdware-related - that monitor was on the way out.
Re: resolution changes itself when i reboot or close session
Something that could be relevant here. I use the following script when I first start xorg or connect to an external monitor.
I hope this is somehow helpful
Code: Select all
#!/bin/bash
if [ `xrandr | grep -c ' connected '` -eq 2 ]; then # dual monitor
if [ `xrandr | grep -c 'VGA-0 connected'` -eq 1 ]; then
xrandr --output LVDS --auto --primary --output VGA-0 --auto --right-of LVDS
fi
if [ `xrandr | grep -c 'HDMI-0 connected'` -eq 1 ]; then
xrandr --output LVDS --auto --primary --output HDMI-0 --auto --right-of LVDS
fi
# xsetroot -solid \#333333
else
xrandr --output LVDS --auto --primary --output VGA-0 --off --output HDMI-0 --off
# feh --bg-center ~/Pictures/Wallpapers/kiwi-wallpaper.jpg
fi