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:

#41 Post by MU »

edit /usr/bin/pcmanfm

The last line,
from:

Code: Select all

pcmanfm.bin "$@" 2>/dev/null &
to:

Code: Select all

pcmanfm.bin "$@"  &
Now you should see errors by typing
pcmanfm

if you look at that script you see, that it runs gam_server and other things.
If they do not meet the library-requirements, there might be problems.

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

#42 Post by Eastern Counties »

Thanks for your reply, Mark. I did as you suggested and got a warning that I was missing libdbus-1.so.3. Since this wasn't amongst the other libdbuses in /usr/local/Pcmanfm/lib/ I made a symlink to libdbus-glib-1.so.2.1.0 called libdbus-1.so.3. However, when I used your script again, it still said that libdbus-1.so.3 was missing.

John

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

#43 Post by Eastern Counties »

My error - i mistyped the names of the linkk and target.

OK, with the symlink to libdbus-glib-1.so.2.1.0 called libdbus-1.so.3, I get a different error message:
pcmanfm.bin: symbol lookup error: /usr/local/Pcmanfm/lib/libdbus-glib-1.so.2: undefined symbol: dbus_connection_unref

Thanks again

John

PS How do I copy and paste error messages from a terminal?

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

#44 Post by MU »

PS How do I copy and paste error messages from a terminal?
Select with the mouse.
Middle click in the forum-message to paste.
Or send the output to a textfile:
for example:
ls -al 2>&1 >/root/test.txt


I attach the dbus lib from my current testsystem.
If it does not work, I could add an older one.

Extract in /usr/bin/

Mark
Attachments
libdbus-1.so.3.4.0.tar.gz
(91.52 KiB) Downloaded 582 times
[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

#45 Post by Eastern Counties »

Many thanks, Mark, that seems to have done the trick. I get a repeated error message as below (thanks also for tip on how to copy and paste):

** (pcmanfm.bin:26342): WARNING **: Failed to connect to the HAL daemon: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
#
** (pcmanfm.bin:26342): WARNING **: mime-type inode/directory has no desc


But the file manager opens anyway.

Thanks again

John

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.

Post Reply