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

Moderator: Forum moderators

Post Reply
User avatar
wizard
Posts: 1681
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2253 times
Been thanked: 527 times

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

Post 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 2633 times
MOUNT_drv.gz
remove fake .gz before use
(27.46 KiB) Downloaded 260 times
MOUNT_network.gz
remove fake .gz before use
(7.77 KiB) Downloaded 165 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

Last edited by wizard on Wed Jan 12, 2022 1:42 pm, edited 4 times in total.

Big pile of OLD computers

geo_c
Posts: 2654
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 1913 times
Been thanked: 753 times

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

Post 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.

geo_c
Old School Hipster, and Such

User avatar
wizard
Posts: 1681
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2253 times
Been thanked: 527 times

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

Post 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

Big pile of OLD computers

tosim
Posts: 443
Joined: Thu Jul 23, 2020 1:13 pm
Has thanked: 760 times
Been thanked: 51 times

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

Post 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.

User avatar
wizard
Posts: 1681
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2253 times
Been thanked: 527 times

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

Post by wizard »

@tosim

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

wizard

Big pile of OLD computers

tosim
Posts: 443
Joined: Thu Jul 23, 2020 1:13 pm
Has thanked: 760 times
Been thanked: 51 times

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

Post by tosim »

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

User avatar
mikewalsh
Moderator
Posts: 5733
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 630 times
Been thanked: 1774 times

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

Post 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. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
wizard
Posts: 1681
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2253 times
Been thanked: 527 times

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

Post 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

Big pile of OLD computers

User avatar
wizard
Posts: 1681
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2253 times
Been thanked: 527 times

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

Post 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 2344 times

wizard

Big pile of OLD computers

Post Reply

Return to “File Management”