Mount Android Phone in zzzFM?

Forum Forums General Software Mount Android Phone in zzzFM?

  • This topic has 11 replies, 5 voices, and was last updated Mar 31-10:36 pm by AVLinux.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #80069
    Member
    AVLinux

      Hi,

      Confession first… I’m an MX User and distribute AV Linux based on MX and I’m working on an LXDE Respin with wonderful zzzFM found here which is why I’m troubling you. I can grasp a lot of the powerful configuration options that zzzFM is capable of but I’m not super handy with custom mounting scripts etc.. I’m very used to Thunar and AV Linux has dozens of extra custom actions and one thing Thunar seamlessly handles is mounting my Android phone. Is zzzFM capable of mounting an mtp device? If so what custom mount Voodoo would be required to make that happen..

      I have noticed if I mount my phone on the commandline with ‘jmtpfs’ it appears as a ‘Device’ in zzzFM’s left pane but clicking on it tells me the directory doesn’t exist. I love ole ZZ so far but Audio/Video phone transfers are a must for me… *Before gmtp gets mentioned it is buggy and detects my Phone but I can’t transfer any files.

      Any guidance or scripting advice welcomed!
      Thanks, Glen

      #80084
      Member
      PPC
        Helpful
        Up
        0
        ::

        Hi again, Glen

        I wrote a yad script (a GUI for jmtpfs) that mounts android devices and opens them on the default file manager – that script is included in antiX by default: /usr/local/bin/android-device-usb-connect.sh

        Like I said, it’s a general script- you can edit it so it always opens the mounted android folder in zzzfm, but, if zzzfm is already configured to be the default file manager, as is, the script does exactly what you want!

        Edit: Completely off-topic – but related to adding extra functionality to zzzfm – did you checkout the changes that the beta of ft10-transformation makes on the zzzfm configuration? Adding a trash can, cloud support and even search and mount network shares (and also the default bookmarks and a more streamlined look)?

        P.

        • This reply was modified 1 year, 1 month ago by PPC.
        #80088
        Member
        AVLinux
          Helpful
          Up
          0
          ::

          Hi again, and thanks again!

          I have had a good look at the ft10 forum thread but since at this point I’m not on a pure antiX install and on my system it will not exactly be ‘install and go’ I haven’t downloaded the entire package yet and sorted through the various zzzfm bits and pieces but it is indeed on my todo list!

          Is the android phone script available anywhere on it’s own in a GIT repo or could it be pasted here? It’s not that I don’t know that antiX is great or don’t want to download antiX.. I’m just up to my neck in maintaining OS’s of my own and like most of us this is all spare time stuff and spare time is fleeting.

          Thanks again for your help… now back to the ft10 thread..
          Glen

          *EDIT I grabbed the most recent ft10 Deb, I will extract it and have a look, what a tremendous amount of work!

          • This reply was modified 1 year, 1 month ago by AVLinux.
          #80095
          Member
          Spartak77
            Helpful
            Up
            0
            ::

            Hi AVLinux, a few years ago I proposed some integrations for the antiX Faq providing some documents that could be used for the integrations. Among the various documents I had created a guide for SpaceFM. Now SpaceFM is is no longer part of the antiX File Manager because it has been replaced by zzzFM. Since zzzFM derives from SpaceFM that guide is still largely good. Inside that guide there is a paragraph that explains how to mount a cell phone using SpaceFM (zzzFM). Now in antiX there is a special tool made by PCC that allows this operation, but if a user wants to do it using SpaceFM/zzzFM, the instructions in that guide explain how to do it. I did a test with zzzFM and the instructions still work. The guide can be downloaded from here:
            SpaceFM Guide in .odt https://www.dropbox.com/s/lfie5m0d1lc02e7/SpaceFMGuide.odt?dl=0
            SpaceFM Guide in .pdf https://www.dropbox.com/s/b1hv0976bbu0dgc/SpaceFMGuide.pdf?dl=0

            The paragraph that interests you goes from page 22 to page 24.

            Note. At the beginning of this paragraph it talks about the packages that must be present in the system for mounting the smartphone in this way. These are packages that were fine for the previous version of antiX/MX based on Debian Buster. They are the same for Bullseye as well, with the only exception that instead of the package “fuse” there is “fuse3”, which is already installed anyway.

            Note. In the instructions we talk about creating the folder /media/mobile with root rights, ok, consider that unlike a few years ago, now to get administrator rights in antiX (and MX) you use “sudo” and no more “su”, then the instruction to create the mobile folder will be:
            sudo mkdir /media/mobile

            #80096
            Member
            marcelocripe
              Helpful
              Up
              0
              ::

              Hello AV Linux.

              The script is here: https://gitlab.com/nXecure/antix-goodies/-/blob/contribs/bin/android-device-usb-connect.sh

              I don’t know if this script is the same as the one in the antiX full ISO.

              – – – – –

              Olá AV Linux.

              O script está aqui: https://gitlab.com/nXecure/antix-goodies/-/blob/contribs/bin/android-device-usb-connect.sh

              Eu não sei se este script é o mesmo que está na ISO do antiX full.

              #80097
              Member
              AVLinux
                Helpful
                Up
                0
                ::

                Hi,

                Thank you both for the replies!

                The docs are very useful, I can empathize with how much work a User Manual is to write and maintain and this is great info!

                Thanks also for the script link I did a little snooping around gitlab after I posted here and did manage to find it and with a few minor icons mods and a typo fix it works perfectly!

                Very helpful, thanks!

                #80098
                Forum Admin
                anticapitalista
                  Helpful
                  Up
                  0
                  ::

                  Hi,

                  Thank you both for the replies!

                  The docs are very useful, I can empathize with how much work a User Manual is to write and maintain and this is great info!

                  Thanks also for the script link I did a little snooping around gitlab after I posted here and did manage to find it and with a few minor icons mods and a typo fix it works perfectly!

                  Very helpful, thanks!

                  Great!
                  What was the typo fix?

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

                  antiX with runit - leaner and meaner.

                  #80099
                  Member
                  Spartak77
                    Helpful
                    Up
                    0
                    ::

                    Out of curiosity I did a test by mixing the information written in the PCC post with the instructions contained in my guide. On Page 23 of the SpaceFM guide, I wrote:
                    —————————
                    From the Menu bar of SpaceFM go to Tools →New command (if there isn’t yet any command entry) or right-click on an existing item and choose: New → Command.
                    A control window will open, under “Set object name”, type: Mount_Mobile
                    or another name that allows you to remember the command.
                    In the command tab, type:
                    jmtpfs -o allow_other /media/mobile
                    ——————————
                    Ok,I did a test, and In the command tab (Tools →New command in zzzFM), instead of typing:
                    jmtpfs -o allow_other /media/mobile
                    In the command tab, remove the ceck from “comand line” and ceck “script”, then open the marcelocripe link.
                    (or go to usr/local/bin/android-device-usb-connect.sh in a antiX virtual machine)
                    Open the PCC script with a text editor and copy everything starting from:
                    TEXTDOMAINDIR=/usr/share/locale

                    ….until the end.
                    In the command tab (, paste all the copied script below the line:

                    # Enter your commands here: (then save this file)

                    The script also works in this way and is very efficient and informative.

                    • This reply was modified 1 year, 1 month ago by Spartak77.
                    • This reply was modified 1 year, 1 month ago by Spartak77.
                    #80102
                    Member
                    AVLinux
                      Helpful
                      Up
                      0
                      ::

                      Ooops! I should have posted the typo fix…wasn’t thinking..

                      Line 96: ‘proceed’ was misspelled, just minor!

                      *EDIT! Actually it seems the version linked above is slightly different and has that typo fixed already, I must have gotten an older version..

                      • This reply was modified 1 year, 1 month ago by AVLinux.
                      • This reply was modified 1 year, 1 month ago by AVLinux.
                      #80307
                      Member
                      AVLinux
                        Helpful
                        Up
                        0
                        ::

                        Back again with more ZZ questions..

                        The degree of configuration is astounding but I can’t seem to figure out how to get the directories to appear horizontally in the ‘Panel View’ they only appear vertically like a file tree.. This is fine but in directories with a lot of sub-folders it means a lot of empty space on the panel window and a lot of scrolling. Is this a bug, a feature or am I just being dense…? *Be nice…:-D

                        #80312
                        Member
                        PPC
                          Helpful
                          Up
                          0
                          ::

                          Is this a bug, a feature or am I just being dense…?

                          I’ve been using spacefm and then zzzfm for years now and never even noticed that… as far as I know, it’s a feature – items seem to be displayed vertically, only occupying a second column when the first one is full.. I know of no setting to change that… But spacefm/zzzfm documentation is extensive!

                          Edit: I messed around with the settings – no way I can see around that (I never even bother with that because I use the Detailed view- that organizes the items in columns (like God intended File Managers to display folders and files 🙂 )
                          But think about this: if the icons where organized horizontally, all that empty space would be on the bottom part of the window, right? It’s only a visual difference…

                          P.

                          • This reply was modified 1 year, 1 month ago by PPC.
                          #80321
                          Member
                          AVLinux
                            Helpful
                            Up
                            0
                            ::

                            Is this a bug, a feature or am I just being dense…?

                            I’ve been using spacefm and then zzzfm for years now and never even noticed that… as far as I know, it’s a feature – items seem to be displayed vertically, only occupying a second column when the first one is full.. I know of no setting to change that… But spacefm/zzzfm documentation is extensive!

                            Edit: I messed around with the settings – no way I can see around that (I never even bother with that because I use the Detailed view- that organizes the items in columns (like God intended File Managers to display folders and files 🙂 )
                            But think about this: if the icons where organized horizontally, all that empty space would be on the bottom part of the window, right? It’s only a visual difference…

                            P.

                            OK, fair enough, if that’s how it is I’ll get used to it..

                            On a scrollable window the space at the bottom would be out of view, as it is that space is in view which seem like an oversight but it doesn’t matter because that’s the way it is!

                            Thanks for the reply!
                            Best, Glen

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