Skip to main content
Home
The Baheyeldin Dynasty
The journey for wisdom starts with knowledge
  • Home
  • About
  • Site Map
  • Contact

Upgrade to Kubuntu Lucid Lynx 10.04 LTS

  1. Home

By Khalid on 2010/05/07 - 17:01, last updated 2010/05/14 - 09:45

I have been a Kubuntu users for many years now.

So, when Kubuntu 10.04 (Lucid Lynx) was released, I took the plunge and upgraded my laptop from Kubuntu 9.10 (Karmic Koala), which I have been running shorty after its release in October 2009. Lucid is an Long Term Support (LTS) release, with security updates for 3 years on the desktop. Hopefully I will be staying with it for at least 2 years and skipping the 6-month releases in between.

This post details what I have found so far on Lucid, whether good or bad.

Faster Firefox

Firefox is 3.6.3. There is a noticeable improvement in speed in rendering, even though the same extensions are installed. Needless to say, I am happy with that change.

KDE dialogs for Firefox

The file dialogs for Firefox now integrate with KDE's look and feel. They don't feel strange because they are Gnome based anymore. This is a welcome change for us KDE users.

Wicd scripts do not work (with workaround)

The KDE Network Manager is not really capable of doing certain things, for example connecting to Wireless networks that use WPA encryption.

For this reason, I use wicd, which is a nice cross-platform network tool. It is written in Python and works on Gnome, KDE, and even from a terminal using a command line interface, or a Curses based text user interface. On KDE, there is a icon in the system tray that you can use to scan and connect to a network, and it shows the connection status. Very hand.

Wicd has been working fine for me on 9.10. I even configured it to run certain scripts for the home network to map certain NFS shares to my laptop. These shares will not map when I am outside the house and connecting to another network.

Since wicd conflicts with network manager, you need to do the following to get it to work properly:

First you need to remove the KDE network manager, using this command:

aptitude remove network-manager knm-runtime network-manager-kde

Then install wicd like this.

aptitude install wicd wicd-curses wicd-gtk

The only problem I see so far on Lucid with wicd, is that the above mentioned scripts do not work. If I configure the connection not to have any scripts, then wicd works normally. If I add the scripts, then weird things happen, with the symptoms being different depending on whether you are using the system tray interface, or the curses one.

If you are using the system tray interface, you will see the message: "Disconnecting active connections ..." and then nothing happens. It will just hang there.

If you are using the the curses interface, then you will see the following errors:

DBus failure! This is most likely caused by the wicd daemon stopping while wicd-curses is running. Please restart the daemon, and then restart wicd-curses.
Traceback (most recent call last):
File "/usr/share/wicd/curses/wicd-curses.py", line 904, in call_update_ui
self.update_ui(True)
File "/usr/share/wicd/curses/wicd-curses.py", line 89, in wrapper
return func(*args, **kargs)
File "/usr/share/wicd/curses/wicd-curses.py", line 915, in update_ui
self.handle_keys(input_data[1])
File "/usr/share/wicd/curses/wicd-curses.py", line 836, in handle_keys
self.connect("wireless",pos)
File "/usr/share/wicd/curses/wicd-curses.py", line 929, in connect
wireless.ConnectWireless(networkid)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/share/wicd/daemon/wicd-daemon.py", line 1178, in ConnectWireless
self.wifi.Disconnect()
File "/usr/lib/pymodules/python2.6/wicd/networking.py", line 782, in Disconnect
Controller.Disconnect(self, 'wireless', essid, bssid)
File "/usr/lib/pymodules/python2.6/wicd/networking.py", line 219, in Disconnect
name)),
TypeError: expand_script_macros() takes exactly 4 arguments (3 given)

Obviously, this code is wrong in the file /usr/share/pyshared/wicd/networking.py, since it is not passing the correct arguments

expand_script_macros(self.post_disconnect_script, 'post-disconnection', (mac, name))

So far, I don't have the time to debug that and find a solution. I just run the script manually when I need it.

But if you encounter this error, then use the system tray and remove the scripts, or edit the file /etc/wicd/wireless-settings.conf and delete the following lines:

afterscript = /usr/local/bin/nfs-shares.sh on
...
predisconnectscript = /usr/local/bin/nfs-shares.sh off

That will make wicd work, but it will not execute the scripts, hence will not mount the NFS shares.

In order to make it mount the shares, there is another way.

Create a script called nfs-shares-on.sh, and place it in the directory /etc/wicd/scripts/postconnect/. The script should contain the following:

#!/bin/sh
/usr/local/bin/nfs-shares.sh on

So, it is calling the script that we originally had.

Create another script called nfs-shares-off.sh and place it in the directory /etc/wicd/scripts/predisconnect/, and put the following in it.

