Fedora 7 on a Dell Latitude X1

Linux on a Dell Latitude X1

Read the Fedora 7 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.

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 7 page.

Yes, it is called Fedora 7 and not Fedora Core 7.

Status

Status
Widescreen 1280×768 Works out of the box
3D desktop Works out of the box (activate from the menu)
Wireless (ipw2200) Works out of the box, use KNetworkManager
More to come... FIXME

Installation

Before upgrading to Fedora 7, I backed up all my stuff. It goes without saying that you should always do that.

During installation, I chose to disable SELinux (Security Enhanced Linux), as I’ve read that using it might cause some problems. I’ve had enough problems already with previous versions, so...

On my system, I had “/“, “/boot” and “/home” on individual partitions, which once again proved quite smart, as I could just keep my “/home” partition in place, preserving all my user specific settings.

I chose get a fresh start (not upgrading, but rather installing), and went for a manual disk layout (in order to keep my “/home” partition). I wiped my “/” and “/boot” partition. Remember to set your “swap” partition, and also give the mount point for “/home” partition, all depending on how you choose to set up you harddrive.

Configuration

During the firstboot setup, I chose my usual username and password as the first normal user (ensuring the same user id, so that my homedir still will be owned by me).

After booting, I ran “setup” as superuser, and enabled “NetworkManager” and “NetworkManagerDispatcher“.

Then I ran “knetworkmanager” as a normal user, and connected to my encrypted home wireless network.

Why “NetworkManager” was not on by default I don’t know...

Tweaks

WPA encrypted nets: wpa_supplicant

My “/etc/sysconfig/wpa_supplicant” was set up the wrong way by default, so I had to change

INTERFACES="-iwlan0"

to

INTERFACES="-ieth1"

in that file, as “eth1” is my wireless card.

A simple

# service wpa_supplicant restart

should now let you connect to a WPA secured network (I haven’t been able to test this myself yet).

Play All Media Files

Play mp3 and such

# yum --enablerepo=livna install xmms xmms-mp3 gstreamer-plugins-ugly libid3tag k3b-extras-nonfree

Note: Some pages also suggest installing “libmad” and “xmms-faad2“, but I’ve had some dependency issues with those, ie. conflicts between the different repos. YMMV.

If you use the xine engine in Amarok, you need to do a

# yum --enablerepo=livna-development install amarok-extras-nonfree

which also drags in libdca, libdvdnav, vcdimager and xine-lib-extras-nonfree.

Web Browser Plugins

Be sure to have the Livna repository installed, then

# yum --enablerepo=livna install mplayerplug-in

In your web browser - scan for new plugins.

Note: To be honest, I still have problems playing web TV streams (http://webtv.tv2.no/webtv/ and http://www.nrk.no/). Flash stuff from YouTube works fine, though.

Windows Codecs

Depending on where you live, this might be an illegal action, but will enable you to play some more Microsoft scrambled media files:

# wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
# tar xjvf essential-20061022.tar.bz2
# mkdir /usr/local/lib/win32
# mv essential-20061022/* /usr/local/lib/win32

Multimedia Keys

The multimedia keys did not work out of the box. I had to do some manual tweaking:

Make the X server aware of the multimedia keys

As I’ve done since Fedora Core 4, I altered the following files: In “/etc/sysconfig/keyboard“, add the following:

# 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

In “/etc/X11/Xmodmap” add this:

! 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

The last line should also make the windows key (winkey) working.

I actually had to manually assign the volume keys in kmix (Settings/Configure Global Shortcuts).

And the OSD doesn’t work as it did before. Suggestions appreciated

UPDATE: After I upgraded to KDE 3.5.7 (among other stuff) and rebooted, the OSD suddenly came back :-)

UPDATE2: After a reboot, the OSD went away. What’s going on here?

Make HAL aware of the multimedia keys

For some reason, the current version of HAL only knows about the “Stand by” key on the Dell X1. This is what I did to also make HAL aware of these keys:

Install git:

# yum -y install git gcc automake
$ mkdir -p ~/download/git
$ cd ~/download/git
$ git clone git://git.freedesktop.org/git/hal-info

# cp /home/gronslet/download/git/hal-info/fdi/information/10freedesktop/30-keymap-dell.fdi /usr/share/hal/fdi/information/10freedesktop/
# service haldaemon restart

More Yum Repositories

KDE repo

