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 Fri 01 Aug 2014, 10:21
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 1 of 5 [68 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
MU


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

PostPosted: Tue 22 Jan 2008, 22:12    Post subject:  PCMan Filemanager updated Feb, 03  

Screenshot:




full size view (110 kb):
http://noforum.de/pics/Pcmanfm.jpg


This filemanager is based on the one described in another message:
http://murga-linux.com/puppy/viewtopic.php?t=17533

It uses Tabs and bookmarks, reminds a bit about Firefox.

It uses Gtk2, and you can drag&drop files on Puppys Rox-Desktop.
You also can drag&drop files with XFileExplorer 1.0.4 (but not older ones).
You can create zips with a right-click.
It is fast, and shows Thumbnails (previews) of pictures.

You even can use a (very simple) Desktop with icons.
But this is no real replacement for Rox, as it has limited functionality.
But if you have a slow PC, it might be an alternative.
I describe that in the other message.

It is written in clean C, and is an open invitation to be modified Razz

I made these changes:
All required libraries are included.
In an own subfolder, to avoid conflict with other dotpups.
You do not need the High-color-theme.
The necessary filestructure will be created, if not there yet.

The warning "you are running as root" I disabled in the sourcecode and recompiled it.

You now can pass size and position to the first opened window.
The second then will be opened beside it.

If you run it from the startmenu, 2 windows are opened side by side.

If no configuration exists, one will be created.
It will use the gnome-icon theme, you do not need to edit gtkrc files.

Localization files are included.

Download (330 kb):
http://dotpups.de/puppy3/dotpups/File_Managers/Pcmanfm.pup
or:
http://puppyfiles.ca/dotpupsde/puppy3/dotpups/File_Managers/Pcmanfm.pup

REQUIRES:
http://dotpups.de/dotpups/Libraries/Gtk-2.8.20/optional/Gnome-icon-theme-2.14.2.pup (2.7 MB)
or:
http://puppyfiles.ca/dotpupsde/dotpups/Libraries/Gtk-2.8.20/optional/Gnome-icon-theme-2.14.2.pup


OPTIONS:
To modify window-size and startposition of the 2 windows, edit:
/usr/local/Pcmanfm/2pcmanfm

To force it to use a different icontheme, edit /usr/local/Pcmanfm/lib/pcmanfm.gtkrc
or /usr/bin/pcmanfm (this now is a startscript, that parses the new gtkrc and calls pcmanfm.bin)

ISSUES:
1.) If it will not run, type in a console:
pcmanfm.bin
Then copy&paste the errors here.
I might have forgotten a lib, and would add it then.

2.)
I added the patched main.c in the lib/ folder.
Patches begin with //MU

Mark

Last edited by MU on Sat 14 Nov 2009, 14:14; edited 5 times in total
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 22 Jan 2008, 22:30    Post subject:  

I'm pretty sure the libfamin/gamin is for an improved form of file refreshing.
Back to top
View user's profile Send private message 
MU


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

PostPosted: Tue 22 Jan 2008, 22:37    Post subject:  

Yes, think you're right.
I will look it up tomorrow after some sleep.
I remember I got that working already in the Gnome-dotpup, or in Muppy 007 more than a year ago.
It is a small server that must be launched by xsession or a startupscript like icewms startup.

I really like this one, it could become a replacement for XFE.
Maybe with some more patches I can customize it, e.g. add some buttons to open a terminal or so.

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 22 Jan 2008, 23:57    Post subject:  

I added a xmessage based script ("addmime").
It allows you to import the mime-types (file associations) from Rox-Filer.
Very simple.
It offers you to backup the old mime-file first.

*** solved ***
Btw, when I delete a file and reload, it is still visible.
I must go to another folder first, then again to the folder where I deleted, to see the change.
We really must fix that.

Mark

Last edited by MU on Wed 23 Jan 2008, 13:56; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
JB4x4

Joined: 30 Jul 2006
Posts: 256

PostPosted: Wed 23 Jan 2008, 01:26    Post subject:  

Mark,

Just a suggestion. You should also hack the code to remove the "Open Current Folder as Root" under "Tool" as this returns an error.

ref. Line 357 main-window.c
Code:
        PTK_IMG_MENU_ITEM( N_( "Open Current Folder as _Root" ),
                           GTK_STOCK_DIALOG_AUTHENTICATION,
                           on_open_current_folder_as_root, 0, 0 ),


