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 06 Mar 2015, 16:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
PCManFM 1.2.3 compiled for Tahrpup 6
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Sun 25 Jan 2015, 21:27    Post subject:  PCManFM 1.2.3 compiled for Tahrpup 6
Subject description: A simple alternative to ROX-Filer, that 'fits-in' with Rox desktop
 

Edit 8 Feb 2015:

This project has become; To provide PCManFM on Tahrpup 6, and have it 'fit-in' with a Rox desktop.
I have not tried to make desktop menus available in PCManFM. With Rox, just right click any space on the desktop.
I have not tried to make partitions available as bookmarks. Instead there is a .pet to enable the Puppy desktop partitions icons to open the dierctory in PCManFM.
In a similar vein, there is a .pet so that an auto-mount, e.g. when a .iso file is clicked, opens the directory in PCManFM.
Both these .pet's will only use PCManFM if they find a PCManFM icon on the desktop.

Install as ordinary sfs:
1) Download http://www.fishprogs.info/puppy/tahr6/menus_pcmanfm-0.1.pet(4K) and install. It replaces ".menu" files that already exist in the puppy.sfs.
2) Download http://www.fishprogs.info/puppy/tahr6/pcmanfm-1.2.3-4.sfs(860K) and move to Tahrpup's frugal install directory.
3) Load with SFS-Load.

Install as adrv sfs:
1) Download http://www.fishprogs.info/puppy/tahr6/pcmanfm-1.2.3-4.sfs(860K) and move to Tahrpup's frugal install directory.
2) Rename as "adrv_tahr_6.0.sfs", "adrv_tahr_6.0.1.sfs" or "adrv_tahr_6.0.2.sfs" as appropriate.
3) Reboot.

Install optional use with desktop icons:
1) Download http://www.fishprogs.info/puppy/tahr6/drive_all_pcmanfm-0.1.pet(7K) and install.
2) Refresh existing icons with "Desktop"->"Desktop drive icons manager".
3) Drag "/usr/share/applications/pcmanfm.desktop" to desktop, if not already there.

Install optional use with auto-mount:
1) Download http://www.fishprogs.info/puppy/tahr6/filemnt_pcmanfm-0.2.pet(4K) and install.
2) Drag "/usr/share/applications/pcmanfm.desktop" to desktop, if not already there.

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

Here is an sfs of the current 'PCManFM' compiled on Tahrpup 6.
It includes a compiled 'libfm-1.2.3' and 'menu-cache' from ubuntu via PPM.
It should run without any extra downloads. Simply install with SFS-Load.
There should be a '.desktop' file in '/usr/share/applications', and a menu entry in 'Filesystem'.
This is an sfs so it's contents will not override anything.

To enhance the integration of 'PCManFM' into Tahrpup, here is a pet containing a patched 'dirive_all'.
After installing the pet, and refreshing the desktop drive icons, clicking on a partition icon will open it in 'ROX-Filer' as usual. But if you drag the 'pcmanfm.desktop' file to the desktop, clicking on a partition icon will open it with 'PcmanFm'.
This is a pet so the contents will override the 'drive_all' in 'puppy_tahr_6.0.1.sfs'.

Further enhancement to integration; a pet that contains a patched version of 'filemnt'. This opens the root directory of the mounted file system in 'PCManFM' if it is on the desktop.

Edit: updated sfs file, see 'fix "Open with"' post.
The sfs also works Ok if renamed to be an 'adrv'.

Limitations of this implementation:
1) Partitions do not appear in left pane, hence the patched "drive_all".
2) No access to the application menus.
3) No "Installed Applications" in "Open With", but "Custom Command Line" works. (The ".desktop" files in "/root/.local/share/applications" can have "Icon=" lines added to make the right-click menu prettier.)
So, this is a no-frills file manager, but as such it works fine for me.
And it has no "running as root" nag.

Edit: 3) has been fixed with help from peebee, see later post.
sfs file has been updated.