If you want be one step ahead on your KDE installation, you might consider to use the kde-redhat repository, although most of this stuff is now merged with the Fedora repo.

# cd /etc/yum.repos.d/
# wget http://apt.kde-redhat.org/apt/kde-redhat/fedora/kde.repo
# yum update

ATrpms Repo

Some stuff can only be found in the Atrpms repository: Import the key:

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

Create a file “/etc/yum.repos.d/atrpms.repo“:

[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

Note: It should be “f$releasever” and not “fc$releasever” as it used to be before.

Note2: I have this repo disabled by default in order to avoid possible conflicts and to ease debugging. I only activate the repo when I install something new, and never when a do a system-wide “update“.

For example, I have a MythTV box in my house, and sometimes I feel like streaming stuff to my laptop, therefore, I did:

# yum --enablerepo=atrpms install mythtv-suite

The command above installed 92 new packages, and updated none.

Livna Repo

Install the Livna repo:

# cd /etc/yum.repos.d/
# rpm -ivh http://livna-dl.reloumirrors.net/fedora/7/i386/livna-release-7-2.noarch.rpm

I strongly recommend to disable this repo by default, especially when also using other non-standard repos. Edit the downloaded file livna.repo and disable it:

enabled=0

Use the livna repo like this:

# yum --enablerepo=livna install PACKAGENAME

Finding a Package with Yum in Fedora 7

To find a package that provides a certain file, you can use “yum provides” or “yum whatprovides” (they are aliases). An important note is that in Fedora 7, you have to explicitly provide a wildchar (or the full path) in order to get any results. At least, this is true for yum-3.2.1-1.fc7. For example

# yum provides gmplayer
[...]
No Matches found.

whilst

# yum provides '*gmplayer'
[...]
mplayer.i386 [...]

Remember to quote the wildchar, or escape it like this: “yum provides \*FILENAME“, or else the shell might expand it.

PS. Yes, this subtle change in syntax was a big annoyance to me, and it took a few weeks before I decided to dig up the answer...

Security

DenyHosts

If you have opened the firewall to allow for incoming ssh (system-config-securitylevel), you should also consider to install Download DenyHosts:

# yum install denyhosts
# emacs /etc/denyhosts.cfg
# setup # activate the system service 'denyhosts'
# service denyhosts start # (start the service)

This service will automatically block IP addresses from which bots are trying to log into your system and keep failing. Optionally you can have your computer to send an email to you each time this happens.

Using Fedora 7 on the Dell X1

Networking

KNetworkManager

Works out of the box.

Oh, it doesn’t start automatically when you log in to KDE. There is a bug filed for this: bugzilla bug 242538 for knetworkmanager.

Workaround (mentioned in the bug report above):

# cp /usr/share/applications/fedora-knetworkmanager.desktop /usr/share/autostart/knetworkmanager-autostart.desktop

Remember to check “Start KNetworkManager automatically on login” in the config.

Bluetooth

Bluetooth works in Fedora 7, but the kdebluetooth package is broken, so there is no kbluetoothd applet available right now :-(. There is some discussion about this on the kde-redhat-users email list, relevant discussion available online here. Meanwhile, I have successfully used the GNOME bluetooth-applet for authenticating my laptop with my cellphone.

Install it:

# yum install kdebluetooth

Start it

$ kbluetooth

Yep, it is now spelled kbluetooth and not kbluetoothd as it used to. You will find it at the tray.

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.

1280x768 (widescreen) Resolution

Works out of the box :-) (no more need for the 915resolution hack).

Power Control

Sleep: Suspend to RAM

Works out of the box: Right-click the battery applet next to the clock (i.e. the kpowersave applet) and choose “Suspend to RAM”.

I had to do a

# modprobe cpufreq-powersave

to make the powersave governor work. Make it permanent like this:

# echo 'modprobe cpufreq-powersave' >> /etc/rc.local

Right now the kpowersave applet suffers from a couple of bugs, namely that it will give the following warning message:

Could not umount external media before suspend/standby.
(Reason: Could not call DCOP interface to umount external media.)
Would you like to continue suspend/standby anyway?
(Warning: Continue suspend can cause data loss!)

Additionally, it will crash if you try to configure it (please see and comment if possible on the kpowersave bug 243562)

UPDATE: This issue is fixed, but not yet available in the repositories (as of writing, 2007-07-26). The proposed workaround works, however:

# killall kpowersave
# modprobe dcdbas
# service haldaemon restart

$ kpowersave

I still get messages like this in /var/log/messages:

Sep 19 20:08:28 x1 NetworkManager: < info >  Error getting killswitch power: org.freedesktop.Hal.Device.KillSwitch.NotSupported - Access type not supported
Sep 19 20:09:04 x1 last message repeated 6 times
Sep 19 20:10:10 x1 last message repeated 11 times
Sep 19 20:11:16 x1 last message repeated 11 times
Sep 19 20:12:22 x1 last message repeated 11 times
Sep 19 20:13:28 x1 last message repeated 11 times
Sep 19 20:14:34 x1 last message repeated 11 times
Sep 19 20:15:35 x1 last message repeated 10 times
Sep 19 20:16:41 x1 last message repeated 11 times
Sep 19 20:17:47 x1 last message repeated 11 times
Sep 19 20:18:53 x1 last message repeated 11 times
Sep 19 20:19:59 x1 last message repeated 11 times
Sep 19 20:21:05 x1 last message repeated 11 times
Sep 19 20:22:11 x1 last message repeated 11 times
Sep 19 20:23:12 x1 last message repeated 10 times
Sep 19 20:24:00 x1 last message repeated 8 times

Solution: Read http://linux.dell.com/libsmbios/main/download.html:

# wget -q -O - http://linux.dell.com/repo/software/bootstrap.cgi | bash

(Jesus - what an incredible stupid way of installing a yum repository - what if someone hacks the Dell server? Yeah, sure, we trust Dell...) Now do

# yum install libsmbios-bin

Hibernate: Suspend to Disk

Works, but there seems to be something strange with the “intel” driver, that prevents any info to appear on the screen during hibernating and waking from hibernation. (please see and comment if possible on the intel bug 241939).

Look and Feel

I use KDE. Currently KDE 3.5.7 from the kde-redhat repository.

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

Just activate it from the K-menu!

If not already installed, just do a quick

# yum install beryl-kde

Useful Programs that I Recommend

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 :)

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.

