Page 1 of 1
Setting correct default resolution?
Posted: Tue Aug 06, 2019 9:46 am
by richardstephens
My laptop supports 1400x1050, and yet lxde always starts up with 1280x768, which I then change have to manually with lxrandr. I've tried to get lxde to start up with the correct resolution, by including the line
xrandr -s 1400x1050
in my /etc/xdg/lxsession/LXDE/default file, but it doesn't help. How do I force lxde to start up with 1400x1050 resolution?
Thanks,
Re: Setting correct default resolution?
Posted: Tue Aug 06, 2019 12:05 pm
by drooly
Welcome!
Do you know that that line is being executed at all?
I don't see a file by that name at all.
I also think you should prefer your home directory for adjustments like that.
So try /home/richardstephens/.config/lxsession/LXDE/autostart instead.
You can modify that line to write info to a file:
Code: Select all
xrandr -s 1400x1050 > /home/richardstephens/.config/lxsession/LXDE/log.txt 2>&1
That said, your Xorg should just recognize the correct resolution.
Please show us
Code: Select all
lspci -k | grep -iEA5 'vga|3d|display'
uname -rmv
cat /etc/*release*
Re: Setting correct default resolution?
Posted: Tue Oct 08, 2019 8:10 pm
by kenmartin
In 4.6 at least I have simply done the following from a shell prompt. Type in:
xrandr
It will show available resolutions and the current one set. To change it:
xrandr -s hhhhxvvvv where hhhhxvvvy comes from the list.
When you do make this change it only changes it for the logged in user I believe.
Re: Setting correct default resolution?
Posted: Sun Dec 29, 2019 9:04 pm
by jovitit
richardstephens wrote:My laptop supports 1400x1050, and yet lxde always starts up with 1280x768, which I then change have to manually with lxrandr. I've tried to get lxde to start up with the correct resolution, by including the line
xrandr -s 1400x1050
in my /etc/xdg/lxsession/LXDE/default file, but it doesn't help. How do I force lxde to start up with 1400x1050 resolution?
Thanks,
Hi buddy, any follow up on this? Trying something similar at my end.
Regards,
Jimi Smith