System settings missing filesharing

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Re: System settings missing filesharing

Postby Fitzcarraldo » Tue Sep 13, 2011 10:37

Interesting... It is a long time since I set up system shares using this module, and today I looked on my main laptop (running KDE 4.7.1 installed via Portage, not Entropy) and I find that I am in the same position as you (although several versions of KDE back it was OK on the same machine).

In my KDE 4.7.1 installation:

Code: Select all
$ locate kcm_file
/usr/lib64/kde4/kcm_filetypes.so
/usr/share/apps/kcm_componentchooser/kcm_filemanager.desktop
$ ls -la /usr/lib64/kde4/kcm_file*
-rwxr-xr-x 1 root root 180416 Sep 10 22:33 /usr/lib64/kde4/kcm_filetypes.so
$ kcmshell4 --list | grep fileshare
$

In the SL 6 LiveDVD which has KDE 4.6.4 installed:

Code: Select all
$ ls -la /usr/lib64/kde4/kcm_file*
-rwxr-xr-x 1 root root 551104 Jun 18 19:31 /usr/lib64/kde4/kcm_fileshare.so
-rwxr-xr-x 1 root root 164120 Jun 18 20:34 /usr/lib64/kde4/kcm_filetypes.so
$ kcmshell4 --list | grep fileshare
fileshare                 - Enable or disable file sharing
$

Bug in KDE 4.7.1?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: System settings missing filesharing

Postby Fitzcarraldo » Wed Sep 14, 2011 12:47

There is more to this than meets the eye...

I have had a look in the source code tarballs for the package kdenetwork-4.7.1 and kdenetwork-4.6.2 (I upgraded straight from KDE 4.6.2 to KDE 4.7.0 and then KDE 4.7.1):

Code: Select all
# tar -jtvf /usr/portage/distfiles/kdenetwork-4.7.1.tar.bz2 | grep fileshare
drwxr-xr-x root/root         0 2011-09-01 22:50 kdenetwork-4.7.1/kopete/protocols/jabber/googletalk/libjingle/talk/session/fileshare/
-rw-r--r-- root/root     42887 2011-06-24 12:03 kdenetwork-4.7.1/kopete/protocols/jabber/googletalk/libjingle/talk/session/fileshare/fileshare.cc
-rw-r--r-- root/root       324 2011-06-24 12:03 kdenetwork-4.7.1/kopete/protocols/jabber/googletalk/libjingle/talk/session/fileshare/CMakeLists.txt
-rw-r--r-- root/root      8684 2011-06-24 12:03 kdenetwork-4.7.1/kopete/protocols/jabber/googletalk/libjingle/talk/session/fileshare/fileshare.h
# tar -jtvf /usr/portage/distfiles/kdenetwork-4.6.2.tar.bz2 | grep fileshare
-rw-r--r-- root/root     13589 2011-02-25 21:47 kdenetwork-4.6.2/filesharing/advanced/propsdlgplugin/fileshare_propsdlgplugin.desktop
-rw-r--r-- root/root      8851 2011-02-25 21:47 kdenetwork-4.6.2/filesharing/simple/fileshare.desktop
-rw-r--r-- root/root      2356 2011-01-19 22:21 kdenetwork-4.6.2/filesharing/simple/fileshare.h
-rw-r--r-- root/root     13520 2011-01-19 22:21 kdenetwork-4.6.2/filesharing/simple/fileshare.cpp
drwxr-xr-x root/root         0 2011-04-01 13:13 kdenetwork-4.6.2/kopete/protocols/jabber/googletalk/libjingle/talk/session/fileshare/
-rw-r--r-- root/root     42887 2011-01-19 22:20 kdenetwork-4.6.2/kopete/protocols/jabber/googletalk/libjingle/talk/session/fileshare/fileshare.cc
-rw-r--r-- root/root       324 2011-01-19 22:20 kdenetwork-4.6.2/kopete/protocols/jabber/googletalk/libjingle/talk/session/fileshare/CMakeLists.txt
-rw-r--r-- root/root      8684 2011-01-19 22:20 kdenetwork-4.6.2/kopete/protocols/jabber/googletalk/libjingle/talk/session/fileshare/fileshare.h

As you can see, there is no fileshare module source code in kdenetwork-4.7.1, which is why kcmshell4 --list does not show any fileshare module. I assume this is by design, as I can't see how a relatively important component of KDE would be omitted without anyone from the KDE development team noticing it. Perhaps there is another method of achieving the same functionality, although I can't see what it could be at the moment.

When I get the time I'll have a look in the KDE Bug Reporting Web site to see if anything is mentioned there.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: System settings missing filesharing

Postby CCR » Wed Sep 14, 2011 17:55

Thanx that would be nice :D
Now atleast we know that it is really missing, although not why...
/CCR
CCR
Simple Hen
 
Posts: 58
Joined: Fri Jun 01, 2007 5:47
Location: Svenljunga, SWEDEN

Re: System settings missing filesharing

Postby joost » Wed Sep 14, 2011 18:39

Look here:
http://pastebin.sabayon.org/pastie/7050

Dialog is there, not sure if this is what you meant though. I never used it myself. :D
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: System settings missing filesharing

Postby Fitzcarraldo » Wed Sep 14, 2011 19:55

Yea, I've got that too, and that's essentially how I set up shared folders on my laptop in March last year: Can't share directory with remote PCs using Samba [Solved]. Maybe the KDE developers decided they only want people to do it that way, and decided to get rid of the module in System Settings which was also available. I'll contact the KDE developer of fileshare to see if he replies and clarifies what the intended functionality is w.r.t. the fileshare module.

EDIT (September 15, 2011 08:33 BST): OK, I've e-mailed the KDE developer responsible for fileshare (according to the README file in the KDE source code tarball) so let's see if he replies.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: System settings missing filesharing

Postby CCR » Thu Sep 15, 2011 17:26

Yes i also have that new thing when rightclicking a folder... But it is only for Samba now and not for NFS and Samba like before.
Also it did not work... it didn't stick when sharing a folder that way somehow.
I have set up some shared folders manually now using the samba.conf file, but i really would like to be able to easy set up both NFS and Samba with a gui like before.
Old and grumpy you know :D :D
/CCR
CCR
Simple Hen
 
Posts: 58
Joined: Fri Jun 01, 2007 5:47
Location: Svenljunga, SWEDEN

Re: System settings missing filesharing

Postby Fitzcarraldo » Sun Sep 18, 2011 19:41

Well, you'll have to complain to the KDE developers, then. Seriously, if you want it back, probably the best way is to file a bug report in the KDE Bug Tracking System requesting it to be put back.

I have not as yet received a reply to my e-mail to the KDE fileshare developer, but it's only a few days since I e-mailed him, so he may still reply. Anyway, while waiting I've been searching the Web to see if I can find out more, but, so far, no cigar. But I have downloaded the source code from the KDE Web site for kdenetwork 4.6.4, 4.6.5, 4.7.0 and 4.7.1 (KDE jumped directly from 4.6.5 to 4.7.0) and, as I suspected, KDE dropped this feature in 4.7.0.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: System settings missing filesharing

Postby CCR » Wed Sep 21, 2011 19:30

Ok i will perhaps write them too... anyway thanx a lot for looking in to it :)
Greets
/CCR
CCR
Simple Hen
 
Posts: 58
Joined: Fri Jun 01, 2007 5:47
Location: Svenljunga, SWEDEN

Previous

Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 0 guests