Now your Windows, Mac and Linux friends can browse your shared files from their favorite web browser - just give them your public IP address. You can find it here. Type the address in the web browser and enjoy...

Random Ramblings

Stuff I've Installed

# yum -y install emacs denyhosts beryl-kde unison kdesdk kdeedu yum-changelog yum-downloadonly kmobiletools kmplayer jhead aspell-no epydoc kyum kdetoys ktorrent hugin tor ;yum -y update

In order to be able to install Opera:
# yum install compat-libstdc++-33

# rpm -Uvh rpms/flash-plugin-9.0.31.0-release.i386.rpm

# yum install git gcc automake

# yum install lineak lineak-kdeplugins
# yum install lineak-xosdplugin lineak-defaultplugin


# yum install xbindkeys
$ xbindkeys --defaults > ~/.xbindkeysrc
$ xbindkeys
$ xbindkeys_show
$ emacs .xbindkeysrc
Hm, I don't use this anyway:
$ rm .xbindkeysrc

# yum install kdesvn # for svn integration in konqueror

# yum install k3b # burn CDs and DVDs

Note to self: 'kcalc' is gone; use 'speedcrunch'. Oh, it's here:
# yum install kdeutils-extras
Also try:
# yum install qalculate-kde

# yum install Democracy # TV player oh yeah

# yum install libopensync-plugin-irmc libopensync-plugin-file libopensync-plugin-kdepim multisync openobex # the opensync stuff

# yum install kdeaddons-extras # Hm, I was looking for konqueror extension, but that's not here...

# yum install filelight # radialview in konqueror (new file size view)

Desktop search tools:
# yum install kerry # KDE frontend to beagle: desktop search engine like google desktop: search inside pdf files etc. Uses Mono/.NET (Microsoft...)

# yum install strigi
Also drags inn cluecine-core. It is a Google Desktop for Linux, like beagle/kerry mentioned above.

# yum install tracker-search-tool # another desktop search tool

# yum install kmplayer

# yum install wine

