how to change default apps? (default not work)

Forum Forums New users New Users and General Questions how to change default apps? (default not work)

  • This topic has 5 replies, 4 voices, and was last updated Jan 5-6:10 pm by blur13.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #74672
    Anonymous

      I tried to do it through the control center, it seems to have changed, but! for some reason nothing has changed!
      Example with pictures and videos

      Installed
      vivinor
      and reassigned the default application for pictures
      I try to open the picture, the standard application opens (it is terrible, slowing down)

      Installed smplayer
      – the same situation
      How do I force the distribution to use my new default apps instead of the default ones?

      #74674
      Moderator
      christophe
        Helpful
        Up
        0
        ::

        I’ll use smplayer as an example:

        zzzfm will open an example video file in smplayer after you change your default app.

        But rox-filer needs an additional step:

        In rox-filer, right-click on a video file. choose “set run action…”

        Then either drag /usr/share/applications/smplayer.desktop to the popup window, OR at the bottom of that popup window, type the command smplayer. So it looks like:
        smplayer “$@”

        That should fix it to open those files from within the rox-filer, as well.

        confirmed antiX frugaler, since 2019

        #74681
        Anonymous
          Helpful
          Up
          0
          ::

          Thanks to! I’ll try it!
          It is very strange that in the control center, changing the default programs does not work (
          well he seemed to change the programs i narrowed it in but nothing changed
          Is this a bug?
          or, “Is that how it should be?”

          #74682
          Moderator
          christophe
            Helpful
            Up
            0
            ::

            It does work. zzzfm works straight away. Rox-filer needs a little additional/different, as noted.
            (I made sure by installing smplayer, just to test it.)

            confirmed antiX frugaler, since 2019

            #74688
            Member
            PPC
              Helpful
              Up
              0
              ::

              @tempusername – I’m not a Developer, but the way I see it is like this:
              the “default programs” are generic .desktop files that represent the system default File Manager, Web Browser,etc, etc…
              Clicking the respective icon from a menu, toolbar, etc, calls the application that is set as default for that generic .desktop file.
              If you click the Web browser icon from the menu, you’ll open firefox esr by default. If you change the default web browser using the tool available under the Control Center, to, say Brave Browser, if you click that “web browser” icon, Brave will be launched.
              That’s all this settings do, they do not change particular settings, for example- if you try to open a link from a e-mail, probably it will be opened in firefox-esr- “default apps” are not universally interpreted by all apps- this options in Control Center change the contents of those generic .desktop files. That may have strange results when trying to launch the selected apps:
              In my particular case- if I have set, as default Video player, “mpv” (that’s the default) clicking the default “video player” .desktop file will seem not launch anything, because antiX will try to launch a video file played by mpv, since no video file is provided, nothing will be displayed… If I change the default video player to celluloid, and click the default “Video player” icon, then an empty celluloid window (unless celluloid is otherwise configured) will be launched…

              Different file managers use default settings to launch file types- remember that I said that the default apps selected in Control Center are not universally respected? That happens even (or specially in file managers)- you’ll better off configuring you file manager to open particular file types (say .mp4. mkv, etc) with smplayer… Addapt that to any file type you want to launch from your file manager…

              P.

              • This reply was modified 1 year, 4 months ago by PPC.
              #74695
              Member
              blur13
                Helpful
                Up
                0
                ::

                open .config/mimeapps.list in a text editor and change the assigned desktop entries to MIME types.
                Eg:

                application/pdf=mupdf.desktop;
                video/mp4=vlc.desktop;
                video/x-matroska=vlc.desktop;

                • This reply was modified 1 year, 4 months ago by blur13.
              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.