Sharing folders and files in Kubuntu 9.04 and 9.10


Prior to KDE4, sharing files in Kubuntu used to be easy, at least I don’t recall having any problems using Konqueur. Then Dolphin replaced Konqueur as the file manager and we went over to KDE4 in Kubuntu and the ability to create new file shares ceased working!

Up until now this has not bothered me as I already had my original file shares setup, but today I need to to setup another to transfer holiday photos between computers and I couldn’t create a file share!

On both of my Kubuntu computers (9.10 (64-bit) and 9.04) I had Samba installed and could browse other Linux and Windows shares without any problems. So not unreasonably I had though that Samba fileshaing in Kubuntu was correctly configured, especially as when you go into folder properties in Dolphin, you have a Share tab, except that by default clicking on “Configure File Sharing..” just brought up the sudo password dialogue box and then did nothing!

The answer to the problem resided in https://bugs.launchpad.net/ubuntu/+bug/329522. The program, which is supposed to run after you enter you sudo password, is not installed by default when you install the samba client and setup filesharing!

This can easily be checked from Terminal by entering:

kdesudo kcmshell4 fileshare

You will get something similar to

kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so

kdeinit4: preparing to launch /usr/lib/libkdeinit4_kded4.so

kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so

kbuildsycoca4 running…

kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so

kbuildsycoca4 running…

kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so

findServiceByDesktopPath: fileshare.desktop not found

Entering sudo apt-get install kdenetwork-filesharing installs the missing program and configures the /usr/share/kde4/services/fileshare.desktop file.

Re-entering kdesudo kcmshell4 fileshare will display the “File Sharing – KDE Control Module”.

You will now be able to share files through Dolphin.

This is a stupid usability flaw in Dolphin/ Kubuntu which should never have existed. I’ve updated the bug report in Launchpad with some suggestions.

Launchpad

I have to add that I think Launchpad is a wonderful resource for resolving technical problems in Ubuntu and in many respects is better than the Ubuntu Forum.

Once nice feature is that if there is an outstanding bug, you can track progress on it getting resolved by subscribing to the bug report.

For example, my Nebula DigiTV DVB-T USB receiver ceased working when I upgraded from Ubuntu 8.10 to 9.10. The bug appeared in Ubuntu 9.04 at the kernal level. It has taken over a year to fix it in the kernal, but as of last month it has been confirmed as fixed in kernal release .32 (I’m currently on .31) and eagerly await the .32 release.

=-=-=-=-=
Powered by Bilbo Blogger

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s