Page 1 of 1
LXDE resolution
Posted: Sun Dec 22, 2013 9:27 pm
by powerlines2000
HI
My daughter and i have set up her pi onto a tft monitor using an HDMI to VGA convertor. The config.txt has been alterd (inc. overscan settings) and the monitor is working fine and the inital display is at the correct resolution.
The problem is that LXDE's resolution wont change.
I have tried:
LXRandR but in says "unable to get monitor information"
Terminal command, xrandr -s 1280x1024 (suggested on another part of this forum) but this is an "uknown command"
Any ideas how we can change LXDE's resolution please?
Noob speak is best

Re: LXDE resolution
Posted: Mon Dec 23, 2013 5:07 am
by Phill Rymer
try right click on LXDE screen
Re: LXDE resolution
Posted: Mon Dec 23, 2013 10:06 am
by powerlines2000
Thanks
I have tried right clicking on desktop and most other things but all menu options and preferences dont allow you to alter resolution.
I also tried altering the above command to "lxrandr" instead of "xrandr" and for that i get "unable to get monitor information"
Cheers
Re: LXDE resolution
Posted: Mon Dec 23, 2013 8:29 pm
by sdjf
I don't have access to it right now, but the man page for lxsession might tell you how to change what it called the geometry in the startup file.
Whatever is starting lxde (is it in /etc/X11?) will have a line starting with lxde, what you can do is put the desired geometry there as part of the startup.
Something like
lxde -geometry=1280x1024 &
You will have to poke around to see where it is getting started from, it might be in your daughter's home directory instead in a startup file there.
Then you might have to sync/reboot for it to take effect. or restart X.
Re: LXDE resolution
Posted: Tue Dec 24, 2013 10:12 am
by powerlines2000
HI
can anyone else nail down a location.
using (lxde -geometry=1280x1024 &) I have looked/added in the following
/ect/xgd/lxsession/LXDE/autostart (tried to add offer line but access denied)
/ect/xgd/lxsession/LXDE/desktop.conf (added line but to know effect)
/ect/x11/(pretty much the whole file and folders but cannot find anything relating to geometry)
Is openbox anything to do with it?
Thanks
Re: LXDE resolution
Posted: Tue Dec 24, 2013 8:27 pm
by sdjf
geometry is a standard option for things in x. I am suggesting finding what starts lxde (and I do not know), and adding the desired geometry on the line that starts up lxde. It would not be inside of lxde or it's files, but outside of it, unless you can find a config file for lxde that declares display size. But in that config file, there would likely be a different syntax.
I would suggest doing the following command to see if you can see what is starting up lxde. I cannot check on my system as I am using openbox instead, and my openbox does not take up any screen real estate at all, it is just there in the background, waiting to be called or used.
grep -r ^lxde /etc/*
Ignore the results showing the files where you added lxde yourself, we are looking for where the system is already starting lxde on it's own, before you tried making changes.
I will check what starts my openbox in X, that might be the same file.
EDIT: I am not clear on what is starting my openbox, but I think you would enter the lxde with geometry in one of the files in /etc/X11/xinit/, I am not sure which file is actually used but that is where I see X starting apps automatically.
Re: LXDE resolution
Posted: Fri Dec 27, 2013 11:05 am
by powerlines2000
HI
I ran the Grep code and i only get one which is the one that i put in myself.
Openbox seems to have nothing mentioning geometry.
Any other ideas?
Thanks