PCMan Filemanager updated Feb, 03

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
Jon_J
Posts: 76
Joined: Thu 06 Mar 2008, 20:10
Location: Illinois

#31 Post by Jon_J »

MU,
I'll have to try your suggestions later, sorry...
I have since uninstalled PCManfm, and doing this caused my desktop to disappear upon restart of 'X'
I decided to re-install puppy-2.17.1-nolzma-seamonkey-fulldrivers.iso onto itself, but then Grub got corrupted.
I know I should have used a backup, but I just started using Puppy Linux, for the first time, 3 days ago, and haven't made any backups.
Using the Live-CD, I reformatted my linux partition and started over from a fresh install of puppy-2.17.1-nolzma-seamonkey-fulldrivers.iso

I also need to mention that I had previously tried installing several other dotpups and had probs with them.
I tried 2 versions of emelfm2 and had to uninstall them. I tried 3 different versions of mrxvt before I found a version with transparency that worked.
Installing those, and several other dotpups and pets required some additional libraries and dependencies that may have corrupted my Puppy setup. This is why I decided to start over with a fresh install of Puppy.
I'll try PCManfm later when I get more time... It will be my first dotpup along with "Gnome-icon-theme-2.14.2.pup"
MU wrote:the libs should be included by /usr/bin/pcmanfm , which is a script.
It includes this line:
export LD_LIBRARY_PATH="/usr/local/Pcmanfm/lib:$LD_LIBRARY_PATH"
Can you confirm that?

If yes, then maybe libstartup-notification cannot be loaded because of another missing lib.

Please type this in a console:

cd /usr/local/Pcmanfm/lib
ldd libstartup-notification-1.so

This should report:

Code: Select all

# ldd libstartup-notification-1.so
        linux-gate.so.1 =>  (0xffffe000)
        libSM.so.6 => /usr/X11R7/lib/libSM.so.6 (0xb7fe0000)
        libICE.so.6 => /usr/X11R7/lib/libICE.so.6 (0xb7fc8000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7ee0000)
        libc.so.6 => /lib/libc.so.6 (0xb7d9e000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7d9c000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7d84000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7d80000)
        /lib/ld-linux.so.2 (0x80000000)
        libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb7d7d000)
        libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb7d78000)
If you get a "not found" here, please tell me what is not found.

Mark

User avatar
Jon_J
Posts: 76
Joined: Thu 06 Mar 2008, 20:10
Location: Illinois

#32 Post by Jon_J »

I decided to change my Puppy to "fat-free-3.01-xorg", (Ignore my sig, I need to update it).
I'm getting the same notifications on fat-free-3.01 as I did when installing Pcmanfm on Puppy 2.17
I first installed "Gnome-icon-theme-2.14.2.pup"
Then while Pcmanfm is installing, the first message I get is:
created backup: /usr/local/bin/rox.12710
Then I get another message:
These files already exist, overwrite them?
=> /usr/local/bin/rox


I decided to abort this install at this point because (as mentioned in my post above) I lost my desktop after I un-installed Pcmanfm on my previous Puppy 2.17
[color=green][size=75]Dell Mini-10 tri boot | Win XP, Mint 7 XFCE, Puppy 4.3-small
Intel Core2 Duo 2.80GHz 2GB Ram Win XP sp3
Pentium 3/600Mhz 256MB Ram tri boot Puppy-Full-3.01|1.0.4|Win98
Sharp Zaurus Linux devices SL-C3100 & SL-C3200[/size][/color]

User avatar
Jon_J
Posts: 76
Joined: Thu 06 Mar 2008, 20:10
Location: Illinois

#33 Post by Jon_J »

opps - double post
Last edited by Jon_J on Tue 18 Mar 2008, 02:38, edited 1 time in total.
[color=green][size=75]Dell Mini-10 tri boot | Win XP, Mint 7 XFCE, Puppy 4.3-small
Intel Core2 Duo 2.80GHz 2GB Ram Win XP sp3
Pentium 3/600Mhz 256MB Ram tri boot Puppy-Full-3.01|1.0.4|Win98
Sharp Zaurus Linux devices SL-C3100 & SL-C3200[/size][/color]

User avatar
Jon_J
Posts: 76
Joined: Thu 06 Mar 2008, 20:10
Location: Illinois

#34 Post by Jon_J »

MU wrote:the libs should be included by /usr/bin/pcmanfm , which is a script.
It includes this line:
export LD_LIBRARY_PATH="/usr/local/Pcmanfm/lib:$LD_LIBRARY_PATH"
Can you confirm that?

If yes, then maybe libstartup-notification cannot be loaded because of another missing lib.

Please type this in a console:

cd /usr/local/Pcmanfm/lib
ldd libstartup-notification-1.so

This should report:

Code: Select all

# ldd libstartup-notification-1.so
        linux-gate.so.1 =>  (0xffffe000)
        libSM.so.6 => /usr/X11R7/lib/libSM.so.6 (0xb7fe0000)
        libICE.so.6 => /usr/X11R7/lib/libICE.so.6 (0xb7fc8000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7ee0000)
        libc.so.6 => /lib/libc.so.6 (0xb7d9e000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7d9c000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7d84000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7d80000)
        /lib/ld-linux.so.2 (0x80000000)
        libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb7d7d000)
        libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb7d78000)
