Rox desktops, automatically adding/removing Icons for volumes

Forum Forums General Software Rox desktops, automatically adding/removing Icons for volumes

  • This topic has 14 replies, 8 voices, and was last updated Aug 8-5:28 pm by iznit.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #86945
    Moderator
    BobC

      Is there any interest to have this feature for the Rox-IceWM desktop?

      It will soon be part of the normal setup for the zzz-IceWM desktop.

      Should it also work for the JWM and Fluxbox desktops? It looks like it already works for the zzz-Fluxbox and zzz-JWM desktops.

      How would the add or remove process get triggered? For example, I insert a flashdrive. I think the icon should be added when its inserted, like it does for zzzfm, but how do I trigger that for Rox?

      If adding the icon, how should it decide where to put it on the screen?

      • This topic was modified 9 months ago by BobC.
      • This topic was modified 9 months ago by BobC.
      #86948
      Member
      punranger
        Helpful
        Up
        0
        ::

        Just my two cents: Looking back, getting used to Rox was in fact the strangest part of antiX to get used to, I’m still not 100% comfy with it. Now, I always change to zzz after installation. I think it would be good to automount external drives and display the icons on the desktop, but I’m not sure whether that would be enough to switch back from zzz.

        antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

        #86950
        Member
        ModdIt
          Helpful
          Up
          0
          ::

          As a 100% Rox and no desktop icons user and user helper.

          No users complaining or clamouring for icons, all adapted to rox very quickly.
          Only change made is stop the auto window resizing and set a sensible maximum
          window size.
          USB is set to mount and open a filer window on active desktop.

          I find desktop icons a pain, usualy obscured by a window which has to be moved or closed.

          Personaly I think it is enough of those who want them can use the zzz option.

          #86957
          Member
          PPC
            Helpful
            Up
            0
            ::

            Is there any interest to have this feature for the Rox-IceWM desktop?

            Dear BobC- I’m not currently a desktop icon user, but I understand that many users comming to Linux from other OSes seem lost without them, so it could be a nice idea, having that feature.

            I can suggest a possible way to access those volumes (like thumbdrives/cd/dvd’s)- a yad window that warns the user that a new volume was detected and mounted, and asking if it should be displayed in the File Manager (it’s a middle ground between a desktop icon and automagically displaying the device«s contents).

            P.

            #86961
            Forum Admin
            dolphin_oracle
              Helpful
              Up
              0
              ::

              as far as I know this is not a feature of rox or the rox-pinboard. puppy linux uses some sort of script to do this, or at least it used to. I imagine some kind of udev hook that triggers the script.

              as far as should it be done? don’t know about that one…

              #86963
              Moderator
              BobC
                Helpful
                Up
                0
                ::

                I don’t usually run a file manager/icon based desktop myself. On my old machines, I really think the 50 mb of memory for the desktop itself is better left for the browser.

                I use a kitchen sink toolbar on all of my machines, where almost everything I ever want to run is already on the toolbar, and the file manager is one click away.

                Yes, PPC, there are a lot of people that do better if there are road signs at the corners.

                • This reply was modified 9 months ago by BobC.
                #86965
                Member
                marcelocripe
                  Helpful
                  Up
                  0
                  ::

                  Is there any interest to have this feature for the Rox-IceWM desktop?

                  I always think about the end user and how this can make antiX beginners a lot easier, I support this idea.
                  Because it will only target the desktops that have “ROX” in their name, the other desktops will not be affected by not displaying the icons on the desktop. The same should happen with workspaces that have “zzz” in their name.
                  It’s the small details, which I know take a lot of work to implement, are what make antiX better every day.
                  Thank you very much BobC for your work in creating this interesting functionality for the workspaces that have “zzz” in their name. I hope that the Anticapitalist approves your initiative, including for the areas of work that have “ROX” in their name.

                  Thank you very much!

                  – – – – –

                  Is there any interest to have this feature for the Rox-IceWM desktop?

                  Eu sempre penso no usuário final e de como isso pode facilitar muito os iniciantes do antiX, eu apoio esta ideia.
                  Porque ela será direcionada apenas as áreas de trabalho que possuem em seu nome “ROX”, as outras áreas de trabalho não serão afetadas por não exibirem os ícones na área de trabalho. O mesmo deverá acontecer com as áreas de trabalho que possuem em seu nome “zzz”.
                  São os pequenos detalhes, que eu sei que dão muito trabalho para serem implementados, são os que tornam o antiX cada dia melhor.
                  Muito obrigado BobC por seu trabalho em criar esta funcionalidade interessante para as áreas de trabalho que possuem em seu nome “zzz”. Eu espero que o Anticapitalista aprove a sua inciativa, inclusive para as áreas de trabalho que possuem em seu nome “ROX”.

                  Muito obrigado!

                  #86966
                  Moderator
                  BobC
                    Helpful
                    Up
                    0
                    ::

                    Maybe its better to let the zzzfm desktops version go live for a while and see people’s reactions?

                    If it’s positive and anticapitalista would like to see it available for the Rox desktops, then move forward.

                    I think I’ve figured an efficient way to do it. If I was to do it, I’d prefer a couple simple scripts that just add an icon on insert, and remove it again when its dismounted or ejected, not a bar of all volumes like Puppy Linux that needs to be rebuilt, etc.

                    #86967
                    Member
                    ModdIt
                      Helpful
                      Up
                      0
                      ::

                      Regarding making things better for new users, teaching (and offering) efficiency and ergonomics are king rather than mimiking windoze is my aim.

                      Once a user has worked with antiX setup as BobC and I do it with Launchers in the task bar they complain more about windows being slow and
                      inneficient rather than rox being different or the icewm setup. Not one user has complained about wanting to plaster the desktop with icons and
                      document shortcuts which I see so often on windows users setups.

                      With help from BobC I also setup E Mail to autostart and collect new mail on login.
                      For many users also browser of choice and LO writer, LO calc or both, all on different desktops with given window sizes.
                      Work readiness takes a moment on slower machines but is usualy faster than win 10 boot.

                      #86969
                      Member
                      blur13
                        Helpful
                        Up
                        0
                        ::

                        Isnt this a mac-os feature? I dont think windows adds/removes icons to the desktop, so not sure if it adds any familiarity to those coming from windows. Personally, I insert a USB drive and up pops a window with its contents. Thats plenty enough for me. But I’m not really the one to ask, I like my desktops clean and void of all clutter, ie no icons. So if that feature gets added make sure there is a way to disable it 😉

                        #86970
                        Moderator
                        BobC
                          Helpful
                          Up
                          0
                          ::

                          I never had a MAC. I agree, though, easy to disable.

                          How about adding checkbox option on Automount configuration screen and save value: Create Desktop icon on insertion?

                          #86977
                          Member
                          blur13
                            Helpful
                            Up
                            0
                            ::

                            So today I learned that there is an “Automount configuration screen”, cool! Yes, that sounds like a sensible option.

                            #86986
                            Moderator
                            BobC
                              Helpful
                              Up
                              0
                              ::

                              I was investigating more, and thought I knew how/where to trigger the scripts that add or remove the icon, but it looks like I was wrong on that, and it may not be something simple like it was for SpaceFM and zzzfm.

                              #86988
                              Member
                              iznit
                                Helpful
                                Up
                                0
                                ::

                                bobc, an idea for your udev [[[udevil?]]] event monitoring script: have it add or remove a .desktop file in ~/Desktop the pinboard directory.

                                If rox-filer is managing the desktop, rox-filer should detect the change and automatically display [[[or remove]]] an icon for the item.

                                “the pinboard directory”? The script can just target the expected default antiX pinboard directory. Optimally, it would check whether rox-filer was launched with a custom pinboard command line option.

                                If the script also simultaneously writes to ~/Desktop it will be somewhat file manager agnostic.

                                #86994
                                Member
                                iznit
                                  Helpful
                                  Up
                                  0
                                  ::

                                  bobc, “how puppy does it”:

                                  https://distro.ibiblio.org/fatdog/packages/810/rox-filer-jun7-721.0-x86_64-1.txz

                                  From that archive, open src/pkgbuild/source/src/rpc-add-drive-icon.patch

                                  Refer to bottom of ROX manual, it explains that rox-filer accepts commandline options to perform rpc actions.

                                  rox-filer --rpc <action,args>

                                  The patch adds an externally accessable “rpc_PinboardAddDriveIcon()” method [[[aka action, aka function]]]

                                  A script [[[not part of the archive]]] monitoring udev [[[or pmount? or udevil?]]] events would call

                                  rox-filer --rpc <rpc_PinboardAddDriveIcon(<path>,<add|remove>)

                                  But they [[[puppy]]] likely assume rox-filer is alway running. For antiX, script would must wrap the rpc call in a conditional. Checking if rox-filer is already running [[[and, ??? grep the ps output for “pinboard” or “-p” in the launch string ???]]]. Need to confirm rox-filer is running as a desktop manager, want to avoid launching a new instance of the program if it is not.

                                  For a “no patch” and somewhat desktop agnostic scripted approach….. ? udev event could add or remove an entry in the default antiX pinboard and also a symlink in ~/Desktop. If a desktop manager is running, the desktop manager will detect the change and update the displayed icons.

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