Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Sep 2014, 08:02
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
PCMan Filemanager updated Feb, 03
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 5 [68 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 23 Jan 2008, 15:18    Post subject:  

updated again.
Small patch in source, now it remembers the window-size again.
That was a bit broken by my sidebyside code.

TIP: OUTDATED, SEE UPDATE FURTHER DOWN. FORGET THIS TIP!
Quote:

How to use Pcmanfm as a replacement for Rox-Filer windows:

Edit /root/.xinitrc

Replace:
Code:
rox -p /root/Choices/ROX-Filer/PuppyPin

with:
Code:
rox-real -p /root/Choices/ROX-Filer/PuppyPin


Now rename
/usr/local/bin/rox
to
/usr/local/bin/rox-real

Now create a symlink, type in a console:
ln -s /usr/bin/pcmanfm /usr/local/bin/rox



Like this Rox is still used to display the Backgroundpicture and desktop-icons.
But if you click on your "Home" (Files) Icon, then Pcmanfm will be opened instead of a Rox-window.


Mark

Last edited by MU on Thu 31 Jan 2008, 16:51; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
kdulcimer

Joined: 07 Jun 2006
Posts: 37

PostPosted: Fri 25 Jan 2008, 17:40    Post subject:  

Hello,

Do you have the .patch files stored elsewhere? I am interested in applying these patches to an RPM. Thanks.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 25 Jan 2008, 18:28    Post subject:  

you can unzip the dotpup.
Rename it to .zip, then use your favourite packager.
The patched files are in /usr/local/Pcmanfm/lib/patched-source/
Mark
Back to top
View user's profile Send private message Visit poster's website 
kdulcimer

Joined: 07 Jun 2006
Posts: 37

PostPosted: Fri 25 Jan 2008, 23:10    Post subject:  

Thank you very much, Sir!
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Thu 31 Jan 2008, 16:49    Post subject:  

I updated the dotpup.

You no longer need to rename files, to use pcmanfm instead of Rox.
I added a utility, that handles if you want to activate Rox-Filer-windows or Pcmanfm-windows.

It includes a modified rox startscript, that will check in a configfile, if it shall use rox or pcmanfm to display filerwindows.
The configfile is set by a utility in the menu, "set-Pcmanfm".
It will always use Rox-filer for special commands like --RPC (to set the backgroundpicture) or running PuppyPin (the desktop-Icons of Puppy).
A backup of your old /usr/local/bin/rox is created on installation.

Mark
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sun 03 Feb 2008, 15:42    Post subject:  

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

http://pcmanfm.sourceforge.net/
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 03 Feb 2008, 18:59    Post subject:  

Fantastic.
The big pictures or /proc no longer crash it.
Now it is "perfect" Smile

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
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 03 Feb 2008, 20:11    Post subject:  

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

Mark
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 03 Feb 2008, 23:45    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 04 Feb 2008, 05:38    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
Joshas

Joined: 21 Jan 2008
Posts: 26

PostPosted: Mon 04 Feb 2008, 09:45    Post subject:  

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?
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 05 Feb 2008, 00:08    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 05 Feb 2008, 00:34    Post subject:  

Updated dotpup.
Minor change in "/usr/local/bin/rox":

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

Fix:
Code:
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
Back to top
View user's profile Send private message Visit poster's website 
Jon_J


Joined: 06 Mar 2008
Posts: 76
Location: Illinois

PostPosted: Sun 09 Mar 2008, 22:26    Post subject:  

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.php?p=161136&sid=5c6e2f2f4dbc38710e8ba379f9f28433

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 ?
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 10 Mar 2008, 00:23    Post subject:  

the libs should be included by /usr/bin/pcmanfm , which is a script.
It includes this line:
Quote:
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:
# 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

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 5 [68 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0858s ][ Queries: 13 (0.0092s) ][ GZIP on ]