#!/bin/sh
/usr/local/bin/nfs-shares.sh off

Make both scripts executable.

Because this way of running scripts is not specific to a certain access point, your script should check if a specific host is accessible before trying to mount shares from it.

To do this use this code snippet:

fping -q your-server
if [ "$?" = 0 ]; then
  # Do the mounting here 
fi

Now, mounting should happen when you connect, and unmounting before you disconnect.

Intel Wireless WiFi Link 5100 (iwlagn)

On 9.04 and 9.10, I had to download the compat-wireless source and install it as I described before in this article: Intel Wireless WiFi Link 5100 iwlagn with Kubuntu Karmic Koala 9.10.

I am happy to report that on 10.04, this is no longer needed. The supplied driver works well as it is.

Overall, good job from the KDE team, and a great job from the Kubuntu team.

Thank you for your efforts.

Contents: 
Linux
  • Add comment

Current

Pandemic

  • COVID-19
  • Coronavirus

Search

Site map

Contents

  • Family
    • Khalid
    • Ancestry
    • Extended
  • Friends
  • Nokat نكت
  • Writings
    • Cooking
    • Culture
    • Science
    • History
    • Linguistics
    • Media
    • Literature
    • Politics
    • Humor
    • Terrorism
    • Business
    • Philosophy
    • Religion
    • Children
  • Technology
    • Linux
    • Arabization
    • Drupal
      • Association
    • Software
    • Internet
    • Technology in Society
    • Digital Archeology
    • NCR History
    • MidEast Internet
    • Programming
    • Saudi ISPs
    • Miscellaneous
  • Places
    • Canada
      • Weather
    • Egypt
      • Cuisine
      • Alexandria
      • E.G.C.
    • USA
    • Saudi Arabia
  • Interests
    • Astronomy
    • Fishing
    • Photography
    • Snorkeling
    • Nature
    • Photomicroscopy
  • Miscellany

In Depth

  • al-Hakim bi Amr Allah: Fatimid Caliph of Egypt الحاكم بأمر الله
  • Alexandria, Egypt
  • Arabic on the Internet
  • Articles on the history of Muslims and Arabs in the Iberian Peninsula تاريخ المسلمين و العرب في الأند
  • DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction
  • E.G.C. English Girls College in Alexandria, Egypt
  • Egyptian Cuisine, Food and Recipes مأكولات مصرية
  • George Saliba: Seeking the Origins of Modern Science?
  • Internet Scams and Fraud
  • Mistaken for an Arab or Muslim: Absurdities of being a victim in the War on Terror
  • Mistaken Identity: How some people confuse my site for others
  • One People's Terrorist Is Another People's Freedom Fighter
  • Overview of Google's Technologies
  • Photomicroscopy
  • Pseudoscience: Lots of it around ...
  • Resources for using Google Adsense with Drupal
  • Rockwood Conservation Area, Southern Ontario
  • Selected Symbolic Novels And Movies
  • Snorkeling the Red Sea near Jeddah
  • Updates and Thoughts on the Egyptian Revolution of 2011

Recent Content

Most recent articles on the site.

  • Origin Of COVID-19: Natural Spillover, Lab Leak Or Biological Weapon?
  • Kamal Salibi and the "Israel from Yemen" theory
  • How To Upgrade HomeAssistant Core In A Python Venv Using uv
  • Ancestry - Paternal Side
  • Review of Wait Water Saver For Whole House Humidifiers
more

Most Comments

Most commented on articles ...

  • Another scam via Craigslist: offering more than asking price
  • Warning to female tourists thinking of marrying Egyptians
  • Craigslist classified for used car: Cheque fraud scam
  • Winning the lottery scam email: World Cup South African lottery
  • Email Scam: BMW 5 Series car and lottery winning
more

About Khalid

Various little bits of information ...

  • Khalid Baheyeldin: brief biography
  • Presentations and Talks
  • Youtube Videos
  • GitHub Projects
  • Drupal.org Profile
  • Astrophotography @ Flickr

Sponsored Links

Your Link Ad Here

Tags

Android Mobile Ubuntu Sony OnStep OpenWRT Router Ericsson COVID-19 Rogers Coronavirus Arabic Kubuntu Home Assistant GSM Telescope tablet Spectrum Scam Python 419 Laptop Firefox DIY CPU Conspiracy Comet Balkanization backup App
More

© Copyright 1999-2025 The Baheyeldin Dynasty. All rights reserved.
You can use our content under the Terms of Use.
Please read our privacy policy before you post any information on this site.
All posted articles and comments are copyright by their owner, and reflect their own views and opinions, which may not necessarily be consistent with the views and opinions of the owners of The Baheyeldin Dynasty.

Web site developed by 2bits.com Inc.