PCMan Filemanager updated Feb, 03

Stuff that has yet to be sorted into a category.
Message
Author
plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#21 Post by plinej »

There's finally a new release of pcmanfm out today.

http://pcmanfm.sourceforge.net/
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#22 Post 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
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#23 Post by MU »

oh no, it is broken.
The mime-handling was completely rewritten, and does not work in Puppy :(

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

#24 Post 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
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#25 Post 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
Joshas
Posts: 26
Joined: Mon 21 Jan 2008, 13:59

#26 Post 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?
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#27 Post 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
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#28 Post 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
User avatar
Jon_J
Posts: 76
Joined: Thu 06 Mar 2008, 20:10
Location: Illinois

#29 Post 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 ?
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#30 Post 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
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
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
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 653 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
Post Reply