Ubuntu Fan

life with ubuntu on a thinkpad T40

Archive for the ‘General Linux’ Category

Beryl. Take 2.

Posted by ubuntufan on April 6, 2007

In case you haven’t read, I received my new T40 the other day. I decided to install Ubuntu Feisty on it instead of Edgy, mainly because I read that it had built in support for XGL and Beryl/Compiz goodies. Once installed, I started poking around. Navigating to system->preferences, I noticed a new option called Desktop Effects

effects1.png

This worked! Well it sort of worked. I was getting odd behavior where menu items weren’t showing up in some windows. NOTHING was showing up in a terminal, I mean not even typed text. But hey, the windows wobbled and the cube was there. I figured that I was on the right track. So for fun, I fed The Google “Feisty T40” to see what got regurgitated . The first hit I got was a link to a thread on the Ubuntu Forums telling the requester, who was having the same issue, to type the following 2 commands.

gconftool-2 --type int --set /apps/compiz/general/screen0/options/hsize 4

gconftool-2 --type int --set /apps/compiz/general/screen0/options/number_of_desktops 1

I figured it was worth a shot. BAM! It worked. I like these cool effects, I’m a eye candy weenie I suppose. For a couple of days I was happy…then I thought I’d give full blown Beryl a shot. I mean, I’m basically there right?

So this morning my Dad and I have a 9:00am tee time. As I sit here drinking my coffee, I opened up a terminal window and type.
sudo apt-get install beryl beryl-manager emerald-themes

After a few minutes I try to launch beryl-manager…….VIOLA!  It works. Now I don’t know what I was missing with my last T40, but I couldn’t get this to work for anything. The folks working on Feisty have done an outstanding job putting this together and I’m thankful.

On a side note, I hear that the shipit site was down with a message that they would be back shortly shipping shiny new Feisty CDs, but I can’t verify that as it appears to be back to normal now.

Here’s a screenshot.

The Cube

Dale

Posted in Beryl, General Linux, Thinkpad, ubuntu | 10 Comments »

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

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

My New T40!

Posted by ubuntufan on April 2, 2007

I just received my new Thinkpad T40. I know, it’s a few yrs old and there are better laptops for running Linux, but I really like it. I purchased it from one of those off-lease liquidation shops on ebay. I must say, I’m pleasently surprised at the condition. It looks almost new…seriously. For $400 I get 1.5gHz Centrino, 512megs of RAM, CD-RW/DVD combo, 40gig HD, 802.11g integrated wifi…the works. What a great deal. I have another 512 megs of RAM to stick into it when I get it home. That will help.

This system came preloaded with PCLinux…not too familiar with that distro, but it’s KDE and I don’t think it will make it through the night. I was afraid that I’d have to change the name of the blog to “Life With Ubuntu on a D600” until I found this little gem. I’m so excited I can hardly contain myself…..

Dale

Posted in General Linux, Laptop, Thinkpad | 4 Comments »