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 Mon 10 Dec 2018, 16:46
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
How do I mount device without displaying file-list?
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Author Message
mikeslr


Joined: 16 Jun 2008
Posts: 2833
Location: 500 seconds from Sol

PostPosted: Thu 06 Dec 2018, 15:48    Post subject:  

Have you tried adding the /usr/share/defaultfilemanager.desktop file I suggested, http://murga-linux.com/puppy/viewtopic.php?p=1012213#1012213 ?

By the way, I can't suggest a hunt for the version I mentioned as, like the second screenshot in Mike Walsh's post, it doesn't display one.
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4447
Location: King's Lynn, UK.

PostPosted: Thu 06 Dec 2018, 16:39    Post subject:  

@ Mike/BKJ:-

I believe I've got to the bottom of the mystery.....

I've just come from Slacko 571 (where the 'FileManager' entry is very definitely 'present & correct'), and booted into my own copy of Tahr 606. BK, you're quite right; there is no 'FileManager' entry showing up in either of the Default Choosers.

And I know why, too.

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

Both Pups have the 'puppyapps' script' in /usr/sbin. But if you open the two of them up, side-by-side, in Geany, you can see the difference.

The version Sailor used has an extra entry - both in the 'Defaults' list near the top of the script, and in the 'static' chooser section, further down in the main body of the script. I've not scanned the whole thing (there's quite a lot of it!), but I saw enough to convince me to try a wee experiment.....

Assuming that Phil has used the original script, as produced by Ziggy, I can only postulate that Sailor, when creating 571 before the final re-master of its ISO, added an extra entry for 'FileManager'. I can't somehow believe that Phil, of all people, would have gone out of his way to remove said entry.....so I'm inclined to believe my first statement; that Sailor did some additional coding and added the extra entry.

I now have the 'FileManager' entry showing in Tahr 606's 'PuppyApps Default Applications Chooser'. This is in the 'System' sub-section, for ease of displaying here on the forum...





BK, this one's an easy 'fix'. All you need to do is install the attached .pet (it merely substitutes the Slacko 'puppyapps' script for Tahr's). No reboot/restart of 'X' is required. Then, go to /Menu->Setup->Puppyapps Default Applications Chooser.

As shown in the image, where 'rox-filer' is shown, just delete the entry and type 'pcmanfm' instead (yeah, I know; it ought to show in the list, but they don't always. I think in this case it's because 'pcmanfm' shows as a shared library rather than a binary..?) Then 'OK' it. Now, when you click on the desktop 'Files' icon, PCManFM will start every time, instead of ROX. Should you ever want to change back, just reverse the process, and type (or select) 'rox-filer' instead.

Make sure to use the second of the two MenuEntries; the 'PuppyApps Default Applications Chooser' (not the 'original'.) You'll also need to run through the full list just once (select 'All'), and set your own defaults up initially, because these are all my entries from Slacko 571..! (*sorry about that * Embarassed - 'sheepish grin'*)

This hasn't been a waste of time, because although I love ROX, occasionally I find myself hankering after something different. Now that I know the default can be changed, I'm going to do some experimenting..!

Hope that helps.


Mike. Wink
Puppyapps_upgrade-1.0.pet
Description  Modern 'Default Applications Chooser' upgrade .pet; re-instates/adds the 'FileManager' entry.
pet

 Download 
Filename  Puppyapps_upgrade-1.0.pet 
Filesize  7.77 KB 
Downloaded  5 Time(s) 

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 686

PostPosted: Thu 06 Dec 2018, 18:47    Post subject:  

Mike,
Your pet did the job - File Manag=rox-filer appeared.
I was surprised when I opened the drop-down box to see both emelfm2 and doublecmd listed. Chose emelfm2 but nothing (I could see) happened when I clicked a drive icon. I got some work to do. Reverted to rox-filer and all is well again.

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

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

Joined: 03 Nov 2016
Posts: 40
Location: NRW, Germany

PostPosted: Fri 07 Dec 2018, 07:44    Post subject:  

/usr/local/bin/rox is only a script to execute /usr/local/apps/ROX-Filer/AppRun, so why not change the exec-command to something else?

another approach would be to edit /usr/local/bin/drive_all not to open rox by commenting out -d /mnt/$xONEDRVNAME
Code:
rox -x /mnt/$xONEDRVNAME -d /mnt/$xONEDRVNAME &

you would have to do a search for the code as files differ on slacko and tahr.

on slacko and tahr drive_all explicitly calls rox not defaultfilemanager...
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11367
Location: S.C. USA

PostPosted: Fri 07 Dec 2018, 12:21    Post subject:  

B.K. Johnson wrote:
Mike,
Your pet did the job - File Manag=rox-filer appeared.
I was surprised when I opened the drop-down box to see both emelfm2 and doublecmd listed. Chose emelfm2 but nothing (I could see) happened when I clicked a drive icon. I got some work to do. Reverted to rox-filer and all is well again.

I tried this with emelfm2 as the default file manager.

I think the problem is emelfm2 wants to start based on settings in it's config.
If you go to the config>General it gives option for where in the file system it opens.

With clicking on a drive icon being /mnt/whatever the drive is.
That /mnt/whatever is not a config option for emelfm2 startup.

Maybe some added command code for the emelfm2 entry in
Application Chooser would do it, but not sure what Idea
Screenshot.jpg
 Description   
 Filesize   27.02 KB
 Viewed   34 Time(s)

Screenshot.jpg


_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
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.0419s ][ Queries: 13 (0.0050s) ][ GZIP on ]