Edit: sfs file updated to "pcmanfm-1.2.3-3.sfs"
Fixes icons in "Open With..." icons when loaded as ordinary sfs.

gyro

Last edited by gyro on Mon 02 Mar 2015, 12:34; edited 15 times in total
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Mon 26 Jan 2015, 01:54    Post subject: updated pcmanfm-1.2.3.sfs  

Just uploaded an updated pcmanfm-1.2.3.sfs to replace the original. The url for downloading is the same.
The only fix is to pcmanfm to store it's default config in a place compatible with libfm.
So just a tidy. No change in functionality. No change that would affect testing.
gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Wed 28 Jan 2015, 05:54    Post subject: Update - fix icons  

Replaced pcmanfm.1.2.3.sfs with an updated one.
Improved pcmanfm's ability to find icons by adding some symbolic links, and some 24x24 icons.
gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Mon 02 Feb 2015, 03:11    Post subject: Update - fix "Open with"  

Uploaded new version of sfs as "pcmanm-1.2.3-1.sfs".

Most important change is that "Open with" now works.
Also moved it to "/usr" instead of "/usr/local".
And updated a couple of icons.

Added 'filemnt_pcmanfm-01.pet' so that clicking on .iso and .sfs files results in them being opened in 'PcmanFM' rather than 'ROX-Filer', if there is a 'PcmanFM' icon on the desktop.

For download url's please see the first post.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Tue 03 Feb 2015, 04:48    Post subject:  

Added some "Limitations of this implementation:" comments to the first post.
gyro
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 1708
Location: Worcestershire, UK

PostPosted: Tue 03 Feb 2015, 04:57    Post subject:  

gyro wrote:
Added some "Limitations of this implementation:" comments to the first post.
gyro


Hi gyro

Been following your posts - I also like PcManFM....

You would need to add menu-cache to get applications working

To get partitions in the panel you need pup-volume-monitor + gvfs + a patched libgio

You would also need these other components to get things like the trash can and network access (ftp) working.....

