Pages

Saturday, October 29, 2011

ubuntu 11.10 display resolution driver

How change ubuntu 11.10 display resolution settings using xrandr (solved). Now in just a single click, you can change your ubuntu display without too many 'shot!'

Ubuntu 11.10 switched from gdm to lightdm. There is a lightdm folder under /etc with 3 configuration files. Perhaps placing the code there would work?

It seems that lightdm.conf isn’t an appropriate place to put this. It seemed to work fine the first couple of times I restarted, but then it completely froze my system when starting up. I had to log in to the shell and manually edit the file to remove the code just to boot.

For now, I just put it in a text file and set the permissions to allow it to be executable. When I start up, I double click on the text file, select “Run in Terminal” and it executes the code properly. I’m sure there is a way to set this script up to run on start up automatically, but I don’t know it off the top of my head and haven’t had the time to research it yet.

OK for now, if you see in http://malaysian-ubuntu.blogspot.com/2010/09/how-change-ubuntu-display-resolution.html, you got lot of problem especially for newbies. Don-t worry, I already create driver for ubuntu 11.04 and 11.10 display software driver.

Simple script to repair your screen resolution
Author: Myself
License: ubuntu 11.10 display resolution driver LGPL v1
Tested to ubuntu version 11.04 and 11.10

1. Download screen.sh at http://www.ziddu.com/download/17077676/screen.sh.tar.gz.html and extract tar.gz file. You can see readme and screen.sh

2. copy screen.sh to /etc/ or at your /home/your_user_name

3. If you copy to /etc, then shot at terminal:

sh ./etc/screen.sh

4. If you copy to your home folder or destop, just left click and select run or run in terminal

5. Open system setting->displays->choose your display

6. You need to click this driver (method no.4 and no.5) everytime you start your pc/laptop/netbook.

7. If you don't mind, you can set it up at startup applications, then it will automatic run it for you everytime you log in.

8. startup application command:

sh ./etc/screen.sh

or add gksudo if you don't know how to give permission.

gksudo sh ./etc/screen.sh

it will change for you in about 10 second.


Thank you for downloading and testing. This driver is allowed to change or to other use.

currently support screen resolution:
1680x1050
1440x900
1240x1024
1280x800
1024x768




6 ulasan:

kinemagician said...

Sorry, but your script does not work in my case.
I attach below the errors

--------------------------
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 149 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 20
Current serial number in output stream: 20
xrandr: cannot find output "VGA-1"
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 149 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 20
Current serial number in output stream: 20
xrandr: cannot find output "VGA-1"
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 149 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 20
Current serial number in output stream: 20
xrandr: cannot find output "VGA-1"
warning: output VGA-1 not found; ignoring
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 149 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 20
Current serial number in output stream: 20
xrandr: cannot find output "VGA-1"
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 149 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 20
Current serial number in output stream: 20
xrandr: cannot find output "VGA-1"

Liz ^-^ said...

Hi,
I've got the same error :s

ellogan said...

Worked for me, thanks!
Iĺl try to use it on the startup as you explain

ellogan said...

After rebooting all my seetings fail, weird process but once i deleted and rebooted everything worked just fine, I suppose I will try to run it manually everytme I boot

Eezee Studio said...

not working for me...still 800x600

Post a Comment

 
Copyright © Malaysian Ubuntu. All Rights Reserved.
Blogger Template designed by Simple Blogger Tutorials. Distributed by Blogger Templates