Fedora 8 on a Dell Latitude X1

Linux on a Dell Latitude X1

Read the Fedora 8 discussion to make comments and requests about this stuff.

I also have a Fedora Core 4 (FC4) and a Fedora Core 5 (FC5) page (that are/will be partly outdated), with a corresponding old blog entry (FC4, FC5), and a Fedora Core 6 page with an old blog entry.

Oh, and a Fedora 7 (F7) page with discussion/comments.

I use Fedora and KDE.

This page is written using Dokuwiki and the WP-dokuWiki plugin.

Linux on a Dell X1

This is my Fedora 8 page.

Status

Fedora 8 works well on the Dell X1, but for the time being all I can offer is my random ramblings below.

Files

Other resources

Head over to Mauriat Miranda's Personal Fedora 8 Installation Guide and check out all the nice tips there!

Random ramblings

Update the whole thing:

# yum update

Opera:

# yum --nogpgcheck install rpms/opera-9.50b-20071024.6-shared-qt.i386-en.rpm

Emacs was not installed as part of the Scientific tools! Oh man!:

# yum install emacs

Config tool for Compiz-fusion:

# yum install ccsm

(start with ccsm as a normal user)

Trying to find a non-dull mouse cursor theme:

# yum install bluecurve-icon-theme

(worked)

Try to fix the dull gtk theme: http://www.kde-look.org/content/show.php?content=9714

# yum install cmake
# yum install gtk2-devel
$ tar xjf gtk-qt-engine-0.8.tar.bz2
$ cd gtk-qt-engine/
$ ./configure
$ make
# make install

Activate in kcontrol / Appearance and themes / GTK Style and Fonts Worked! (it is also possible to install version 0.7: yum install gtk-qt-engine)

Bluetooth stuff:

# yum install kdebluetooth
# service bluetooth restart
$ kbluetooth

Emerald window decorator:

# yum install emerald-themes

(crashes all the time on my system, so I use kde-window-decorator –replace instead.)

Video stuff:

# yum install xine-lib-extras

Fun:

# yum install glglobe csmash

Spam filter:

# yum install bogofilter

KMail: Tools/Anti-spam Wizard/Bogofilter

RPM Fusion is not yet up and running, in the meantime use Livna:

# rpm -Uvh http://rpm.livna.org/livna-release-8.rpm
# rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
# emacs /etc/yum.repos.d/livna.repo
    enabled=0

Get stuff from Livna:

# yum --enablerepo=livna install mplayer mplayer-gui mplayer-fonts mplayerplug-in kplayer
# yum --enablerepo=livna install kdemultimedia-extras-nonfree k3b-extras-nonfree amarok-extras-nonfree xine-lib-extras-nonfree libtunepimp-extras-nonfree

Unison:

# yum install unison
# yum install kdesvn
# yum install kdeedu

/etc/X11/xorg.conf:

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
# Turn off horizontal scroll:
	Option	    "HorizScrollDelta" "0"
EndSection
 

KMyMoney2

# yum install KMyMoney2

Radialview in Konqueror (new file size view) RadialMap in Konqueror:

# yum install filelight
# yum install yum-changelog
# yum --changelog update

Try to fix flash: My flash plugin does not show any text.

x1:~:# mkdir -p  /usr/X11R6/lib
x1:~:# cd /usr/X11R6/lib
x1:/usr/X11R6/lib:# ln -s /etc/X11/ X11

