Page 2 of 4

Posted: Sun 03 Feb 2008, 19:42
by plinej
There's finally a new release of pcmanfm out today.

http://pcmanfm.sourceforge.net/

Posted: Sun 03 Feb 2008, 22:59
by MU
Fantastic.
The big pictures or /proc no longer crash it.
Now it is "perfect" :)

I updated it with my patches and uploaded the new dotpup.
It now is compiled with support for hal-storage.
That lib is included.
This is needed to mount drives.

On my Puppy it will not work though, as I have no "hal-daemon" running.
But if you find out how to add that, pcmanfm should use it.

Mark

Posted: Mon 04 Feb 2008, 00:11
by MU
oh no, it is broken.
The mime-handling was completely rewritten, and does not work in Puppy :(

Mark

Posted: Mon 04 Feb 2008, 03:45
by MU
ok, wrote new converterscripts.
Now new, "invisible" .desktop files are created from the rox-mimetypes.
These .desktop-files are placed in
/usr/share/applications/puppy, and contain the mime-type definitions.

This new pcmanfm depends on desktop-file-utils.
My scripts offer to download/install a dotpup I once made.

Mark

Posted: Mon 04 Feb 2008, 09:38
by MU
Updated dotpup.
my script rox2desktop had some wrong entries, fixed now.

However I found another bug:
if you right-click a file, open with, then you can choose "all applications".
Some crash pcmanfm, e.g. if you try to open a .jpg with "defaultdraw".

This should be checked...
Mark

Posted: Mon 04 Feb 2008, 13:45
by Joshas
Nice to see that development continues. I really like this file manager - is simple, fast and has only a few dependencies.
What about mounting drives in it? I wonder if it would be possible to substitute current Puppy Drive Mounter with it?

Posted: Tue 05 Feb 2008, 04:08
by MU
As far as I understood, the mounting-features require the HAL-Daemon.
We have no package for that.
I compiled pcmanfm with HAL-Support, so it could use the daemon, if we had it.

One of the 2.1x Retro-Puppys has an own solution to mount drives.
Some Icons lying on the desktops.
It would be great to have this as a dotpup.

Mark

Posted: Tue 05 Feb 2008, 04:34
by MU
Updated dotpup.
Minor change in "/usr/local/bin/rox":

Pcmanfm did not open, if invoked as
rox -d thefolder

Fix:

Code: Select all

if [ "$usepcmanfm" == "1" ];then
a=$1
if [ "$1" == "-d" ];then
a=""
fi
pcmanfm $a $2 $3 $4 $5 $6 $7 $8 $9 &
exit 0
fi
Mark

Posted: Mon 10 Mar 2008, 02:26
by Jon_J
I launched pcmanfm in a console and it is missing this lib:
libstartup-notification-1.so.0
I downloaded the 5 libs below from http://www.puppylinux.ca/ttuuxxx/Libs/
libstartup-notification-1.a
libstartup-notification-1.la
libstartup-notification-1.so
libstartup-notification-1.so.0
libstartup-notification-1.so.0.0.0

Should these be linked together in a package?
I tried copying libstartup-notification-1.so.0 to /usr/lib
Now pcmanfm spits out this error. "libstartup-notification-1.so.0" file too short"

The above website is the only place I could find this lib.
This forum returns nothing in search, although this lib is listed in this thread:
http://murga-linux.com/puppy/viewtopic. ... 79f9f28433

I'm just asking, why not have these libs symlinked together and in a package with the symlinks already created?
I don't know which of the above five libs needs to be symlinked to which one of the other five.

Off topic: When searching for a lib for my Zaurus, (linux embedded palmtop), all the libs are in packages and they are already symlinked together.
Inside the packages some only have 3 files, but others have 5 files, and several of these files(libs) are just a symlink of one of the other files(libs) in that particular lib package.

EDIT:
I just found the above lib that pcmanfm is looking for.
They are in /usr/local/Pcmanfm/lib

Do I need to symlink all these libs to /usr/lib ?

Posted: Mon 10 Mar 2008, 04:23
by MU
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

Posted: Mon 10 Mar 2008, 18:12
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

Posted: Tue 11 Mar 2008, 02:08
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

Posted: Tue 18 Mar 2008, 02:27
by Jon_J
opps - double post

Posted: Tue 18 Mar 2008, 02:30
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

Posted: Tue 18 Mar 2008, 02:42
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

Posted: Tue 18 Mar 2008, 03:10
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 :)

Posted: Tue 18 Mar 2008, 15:19
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

libstartup-notification.1.so.0

Posted: Thu 27 Mar 2008, 14:35
by charnisingh
find attached herewith the required lib.

Posted: Sat 26 Jul 2008, 03:32
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

Posted: Mon 28 Jul 2008, 14:04
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