(SOLVED) pcmanfm wont see /media/volumes

Forum Forums General Software (SOLVED) pcmanfm wont see /media/volumes

  • This topic has 16 replies, 4 voices, and was last updated Jun 15-10:53 am by amp.
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #37312
    Member
    amp

      Hi,
      I’m new to antix and have been working on a remaster of antix 19 base.
      I have installed jwm pcmanfm gvfs and udiskie and policykit-1-gnome. I still have installed udisks2 and polkit-1. Also, I removed antix automount script and udevil to avoid conflicts. I can see all my devices (partitions and USB pendrive) in /Media, and I can access them with all applications (say geany, etc). However, they do not appear in pcmanfm side menu. I assume it is a polkit permission problem. I still have polkit original settings. Also, If I navigate with pcmanfm to /media, I can access the USB volume, but very slowly. And it does not mount any of the HD partitions.
      Any pointer as to where look for a solution?

      Thanks.

      • This topic was modified 2 years, 10 months ago by amp.
      • This topic was modified 2 years, 10 months ago by amp.
      #37322
      Member
      amp
        Helpful
        Up
        0
        ::

        A little update,
        I have checked /etc/fstab, and it seems that all the volumes are listed there, which might be what prevents pcmanfm from accessing them, since pcmanfm removes mounted volumes from places.
        The fstab entries indicates “made by make-fstab”.
        I have already removed the automount package and I couldn’t figure out how these entries were generated.
        Is there some other init script which would do that and that I should disable?

        #37325
        Moderator
        BobC
          Helpful
          Up
          0
          ::

          Have you considered using SpaceFM instead of PCManFM? Because antiX comes with it, I think your odds on integrating more easily would be better.

          I’m not saying anything against PCManFM, but I will say when I load a distro that uses it, I always end up loading SpaceFM in addition or as a replacement, and the area where it shines by comparison for me was device mounting.

          #37329
          Member
          amp
            Helpful
            Up
            0
            ::

            Yes, spacefm is/was installed in antix and worked fine. But I’m not used to it, I find it distracting, too many options. On debian, pcmanfm + gvfs + udisks2 works fine out of the box, but here there must be a little hitch that I haven’t figured out yet.

            #37330
            Forum Admin
            anticapitalista
              Helpful
              Up
              0
              ::

              This person managed to get it to work.

              https://forum.mxlinux.org/viewtopic.php?f=40&t=53899

              Philosophers have interpreted the world in many ways; the point is to change it.

              antiX with runit - leaner and meaner.

              #37363
              Moderator
              BobC
                Helpful
                Up
                0
                ::

                Yes, spacefm is/was installed in antix and worked fine. But I’m not used to it, I find it distracting, too many options. On debian, pcmanfm + gvfs + udisks2 works fine out of the box, but here there must be a little hitch that I haven’t figured out yet.

                Yes, I thought that too at first, and initially I would install PCManFM because I had it on Debian and Knoppix and other Linux versions, and was familiar with it, but figured out over time that the extra complexity might have been added or included to make up for the lacking’s in the simpler file managers. PCManFM did work, but SpaceFM has a lot more features, but they are actually USEFUL.

                Did you watch Dolphin Oracle’s video tutorial on SpaceFM? I picked up quite a bit from that. No turning back after that. The only lacking that made me keep another FM online was search usefulness trying to find the right icons for things, where surprisingly XFE was the winner.

                #37365
                Member
                Xecure
                  Helpful
                  Up
                  0
                  ::

                  In the same way I prefer fluxbox, amp prefers pcmanfm. Good thing there are many choices.

                  For pcmanfm, I tried to install it on a live USB without persistence, but I believe I need to save changes and reboot to make some stuff launch at start.
                  Try apt autoremove first, and maybe reinstall gvfs, udisks2 and udiskie.

                  Other posts on the antiX forum suggest installing gvfs-backends, so you could try that too.

                  7.you can install pcman-fm with the package-installer, control-centre ->system ->package-installer ->File Managers
                  Afaik, pcmanfm needs the gvfs-backends , which you should install, too

                  While I was testing, before restarting, I got all drives to display on pcmanfm by executing dbus-launch pcmanfm. Some of the packages needed should auto launch pcmanfm with dbus support after rebooting.

                  antiX Live system enthusiast.
                  General Live Boot Parameters for antiX.

                  #37385
                  Member
                  amp
                    Helpful
                    Up
                    0
                    ::

                    Hello Anticapitalista,
                    I have tried those settings, but they did not work. Maybe because this person seems to have worked from antix core up, whereas I worked from antix base down. I suspect the presence of the fstab entries, which result in the devices being mounted on /media, might block pcmanfm automounting.

                    #37389
                    Forum Admin
                    anticapitalista
                      Helpful
                      Up
                      0
                      ::

                      Did you install gvfs-backends, like Xecure suggests?

                      Philosophers have interpreted the world in many ways; the point is to change it.

                      antiX with runit - leaner and meaner.

                      #37394
                      Member
                      amp
                        Helpful
                        Up
                        0
                        ::

                        I have tried installing gvfs-backends, but it didn’t change anything. It shouldn’t be needed anyway or, at least, I never used it on debian.
                        I’d like to know how antix rewrites /etc/fstab and automount all volumes in /media accordingly, so that I could disable this function. I have already uninstalled automount and also made a test with antix-core, which does not list automount among the installed packages, and still antix manages to rewrite /etc/fstab entries and mounts all volumes on /media.

                        #37410
                        Member
                        Xecure
                          Helpful
                          Up
                          0
                          ::

                          I will try installing antix 19.2.1 base from zero on live system and try to get pcmanfm working. Don’t expect any news soon as it is very late here where I live and I will do the testing tomorrow. I know of at least 2 antiX users that sometimes post here who use pcmanfm, so I know it works. If they could come here and comment their experience, this would have been much easier (and painless) experience for all.

                          I know that a live system and installed system are not the same, but I really don’t want to install and overwrite any of my installations right now. They are working just fine and I wont risk it. If I have time, I will try with a virtual machine after I get this to work on live USB.

                          antiX Live system enthusiast.
                          General Live Boot Parameters for antiX.

                          #37412
                          Moderator
                          BobC
                            Helpful
                            Up
                            0
                            ::

                            Since he thinks the fstab might be causing the problem, I think he could try making a backup copy of /etc/fstab and remove the non HD volumes,
                            and then reboot to see if that fixes it.

                            Just my 2 cents worth…. I’m no expert

                            #37428
                            Member
                            amp
                              Helpful
                              Up
                              0
                              ::

                              BobC,
                              I tried that, but fstab get rewritten on reboot and the entries are still there and the volumes get mounted on /media.

                              #37435
                              Moderator
                              BobC
                                Helpful
                                Up
                                0
                                ::

                                Standard antiX doesn’t do that. Sorry I can’t help

                                #37439
                                Member
                                Xecure
                                  Helpful
                                  Up
                                  0
                                  ::

                                  I still believe it is something related to dbus.

                                  After spending more time than I wanted, I got these results.

                                  A) amp’s SETUP
                                  On a antiX 19.2.1 base (running jwm), fully updated, I chose to install and uninstall the packages you mention.
                                  Installed: pcmanfm, gvfs, udisks2, udiskie and policykit-1-gnome
                                  uninstalled: udevil
                                  Before rebooting, I did:
                                  1. Set up pcmanfm as main file manager.
                                  Control Centre > Desktop > Preferred Applications
                                  In the program I set File manager: pcmanfm.desktop (found in /usr/share/applications, in case you cannot find it)
                                  2. Edit ~/.jwm/startup file (in case you cannot find it, you can open it from Control Centre > Edit JWM Settings, and select the startup file). You need to add these lines in the empty space between <StartupCommand> and </StartupCommand>

                                  udiskie -a &
                                  dbus-launch --exit-with-x11 pcmanfm -d &

                                  What is this for? udiskie -a sets udiskie to automount stuff.
                                  dbus-launch stuff is for adding dbus support to pcmanfm. I have very little knowledge on dbus stuff, so this is the only think I can figure out for getting the devices panel on pcmanfm. I am just a noob, probably more of a noob that you.
                                  3. Launching pcmanfm with root privileges. Unfortunately, if you want dbus support with root permissions, you will have to a) launch from terminal, b) create a .desktop file (like pcmanfm-root.desktop) with Exec command the same as termina launch
                                  gksu dbus-launch pcmanfm

                                  B) EASIEST SOLUTION I FOUND
                                  Starting with the same system,
                                  Installed: pcmanfm, gvfs, udisks2,
                                  So, I am using antiX automount system to mount shit, and it will launch pcmanfm with the mounted shit.
                                  1. Set up pcmanfm as main file manager using Preferred Applications.
                                  2. If at any time I want to manually mount stuff on pcmanfm, I launch pcmanfm with dbus support
                                  dbus-launch pcmanfm
                                  You can also set the steps 2 and 3 form the A) Testing option to automate dbus support.

                                  So, summary, I got pcmanfm to work and automount shit and manually mount/unmount shit.
                                  The dbus stuff is just my attempt to get that to work, but it is not ideal. Hopefully someone with real pcmanfm experience can explain what I am missing.

                                  If this worked for you, change the topic tittle to solved, If it didn’t, please post what went wrong, what do you see, etc.

                                  antiX Live system enthusiast.
                                  General Live Boot Parameters for antiX.

                                Viewing 15 posts - 1 through 15 (of 17 total)
                                • You must be logged in to reply to this topic.