Didn’t work. Try again (http://www.mjmwired.net/resources/mjm-fedora-f8.html#flash):

# rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
# yum install flash-plugin

Didn’t work. Oh - restart Opera - works!

LaTeX stuff:

# yum install emacs-auctex emacs-auctex-doc
# yum install tetex-xdvi tetex-afm

Gnuplot:

# yum install gnuplot

Closed source binary patent/licence minefield codecs: Get http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2 and

# mkdir -p /usr/lib/codecs/
# tar -jxvf all-20071007.tar.bz2 --strip-components 1 -C /usr/lib/codecs/

Big surprise - I still have trouble getting the sound to work... Fix it:

# ll /dev/dsp
crw-rw----+ 1 root root 14, 3 2007-11-22 19:48 /dev/dsp
# chmod a+rwx /dev/dsp

Java debugger (jdb):

# yum install java-1.7.0-icedtea-devel

Code recognition:

# yum install antlr ant ant-antlr

Java:

# yum install java-sdk xmlrpc jakarta-commons-logging jakarta-commons-el wsdl4j axis
# yum install jakarta-commons-cli jakarta-commons-lang

Arghhh... Java... Try Jython:

# yum install jython

Tagging mp3 (change filename according to id3 tags)

# yum install easytag id3tag

KDE Bluetooth tray icon (formerly kbluetoothd, now kbluetooth):

# yum install kdebluetooth
# service bluetooth restart
$ kbluetooth

LaTeX, pgf and TikZ (to make usepackage{tikz} work):

x1:~:# cd /usr/share/texmf/tex/latex/
x1:/usr/share/texmf/tex/latex:# mv pgf/ xold.pgf-0.65
x1:/usr/share/texmf/tex/latex:# tar xzf ~/tarballs/pgf-1.18.tar.gz
x1:/usr/share/texmf/tex/latex:# mktexlsr

If the LaTeX package is updated, you might get the following error:

ERROR: Undefined control sequence.

--- TeX said ---
l.15 usepgflibrary
                   {plothandlers}
--- HELP ---
# cd /usr/share/texmf/tex/latex/
# mv pgf xold.pgf-0.65.again
# mktexlsr

Note that xold.pgf-0.65 is after pgf in the alphabet.

Try KtikZ:

# yum install qt4-devel poppler-qt4-devel

$ svn://hackenberger.at/svnroot/ktikz
$ cd ktikz/
$ qmake-qt4
$ make

Run it

$ ~/Applications/bin/ktikz

Configure the atrpms repo (needed in order to install MythTV):

echo '[atrpms]
 name=Fedora Core $releasever - $basearch - ATrpms
 baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
 gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
 gpgcheck=1
 enabled=0
' > /etc/yum.repos.d/atrpms.repo

rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms

Install MythTV

# rpm -e --nodeps faad2
# yum --enablerepo=atrpms install faad2
# yum --enablerepo=atrpms install mythtv-suite

Re-add mp3 support:

# yum --enablerepo=livna install xine-lib-extras-nonfree k3b-extras-nonfree kdemultimedia-extras-nonfree amarok-extras-nonfree

Still only nm-applet, and vpn crashes on configuration:

# yum --enablerepo=development,testing install knetworkmanager-*

Use festival and kttsmgr for Text-to-speech:

# yum install festival festival-speechtools-utils festvox-awb-arctic-hts festvox-jmk-arctic-hts festvox-ked-diphone festvox-slt-arctic-hts festival-docs festvox-rms-arctic-hts

# yum install festvox*

Start with kttsmgr (already installed)

Use postfix instead of sendmail:

# yum install postfix
# service sendmail stop
# yum remove sendmail
# cd /etc/postfix/
# emacs main.cf
    myhostname = your.global.host.name.org
    relayhost = smtp.your-isp-smtp-server.com

# alternatives --set mta /usr/sbin/sendmail.postfix
# service postfix start
# echo "test body" | mail -s "test subject" yourname@yourhost.com

Hugin (see also below for the latest version)

# yum install hugin
# yum --enablerepo=livna install autopano-sift-C

Hugin - File - Preferences: X Use alternative Autopano-SIFT program:

  autopano-c-complete.sh
  -c -p %p -o %o %i

Enblend: X Use alternative enblend

  enblend
  -v

Use it: (re)Start hugin: TAB Images:

Add time-series of images... (choose eg. STA_XXXX.jpg, the rest will be added automatically)
Select all images
Select "Create ctrl points"

TAB Control points:

Check and see that there are control points. Click on the "2" tab on the right tab.

TAB Optimizer:

Optimize now!

TAB Stitcher:

Click "Calculate Field of view"
Click "Calculate optimal size"
Stitch the images into a high quality TIFF file.
Click "Stitch now!"

NOTE: Enblend only works when using TIFF (for me).

Use your favorite image viewer to crop and save to your favorite image format.

Voila.

Ok, this works, but to get the latest version, save the following as /etc/yum.repos.d/panorama.repo:

    [panorama]
    name=Panorama $releasever - $basearch
    baseurl=http://bugbear.blackfish.org.uk/~bruno/apt/fedora/linux/$releasever/$basearch/RPMS.panorama/
    enabled=1
    gpgcheck=0

and do

# yum install hugin

go to http://bugbear.blackfish.org.uk/~bruno/apt/fedora/linux/8/i386/RPMS.panorama/ and get the rpms manually

Hugin is great.

Rip radio streams from nrk.no:

yum --enablerepo=livna install streamripper

(ehem, I haven’t got it working yet...)

Try singstar for Linux: Ultrastar NG:

# yum boost-devel cairo-devel pango-devel SDL* xine* gstreamer* libtool librsvg2-devel help2man svg*
$ cvs -d:pserver:anonymous@ultrastar-ng.cvs.sourceforge.net:/cvsroot/ultrastar-ng login
$ cvs -z3 -d:pserver:anonymous@ultrastar-ng.cvs.sourceforge.net:/cvsroot/ultrastar-ng co -P UltraStar-ng
$ cd UltraStar-ng/
$ ./autogen.sh
$ ./configure --with-a-lot-of-options
$ emacs audio/Makefile

change “-lboost_thread” to “-lboost_thread-mt”

$ make
# make install

$ ultrastarng

Tweaks:

High frequency noise from under the laptop, left of the touchpad. In earlier kernel versions it was possible to do

# echo 2 > /sys/module/processor/parameters/max_cstate

but that doesn’t work anymore (with eg. 2.6.24.3-34.fc8). However, adding processor.max_cstate=2 as a boot parameter works. This is my /etc/grub.conf:

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.24.3-34.fc8)
        root (hd0,0)
        kernel /vmlinuz-2.6.24.3-34.fc8 ro root=LABEL=/1 rhgb quiet selinux=0 processor.max_cstate=2
        initrd /initrd-2.6.24.3-34.fc8.img

