PCMan Filemanager updated Feb, 03
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
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_M ... cmanfm.pup
or:
http://puppyfiles.ca/dotpupsde/puppy3/d ... cmanfm.pup
REQUIRES:
http://dotpups.de/dotpups/Libraries/Gtk ... 2.14.2.pup (2.7 MB)
or:
http://puppyfiles.ca/dotpupsde/dotpups/ ... 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
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
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_M ... cmanfm.pup
or:
http://puppyfiles.ca/dotpupsde/puppy3/d ... cmanfm.pup
REQUIRES:
http://dotpups.de/dotpups/Libraries/Gtk ... 2.14.2.pup (2.7 MB)
or:
http://puppyfiles.ca/dotpupsde/dotpups/ ... 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, 18:14, edited 5 times in total.
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
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
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
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, 17:56, edited 1 time in total.
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
I believe I commented that out to remove the option.
JB
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: Select all
PTK_IMG_MENU_ITEM( N_( "Open Current Folder as _Root" ),
GTK_STOCK_DIALOG_AUTHENTICATION,
on_open_current_folder_as_root, 0, 0 ),
JB
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
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
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
~/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
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
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/
ftp://oss.sgi.com/projects/fam/download/
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).
-------------------
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).
- Attachments
-
- fam-2.7.0.pet
- (60.6 KiB) Downloaded 1571 times
-
- fam_dev-2.7.0.pet
- (3.88 KiB) Downloaded 1364 times
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
Mark
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
Mark
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!
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!
MarkHow to use Pcmanfm as a replacement for Rox-Filer windows:
Edit /root/.xinitrc
Replace:with:Code: Select all
rox -p /root/Choices/ROX-Filer/PuppyPin
Now renameCode: Select all
rox-real -p /root/Choices/ROX-Filer/PuppyPin
/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.
Last edited by MU on Thu 31 Jan 2008, 20:51, edited 1 time in total.
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
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