Page 1 of 1

How to mount drives, partitions or shares in XFE file manager?

Posted: Sun Aug 15, 2021 5:34 pm
by wizard

XFE is a multi-pane capable file manager. After trying several other file managers including pcmanfm, thunar, and spacefm, XFE best fit my needs. Chosen for its power, ease of use, ease of navigation and integrated search function.

One thing missing in XFE is integrated drive/partition mounting. This howto is a simple method to call puppy's existing drive/partition and share mounting programs from within XFE. Note: the Spacefm version in the ppm uses this same type of technique.

XFE - mounting drives or network shares

This setup lets you mount drives/partitions or shares from within XFE

1. install XFE and configure to suit using View and Edit>Preferences
2. Edit>Preferences>Dialogs - uncheck Confirm execute text files
3. navigate to /mnt directory
-click Bookmarks
-click Add bookmark
4. copy MOUNT_drv and MOUNT_network files to /mnt directory (be sure they're executable)

xfemnt.jpg
xfemnt.jpg (21.61 KiB) Viewed 2639 times
MOUNT_drv.gz
remove fake .gz before use
(27.46 KiB) Downloaded 261 times
MOUNT_network.gz
remove fake .gz before use
(7.77 KiB) Downloaded 166 times

NOTE:
MOUNT_drv is pmount that has be edited to mount, but NOT open a rox (or other defaultfilemanger) window.
MOUNT_network is yassm that has been edited to put the mount point in /mnt and mount, but NOT open a rox (or other defaultfilemanger) window

In use:
-click Bookmarks
-click /mnt
-double click MOUNT_drv or MOUNT_network
-click the partition you want to mount or using MOUNT_network, setup the network share
The partition or share will now be mounted in the XFE /mnt panel
You can right click a mounted partiton/share and unmount it.

Useful XFE preferences:
-Dialogs>uncheck Warn if running as root
-General>uncheck Single click folder open
-General>Date format used in file and folder list (U.S.) = %D
-General>uncheck Notify when applications startup (stops spinning cursor problem)

Other notes:
-to install a .pet, also works to load a .sfs file
-right click file
-click Open with
-type: rox in the dialog box
-click accept

-XFE Bookmarks>Clear bookmarks clears ALL bookmarks. To clear a single bookmark, edit the file:
/root/.config/xfe/xferc
note that the .config directory is a hidden directory, search on bookmarks to find them in the file

CREDITS:
Thanks to Barry Kauler, zigbert, 01micko, karl godt and others who contributed to pmount
Thanks to rcrsn51 for yassm

wizard


Re: Mounting drives/partitions or shares in XFE file manager

Posted: Wed Sep 22, 2021 3:52 am
by geo_c

This script has been an absolute essential tool, not just for mounting in Xfe, but also for mounting anytime a new filer window isn't necessary. I keep it handy in my launcher window.


Re: Mounting drives/partitions or shares in XFE file manager

Posted: Tue Nov 02, 2021 4:33 pm
by wizard

Some more tips:

If you are booting a frugal install, the instructions in the first post should work fine. However, If you are booting from a usb flash or using pupmode 13 any files or directories you put in /mnt are not saved and will be gone on the next boot. Here are some work arounds:

1.-just put MOUNT_drv and MOUNT_network files in another directory

2.-put MOUNT_drv and MOUNT_network files in another directory and use a startup script that copies them to /mnt when booting

3-.in XFE, Tools>Go to script folder
-copy MOUNT_drv and MOUNT_network files into the script folder
-now when you want to mount a partition/share:
-right click anywhere in any directory>Scripts>click MOUNT_drv or MOUNT_network
-Bookmarks >/mnt (if you made a bookmark) and you'll find your mounted partition/share

wizard


Re: Mounting drives/partitions or shares in XFE file manager

Posted: Mon Nov 29, 2021 5:51 pm
by tosim

Have tried dong this in Linux Mint20, following your instructions. However, when I try to move, or copy, those 2 files
I get a popup requesting password, which to me is unknown, and then get permission denied. (I have changed
the permissions, and made the 2 executable.) I will try doing this in a couple of my Puppies. Thanks for this.


Re: Mounting drives/partitions or shares in XFE file manager

Posted: Mon Nov 29, 2021 7:40 pm
by wizard

@tosim

The instructions are for Puppy linux only, it's not going to work in mint.

wizard


Re: Mounting drives/partitions or shares in XFE file manager

Posted: Tue Nov 30, 2021 2:43 pm
by tosim

Thanks for the reply. I kind of thought that was the reason, but wanted to make sure. Thanks again.


Re: Mounting drives/partitions or shares in XFE file manager

Posted: Thu Dec 02, 2021 4:42 pm
by mikewalsh

Mm. I still prefer single-click operation, y'know. Don't like double-clicking anything to get it to work..... For ME, 'Single-click folder open' & 'Single-click file open' are very definitely checked.

Reminds me all too much of the Redmond monstrosity I try very hard to forget..!! :D ('Sides, I've got so used to 'em in ROX over the years, y'know?)

Mike. ;)


Re: Mounting drives/partitions or shares in XFE file manager

Posted: Thu Dec 02, 2021 11:31 pm
by wizard

Me too on the single click for pup, but found that in XFE I made a lot of errors if I used single click, sure some because I'm clumsy or in a hurry. Really bad if using a laptop trackpad.

wizard


Re: How to mount drives, partitions or shares in XFE file manager?

Posted: Wed Dec 08, 2021 7:49 pm
by wizard

Another tip on mounting drive/shares from XFE.

-open XFE
-click Tools>Go to script folder
-copy MOUNT_drv and MOUNT_network into the scripts directory

Two ways to use the Scripts files:

1. click Tools>Go to script folder, changes the active pane to the scripts directory.
2. right click on any directory>Scripts, can run a script without changing directories

xfe_scripts.png
xfe_scripts.png (167.52 KiB) Viewed 2350 times

wizard