I believe I commented that out to remove the option.

JB
Back to top
View user's profile Send private message Yahoo Messenger 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Wed 23 Jan 2008, 03:31    Post subject:  

on the previous topic there where links to MU's post of thunar where you can see links to some libs required( libgamin e.g.)

Also i have a request for a tango theme ( maybe cut with just smaller icons)

And is there a pup/pet for gpicview( image viewer form the same author)?
Thank again

_________________
skype: desafimager
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6674
Location: lisbon

PostPosted: Wed 23 Jan 2008, 04:10    Post subject:  

I did try compiling gpicview, and while it always compiled without problems, it would always seg-fault on me. Maybe with a newer gtk version it would be OK.
Back to top
View user's profile Send private message 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: Wed 23 Jan 2008, 07:24    Post subject:  

a simple newbie question: Installing PCman, I lose ROX features or not? Can I restore after uninstalling pcman?
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: Wed 23 Jan 2008, 09:28    Post subject:  

Dingo, no problem, they do not interfere.
You don't need to restore anything.
PCMan will not replace Rox.
You can use it in addition, like tuxcommander or XFE.

JB4x4 , yes, good idea. In the next release I'll add that.
Mark
Back to top
View user's profile Send private message Visit poster's website 
cb88


Joined: 28 Jan 2007
Posts: 1169
Location: USA

PostPosted: Wed 23 Jan 2008, 09:46    Post subject:  

what MU says above doesn't mean that PCmanfm CAN'T relace ROX just that it takes a little doing....and normally it doesn't interfere at all

I think ROX just provides our background and filemanager right?

well PMmanfm also can display the background and icons that are placed in ./Desktop or is it ./desktop

_________________
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30
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: Wed 23 Jan 2008, 09:54    Post subject:  

~/Desktop

You're right.
It does not replace Rox (Desktop-Icons/Background and Filemanager).
You had to modify .xinitrc to do that.
My dotpup does not do it, because I see it as an addon, not as a replacement due to the mentioned bug and limitations for the usage as desktop.

But on a slow machine it may be worth to use it instead of rox.
We have users that use no rox at all, for them it can be worth a try.
We just must find out, why the view is not refreshed when a file is deleted.
I think that is important.
Mark
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

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

I've been messing with some of the options when compiling emelfm2 and noticed the same exact problem when it gets compiled with "libfam" support. Maybe pcmanfm depends on this too?
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 23 Jan 2008, 11:24    Post subject:  

Alright, I see pcmanfm depends on libfam as well. I just did a ldd on it but haven't installed it. I built emelfm2 again enabling libfam and fixed the problem by installing the latest libfam from:

ftp://oss.sgi.com/projects/fam/download/
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 23 Jan 2008, 11:41    Post subject:  

The really strange thing though is I need to build it against the libfam currently in puppy and then use the replacement libfam. If I build it against the replacement libfam I get the same exact problem.

-------------------

Disregard the above comment. I can build against the new libfam and it works fine. I think I had an open instance of emelfm2 after installing my newly compiled version. I'm fairly certain the libfam in puppy is outdated and not working correctly.

Here's the version I compiled in Puppy 4 (hopefully it'll work in Puppy 3).
fam-2.7.0.pet
Description 
pet

 Download 
Filename  fam-2.7.0.pet 
Filesize  60.6 KB 
Downloaded  1214 Time(s) 
fam_dev-2.7.0.pet
Description 
pet

 Download 
Filename  fam_dev-2.7.0.pet 
Filesize  3.88 KB 
Downloaded  997 Time(s) 
Back to top
View user's profile Send private message 
MU


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

PostPosted: Wed 23 Jan 2008, 13:53    Post subject:  

I compiled it with libfam from Debian stable I think.

I updated the dotpup.

Solved: Refresh view when files are added or deleted.
It just required that gamin_server runs. That is included now (also in my own /lib/ folder to avoid conflicts).

Added: An icon to open a consolewindow.
Removed: the "location" label.

Removed: "Tool - Open folder as root"
Added: "Tool - import Mime-types". This runs my import-script.
Fixed: import-script created backup when you clicked on "cancel".

Now it is a veeeeeeeeery fine filemanager for me Cool Razz

Mark
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 5 [68 Posts]   Goto page: 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.0845s ][ Queries: 13 (0.0062s) ][ GZIP on ]