Ubuntu Fan

life with ubuntu on a thinkpad T40

Archive for the ‘displays’ Category

Dual Display on Dell Latitude D600

Posted by ubuntufan on April 4, 2007

Most of you know that I have been using a Dell Latitude D600 at my new job. It’s not a bad little system. I do like the 1400×1050 resolution. Anyhoo, I needed to get dual displays working so I could drive an external 19″ LCD as well as use the real estate of the laptops LCD while I’m at my desk. I wrote a previous post on detecting dual displays and switching the xorg.conf but never got around to posting my actual xorg.conf file. Withour further delay, here it is:


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg


Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection


Section "Module"
Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection


Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility 9000 M9 (R250 Lf)"
Driver "ati"
BusID "PCI:1:0:0"
Screen 0
Option "DRI" "true"
Option "ColorTilling" "on"
Option "EnablePageFlip" "true"
Option "AccelMethode" "EXA"
Option "XAANoOffscreenPixmaps" "true"
Option "RenderAccel" "true"
Option "AGPMode" "8"
Option "AGPFastWrite" "on"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility 9000 M9 (R250 Lf) 2"
Driver "ati"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Monitor"
Identifier "Laptop Monitor"
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Acer Monitor"
VendorName "Acer"
ModelName "SyncMaster 900NF"
HorizSync 30-86
VertRefresh 50-160
Option "DPMS"
EndSection

Section "Screen"
Identifier "Laptop Screen"
Device "ATI Technologies, Inc. Radeon Mobility 9000 M9 (R250 Lf)"
Monitor "Laptop Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 4
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 8
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 15
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 16
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 24
Modes "1400x1050"
EndSubSection
EndSection

Section "Screen"
Identifier "Acer Screen"
Device "ATI Technologies, Inc. Radeon Mobility 9000 M9 (R250 Lf) 2"
Monitor "Acer Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "ServerFlags"
Option "Xinerama" "ON"
EndSection

Section "ServerLayout"
Identifier "Dualhead Layout"
Screen 0 "Laptop Screen" 0 0
Screen 1 "Acer Screen" RightOf "Laptop Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
Option "AIGLX" "true"
EndSection

Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "false"
EndSection

I’m not doing anything fancy here. I do like the fact that I can have the displays running different resolutions and drag windows back and forth. This was a bit troublesome on my old T40. I think it was because I wasn’t using Xinerama but I can’t recall. I’ll have to try this out on my new T40…..pictures of the new laptop soon.

Dale

Advertisements

Posted in displays, General Linux, Laptop, ubuntu, xorg | 4 Comments »

A Beryl of Monkeys

Posted by ubuntufan on December 29, 2006

I have been tinkering and googling for ways to get beryl to run on my T40. I figured it should be at least somewhat capable of running it. I’ve seen posts where folks have it working, but alas, I just can’t get it to come up. It always shuts down the X server or just won’t launch the x server. So I punted. I have other boxes at home. One is a P4 2.4 or something like that with about a gig of ram or so. It has a matrox card in it. I installed Dapper and gave it a go. No luck there either. Crazy.  So I thought to myself “should I bite the bullet and put it on my beloved main desktop box?”. Granted the beloved box is a few years old and not as fast as some of today’s powerhouse systems. But it’s got plenty of ram and a cool Quadro 980 video card. What the hell. I downloaded the latest nvidia driver and got it installed. When I checked glxgears, I was getting something like 7000 fps. Wow, I thought, that should do it. I followed all the instructions for installing beryl and emerald-themes, rebooted, crossed fingers, opened terminal, typed beryl-manager, crossed fingers again, gently pressed enter and then…….beauty revealed itself. I love it. I mean it’s a lot of eye candy and some if ain’t all that necessary, but it is REALLY cool. The transparency that is actually transparent and not just a duplicate of the desktop background. The neat little wiggle when you move things around, the effects when  you minimize and maximize. Oh and the cube. I’ll admit that I thought the cube was stupid when I saw the screenshots. Once I used it, I started using multiple desktops more often. It really is nice. I’m learning some little trick about the interface all the time. If you stuff the mouse pointer in the upper right corner, you get thumbnails of all your open windows, similar to os x f9. Alt-Tab is pretty cool and a little 3d-ish. I can’t wait to get familiar enough with it to quit oogling at it and do some real work 🙂

Dale

Posted in Beryl, displays, General Linux, ubuntu | 1 Comment »

Get a Little Synergy

Posted by ubuntufan on December 12, 2006

At work I have a laptop with an external LCD that I have setup using a Two-Head display. I like it a lot. Unfortunately, we use MS Exchange servers and Evolution doesn’t really work that well for me. The solution I came up with is to use my G4 Powerbook and run Entourage for email. I also decided to move instant messaging over there as well using Adium. My only real complaint is having to use 2 keyboards/pointing devices. Enter Synergy! Synergy is a great little client server application that uses the network to share a keyboard and mouse from the server to any number of clients. How cool is that? I downloaded the package, for the Mac, from sourceforge ( http://sourceforge.net/projects/synergy2/ ) and unzipped it into my home directory. Configuration is fairly simple though, I’ll admit I had a few problems that I can’t explain. I’ll go over the basic config and testing procedures that got me up and running.

I used apt to install Synergy on my laptop by opening a terminal window and typing sudo apt-get install synergy next a config file needed to be configured, this where I had a little trouble but I’ll chalk it up to being late, and me having had a beer or 3. Below is the config file and a little explanation. (synergy.conf)

section: screens #define screens
madpenguin:
badapple:
end
section: links
madpenguin: #madpenguin is the server
right = badapple
badapple: #badapple
left = madpenguin
end

basically, it’s as simple as it looks. Madpenguin is my T40 which is the server. Badapple is my powerbook. Badapple is to the right of madpenguin. Once I had that straight, I just type synergys (server) from the console. On the powerbook, I run the client by typing synergyc madpenguin. That’s it. Now one mouse and keyboard does it all. I did make the mistake of launching the server from my left most monitor and that presented some odd issues but it was quickly resolved by shutting down the server and launching it from the right monitor.

Dale

Posted in displays, ubuntu | Leave a Comment »