I can help with all these things (as I've already done them for LxPupTahr) if you want to take this further.

Cheers
peebee

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Tue 03 Feb 2015, 05:22    Post subject:  

peebee wrote:
Hi gyro

Been following your posts - I also like PcManFM....

You would need to add menu-cache to get applications working

To get partitions in the panel you need pup-volume-monitor + gvfs + a patched libgio

You would also need these other components to get things like the trash can and network access (ftp) working.....

I can help with all these things (as I've already done them for LxPupTahr) if you want to take this further.

Cheers
peebee
Thanks, I appreciate your offer, and if I were a PCManFM fan trying to port it to Tahrpup, I would probably take you up on it.
But, I'm new to PCManFM, so the missing bits don't worry me, I just wanted to have an alternative to ROX-Filer. And I'm quite happy with the result I've got, given the effort I've expended.
So, for the immediate future, I thankfully decline your offer.

But I do have something to offer you. A patch to PCManFM to remove the "running as root" nag, if your are interested?

PS: I'm beginning to like PCManFM.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Tue 03 Feb 2015, 09:49    Post subject:  

peebee wrote:
You would need to add menu-cache to get applications working
On second thought, I would like to try and get "Open With"->"Installed Applications" to work.
I already have "menu-cache" included. But no "Installed Applications". If it's not there, PCManFM exits when "Open With" is clicked on.
Do I have to create an "/etc/xdg/menus/puppy-applications.menu"?
If this could work, can it relate to the existing "/etc/xdg/menus/puppy-*.menu" files?

gyro
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 1708
Location: Worcestershire, UK

PostPosted: Wed 04 Feb 2015, 05:13    Post subject:  

gyro wrote:
I would like to try and get "Open With"->"Installed Applications" to work.

A patch to PCManFM to remove the "running as root" nag, if your are interested?

gyro


Hi gyro

I'll try to find the time to try your version of pcmanfm and see what it needs from LxPupTahr to make "Open With" to work.....

I don't get that nag in LxPup so maybe there is a configuration option to disable it??

Cheers
peebee

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Wed 04 Feb 2015, 05:30    Post subject:  

peebee wrote:
I'll try to find the time to try your version of pcmanfm and see what it needs from LxPupTahr to make "Open With" to work.....
To test it, you only need to load the ".sfs" file with Sfs-Load. There should be a menu entry under 'Filesystem'.
Any help would be appreciated.
Is there any good doco on how to setup an "lxde-applications.menu" file?
I tried setting the prefix to "puppy-", but that didn't make any difference.
peebee wrote:
I don't get that nag in LxPup so maybe there is a configuration option to disable it??
It's just a small yellow warning triangle on the left end of the tool bar. Perhaps "nag" is too strong a word.
I could not find any configuration option to disable it, unlike SpaceFM.

gyro

Last edited by gyro on Wed 04 Feb 2015, 05:36; edited 1 time in total
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 1708
Location: Worcestershire, UK

PostPosted: Wed 04 Feb 2015, 05:35    Post subject:  

gyro wrote:
It's just a small yellow warning triangle on the left end of the tool bar
gyro

OK - in my case a small red exclamation symbol - not a nag that bothers me as its so small and gives a useful prompt if you hover over it but otherwise doesn't get in the way at all....

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 1708
Location: Worcestershire, UK

PostPosted: Wed 04 Feb 2015, 15:55    Post subject:  

Hi gyro

The attached pet activates the Open With system.....

Cheers
peebee
capture27712.png
 Description   
 Filesize   117.19 KB
 Viewed   231 Time(s)

capture27712.png

lxde_puppy_menu-1.pet
Description 
pet

 Download 
Filename  lxde_puppy_menu-1.pet 
Filesize  60.41 KB 
Downloaded  32 Time(s) 

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Thu 05 Feb 2015, 01:06    Post subject:  

peebee wrote:
The attached pet activates the Open With system.....
Thankyou very much.
gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Thu 05 Feb 2015, 05:11    Post subject: Update to pcmanfm-1.2.3-2.sfs  

@peebee,
Thanks for your code, while I didn't include it directly, it cleared up a lot of things and saved me a lot of time.

Finally, PCManFM for Tahrpup 6 that supports "Open With..." in a reasonable way.
If you click on "Open With...", the "Installed Applications" pane now contains a list of top level menu items that correspond to the Rox desktop menu, but in alphabetical order. The applications under each item should correspond with the desktop menu.
Using "Installed Applications" to extend the right-click menu for more mime types, is much much smoother than "Custom Command Line".

Note: If the "Installed Applications" pane doesn't contain anything, first try deleting any files in "/root/.cache/menus/" and reboot.

Note2: I did not include the "Fun" sub-menu.

The sfs file has been updated to "pcmanfm-1.2.3-2.sfs", see first post for download.
The pet files are unaffected by this change.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 664
Location: Brisbane, Australia

PostPosted: Fri 06 Feb 2015, 03:59    Post subject: Update to pcmanfm-1.2.3-3.sfs  

A cosmetic fix for those who load it as an ordinary sfs file.
Top level icons will now appear in the "Open With"->"Installed Applications" panel.

If you load the sfs as an ordinary sfs, then it might be a good idea to download this new version.

The previous method I used to make these icons available depended on replacing files in the puppy.sfs. So they worked as "adrv" but not as an ordinary sfs.
The new method depends on adding some symlinks, so works in both situations.

Note: If the "Installed Applications" pane doesn't contain anything, or doesn't show any top level icons, first try deleting any files in "/root/.cache/menus/" and reboot.

The sfs file has been updated to "pcmanfm-1.2.3-3.sfs", see first post for download.
The pet files are unaffected by this change.

gyro
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
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.0907s ][ Queries: 12 (0.0039s) ][ GZIP on ]