Fedora Core 6 on a Dell Latitude X1
Read the FC6 blog entry 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).
I’ve been using my Dell Latitude X1 for quite some time now, and have tweaked some stuff to make it just the way I want. I use Fedora Core and KDE.
This page is written using Dokuwiki and the WP-dokuWiki plugin.
Here I will write some text that makes sense, in order to get the status section below start below the table of contents.
Yet, I have nothing smart to write here.
But it will come to me.
I think.
Status
| Status | |
|---|---|
| Works | WiFi (ipw2200, needs firmware) |
| Works | Suspend to RAM (must press Fn-UpArrow to turn on display) |
| Works | Hibernate (suspend to disk) (no need for 915resolution) |
| Works | DRI |
| Works | 3D desktop: Compiz or Beryl (AIGLX) |
| Works | Sound |
| Works | Secure Digital Slot |
| Works | Compact Flash Slot |
| Works | Externally attached USB DVD Writer |
More to come... |
|
I’ve made my decision, and will wipe my Windows drive to test the new GNU/Linux Fedora Core 6 (pre). I downloaded it using bittorrent from here. More on Fedora Core Testing here.
Sorry: I though I could squeeze in a minimal installation on my 3GB partition, but that didn’t work... damn. (Therefore I tried Kubuntu 6.10 Beta, which installed fine. Can’t say everything worked out of the box with Kubuntu either though...)
Update: I decided to install the pre-release over my Fedora Core 5 installation. See below.
Update: Moved from Fedora Core 6 pre-release to Fedora Core 6 stable (Zod) (quick and easy1) )
Backup the working partition
System backup of root partition: Log out, login as root in a text console. On my system /, /boot/ and /home/ are different partitions.
# init 1 # cat /dev/zero > /tempfile.dat # rm /tempfile.dat # dd bs=512 count=1 if=/dev/hda of=/home/root-partition-table-hda-2006-10-05.mbr # fdisk -l > /home/root-partition-table-hda-fdisk-2006-10-05.txt # dd if=/dev/hda2 | dd bs=1M | dd bs=1M | bzip2 > /home/boot-partition-hda2-2006-03-25.partition # mount -o remount,ro / (if this doesn't work, reboot and add "1" to the boot options) # dd if=/dev/hda3 | dd bs=1M | dd bs=1M | bzip2 > /home/root-partition-hda3-2006-03-25.partition # mount -o remount,rw / # tar cjf /home/gronslet-home-fc5-2006-10-05.tar.bz2 /home/gronslet/
To put the partition back: I’ve not tried yet. I’ll figure it out, but in principle we have all we need now.
Install Fedora Core 6 (Pre)
UPDATE: Installation of Fedora Core 6 is more smooth.
Boot from the DVD.
I did a full install, wiped my root partition, but kept my /home/ partition. I chose “permissive” mode for SELinux (but disabled it later through the kernel parameters). My keyboard stopped working during installation, so I was not able to create my user account, but I did this manually from a console later (before logging on to X):
# useradd -d /home/gronslet/ gronslet # passwd gronslet
Networking
Wired Network
Just works. I use knetworkmanager - see below
WiFi and KNetworkManager
Get the firmware from sourceforge.net and install it:
# cd /lib/firmware/ # tar xzf /root/tarballs/ipw2200-fw-3.0.tgz # mv ipw2200-fw-3.0/* . # rmdir ipw2200-fw-3.0/
# modprobe -r ipw2200 # modprobe ipw2200 # dmesg|tail
(confirm that ipw2200 loaded without problems...)
Install knetworkmanager2):
# yum install knetworkmanager
Make sure NetworkManager is running3):
# service NetworkManager start # service NetworkManagerDispatcher start
As a normal user, start knetworkmanager:
$ knetworkmanager
(You will also find it in the K-menu under “System”)
Bluetooth
Install bluetooth support in KDE:
# yum install kdebluetooth
As a normal user (logged in to KDE), run
$ kbluetoothd
and find the bluetooth icon in the system tray. It integrates with konqueror. Works great. Be sure to have the bluetooth device turned on in BIOS, and that wireless/bluetooth is active (blue led - turn on with Fn-F2). Note that not all X1 laptops are shipped with bluetooth chip.
UPDATE: I had some problems with pairing my phone with the computer, until I discovered bluetooth-applet (GNOME applet). It seems to me that this applet overrides the pin_helper setting in /etc/bluetooth/hcid.conf. Using this applet is actually the only way I was able to make my laptop visible to other devices. See also bug 137647.
Card Reader
Compact Flash (CF)
Works out of the box. The KDE Daemon/KDE Media Manager/KDE Media Notifier Daemon/whatever it is called - pops up on card insertion.
Secure Digital (SD)
Works out of the box. The KDE Daemon/KDE Media Manager/KDE Media Notifier Daemon/whatever it is called - pops up on card insertion.
Enable 1280x768 resolution
The Easy Way
UPDATE: Unfortunately, I have not managed to get this “easy way” working yet (I get a screen lockup on resume), so I stick with the “old way” below for now. You, however, should try this way and report back your findings :)
Thanks to mark (and others) for letting me know the good news about the Intel driver. Getting 1280×768 is now straight forward. Be sure to have something like this in you /etc/X11/xorg.conf (see mine in the files section):
Section "Device" Identifier "Videocard0" #Driver "i810" # comment out Driver "intel" VendorName "Videocard vendor" BoardName "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller" Option "XAANoOffscreenPixmaps" # Not sure about this VideoRam 65536 # Not sure about this #Option "ForceBIOS" "1024x768=1280x768" # must be commented out #Option "VBERestore" "true"# must be commented out EndSection
This works with suspend to ram and suspend to disk (hibernate). Even the text consoles survives. Not sure in what versions of the X server this functionality was first working, but as of writing this, I am using kernel 2.6.18-1.2869.fc6 and xorg-x11-server-Xorg-1.1.1-47.4.fc6 (and in fact beryl-kde-0.1.4-2.fc6).
(The old way)
This is the way we did it before (see above for the new way): From Steve Tomljenovic download the latest version of 915resolution, and install it:
# tar xzf 915resolution-x.x.x.tar.gz # cd 915resolution-x.x.x # less README.txt # make # make install # 915resolution -l # 915resolution 3c 1280 768
I chose to patch the 3c mode because I figured I’d never use that resolution. Change this if you want.
Add this line to /etc/rc.d/rc.local:
/usr/sbin/915resolution 3c 1280 768
This will take effect the next time you log in to X. rc.local is run each time you boot - if you don’t want to reboot, just “source” the file:
# source /etc/rc.d/rc.local
and log out and in to X.
TIP: I had to re-enable the “System Tray”: Right click the panel, unlock panels, Panel Menu, Add Applet to Panel, choose “System Tray”.
Enable Special Keys
Enable the Dell Multimedia/Special Keys
Edit /etc/sysconfig/keyboard according to
KEYBOARDTYPE="pc" KEYTABLE="no" # The '122' doesn't seem to matter - another keycode will be assigned # See also/usr/src/linux/include/linux/input.h # Screen brightness keys: do nothing (prevent extraneous kernel logs) /usr/bin/setkeycodes e005 122 /usr/bin/setkeycodes e006 122 # Battery key /usr/bin/setkeycodes e007 122 # Wireless on/off key: do nothing (prevent extraneous kernel logs) /usr/bin/setkeycodes e008 122 # Eject media key: /usr/bin/setkeycodes e009 122 # Dell Latitude X1 "Fn-F1/Hibernate" button: /usr/bin/setkeycodes e00a 123
and /etc/X11/Xmodmap according to
! See also /usr/lib/X11/XKeysymDB ! See also /etc/X11/xkb/symbols/inet keycode 160 = XF86AudioMute keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume keycode 162 = XF86AudioPlay keycode 144 = XF86AudioPrev keycode 153 = XF86AudioNext keycode 164 = XF86AudioStop ! Stand by button Fn-ESC !keycode xxx = XF86Sleep ! Hibernate button Fn-F1 !keycode 165 = F30 ! Wireless button (Wi-Fi button) Fn-F2 keycode 172 = F32 ! Battery button Fn-F3 !keycode 171 = F33 keycode 129 = F33 ! CRT/LCD button Fn-F8 keycode 231 = XF86Video ! Eject button Fn-F10 keycode 173 = XF86Eject ! Increase Brightness Fn-UpArrow keycode 168 = XF86BrightnessAdjust ! Decrease Brightness Fn-DownArrow keycode 169 = XF86BrightnessAdjust ! Make the windows key work ! (works out of the box in FC6. No, not with Norwegian layout and nodeadkeys): add mod4 = Super_L
UPDATE: If you enable Keyboard layouts in kcontrol, the above will not work. But that’s no problem if you choose the keyboard model “Laptop/notebook Dell Inspiron 6xxx/8xxx”. Keyboard layouts are handy if you are switching between for example Qwerty/Dvorak or Norwegian/English.
Enable Direct Rendering (DRI)
Edit /etc/X11/xorg.conf and make sure these lines are in place:
Section "Module"
...
Load "dri"
EndSection
...
Section "DRI"
Mode 0666
EndSection
(not the “...“.) There are a lot of other stuff that could go in here - see my files section. You need to log out and in again in order to make this take effect. Check if DRI was enabled by
$ glxinfo ... direct rendering: Yes ...
You can check the performance with
$ glxgears libGL warning: 3D driver claims to not support visual 0x5b ... 421 frames in 5.0 seconds = 84.187 FPS
This was in a maximized window (not -fullscreen). If you know anything about the warning, please let me know.
UPDATE: Ian gave me a tip on how to get rid of this error - I have not tested it myself yet.
More RPM Repositories
In order to get the most out of your installation you need to enable some extra repositories - after that installing new programs is usually as easy as doing a
# yum install PROGRAM
You might want to use the “Package Manager” under “System” in the K-menu.
To list the available packages in a given repository:
# yum --disablerepo=* --enablerepo DESIREDREPO list
The FreshRPMs Repository
Enable the Freshrpms repository4):
# rpm -ihv http://ayo.freshrpms.net/fedora/linux/6/i386/RPMS.freshrpms/freshrpms-release-1.1-1.fc.noarch.rpm
Disable the repo, because it conflicts with Livna. Change /etc/yum.repos.d/freshrpms.repo according to
enabled=0
To use it, invoke
# yum --enablerepo freshrpms install PROGRAM # yum --enablerepo freshrpms update
The Livna Repository
Enable the Livna repository5):
# rpm -ihv http://rpm.livna.org/fedora/5/i386/livna-release-5-8.noarch.rpm
Remember that the livna repo conflicts with the FreshRPMS repo, so only use one at the time.
The KDE Repository
Put http://apt.kde-redhat.org/apt/kde-redhat/fedora/kde.repo in /etc/yum.repos.d/kde.repo. And update your system:
# cd /etc/yum.repos.d/ # wget http://apt.kde-redhat.org/apt/kde-redhat/fedora/kde.repo # rpm --import http://kde-redhat.sourceforge.net/gpg-pubkey-ff6382fa-3e1ab2ca # yum update
RPMS for KDE 3.5.5 is available in this repository :)
Security
DenyHosts
Automatic
Update. You can now simply do a
# yum install denyhosts # emacs /etc/denyhosts.cfg # setup # activate the system service 'denyhosts' # service denyhosts start # (start the service)
Manual
Download DenyHosts from sourceforge.net and install it:
# rpm -Uvh rpms/DenyHosts-2.5-python2.4.noarch.rpm
Configure it:
# cd /usr/share/denyhosts/ # cp denyhosts.cfg-dist denyhosts.cfg # cp daemon-control-dist daemon-control # chown root daemon-control # chmod 700 daemon-control
In /usr/share/denyhosts/denyhosts.cfg comment out6):
# SECURE_LOG=/private/var/log/system.log
Start it and make it start automatically:
# /usr/share/denyhosts/daemon-control start # cd /etc/init.d/ # ln -s /usr/share/denyhosts/daemon-control denyhosts # chkconfig --add denyhosts # tail /var/log/denyhosts # tail /etc/hosts.deny # ln -s /usr/share/denyhosts/denyhosts.cfg /etc/
If you happen to block yourself, in /usr/share/denyhosts/denyhosts.cfg enable this option:
ALLOWED_HOSTS_HOSTNAME_LOOKUP=YES
and add the IP that should be unblocked like this
# cd /usr/share/denyhosts/data/ # echo X.X.X.X >> allowed-hosts # ln -s /usr/share/denyhosts/data/allowed-hosts /etc/
Kernel Parameters
These are my kernel parameters in /etc/grub.conf (symlinked to /boot/grub/grub.conf): quiet showopts vga=773 selinux=0. That means that it looks something like this:
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2708.fc6)
root (hd0,1)
kernel /vmlinuz-2.6.18-1.2708.fc6 ro root=LABEL=/ quiet showopts vga=773 selinux=0
initrd /initrd-2.6.18-1.2708.fc6.img
You might want to have the graphical boot - just add rhgb on the kernel line.
Power Control
Sleep: Suspend to RAM
Before trying out my old ACPI scripts, I tried kcontrol and used the Power Control/Laptop Battery settings. After enabling ACPI and restarting kcontrol, then setting up suspend as the event when closing the lid - it just worked! Wow. Well, the virtual consoles got fcuked up, I think. And I don’t know where the klaptop scripts are located. (oh, I could just put my old scripts in /etc/acpi/, ok...)
I hope kpowersave soon will be available, which replaces klaptop (I think?).
However, using the ACPI scripts in my files section works great. See also the 1280x768 section.
UPDATE: The virtual consoles works just fine now.
Hibernate: Suspend to Disk
Outdated (problem solved): After setting up ACPI above, I also tried hibernate by right-clicking the battery tray icon - and it worked, although the display was back to 1024×768. I’ll solve this soon7).
UPDATE: Just tried hibernate now (using compiz and after some yum updating) and it works (1280×768 resolution on resume OK).
UPDATE: Using the intel driver (see the 1280x768 section) and Beryl, this works fine (you might need to press Fn-UpArrow at resume)
Look and Feel
I use KDE.
Fonts
In kcontrol I had to boost the hinting style used when anti-aliasing fonts to make things look good - I set it to “full”.
Mouse Gestures and Keyboard Shortcuts
In kcontrol go to “Regional and Accessibility”/”Input Actions”. Be sure that “Disable mouse gestures globally” is not checked in the “Gestures settings” tab. I use “Mouse 3 (secondary)”.
This is of course most useful when using an attached mouse.
AIGLX and Beryl
Earlier I was using Compiz with great success (see below), but I have now changed to Beryl, see the Beryl project for more details.
Install Beryl (beryl is now part of the standard Fedora Extras repository, and it is safe to install together with Compiz). 8):
# yum install beryl-kde
As a normal user, run:
$ beryl-manager
and click the tray icon to choose your window decorator.
To make Beryl start automatically when you log in, add this to a new file ~/.kde/Autostart/beryl-manager.desktop9):
[Desktop Entry] Encoding=UTF-8 Exec=beryl-manager GenericName[en_US]= StartupNotify=false Terminal=false TerminalOptions= Type=Application X-KDE-autostart-after=kdesktop
TIP: In order to make the (kmilo) volume pop-up work with Beryl, I always have to press Ctrl-Alt-d to “show desktop”, and the once again to get the windows back. This way, the pop-up will come in front, and so will the KDE tooltips (those you get when you hoover e.g. the K menu). I seldom restart my laptop, so this is not really an issue for me.
TIP: You can find my beryl-settings.Profile in the Files section.
AIGLX and Compiz
UPDATE: I now use Beryl, see above.
AIGLX is the KDE way of doing XGL. Install Compiz (and all the packages it depends on...):
# yum install compiz
Update /etc/X11/xorg.conf to include this (see my Files section for a link to the whole file):
Section "Module" ... Load "glx" Load "dri" EndSection ... Section "Device" ... Driver "i810" # try "intel", see above. ... Option "XAANoOffscreenPixmaps" ... EndSection ... Section "Extensions" Option "Composite" "Enable" EndSection
(Also see Ian‘s tip to avoid some error messages)
As a normal user, in a terminal:
$ compiz --replace --strict-binding gconf move resize minimize place decoration wobbly cube rotate scale switcher zoom fade screenshot water dbus & $ gnome-window-decorator --replace &
Not sure if this improves productivity... As of today, there is no kde-window-decorator. If you find a KDE configuration tool for compiz - let
me know. I think a cms plugin will be available soon. (I also read something about kwd somewhere...)
I do not use this normally, but man - this was pretty cool. I’ll definitely use this when showing off for my friends...
Try this: Ctrl-Alt and hold down left mouse button and drag around to navigate the cube. Ctrl-Alt Down etc. Ctrl-Alt-Shift Right to bring active window when moving to the next desktop. Move a window around. Move mouse to the top right corner. Get some hints on keyboard shortcuts by doing a
$ grep -A 2 '<' /etc/gconf/schemas/compiz.schemas
Everything is not working yet, and some KDE related window features are lost when using compiz. Compiz does not use the desktop settings given in kcontrol - KDE thinks there is only one desktop. When logging out and then in, you might have to run “gnome-window-decorator
–replace &” in a terminal in order to get window decorations. Windows requiring attention will not go back to normal. To make Ctrl-Shift-TAB work, I had to run gconf-editor and change /apps/compiz/plugins/switcher/allscreens/options/prev_key to < Shift >< Alt >Tab. To change the color of the window title bar you can use gnome-theme-manager. I’ve used gconf-editor to change Alt-Space to Alt-F3 in /apps/compiz/general/allscreens/options/window_menu_key (because I use the former in emacs all the time). If the special keys (Fn-*) stops working after suspend, type xmodmap /etc/X11/Xmodmap in a terminal. Sometimes the kmilo on-screen display (OSD) shows up behind all the other windows, instead of in front... Ah! Solution: Press Ctrl-Alt-d to minimize all and show the desktop, repeat it, and voila, kmilo works. Same goes for tooltips on the KPanel.
You can go back to the flat world by
$ kwin --replace &
(You might loose some desktops if you have more than one..)
If you want to use Compiz permanently, add the following to a file ~/.kde/Autostart/compiz.desktop:
[Desktop Entry] Encoding=UTF-8 Exec=compiz --replace gconf & gnome-window-decorator --replace Icon= MimeType= Name=gnome-window-decorator --replace Path= StartupNotify=false Terminal=false Type=Application X-KDE-autostart-after=kdesktop
The last line is not unessential, but it still doesn’t really work for me. On a fresh boot, I always have to exit the KDE session and re-login to make the system tray icons get in place. Any suggestions? Please let me know.
Useful Programs that I Recommend
Opera
Get the best web browser from www.opera.com or try a snapshot from snapshot.opera.com/unix/:
# yum install rpms/opera-9.02-20060919.6-shared-qt.i386-en.rpm ... Error: Missing Dependency: libstdc++.so.5 is needed by package opera
After mocking around with some repositories, I found the library (”yum provides libstdc++.so.5“): 10)
# yum install compat-libstdc++-33 # rpm -Uvh rpms/opera-9.02-20060919.6-shared-qt.i386-en.rpm
Works, great, looks good11)
Macromedia Flash Plugin
Install the flash plugin from Macromedia:
# cd /etc/yum.repos.d/ # wget http://macromedia.mplug.org/macromedia-i386.repo # yum install flash-plugin
The info in their faq might be useful. Activate it in Opera: Preferences/Advanced/Content/Plug-in options/Find new. Be sure to have /usr/lib/mozilla/plugins in your plugin path. Works right away.
Oh well, I got some problems with sound in flash movies in Opera. Therefore (thanks vixenk):
# yum install alsa-oss
Start Opera like this:
$ aoss opera &
Would like to see a better fix on this though... Any tips? Please let me know.
Install Java from Sun
I am not a Java developer but I do want to run Java programs, and use Java in my web browser, so I have to install Java from Sun. There might be some quirks if you have both Java versions installed. Read more here and here.
Get the files form Sun:
# sh ./jdk-1_5_0_08-linux-i586-rpm.bin (read and accept the licence) # sh jre-1_5_0_06-linux-i586-rpm.bin (read and accept the licence)
OBS: The sun java package will not automatically become the default of your system. There are a number of ways to change this, but I have not decided on which I like the best. For now I just use the full path when I call the java from Sun:
/usr/java/jre1.5.0_06/bin/java
Unison
Unison is a great file synchronization tool. I use it all the time.
# yum install unison
I have made one folder that is set to be synchronized with my work PC, into which I have symlinked all other folders I want to keep in sync. Read more on this on the Unison page. In KDE I have made a shortcut Ctrl-Alt-Shift-S that starts unison, so a quick Ctrl-Alt-Shift-S g q will get me synced in no time.
Remember - you never know when you laptop will slip out of your hands and smash to the ground, your harddrive just crashes, it gets stolen, your coffee decides to pour itself into the keyboard, or you just forget it on the airport... Enough said - keep in sync :)
Bluemote
Saravana Krishnan Kannan’s Bluemote (not blueremote) is a great tool that makes it possible to do control about anything from you phone using bluetooth. I use it with my SE T610.
Share stuff on the web quick and easy
Right click the KDE Panel (click “Unlock Panels” if it’s locked), choose “Panel Menu” and “Add Applet to Panel...”.
Add the “Public File Server”.
Run the wizard and share whatever.
As superuser, run system-config-securitylevel and open port 8001 (or whatever port you chose in the wizard) for tcp traffic.
Smolt
From the web page: Smolt is a basic hardware profiler. It’s intended to be a profiler to get automated information from users. This should make it easier for our developers to do what they need to do.
Give your contribution in 20 secs:
# yum install smolt # smoltSendProfile
Answer yes to send your hardware profile, take note of the address given in the end (with your UUID) for later reference.
Check out current stats here.
Programs I Might Recommend Some Day
KAnyRemote
Worth to take a look at anyremote and kanyremote. You can download rpms from here
(Unlike bluemote, this tool connects directly to the buttons on the phone, so it must be used with the key-lock on. This can be quite practical, actually, as it gives instant access to e.g. play/pause, volume/mute and prev/next etc)
OpenSync
If you want to synchronize your life, opensync is the way to go.
//NOTE:// The repository mentioned here is made for Fedora Core 5, and might not work very well in FC6. Personally, I built the opensync framework from svn source to make it work.
Get the appropriate OpenSync.repo from here and put it in /etc/yum.repos.d/, then12)
# yum --enablerepo OpenSync install msynctool libopensync libopensync-plugin-kdepim libopensync-plugin-irmc libopensync-plugin-file libopensync-tools # yum --enablerepo OpenSync install libopensync-plugin-syncml
(I had some dependency problems with some of the other plugins, but the line above worked.)
Read the setup guide. I managed to get kde-file-sync to work. I still haven’t managed to sync my T610 with Kontact yet – see the Open bugs below.
Moving to devel branch:
x1:/etc/yum.repos.d:# wget http://software.opensuse.org/download/OpenSync-devel/Fedora_Core_5/OpenSync-devel.repo
Moving to
x1:/etc/yum.repos.d:# wget "http://software.opensuse.org/download/OpenSync:/OpenSync-0.2x/Fedora_Core_6/OpenSync:OpenSync-0.2x.repo" # rpm -e wbxml2-devel # yum --disablerepo=kde,kde-all install msynctool libopensync libopensync-plugin-kdepim libopensync-plugin-irmc libopensync-plugin-file libopensync-tools
World Winds 2D (ww2d): Alternative to Google Earth
From the homepage: WW2D is cross-platform, free and open-source application similar to NASA World Wind or Google Earth software. Nice - I downloaded it and installed it:
$ sh WW2D-0.99.88RC1-lin.bin
But it requires the Java package from Sun13)
Modify the ww2d script in ~/WW2D/ to read
cd `dirname $0` /usr/java/jre1.5.0_06/bin/java -Djava.library.path=./lib -Dopengl.1thread=false -Xmx512m -Xbatch -jar WW2D.jar $*
i.e. include the full path to the java package from Sun. Start the program:
$ ~/WW2d/ww2d
or click the icon that was created on your desktop.
NOTE: Don’t forget to turn on some layers in Layer Manager before zooming in, for example Blue Marble Next Generation and NLT Landsat7 (Visible Color). (You need to right-click on the check boxes.)
NOTE: It is not dead stable... (but Google Earth isn’t either)
TIP: For me the map turns gray if I click once on it, but reappear if I click and hold to move around a bit.
TIP: Check for updates of ww2d
Random Ramblings
Stuff I've Installed
Remember - I use the extra repositories mentioned above
# yum update # yum install pinentry-qt pinentry-gtk gnupg2 libksba opensc pcsc-lite-libs pth pinentry openct pcsc-lite pcsc-lite-openct # yum install pgp-tools # yum install unison # yum install qca-tls ## ssl support in kopete (google jabber msn) # yum install xine-lib xmms-mp3 # yum --enable livna-development install amarok-extras-nonfree # yum install gstreamer-plugins-ugly-devel # yum install kdegraphics-extras ## for 'kuickshow' image viewer # yum install kdesdk ## for 'kompare' - nice 'diff' frontend # yum install kdesvn ## nice svn frontend in konqueror # yum install yum-changelog # yum clean all # yum --enable livna-development,kde-testing,kde-testing-all update # cd /etc/yum.repos.d/ # wget http://download.fedora.redhat.com/pub/fedora/projects/aiglx/aiglx.repo # yum --changelog --enablerepo=aiglx update # yum install kdeedu # lots of educational programs for kids (http://edu.kde.org) # yum install qucs # draw circuits # yum --enablerepo=kde-testing,kde-testing-all,aiglx,livna-development install k3b-mp3 # same as k3b-extras-nonfree # yum install wine # emulator for Windows programs # yum install kmobiletools # send sms via bluetooth # yum install kbibtex # bibtex management in kde # yum install vlc # video player # yum --enablerepo=livna install mencoder mplayer-gui mplayerplug-in kplayer kmplayer # yum install NetworkManager-vpnc # yum install NetworkManager-openvpn # yum install NetworkManager-gnome # Make vpn work for knetworkmanager # yum install jhead # Nice command line tool for automatic rotation of images # yum install gconf-editor # yum --enablerepo=OpenSync install multisync-gui # yum --enablerepo=OpenSync install libopensync-plugin-irmc # yum --enablerepo=OpenSync --exclude=gnokii install openobex openobex-devel libsoup-devel wbxml2 libopensync-devel libopensync-tools libopensync-plugin-file kitchensync-opensync libopensync-plugin-kdepim libsyncml libsyncml-devel libopensync-plugin-syncml # error # yum --enablerepo=OpenSync --exclude=gnokii install *opensync*devel # rpm -Uvh rpms/picasa-2.2.2820-5.i386.rpm # yum install bluez-hcidump # to debug opensync bluetooth irmc etc # yum install kphone # yum install koffice-krita # yum install audacious # Successor of xmms (I believe) # yum install aspell-no # Norwegian spell checker (Norsk stavekontroll) # yum install epydoc # autogenerate html documentation/API for python progs # yum install kyum # gui for yum to show my windows friends how to install stuff # yum install ethereal # install wireshark, start with 'tethereal' (network traffic) # yum install akode xmms-musepack # enable playback of .mpc files (musepack) # yum install wxPython # yum install qemu #QEMU is a FAST! processor emulator # rpm -Uvh rpms/xvidcap-1.1.4p1-8.fc6.at.i386.rpm # yum install freefont # tried to make some web pages look nice, didn't work # yum install linux-libertine-fonts # tried to make some web pages look nice, didn't work # yum install kdetoys # yum install yum-downloadonly # plugin for download but not install packages # yum --downloadonly --enablerepo=atrpms,freshrpms install mythtv-suite # yum install ktorrent # kget doesn't seem to support bittorrent files... # yum --enablerepo=atrpms install mythtv-suite # (edit .mythtv/mysql.txt to point to the correct mythbackend) # yum install scons # for opensync (svn) # yum install check # for opensync (svn) (installs check-devel) x1:~/tarballs/check-0.9.5:# ./configure && make && make install # rpm -Uvh rpms/check-0.9.3-1.i386.rpm # yum install pine # yum install hugin # yum install kismet # Check the security on your home WEP network. # emacs /etc/kismet/kismet.conf # add 'source=ipw2200,eth1,ATHEROS' # kismet $ wget http://downloads.sourceforge.net/ksmoothdock/ksmoothdock-4.4_automake1.9.tar.gz?modtime=1176415840 $ tar xzf ksmoothdock-4.4_automake1.9.tar.gz $ cd ksmoothdock/ $ ./configure $ make # make install (Just a toy app for now...) # yum install tor # stay anonymous when online! # yum install SDL_mixer SDL_mixer-devel ###beagle frontend for KDE (Hint: search inside pdf files in konqueror) # yum install kerry Hm.. beagle uses Mono (.NET stuff) and runs an .exe file... Seems a bit strange to me. Try Recoll instead: # wget http://www.lesbonscomptes.com/recoll/fc6/recoll-1.8.1-1.i386.rpm # rpm -Uvh recoll-1.8.1-1.i386.rpm # yum install xpdf antiword unrtf oh well, beagle is just so much more user-friendly. # yum install kio_sword (also takes in clucene-core and sword) # yum install bibletime Run it as a normal user: $ bibletime and install some.. er.. bibles. Hm, nice to have when need to explain the story of Onan to anyone...
Install stuff needed for OpenMoko:
# yum install python m4 make wget curl ftp cvs monotone subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch $ make setup $ make openmoko-devel-image $ (unset LD_LIBRARY_PATH; make update-makefile && make update && make setup && make openmoko-devel-image) Failed - solution: # yum install compat-gcc-34 $ unset LD_LIBRARY_PATH; make update-makefile && nice make update && nice make setup && nice make all (This takes several hours) Build qemu: # yum install lynx netpbm $ make qemu Run it: # echo 1024 > /proc/sys/dev/rtc/max-user-freq $ make run-qemu (use SPACE to start)
KSubtitle - no: KSubtile
WebTV in Opera
I have not yet managed to make NRK Nett-TV (Norwegian TV station) work in Opera on my Fedora Core 6 installation...
Anyway, I’ve installed the Windows codecs like this (this might be breaking some licenses – use on your own risk):
# cd tarballs/ # wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20061022.tar.bz2 # tar xjf all-20061022.tar.bz2 # cd all-20061022 # mkdir /usr/local/lib/codecs/ # cp * /usr/local/lib/codecs/ # chmod 755 /usr/local/lib/codecs/* # mkdir /usr/lib/win32 # cp /usr/local/lib/codecs/* /usr/lib/win32 # ldconfig
I also use MPlayer and mplayerplug-in, mentioned above.
Some more ramblings: No, it’s too much - WebTV in Opera is a pain beyond hell. http://my.opera.com/community/forums/topic.dml?id=131761 http://my.opera.com/community/forums/topic.dml?id=132528 http://linux1.no/forum/viewtopic.php?t=3349 http://www.tnldp.org/index.php/WebTV_på_Linux http://www.opera.com/linux/docs/plugins/install/
Booting LiveCD from HD
This is a small how-to on booting and ISO image from hard disk (without having to burn the iso to a cd): I did this with Fedora 7 test4 KDE Live CD.
# mkdir /home/livecd # mv /home/gronslet/download/f7-test4-kde-live-i386/F-6.93-KDE-i386-Live.iso /home/livecd/ # mkdir -p /mnt/test # mount -t iso9660 -o loop,ro /home/livecd/F-6.93-KDE-i386-Live.iso /mnt/test/ # find /mnt/test/ |grep vmlinuz # cp /mnt/test/isolinux/vmlinuz /home/livecd/ # cp /mnt/test/isolinux/initrd.img /home/livecd/ # df |grep /home # emacs /etc/grub.conf
Hm, I didn’t succeed with this...
Tweaks
Console Beep
I turned off console beep in /etc/inputrc:
set bell-style none
Thanks hollywoodb (who installed FC6 Test 2 on a Dell Inspiron B130 with a Intel 915GM card - read the comment about i810 vs intel)
Send as email
Add action “Send Email” to Konqueror’s right click “Action” menu: Make a new file /usr/share/apps/konqueror/servicemenus/email.desktop and add this:
[Desktop Entry] Actions=Email Encoding=UTF-8 ServiceTypes=all/all [Desktop Action Email] Name=Send file(s) with Kmail Exec=kmail --attach %F Icon=kmail
(thanks to barcode_linux at http://www.kde-forum.org/) Why isn’t this standard..?
Lost Sound
After a KDE upgrade, I lost sound in Kopete, KMail, Kontact etc. It turned out that I just had to re-enable sound in kcontrol/Sound and multimedia/System notifications/Player settings: Use the KDE sound system.
Now I have turned off artsd, and use /usr/bin/play as the player in kcontrol/Sound and multimedia/System notifications/Player settings. I think it is important to give the full path to play here...
Stuff That Didn't Work
# yum install emacs ...blah blah package not found.
What?! I just don’t believe it... Ah, now it is okey. Phew.
yum --enablerepo=kde-testing,kde-testing-all update ... blah, blah error on nas-1.8-9.fc6.i386.rpm
Therefore, download and install it manually:
# rpm -Uvh rpms/nas-1.8-9.fc6.i386.rpm
This solved the problem.
Problem with yum:
# yum install SOMEPROGRAM ... AttributeError: YumAvailablePackageSqlite instance has no attribute 'returnEVR' # rpm -qa yum* yum-updatesd-3.0-5 yum-metadata-parser-1.0-8.fc6 yum-changelog-1.0-2.fc6 yum-3.0-5
This was reported in bug 210654. You can read the yum cvs source if you want. Ah, new yum is out now - problem solved.
Got this error with MPlayer after some updating:
gmplayer: symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: faacDecOpen
This was because of a repo clash between freshrpms and livna. My solution (you should check that all packages that depend on each other are installed from either livna or freshrpms):
# yum remove faad2 # yum --disablerepo=freshrpms install mplayer mplayer-fonts mplayer-gui mplayer-skins mplayerplug-in xine-lib-extras-nonfree faad2 ffmpeg amarok-extras-nonfree xine-lib-extras-nonfree k3b-extras-nonfree kplayer
Update: I got the error again. Now I have Livna on as default, and ATrpms off, but I’ve installed the MythTV frontend from ATrpms, so I did this:
# yum remove mplayer-gui # (no other packages depended on this) # yum --enablerepo=atrpms --disablerepo=livna install mplayer-gui mplayer-skins $ ln -s /usr/share/X11/fonts/TTF/luxisri.ttf ~/.mplayer/subfont.ttf
Hm, seemed to work quite okey.
Open BUGS
Here I will list some bugs that are “bugging” me. If you feel the same - register and vote for the bug:
KMail
KMail bug 16204: Kmail marks unread as read upon filter transfer
KMail bug 112724: Error reading message status (read/unread) in maildir folders
KMail bug 56792: Cachedimap marks all mails as read
KMail bug 134395: Only first recipient is shown when I received a message with several “To:” in its header
Kontact
Kontact bug 68327: Notes aren’t synchronized between system tray app and Kontact plugin (i.e. KNotes and Kontact aren’t synced)
KNetworkManager
KNetworkManager bug 134402: KNetworkManager connects to untrusted network instead of trusted
UPDATE: I haven’t had this problem for a while now.
UPDATE: Workaround available in comment 3
OpenSync
Ticket 150 IrMC plugin timing problem - “Cannot connect via OBEX” Solved: See Ticket 395. My svn build script for OpenSync can be found in Ticket 388.
Ticket 386 Cannot install kitchensync-opensync from opensuse yum repo: Missing Dependency: libqopensync.so and libkitchensync.so
KDE Bluetooth Daemon (kbluetoothd)
KBluetoothD bug 137647 Computer not visible to other devices unless GNOME bluetooth-applet/bluetooth-properties is run
Opera
Opera 9 and Skandiabanken Certificate Download (Workaround works)
Hal (KAudioCreator)
I had some problems with the Hal daemon not giving the right permissions for the external DVD player (USB DVD burner, DVD writer, CD player, CD burner). The bug has been around for some time, disappeared at some point, and reappeared...
In kaudiocreator the dialog box Unknown error. If you have a cd
in the drive try running cdparanoia -vsQ as yourself (not root). Do
you see a track list? If not, make sure you have permission to access
the CD device. If you are using SCSI emulation (possible if you have
an IDE CD writer) then make sure you check that you have read and
write permissions on the generic SCSI device, which is probably
/dev/sg0, /dev/sg1, etc.. If it still does not work, try typing
audiocd:/?device=/dev/sg0 (or similar) to tell kio_audiocd which
device your CD-ROM is. appears.
At the moment (2006-01-09) my workaround for hal-0.5.8.1-6.fc6 is:
# chmod a+rwx /dev/sg* # chmod a+rwx /dev/scd* # chmod a+rwx /dev/usbdev*
Wishes
Here I will list some wishes I’ve posted various places - you might want to “vote” for some.
Opera
Error messages
Here I will list some error messages I’ve encountered. If you have any hints on how to get rid of these, please let me know.
Yum and RPM
Sometimes when I do rpm -Uvh SOMEPACKAGE or yum install
SOMEPACKAGE I get (I use the selinux=0 kernel parameter, but installed using SELinux permissive mode):
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /media/.hal-.*.
Ah, fixed now :)
dmesg
Kernel 2.6.18-1.2747.fc6:
... PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO PCI quirk: region 1080-10bf claimed by ICH6 GPIO PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 PCI: Transparent bridge - 0000:00:1e.0 PCI: Bus #03 (-#06) is hidden behind transparent bridge #02 (-#03) (try 'pci=assign-busses') ... PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0 PCI: Failed to allocate I/O resource #7:1000@10000 for 0000:00:1e.0 ... PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0 PCI: Failed to allocate I/O resource #7:1000@10000 for 0000:00:1e.0 PCI: Bridge: 0000:00:1c.0 IO window: disabled. MEM window: dfd00000-dfdfffff PREFETCH window: disabled. ... ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707] ... Intel 82802 RNG detected intel_rng: cannot enable RNG, aborting intel_rng: RNG registering failed (-5)
When coming back after hibernation (dmesg):
.......... swsusp: Need to copy 107752 pages Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. swsusp: Restoring Highmem BUG: sleeping function called from invalid context at kernel/rwsem.c:20 in_atomic():0, irqs_disabled():1 [< c04051db >] dump_trace+0x69/0x1af [< c0405339 >] show_trace_log_lvl+0x18/0x2c [< c04058ed >] show_trace+0xf/0x11 [< c04059ea >] dump_stack+0x15/0x17 [< c0439446 >] down_read+0x12/0x20 [< c0431601 >] blocking_notifier_call_chain+0xe/0x29 [< c05a9798 >] cpufreq_resume+0x118/0x135 [< c0551440 >] __sysdev_resume+0x20/0x53 [< c0551583 >] sysdev_resume+0x16/0x47 [< c0555767 >] device_power_up+0x5/0xa [< c0442360 >] swsusp_suspend+0x74/0x90 [< c04427f6 >] pm_suspend_disk+0x43/0xc9 [< c0441959 >] enter_state+0x53/0x176 [< c0441b01 >] state_store+0x85/0x99 [< c04a5fe6 >] subsys_attr_store+0x1e/0x22 [< c04a60d9 >] sysfs_write_file+0xa7/0xce [< c046f805 >] vfs_write+0xa8/0x159 [< c046fe32 >] sys_write+0x41/0x67 [< c0404013 >] syscall_call+0x7/0xb DWARF2 unwinder stuck at syscall_call+0x7/0xb Leftover inexact backtrace: =======================
(The system comes back okay anyway... even 1280×768 resolution for the X session is restored and everything works fine)
With kernel 2.6.18-1.2849.fc6 I get this error when “safely remove”ing compact flash cards (but everything seems to work okay):
... pccard: PCMCIA card inserted into slot 0 cs: memory probe 0xdfc00000-0xdfcfffff: excluding 0xdfc00000-0xdfc0ffff 0xdfcf0000-0xdfcfffff pcmcia: registering new device pcmcia0.0 Probing IDE interface ide1... hdc: Hitachi XX.V.3.4.0.0, CFA DISK drive ide1 at 0x100-0x107,0x10e on irq 3 hdc: max request size: 128KiB hdc: 500400 sectors (256 MB) w/1KiB Cache, CHS=695/15/48 hdc: hdc1 ide-cs: hdc: Vpp = 0.0 ide_do_rw_disk - bad command: dev hdc: flags = REQ_RW REQ_SOFTBARRIER REQ_NOMERGE REQ_STARTED REQ_ELVPRIV REQ_BLOCK_PC sector 24675186, nr/cnr 8/8 bio 00000000, biotail 00000000, buffer 00000000, data 00000000, len 0 cdb: 1b 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 pccard: card ejected from slot 0 BUG: sleeping function called from invalid context at kernel/rwsem.c:20 in_atomic():0, irqs_disabled():1 [< c04051db >] dump_trace+0x69/0x1af [< c0405339 >] show_trace_log_lvl+0x18/0x2c [< c04058ed >] show_trace+0xf/0x11 [< c04059ea >] dump_stack+0x15/0x17 [< c04394a2 >] down_read+0x12/0x20 [< c04f0b51 >] pci_find_device+0x58/0xa7 [< c05654e9 >] init_hwif_default+0x28/0xeb [< c0566134 >] ide_unregister+0x240/0x573 [< f8f0b018 >] ide_release+0x18/0x28 [ide_cs] [< f8f0b030 >] ide_detach+0x8/0x14 [ide_cs] [< c05771a1 >] pcmcia_device_remove+0x54/0xde [< c0552a3c >] __device_release_driver+0x60/0x78 [< c0552c89 >] device_release_driver+0x2b/0x3a [< c055239f >] bus_remove_device+0x7b/0x8d [< c05513f6 >] device_del+0x10d/0x141 [< c0551432 >] device_unregister+0x8/0x10 [< c057704b >] pcmcia_card_remove+0x58/0x77 [< c05777de >] ds_event+0x56/0x87 [< c05734e3 >] send_event+0x41/0x7e [< c05736e7 >] socket_shutdown+0xc/0xd8 [< c0573db4 >] pccardd+0x13b/0x1ee [< c04369fb >] kthread+0xc0/0xed [< c0404dab >] kernel_thread_helper+0x7/0x10 DWARF2 unwinder stuck at kernel_thread_helper+0x7/0x10 Leftover inexact backtrace: =======================
Files
Check out some files in my /etc/ folder. Specifically:
/etc/X11/xorg.conf /etc/acpi/actions/powermode.sh /etc/acpi/actions/sleep.sh /etc/acpi/acpi_handler.sh /etc/acpi/events/ac_adapter /etc/acpi/events/default /etc/acpi/events/lid /etc/acpi/events/power.conf /etc/acpi/events/sleep /etc/acpi/events/video.conf /etc/grub.conf /etc/modprobe.conf /etc/bluetooth/hcid.conf /etc/rc.d/rc.local
Some system info can be found in my /sysfino/ folder.
Patches and other files (if any) can be found in my /files/ folder.
NOTE: Some of the files given here might only apply to earlier versions of Fedora Core.
Other Resources
Gentoo Wiki on Dell Latitude X1
Steffen Brinkmann's Debian GNU/Linux on Dell X1 page
OpenSUSE on a Dell Latitude X1
TNLDP sin Fedora Core 6-side [Norwegian]
Changelog
| Date | Changes |
|---|---|
| 2007-04-25 | Various stuff |
| 2007-01-20 | Update on the “intel” driver → not working for me (yet) |
| 2007-01-11 | Beryl stuff and 1280×768 mode with ‘intel’ driver |
| 2007-01-09 | Comment on HAL bug (and more) |
| 2006-12-16 | Comments on OpenSync bug and more |
| 2006-11-22 | Slight improvement of sleep.sh + links |
| 2006-11-22 | Link to folders: /etc /sysinfo /files |
| 2006-11-20 | Various stuff: Konqi email, bluetooth etc |
| 2006-11-01 | Beryl stuff |
| 2006-10-28 | KDE 3.5.5 from the kde-redhat stable repo |
| 2006-10-24 | Fedora Core 6 stable (Zod) |
| 2006-10-10 | Actually updated the /etc/ files |
| 2006-10-08 | AIGLX and Compiz stuff (Pretty hot stuff!) |
| 2006-10-08 | More stuff about the FC6 pre-release |
| 2006-10-07 | Stuff about FC6 pre-release |
| 2006-10-03 | Initiated this page |
$Id: linux-on-a-dell-x1-aka-samsung-q30-fc6.html,v 1.71 2007/11/15 10:40:16 gronslet Exp $ Local Variables: eval: (ispell-change-dictionary "american") eval: (auto-fill-mode -1) eval: (flyspell-mode) DONTeval: (flyspell-buffer) End:
# wget http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-6-4.noarch.rpm # wget http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-notes-6-3.noarch.rpm # rpm -Uvh fedora-release-* # yum clean all # yum update
knetworkmanager:
Connect to the wireless network:
# iwconfig eth1 mode Managed essid "NETWORK NAME" key HEX_WEP_KEY # dhclient # yum install knetworkmanager # killall dhclient # dhclient
setup as root and enable NetworkManager in “System services”.mirrorlist=http://ayo.freshrpms.net/fedora/linux/6/mirrors-freshrpms
5.92
release. Use yum –enablerepo livna-testing install PROGRAM ForceBIOS” option in /etc/X11/xorg.conf, but that
didn’t help. In /var/log/Xorg.0.log it says (WW) I810(0): Option
“ForceBIOS” is not used. (SOLVED NOW) beryl-gnomecompiz.desktop if you have that.# rpm -Uvh rpms/opera-9.02-20060919.1-static-qt.i386-en.rpm
ERROR: ld.so:
object ‘libjvm.so’ from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object ‘libawt.so’ from LD_PRELOAD cannot be preloaded:
ignored. (PROBLEM SOLVED NOW) enable=0), in order to avoid future clashesgij java is the default on your system, you will get something like this:
x1:~/WW2D:$ ./ww2d WW2D 0.99.88 by Vitaliy Pronkin < pronvit@gmail.com > starting... TinyLaF v1.3.04 'Default.theme' not found - using YQ default theme. Exception in thread "main" java.lang.NullPointerException at de.muntjak.tinylookandfeel.TinyMenuUI.updateMnemonicBinding(TinyMenuUI.java:95) at de.muntjak.tinylookandfeel.TinyMenuUI.installKeyboardActions(TinyMenuUI.java:91) at de.muntjak.tinylookandfeel.TinyMenuItemUI.installUI(TinyMenuItemUI.java:84) at javax.swing.JComponent.setUI(libgcj.so.7rh) at javax.swing.AbstractButton.setUI(libgcj.so.7rh) at javax.swing.JMenuItem.setUI(libgcj.so.7rh) at javax.swing.JMenu.updateUI(libgcj.so.7rh) at javax.swing.AbstractButton.< init >(libgcj.so.7rh) at javax.swing.JMenuItem.< init >(libgcj.so.7rh) at javax.swing.JMenuItem.< init >(libgcj.so.7rh) at javax.swing.JMenu.< init >(libgcj.so.7rh) at org.ww2d.core.Main.< init >(Main.java:89) at org.ww2d.core.Main.main(Main.java:373)