If you get a "not found" here, please tell me what is not found.

Mark
Here is the output of the above command: (notice there are differences)
cd /usr/local/Pcmanfm/lib
ldd libstartup-notification-1.so

Code: Select all

# ldd libstartup-notification-1.so
        linux-gate.so.1 =>  (0xffffe000)
        libSM.so.6 => /usr/X11R7/lib/libSM.so.6 (0xb7f3e000)
        libICE.so.6 => /usr/X11R7/lib/libICE.so.6 (0xb7f26000)
        libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb7e3e000)
        libc.so.6 => /lib/libc.so.6 (0xb7cfc000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7cfa000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7ce2000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7cde000)
        /lib/ld-linux.so.2 (0x80000000)
        libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb7cdb000)
        libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb7cd6000)
Sorry to bring this back up. I am trying this again.
I've acquired more knowledge how Puppy Linux works, but apparently not enough. :? :)
I started with a fresh install of Puppy 3.01
I tried launching pcmanfm.bin in a console like directed in the first post on page one.
I got "cannot open shared object file" (libfam.so.0 is missing)
I found this lib inside "Gamin-0.1.7.pup" and installed it. Rebooted.
Now I get "cannot open shared object file" (libhal-storage.so.1 is missing)
I'm not sure how to chase down missing deps in Puppy with newly made programs.
I'm used to launching a binary in a console and googling/searching a forum for deps/files.

Usually if installing from a feed, the deps are listed in the "Packages" file and are downloaded, (if the server is up).
I had a problem with pcmanfm after first launching it.
It needed a GTK2 dep and couldn't connect to the feed.
Now it doesn't try this anymore when I launch it.

EDIT:
I tried some stuff in the pcmanfm and hit "update desktop database" It spit out an error, but this time it connected to the server and downloaded:
desktop-file-utils-0.11.pup

Jon
Last edited by Jon_J on Tue 18 Mar 2008, 03:07, edited 1 time in total.
[color=green][size=75]Dell Mini-10 tri boot | Win XP, Mint 7 XFCE, Puppy 4.3-small
Intel Core2 Duo 2.80GHz 2GB Ram Win XP sp3
Pentium 3/600Mhz 256MB Ram tri boot Puppy-Full-3.01|1.0.4|Win98
Sharp Zaurus Linux devices SL-C3100 & SL-C3200[/size][/color]

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

#35 Post by MU »

I got "cannot open shared object file" (libfam.so.0 is missing)
Now I get "cannot open shared object file" (libhal-storage.so.1 is missing)
These are in
/usr/local/Pcmanfm/lib

They are included by the startscript pcmanfm.
Also your result for libstartupnotification.so looks ok.
So I'm baffled what still could be wrong, I'm out of idea at moment :(

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

User avatar
Jon_J
Posts: 76
Joined: Thu 06 Mar 2008, 20:10
Location: Illinois

#36 Post by Jon_J »

It seems to be working.
It launches and it finally downloaded a file it couldn't connect to earlier. I updated my last post.

Is there anyway to force it to open only one window and save its windowsize and position?

Thank you :)
[color=green][size=75]Dell Mini-10 tri boot | Win XP, Mint 7 XFCE, Puppy 4.3-small
Intel Core2 Duo 2.80GHz 2GB Ram Win XP sp3
Pentium 3/600Mhz 256MB Ram tri boot Puppy-Full-3.01|1.0.4|Win98
Sharp Zaurus Linux devices SL-C3100 & SL-C3200[/size][/color]

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

#37 Post by MU »

Is there anyway to force it to open only one window and save its windowsize and position?
Yes, by default the menu-entry opens 2 windows (script: "2pcfmanfm").
To open only one, run "pcmanfm" instead.
It should remember the size and position when you close and start again.

Or click on the home-icon on your desktop, if you allowed to replace rox with pcmanfm.

Pcmanfm on installation will rename rox to rox-real and add a script "rox", that will run pcmanfm or rox depending on the options that are passed.

So if "rox /root" is run (by clicking the home-icon), then pcmanfm is run.
if "rox -pinboard ..." is run, then rox-real is used.

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

charnisingh
Posts: 138
Joined: Sat 06 Oct 2007, 11:58

libstartup-notification.1.so.0

#38 Post by charnisingh »

find attached herewith the required lib.
Attachments
libstartup-notification-1.so.0.tar.gz
attaced
(12.95 KiB) Downloaded 648 times

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#39 Post by big_bass »

[quote="MU"
Now it is a veeeeeeeeery fine filemanager for me 8) :P

Mark[/quote]


Mark

me too 8)

I tried compiling this today in the morning and got suck with this error
http://qmail.jms1.net/courier/courier-no-fam.shtml
and then searched the forum for the easy way out :wink:
found out that you already did it anyway 8)
saved me a headache

P.S works perfectly for me
and you did a great job with your options in the dot pup script
the script detected I was missing something and downloaded it
excellent !

thanks a lot
big_bass

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

#40 Post by Eastern Counties »

Is there any reason that pcmanfm will not work in Puppy 4? All that has happened is that my Rox root home desktop icon doesn't open. If I start 2pcmanfm or pcmanfm.bin from a terminal, I get no error messages.
Any ideas?
Thanks
John

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]

Post Reply