PCMan Filemanager updated Feb, 03

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#46 Post by MU »

Fine :)
The lib is just required, because Pcmanfm was compiled with support for it.
But it is unused, as you have no full dbus on your Puppy.

In Muppy 0084alpha I just added:
dbus
hal
udev

3 daemons with *many* configfiles, that also slow down startup slightly..
As a result, Pcmanfm now shows all drives in the left pane (so you will not need hotpup, mut or pmount).

"Nice to have" but not really important.
I added the daemons for another reason, because more and more programs use it.
This makes it easier to use Gnome and KDE.
It was/is somewhat painfull to set these daemons up, I still get errors from some programs, though Gnome works ok meanwhile.
Because it is so difficult, I want to have them already installed, so that Muppys users don't have to bother with this issue.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
Eastern Counties
Posts: 145
Joined: Tue 31 Jan 2006, 18:09
Location: UK

#47 Post by Eastern Counties »

And what a neat little file manager PCMan is ...

brymway
Posts: 407
Joined: Sun 09 Dec 2007, 01:08

#48 Post by brymway »

After reading thru and adding all the libs and dependencies I finally got pcman to work. I got hooked on it messing around with Muppy and when I put my normal dingo in I just had to have it. Well, I've upgraded to 4.1 alpha 7 and everything was hunky dory. But as soon as I got pcman working, the 'mounting' icons on the bottom of the screen don't work. I used to be able to click them, the computer would mount the drive and open the contents window. Now when I click any of the drives nothing happens. Is this linked to using the pcman filer? Along those same lines, is it possible to have the drives listed on the left window like on Muppy?

I know, two questions is a no-no but I am hoping they are closely related.
[url]http://wellminded.com/puppy/pupsearch.html[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#49 Post by MU »

the mount icons depend on dbus, hal, and udev.
Puppy 4 has udev, but not hal and dbus as far as I know, because Barry developed an own eventmanager, that replaces them.

It was somewhat difficult to get all three working for Muppy, so I cannot give quick instructions for dingo.

Hotpup (the icons that display drives on the desktop), is also modified by Barry for dingo.
It seems that without a closer look at the code, at moment we must state, that the different eventsystems are incompatible.

It would require some programming to fix this, but I currently am busy in adding new Kernels to Muppy, so I cannot look at that issue.

One thing you can try:
edit the script that launches pcmanfm (/usr/bin/pcmanfm).
try to comment the line:

Code: Select all

/usr/local/Pcmanfm/lib/gam_server &
to

Code: Select all

#/usr/local/Pcmanfm/lib/gam_server &
Maybe that fixes the hotpup issue.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

brymway
Posts: 407
Joined: Sun 09 Dec 2007, 01:08

#50 Post by brymway »

Nope, that didn't do it. Thanks for the help anyway. I can wait until later. Keep up the great work with Muppy. I like it.
[url]http://wellminded.com/puppy/pupsearch.html[/url]

User avatar
droope
Posts: 801
Joined: Fri 01 Aug 2008, 00:17
Location: Uruguay, Mercedes

#51 Post by droope »

Hi

Have an issue, couldn't solve it reading the post.

pcmanfm.bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory


Perhaps you could help me? :)

Thanks.

Hayig2000
Posts: 6
Joined: Tue 27 Jan 2009, 21:28

Dependency check

#52 Post by Hayig2000 »

These dependencies required by Pcmanfm package are missing:
File /usr/local/Pcmanfm/lib/libdbus-glib-1.so.2.1.0 has these missing library files:
libdbus-1.so.3
File /usr/local/Pcmanfm/lib/libhal-storage.so.1.0.0 has these missing library files:
libdbus-1.so.3 libhal.so.1
File /usr/local/Pcmanfm/lib/libhal.so.1.0.0 has these missing library files:
libdbus-1.so.3
File /usr/bin/pcmanfm.bin has these missing library files:
libfam.so.0 libdbus-glib-1.so.2 libhal-storage.so.1 libhal.so.1 libdbus-1.so.3

The PETget package manager does not know what package/s has/have these libraries.

Using puppy 4.1.2

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#53 Post by MU »

some of them are in /usr/local/Pcmanfm/libs/.
Petget just does not see them, as they are visible only for the pcmanfm startscript.
Those not there should be available in the Puppy 3 repository.
It is in Petget in the Puppy 3 tab, or search them here:
ftp://ibiblio.org/pub/linux/distributio ... ackages-3/

I think you only need:
ftp://ibiblio.org/pub/linux/distributio ... -1.0.2.pet

Hal is not explicitly needed I think.
Mark
Last edited by MU on Mon 02 Feb 2009, 16:20, edited 1 time in total.
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#54 Post by MU »

I attach HAL from Muppy 0084 (Slackware 12.1).
Install it ONLY in a system, that has no HAL yet. Do not use it in Newyearspup/wows puplet.
I did not try it in Puppy 4.12, so backup your savefile first.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#55 Post by magerlab »

i've installed pcman 0.5 from slackware on puppy 4.1.2
works fine but complains that it can not connect to hal daemon

is there a way to set up hal to work as in unnamed pupplet?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#56 Post by MU »

to use hal and dbus, copy from ultrapup:

/etc/rc.d/rc.hald and rc.messagebus.
If you don't have it, I can attach them.