Install stuff:

# yum install gwenview
# yum install kphotoalbum
# yum install marble
# yum install kdeedu
# yum install kdegames

Try to make video work better under compiz: Read: http://smspillaz.wordpress.com/2007/10/18/unlocking-the-full-video-potential-of-your-video-card/

In ccsm enable the video plugin. Get http://www3.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2, http://smspillaz.googlepages.com/mplayrepatch.patch and http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2, then:

$ tar xjf MPlayer-1.0rc2.tar.bz2
$ mv mplayrepatch.patch MPlayer-1.0rc2/libvo
$ cd MPlayer-1.0rc2/libvo
$ patch -p0 vo_xv.c mplayrepatch.patch
$ patch -p0 vo_xv.c mplayrepatch.patch
$ cd ..

$ less README

$ ./configure --enable-gui --enable-menu --prefix=$HOME/usr/
$ make
$ make install
$ cd ~/usr/share/mplayer/skins/
$ tar xjf Blue-1.7.tar.bz2

Use it:

$ ~/usr/bin/mplayer -vo xv video.avi

Install kde-redhat repository: Get http://apt.kde-redhat.org/apt/kde-redhat/fedora/kde.repo and put it in cd /etc/yum.repos.d/, then:

# yum update
# yum --enablerepo=kde-testing,kde-testing-all,kde-unstable,kde-unstable-all install knetworkmanager

Hm, still not made to the repos...

Mount stuff as normal user over ssh:

# yum install fuse-sshfs

$ mkdir -p ~/mnt/myhost
$ sshfs username@myhost.example.com:
$ ls ~/mnt/myhost

Unmount:

$ fusermount -u ~/mnt/myhost

Other Resources


TuxMobil - Linux on Laptops, Notebooks, PDAs and Mobile Phones Linux On Laptops


Changelog

Date Changes
2008-04-10 Minor ramblings
2008-03-14 Hugin
2008-03-02 Minor stuff
2008-01-01 Links to other resources
2007-11-16 More ramblings
2007-11-13 Update with random ramblings
2007-11-11 Installed Fedora 8

$Id: linux-on-a-dell-x1-aka-samsung-q30-f8.html,v 1.25 2008/04/10 16:37:09 gronslet Exp $
Local Variables:
eval: (ispell-change-dictionary "american")
eval: (auto-fill-mode -1)
eval: (flyspell-mode)
eval: (flyspell-buffer)
End: