Screen Resolution + other questions

Please post all general support questions for LXDE here.
Locked
briantm
Posts: 1
Joined: Mon Sep 29, 2008 9:24 pm

Screen Resolution + other questions

Post by briantm »

I've just installed LXDE on a CLI install of Ubuntu for use with an LCD TV.

Everything is working fine but I can't figure out how to change the screen resolution.

When I try

Code: Select all

sudo dpkg-reconfigure xserver-xorg
it just reconfigures the keyboard settings.

This may be because when I installed I was connected to the TV with a HDMI cable, but have since switched to a VGA cable do to an unsolvable overscan issue.

How do I change the res?



Also, when I try to launch synaptic from the panel nothing happens. I have to run "sudo synaptic" from the terminal. Is there something I can install that will prompt me for the password?

And finally, are there any other non-application packages you would recommend that I install that I will probably need in the future?

Thanks

Brian
stlubuntu
Posts: 2
Joined: Thu Oct 02, 2008 2:38 am

Re: Screen Resolution + other questions

Post by stlubuntu »

Open a terminal and enter

xrandr -s 1024x768

No sudo needed and enter your preferred
resolution in place of 1024x768.

To make it persistent, I entered this line
in the default startup script. This file is
named "default" and is located in:
/etc/xdg/lxsession/LXDE/

I used
sudo nano /etc/xdg/lxsession/LXDE/default
to edit and added this new line to the end.

Hope this helps.
I have also struggled with screen resolution
and this is the only workable solution I was
able to implement.

Also, in case it makes a difference I am using the
ubuntulite implementation of LXDE.

http://ubuntulite.tuxfamily.org
rootcanal
Posts: 1
Joined: Sat Aug 22, 2009 8:55 am

Re: Screen Resolution + other questions

Post by rootcanal »

I just tried fixing it using the xrandr/autostart method and it caused a few problems.

1.) My GDM screen stayed at 1024x768.
2.) Although the desktop was now displaying 1280x1024 like I wanted it, the desktop panel was still seeing the bottom of the screen at 768 pixels. My panel was basically stuck in the middle of my screen even though it said it was at the bottom.

I pulled my hair out for a while then I made a xorg.conf file and it looks like this:

/etc/X11/xorg.conf

Code: Select all

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	DefaultDepth	24
	SubSection "Display"
		Depth 	24
		Modes	"1280x1024" "1024x768" "800x600"
	EndSubSection
EndSection
Everything is working great now! Hopefully this will help anybody else with the same problem.
archibald haddock
Posts: 148
Joined: Sun Jan 11, 2009 6:57 pm

Re: Screen Resolution + other questions

Post by archibald haddock »

I would drop xorg.conf and let HAL and X do the things themselves. They are quite good at it yet.
Just look if you have hal installed and runned by default, move the xorg.conf and start gdm and look, if it runs well and you can change resolution on the run (or more likely, it has been choosed for you yet), configure hal a bit.
Lockheed
Posts: 8
Joined: Wed Sep 02, 2009 4:51 pm

Re: Screen Resolution + other questions

Post by Lockheed »

I have exactly the same problem. I installed ubuntu from mini.iso and then apt-get'ted lxde.
Whenever I restart, LXDE loads with 1600x1400 resolution (max for my monitor) regardless of me setting it every time to 1280x1024.

I tried adding

Code: Select all

xrandr -s 1280x1024
to /etc/xdg/lxsession/LXDE/default but it made no difference whatsoever.

How else can I proceede?
PCMan
Posts: 85
Joined: Mon Oct 06, 2008 9:52 am

Re: Screen Resolution + other questions

Post by PCMan »

Lockheed wrote:I have exactly the same problem. I installed ubuntu from mini.iso and then apt-get'ted lxde.
Whenever I restart, LXDE loads with 1600x1400 resolution (max for my monitor) regardless of me setting it every time to 1280x1024.

I tried adding

Code: Select all

xrandr -s 1280x1024
to /etc/xdg/lxsession/LXDE/default but it made no difference whatsoever.

How else can I proceede?
Try /etc/xdg/lxsession/LXDE/autostart instead.
The file /etc/xdg/lxsession/LXDE/default is deprecated.
Lockheed
Posts: 8
Joined: Wed Sep 02, 2009 4:51 pm

Re: Screen Resolution + other questions

Post by Lockheed »

Great. That helped with resolution.

But how about muted volume?
archibald haddock
Posts: 148
Joined: Sun Jan 11, 2009 6:57 pm

Re: Screen Resolution + other questions

Post by archibald haddock »

Synaptic probably does not start, because your are noot root, while starting it.
You might need to change the command in /usr/share/applications/{SYNAPTIC//dont know what it is} to gksu synaptic.

For muted volumes: http://wiki.archlinux.org/index.php/ALS ... at_startup , but you had not any muted problems in this thread. :?
Locked