Then search /etc/rc.d/rc.sysinit for:

Code: Select all

#v408 only needed for 2.6.21.7, as 2.6.25.x loads these automatically...
#v408 kirk: Check for laptop battery...
modprobe battery
if [ -d /proc/acpi/battery ]; then
 results="`find /proc/acpi/battery -mindepth 1 -type d`"
 if [ ! -z "$results" ]; then
  modprobe ac
  modprobe thermal
  modprobe fan
 else
  rmmod battery
 fi
fi
Add afterwards:

Code: Select all

echo -n " * Starting system message bus" >/dev/console
/etc/rc.d/rc.messagebus start
echo -e "\\033[72G\\033[1;32mdone\\033[0;39m" >/dev/console #green [done] msg.
echo -n " * Hardware abstraction layer" >/dev/console
/etc/rc.d/rc.hald start
I have not tried, if this is sufficient, but it could be.
In Muppy, I used an extrascript in /etc/init.d/, that ran these commands.
Important is to run dbus before hal, if I remember well.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

macrocephalic
Posts: 9
Joined: Thu 26 Mar 2009, 00:55

#57 Post by macrocephalic »

It was a bit of a pain to get it all working (getting all the libs etc) but now that it's working I'm very happy.

ROX is such an inadequate file manager it's disgusting - but this makes things a lot easier to use i.e.
-full path displayed in editable address bar
-tabs
-double click open (I have a touchpad with tap-scroll and single click is really clumsy)
-start typing file name to seek to it.

The only thing that doesn't seem to work straight off yet is the drive icon on the desktop (does nothing). I can manually change the link to run /usr/bin/pcmanfm with the arguments /root/.pup_event/drive_sda1 - but of course this won't fix the ongoing problem when I plug removable drives in etc.

Thanks MU

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#58 Post by magerlab »

i think you can try to use pup_event manager for xfce 4 pets made by gray see here
http://puppylinux.asia/tpp/NOP/
it puts icons into desktop folder so they are visible in pcmanfm also

macrocephalic
Posts: 9
Joined: Thu 26 Mar 2009, 00:55

#59 Post by macrocephalic »

That site needs a username and password.

Also I might not be understanding correctly - but I'm still using the ROX desktop and just using PCmanfm for the file manager now.

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#60 Post by magerlab »

name puppy
pswd linux

i thought tht you use pcmanfm to provide desktop, sorry.

whatshisname
Posts: 22
Joined: Mon 12 May 2008, 00:34

Trying to install PCManfm

#61 Post by whatshisname »

I've tried everything suggested in this thread but still can't get pcmanfm to run.

Getting this error:

pcmanfm.bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory

I tried linking libdbus-glib-1.so.2 to libdbus-1.so.3.4.0 but still getting the same error message.

Running Puppy 4.3.1

Whoa!!

Immediately after making this post, I tried clicking the icon instead of running pcmanfm.bin from the command line and it works despite the error from the command line!

Hallelujah. Finally a decent file manager for Puppy. Thanks, everyone.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#62 Post by MU »

I tried linking libdbus-glib-1.so.2 to libdbus-1.so.3.4.0
this will not work, dbus-glib is not dbus.

The dotpup includes
/usr/local/Pcmanfm/lib/libdbus-glib-1.so.2

That library folder is included by the startscript /usr/bin/pcmanfm

If that library does not work for you, then it misses a dependency.
To find that out, please type:

export LD_LIBRARY_PATH="/usr/local/Pcmanfm/lib:$LD_LIBRARY_PATH"
ldd /usr/local/Pcmanfm/lib/libdbus-glib-1.so.2


If you get here a file with the comment "not found", then please post here, which one it is.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#63 Post by MU »

ok, I see that you edited your message.
Yes, clicking the icon runs a startscript "pcmanfm".
This script activates the libraries, that I have added in an own folder, as explained in my former message.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

whatshisname
Posts: 22
Joined: Mon 12 May 2008, 00:34

#64 Post by whatshisname »

MU wrote:ok, I see that you edited your message.
Yes, clicking the icon runs a startscript "pcmanfm".
This script activates the libraries, that I have added in an own folder, as explained in my former message.

Mark
Thanks for the reply.

I went back and deleted the incorrect symbolic link I had made and set it back to what I had tried to do first, which was:

ln -s libdbus-1.so.3 libdbus-glib-1.so.2

and thought didn't work because of the error message I was getting when running "pcmanfm.bin" from the command line.

PCMan is working with this symbolic link now.

Thank you *so* much for getting PcMan to work on Puppy. Rox sucks so bad as far as I'm concerned. With PcMan as an option, I don't understand why it isn't the default file manager for Puppy. It at least ought to be in the repositories. I'll sacrifice size, if that's the issue, for this kind of functionality any day of the week.

Now that I have Firedog and PcMan working on Puppy, I couldn't be happier with this distro on an ancient Dell Inspiron 2600 with 128 megs of ram. I'd be throwing this laptop away if it weren't for Puppy.

I, and the Gods of Green, thank you! :-)

dougeeebear
Posts: 170
Joined: Wed 08 Apr 2009, 15:36
Location: Mid-South, USA

#65 Post by dougeeebear »

PCMan File Manager is working perfectly in Puppeee 4.31.
A great big thank you for this!

Post Reply