#180 Feature request : hide non mounted partitions

closed-fixed
None
2
2013-08-31
2010-11-29
Mélodie
No

Hi,
In some cases, it would be useful to be able to hide internal partitions that don't need to be mounted, be it in a Live CD/Live USB, or in an installed system.

For example, we do an Edu version based on a distribution with Lxde in it, so that schools can use it with old machines if needed. But we don't want to put the other partitions at risk with children using the system, who might want to explore too much all the available directories seen in the left column of the file manager. Else, we don't want to use another file manager that don't show partitions, because if we uninstall PCManFM we don't have a reliable tool left to manage the desktop background and icons. And if we fix permissions to not be able to mount theses partitions, we will just get "permission denied" window message, which is efficient but not quite elegant.

Hiding partitions of other Operating Systems does not seem possible actually with PCManFM at the moment : would it be possible to add a "hide other partitions" feature ?

Thanks a lot,
Mélodie

Discussion

  • PCMan
    PCMan
    2011-02-06

    • priority: 5 --> 2
     
  • I could add one more hidden (i.e. not presented in Preferences dialog) option for that if that is what you need. Although children will easily find any hidden option shortly I believe. :)

     
  • Mélodie
    Mélodie
    2012-10-14

    Hi,
    Hello,

    Yes the children could find it, but what if the option is in a specific preferences file (let's say "advanced-prefs.something") which is provided as a read only mode file ? (therefore writable only by root ?)

    Thanks for your interest in my request.

    Regards,
    Mélodie

     
  • Any statement in system config will be overridden by statement in user config and there is no way to forbid that without very big bunch of code to support this one option. And in any case the same children can use terminal or 'Run' button for mounting volumes so I think you have to set right permissions for it anyway therefore your approach with "permission denied" window message will be right way to go. And I think the option to not show unmounted partitions in Places will be in Preferences in some next version of pcmanfm.
    Thank you.

     
  • Mélodie
    Mélodie
    2012-10-15

    >I think you have to set right
    permissions for it anyway therefore your approach with "permission denied"
    window message will be right way to go. And I think the option to not show
    unmounted partitions in Places will be in Preferences in some next version
    of pcmanfm.

    Thank you also very much !

    Regards,
    Mélodie

     
  • This issue should be handled in 1.2.0-beta0 version of libfm. Test it, please, when it's possible for you. Note that you should recompile pcmanfm as well to use new version of libfm.
    Thank you very much.

     
    • assigned_to: nobody --> lstranger
    • status: open --> closed-fixed