Changeset 5feea08 for xsoft/other
- Timestamp:
- 05/04/2012 12:25:06 AM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 9166fa4
- Parents:
- ea3e0afa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/other/rox-filer.xml
rea3e0afa r5feea08 205 205 206 206 <para> 207 That works fine for mounting, but to unmount it we need to run the 208 command <command>fusermount -u ${MOUNTPOINT}</command>. You could set 209 that as your default umount command in your rox preferences, but you 210 would then be unable to unmount any normal mountpoints (that need 211 umount). What we need is a script that will unmount a Fuse mountpoint 212 with <command>fusermount -u ${MOUNTPOINT}</command> and everything else 213 with <command>umount</command>. As the 214 <systemitem class="username">root</systemitem> user: 215 </para> 216 217 <screen role="root"><userinput>cat > /usr/bin/myumount << "HERE_DOC" && 218 #!/bin/bash 219 sync 220 if mount | grep "${@}" | grep -q fuse 221 then fusermount -u "${@}" 222 else umount "${@}" 223 fi 224 HERE_DOC 225 chmod 755 /usr/bin/myumount</userinput></screen> 226 227 <para> 228 Now, to make Rox use this simple script, open a Rox window, right click 229 on it and choose Options from the menu. In the left hand list choose 230 "Action windows" and then on the right hand side, where it says 231 "Unmount command" change <command>umount</command> to 232 <command>myumount</command>. 233 </para> 234 235 <para> 207 236 If you use a desktop environment like 208 237 <application>Gnome</application> or <application>KDE</application> you
Note:
See TracChangeset
for help on using the changeset viewer.