For OpenMoko (https://wiki.openmoko.org/wiki/Talk:MokoMakefile#Building_on_Fedora_Core_6):
# 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 compat-gcc-34 lynx netpbm

# yum install bitbake

Additionally 2007-08-23:
# yum install help2man
# yum install arm-gp2x-linux-SDL.noarch
# yum install SDL-devel


Compiz and Beryl have merged to Compiz-fusion:
http://www.opencompositing.org/
# yum install compiz

Get the released compiz-fusion:
Read http://wiki.kagesenshi.org/moin.fcgi/CategoryPackages/CompizFusion
# cd /etc/yum.repos.d/
# cat < < EOF > kagesenshi.repo
[kagesenshi]
name=KageSenshi Package Repository
baseurl=http://devel.foss.org.my/~kagesenshi/repo/pub/$basearch/
enabled=1
gpgcheck=0
EOF


# yum install compiz-kde

# yum install compiz-fusion-plugins-main compiz-fusion-plugins-extra

# yum install compiz-gnome fusion-icon-all emarald-themes

Start it:
$ fusion-icon


Advanced twin-panel (commander-style) file-manager for KDE
(better than Konqueror for filemanagement?)
# yum install krusader
# yum install krename

GPS stuff:
# yum install gpsbabel gpsdrive gpsd
$ wget http://www.ncc.up.pt/gpsman/gpsmanhtml/gpsman-6.3.2-1.noarch.rpm
$ wget http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/GPSMandoc.pdf
# rpm -Uvh gpsman-6.3.2-1.noarch.rpm

Palm OS stuff:
# rpm -Uvh plucker-1.8-1.i386.rpm
python: can't open file '/usr/lib/python/compileall.py': [Errno 2] No such file or directory
# rpm -e plucker
# cd /usr/lib/
# ll python
# rm -rf python
# ln -s python2.5/ python
# rpm -Uvh /home/gronslet/download/garmin/plucker-1.8-1.i386.rpm
OK
$ plucker-setup
$ ll /usr/share/plucker/palm

# rpm -Uvh plucker-desktop-1.6.0.0-1.i386.rpm
OK

# yum install cabextract

# yum install smart # alternative package manager

Problems with kpilot and To-dos with Garmin iQue 3600 (Palm OS 5), consider:
# yum --enablerepo=fedora-debuginfo,updates-debuginfo install kdepim-debuginfo
(not done yet though). I have some notes on udev and how to sync the palmtop.


# yum install pylint

# yum install yum-utils

# yum --enablerepo=livna install unrar

# yum install wireshark

# yum install libXtst-devel

Bogofilter: Spamfilter (alt. to spamassassin) to use with KMail
In KMail: Tools, Anti-spam wizard
# yum install bogofilter

The new pine: alpine
# yum --enablerepo=development install alpine


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Encrypt data: Test with another partition fist:
(using dm_crypt)

Unmount the device (I have a partition /dev/sda7):
# umount /dev/sda7

Wipe the drive and fill it with good random data:
# dd if=/dev/urandom of=/dev/sda7
dd: writing to `/dev/sda7': No space left on device
2875573+0 records in
2875572+0 records out
1472292864 bytes (1,5 GB) copied, 1174,01 s, 1,3 MB/s


# cryptsetup --verbose --verify-passphrase luksFormat /dev/sda7

WARNING!
========
This will overwrite data on /dev/sda7 irrevocably.

Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
Command successful.


# cryptsetup luksOpen /dev/sda7 mycryptdrive
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.


# ls -l /dev/mapper/
totalt 0
crw------- 1 root root  10, 63 2007-09-07 18:18 control
brw-rw---- 1 root disk 253,  0 2007-09-09 21:26 mycryptdrive

# mkfs -t ext3 -j -m 1 -L mycryptdrive /dev/mapper/mycryptdrive
...

# mkdir /mnt/mycryptdrive
# mount /dev/mapper/mycryptdrive /mnt/mycryptdrive/

# emacs /etc/fstab
  /dev/mapper/mycryptdrive /mnt/mycryptdrive ext3 noauto,defaults 0 0



# touch /mnt/mycryptdrive/TopFcukingSecret
# umount /mnt/mycryptdrive/
# cryptsetup luksClose  mycryptdrive
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Try fast user swithcing:

x1:~:# cat < <EOF> /etc/sysconfig/desktop
> DESKTOP="KDE"
> DISPLAYMANAGER=KDE
> EOF

Nope - beryl wont work. So:
# rm /etc/sysconfig/desktop

Install video editing program: Kdenlive.
# yum install ffmpeg xine dvdauthor dvgrab kdebase
and then the packages... eh, didn't manage to do that...

Try Kino:
# yum --enablerepo=livna install kino

Try Cinerella:
# yum install cinerella

Install nuvexport
Read http://mythtv.org/wiki/index.php/Nuvexport#Installing_Nuvexport
http://mythtv.org/wiki/index.php/Nuvexport
# yum install id3lib
# rpm -Uvh http://forevermore.net/files/nuvexport/nuvexport-0.4-0.20070804.svn.noarch.rpm
$ nuvexport

Personal Notes

Migrate from Opera to Konqueror (or not)

Try to switch from Opera to Konqueror:

Start Konqueror from the K-menu (”Internet” section), go to “Settings”, “Configure Konqueror”, “AdBlocK Filters” and choose “Import...”. Type in “~/.opera/urlfilter.ini” and remove the first few entries in the list, so that only what is passed “[exclude]” is left.

Also, under “Web Behavior”, I’ve checked “Open tabs in new tab instead of in new windows”.

Remember, the default shortcuts for switching between tabs is “Ctrl-,” and “Ctrl-.“.

Bookmarks: Import Opera bookmarks into Konqueror: Easy and straight forward - click “Bookmarks”, “Edit Bookmarks”, then “File”, “Import”, “Import Opera bookmarks...”, type “~/.opera/opera6.adr”. I chose to import “As new folder”. Press “F9” to toggle the sidebar.

Web Shortcuts: Be able to type “g my search query” as URL to search using google etc: “Settings”, “Web Shortcuts”, check “Enable Web Shortcuts”. “Default Search Engine”: “Google”, and “Keyword delimiter”: “Space”. In the list, add “g” to the Google shortcut (hope this doesn’t have any implications...). FYI, I use Wikipedia alot, and use “w” as shortcut.

Plugins: “Settings”, “Plugins”, be sure to have /usr/lib/opera/plugins/ in the “Scan folders” and press “Scan for New Plugins”.

Drawbacks:

* Konqueror is not as fast as Opera.

* You might find it a bit more tricky to configure the mouse gestures in Konqueror (kcontrol, “Regional and Accessibility”, “Input Actions”)

* Many more drawback. The change to Konqueror is more like a idealistic open source experiment... ;)

Happy surfin’.

Certificates

Using http://www.skandiabanken.no/ (non-valid HTML code) with Konqueror: The problem is with the certificate... I managed to get the root certificate, but the personal certificate resulted in a ASP 404 of some kind:

https://www.skandiabanken.no/skcert/gibcert/Error/Error.aspx?aspxerrorpath=/SKCERT/GIBCERT/KeyGen.aspx

Server Error in '/SKCERT/GIBCERT' Application.
The resource cannot be found.
   Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

  Requested URL: /skcert/gibcert/Error/Error.aspx

Therefore: Download the personal certificate with Opera and export it as a “PKCS#12 Certificate Bundle” (.p12) in “Preferences...”,”Advanced”,”Security”,”Manage Certificates...”. Then import it in ie. ‘kcontrol’ under “Security and Privacy”, “Crypto”, “Your Certificates”, “Import...”.

The problem might be because I’ve got an “ø” in my name, which is coded as “xF8” in the certificate name.

Update: A bit more investigation. I ran kcontrol and fiddled with the “Crypto” settings. The certificate was not sent, as I had “Default action” set to “Do not send”. So I added “skandiabanken.no” as a host, and set my personal certificate to be sent.

So, now I am able to reach the login page (and not the certificate download page). But I am not able to get any further, as that page has a javascript bug in the “Next” button:

Error: node : ReferenceError: Can't find variable: __doPostBack

Oh, well, I still doesn’t work. Once again, thanks for the crappy online banking service, Skandiabanken.

Open BUGS

KPowerSave

Bugzilla Bug 243562: “KPowersave crashes on attempting to open the configuration dialog”. (FIXED in SVN)

KNetworkManager

Bugzilla Bug 242538: “knetworkmanager: fails to start reliably”.

(Workaround mentioned in the bugreport)

xorg-x11-drv-i810

Bugzilla Bug 241939: “intel driver has blinky startup”.

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.

Opera

Opera is spitting out error messages like this:

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.

Solution: Hm, I’ve already got compat-libstdc++-33 installed, so what can it be?

# ldd /usr/lib/opera/9.21-20070510.6/opera
        linux-gate.so.1 =>  (0x00def000)
        libqt-mt.so.3 => /usr/lib/qt-3.3/lib/libqt-mt.so.3 (0x04381000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00bc1000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00cd2000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00276000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00220000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00ba7000)
        libdl.so.2 => /lib/libdl.so.2 (0x00b8b000)
        libm.so.6 => /lib/libm.so.6 (0x00b60000)
        libz.so.1 => /lib/libz.so.1 (0x00b92000)
        libc.so.6 => /lib/libc.so.6 (0x00a0a000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00133000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0x003d3000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x0023c000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00dc4000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x0010d000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00115000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x0011e000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00101000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00125000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x003be000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00ce4000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00d93000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0025e000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00cc5000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00cca000)
        /lib/ld-linux.so.2 (0x009eb000)
        liblcms.so.1 => /usr/lib/liblcms.so.1 (0x00382000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00df7000)
        libexpat.so.0 => /lib/libexpat.so.0 (0x00d70000)

Is this the problem?:

# yum provides \*linux-gate.so.1
...
No Matches found

Any hints? - please drop me a line.

Java in opera: I have SELinux in permissive mode. Tried this:

# chcon -t textre_shlib_t /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/lib/i386/client/libjvm.so

Hm, install Java from sun http://java.com/en/download/index.jsp

# sh ./jre-6u2-linux-i586-rpm.bin

# alternatives --install /usr/bin/java java /usr/java/jre1.6.0_02/bin/java 1601
# alternatives --config java

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
 + 1           /usr/lib/jvm/jre-1.5.0-gcj/bin/java
*  2           /usr/java/jre1.6.0_02/bin/java

Enter to keep the current selection[+], or type selection number: 2

In Opera: Tools, Preferences, Advanced, Content, Enable Java, Java Options: /usr/java/jre1.6.0_02/lib/i386

Shutdown Opera, and choose to start with only a blank page on next startup. Only output to the console now is:

$ opera
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)

(process:13535): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:13535): Gtk-CRITICAL **: gtk_clipboard_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
Adobe FlashPlayer: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed. Trying to call gtk_init(0,0);

Test java here. Works.

I had problems with flash, same as those given in https://bugzilla.novell.com/show_bug.cgi?id=294385. Turns out, this is due to gtk2, and it is fixed upstream, so I simply did a

# yum --enablerepo=development update gtk2

And restarted my laptop. Hm, didn’t really fix it:

$ opera
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)

(process:3538): Gtk-CRITICAL **: gtk_clipboard_get_for_display: assertion `display != NULL' failed
Adobe FlashPlayer: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed. Trying to call gtk_init(0,0);
opera: Plug-in 3538 is not responding. It will be closed.
opera: Define environment variable OPERA_KEEP_BLOCKED_PLUGIN to keep blocked plug-ins.

Try this:

# yum install gnash gnash-klash gnash-plugin

Try this:

# rpm -Uvh flash-plugin-9.0.48.0-release.i386.rpm

Yeah!

Hal

Version hal-0.5.9-8.fc7 of Hal is puking out too much in my logs, due to some unimplemented stuff in the ipw2200 driver I think:

# tail /var/log/messages
Jul  4 07:07:30 x1 NetworkManager: < info >  Error getting killswitch power: org.freedesktop.Hal.Device.KillSwitch.NotSupported - Access type not supported
Jul  4 07:08:06 x1 last message repeated 6 times
Jul  4 07:09:13 x1 last message repeated 11 times
Jul  4 07:10:19 x1 last message repeated 11 times
Jul  4 07:11:25 x1 last message repeated 11 times
Jul  4 07:12:31 x1 last message repeated 11 times
Jul  4 07:13:37 x1 last message repeated 11 times
Jul  4 07:14:38 x1 last message repeated 10 times
Jul  4 07:15:44 x1 last message repeated 11 times

Files

Check out some files in my /etc/ folder.

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


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


Changelog

Date Changes
2007-08-09 KNetworkManager workaround
2007-07-26 KPowerSave workaround
2007-07-04 Various stuff
2007-07-01 Note on “yum provides \*FILENAME
2007-06-29 Random ramblings
2007-06-27 Random ramblings
2007-06-12 Small update, multimedia keys, refs to bugs
2007-06-10 Installed Fedora 7 stable/final
2007-05-08 Initiated this page Fedora 6.93 (F7 test 4)

$Id: linux-on-a-dell-x1-aka-samsung-q30-f7.html,v 1.43 2007/11/15 10:40:16 gronslet Exp $
Local Variables:
eval: (ispell-change-dictionary "american")
eval: (auto-fill-mode -1)
eval: (flyspell-mode)
eval: (flyspell-buffer)
End: