» Change more display settings in Ubuntu

It's no secret I like Ubuntu the best. But what strikes me as odd, is that it does not come standard with a good tool to change the display settings. Sure, you can change the Screen Resolution, but what about cloning to another device, extending the desktop to a second screen, changing the driver, or adjusting the refresh rates to enable more resolutions? There currently is no graphical way to do this in GNOME, so for this you had to manually change the X config file, or run a third party tool like nvidia-settings. But now I found a great GTK tool that can do it for you.

Say what?

Changing the monitor, it's drivers or its refresh rates can often open up more possible screen resolutions to choose from. For instance, I had a beamer connected to an Ubuntu workstation. However, I could not get higher resolutions than 640x480, until I defined what device was connected to my video card, and what refresh rates it had. Once I hacked it into the /etc/x11/xorg.conf file, it was all good. But that seems to be so 1998.

I noticed that Red Hat (RHEL5) did come with a solid tool to adjust these settings, and since that was GNOME too, I wanted to find a similar package for Ubuntu.

Turned out there was a great tool available through standard repository that:

  • was called DisplayConfigGTK,
  • works perfectly on Ubuntu (tested it with Feisty)
  • can be easily installed using apt(itude), or Synaptic

I will show you how to install the tool with Synaptic. And then how to use it. Don't worry, this is really going to be a piece of cake.

1. OK, let's install

Installing is really easy with Synaptic. This is the procedure as a flash video:

Get the Flash Player to see this player.

So let's recap:

  1. Click on the System -> Administration -> Synaptic Package Manager menu
  2. Click the Search button type displayconfig, and click Search again
  3. Right click on displayconfig-gtk and click Mark for Installation
  4. Click Apply, and Apply again, the installation begins
  5. Click Close

Also close the Synaptic Package Manager, and the Screen Preferences tool is now installed. Great. Ready to use it?

2. How to Run & Use it

Again, a walk in the park. Here's the flash video:

Get the Flash Player to see this player.

No real need to recap, just press ALT+F2, type displayconfig-gtk and press Run.

And that's it! Now we could adjust almost every display setting there is.
In tab 1 we saw:

  • Changing Screen resolutions
  • Changing the Refresh rate
  • Adjusting Rotation

In tab 2 we saw:

  • Cloning to other devices (TVs, beamers)
  • Defining additional screens
  • Extending the desktop to other screens

In tab 3 we saw:

  • Setting the right drivers for every device

And you can first press the Test button before saving the changes, a really nice feature of course.

Additional benefits

This program has got a built-in failsafe mechanism for every time you screw up your X display settings.

Usually when I play around with with compiz-fusion I end up breaking X at some point. So I've encountered my fair share of blue X screens reporting something is wrong with either my driver or my display settings, preventing X from starting normally.

But not this time. Instead of a nasty blue Xorg warning, I was shown a nice DisplayConfigGTK dialog, which allowed me to reconfigure my xorg.conf graphically, and when I saved?... Everything was back to normal again!

Wow! So I did some extra investigating and found: "Furthermore this tool is required for a failsafe mode of the X server to correct misconfigurations." on the DisplayConfigGTK Wiki.

Well that's an awesome improvement in usability, and I think this will put an end to scaring off so much people that are playing around with Ubuntu for the first time. Because the first time I saw that blue X warning, it almost scared me back to Windows, I really didn't know what to do about it, except for reinstalling ;)

On that same Wiki page by the way, I also found that DisplayConfigGTK is going to come standard with the new Ubuntu release: Gutsy (7.10), so it looks like they've read my mind already ;) Well anyway, Gutsy is not going to be here/stable for a few months so enjoy DisplayConfigGTK in Feisty!


Like this article?

   Then Digg it!
Or use another bookmark button below to show your support &
help me spread the word.


tags: ubuntu, display, gnome, GTK, DisplayConfigGTK
category: How to - Desktop
read: 11,304 times

Add comment

» Currently away on vacation. I can reply your message the 24th of July 2008. Please post anyway and check back then. Thank you!

for syntax highlighting

[CODE="Javascript"]
your_code_here();
[/CODE]

Replace "Javascript"
with "php", "text", etc.
code (to make sure you are not a spammer)

Comments

#8. triple5 on 16 March 2008

triple5This did not exactly work for me, no

* Cloning to other devices (TVs, beamers)
* Defining additional screens
* Extending the desktop to other screens
... [more] in tab two...

Is this because of my graphics card?

#7. Ram on 28 September 2007

RamHi Kevin,
Thanks. I have posted but havent got anything useful yet. I will try some other option.

#6. Kevin on 28 September 2007

Kevin@ Ram: Thanks for taking an interest Ram, but I think I'm not the right guy for the job since I don't use gdesklets, nor do i use a proxy. So maybe you can see if there's a topic over at ubuntuforums.org, and ask your question there?

#5. Ram on 28 September 2007

RamHi,
Thanks for the guide. It made my screen a lot better. Though this is not the right place I request you to write an article about enabling proxy support for gdesklets as they by default do not support proxy. No help is available in forums also. The patch seems to be here. http://cvs.opensolaris.org/source/xref/jds/spec-files/trunk/patches/gdesklets-07-proxy.diff
but i donot know how to get it working. It will be an useful article for lot of new bees like me. I also contacted the author of patch but cannot get through what he says. Here is what he says.
This patch modifies Downloader.py. This file seems to be installed to:
/usr/lib/gdesklets/shell/plugins/PackageInstaller/Downloader.py
... [more]
You could try modifying the installed version of this file. You could do
it manually or download the file and apply the patch:
$ cd /usr/lib/gdesklets
$ su
# patch -p1 < /path/to/gdesklets-07-proxy.diff

If it gives an error then it was not able to find the file and editing
manually might be easier.

On my system the python script is compiled into Downloader.pyc and
Downloader.pyo. These might need to be recreated, but I'm not sure how.In the same directory as downloader.py is downloader.pyc and downloader.pyo.
I suggest renaming the pyc and pyo files. This might force the py file to be compiled

#4. Kevin on 25 September 2007

Kevin@ Spike: Thanks for noticing, I've updated the article.

#3. Spike on 25 September 2007

Spikedisplayconfiggtk and system-config-display are not the sametools.

#2. Kevin on 24 September 2007

Kevin@ Serge: Yes, I've written that in the article as well: "On that same Wiki page by the way, I also found that DisplayConfigGTK is going to come standard with the new Ubuntu release: Gutsy (7.10), so it looks like they've read my mind already ;) Well anyway, Gutsy is not going to be here/stable for a few months so enjoy DisplayConfigGTK in Feisty!"

#1. Serge van Ginderachter on 24 September 2007

Serge van GinderachterDid you look into the new Display config tools integrated in the upcoming Gutsy Gibbon release?