Flatpaks not showing in App Menu! -Why,

Forum Forums New users New Users and General Questions Flatpaks not showing in App Menu! -Why,

Tagged: 

  • This topic has 16 replies, 12 voices, and was last updated Jul 3-10:05 pm by man_without_clue.
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #75763
    Member
    NFFCReds1

      Initially super impressed with AbtiX. Suoer speedy, even on 250GB USB3 pen drive,, and being Debian, also very stable.

      Also being Debian,up to date / third party apps not quite enough!

      I have installed via CLI around four or five flatoaks. Checkibg un the terninal later all are listed but none are showing in tbe App Menu or the inckuxed OS launcher Why is this? How can I rextify this?

      TIA

      Barrie
      Cornwall UK

      #75768
      Anonymous
        Helpful
        Up
        2
        ::

        ¯\_(ツ)_/¯
        Wut?

        The ” the inckuxed OS launcher” is temporarily closed for cleaning.
        Check back in a week or two, eh?

        #75773
        Member
        oparun
          Helpful
          Up
          0
          ::

          I’ve never used flatpacks, but Antix has a bug of some sorts: sometimes, when you install separate packages (e.g nerolinux4.deb or something from non-official repos) it won’t appear in your menu. You can press “Refresh menu” till the cows come home. So, try to install something else or delete some small program. It usually helps me

          #75779
          Moderator
          BobC
            Helpful
            Up
            0
            ::

            LOL, You have some serious speeling problems.

            Flatpacks are not really a good idea for antiX, BTW, but if you are really sure that is what you want to run, why not add them to your toolbar or menu?

            The problem is that the flatpack didn’t install a .desktop file to tell the system where to put it on the menu, how to run it, what icon to use, etc.

            If you go into zzzfm, you can do a file search for *.desktop and open one that you see on the menu you want your app added to. It should open in Geany, the programmers editor. Then you need to substitute the values you want for your app, leave the categories alone, and save it to ~/myapp.desktop (or any place you can find it with zzzfm).

            [Desktop Entry]
            Encoding=UTF-8
            Type=Application
            Name=My App
            Comment=My application
            Icon=multimedia
            Categories=Settings;
            Exec=/home/bobc/bin/balenaEtcher-1.5.113-x64.AppImage
            Terminal=false
            StartupNotify=true
            

            Then in zzzfm and Copy it, then Open a Root window, and Paste it into /usr/share/applications

            Now run the Toolbar Icon Manager and add it to your toolbar. If you want, instead you could run the Menu Manager to add it to your menu, or find and open it via App Select

            • This reply was modified 1 year, 3 months ago by BobC.
            • This reply was modified 1 year, 3 months ago by BobC. Reason: doesnt need to be executable
            • This reply was modified 1 year, 3 months ago by BobC. Reason: fix desktop entry
            #75787
            Member
            blur13
              Helpful
              Up
              0
              ::

              Oparun,

              You could try running

              desktop-menu --write-out-global

              after installing a .deb locally

              #75789
              Forum Admin
              anticapitalista
                Helpful
                Up
                1
                ::

                How about using the installed desktop-menu app under Applications>Preference>Add Menu Item?

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

                antiX with runit - leaner and meaner.

                #75790
                Member
                PPC
                  Helpful
                  Up
                  0
                  ::

                  I’m notorious for my typos, but the OP is absolutely next level on that annoying problem… Please don’t let your cat walk all over the keyboard while you are typing 🙂

                  I’ll assume that you are a newbie and do not yet know the “linux lingo”, but, my friend, in both Windows and Linux, the ” the inckuxed OS launcher” is called simply the “menu” (you called it by it’s proper name in the title of you post).
                  How to get newly installed apps to appear in the menu? When you install .deb packages, the .desktop file that has all the info on the installed application (It’s name, description- that respective localization to other languages, if any exist, it’s icon and in which category it belongs to – games, office, etc) is placed in the /usr/share/applications folder.
                  When that fails, or you installed an application using another way other than installing a.deb package – like flatpaks, appimages, etc (or you manually create a .desktop file, like BobC mentioned) you have to create a new .desktop file and/or copy the created .desktop to the correct folder and tell antiX to update the menu by running the “desktop-menu –write-out-global” blur13 mentioned, or clicking the “Refresh menu” menu entry (like anticapitalista mentioned while I was typing this very long post). Why do you have to do that? One of the reasons antiX is so light is that it does not waste resources on stuff that you usually don’t need- so you changed something and want to see that change on the menu? antiX is not constantly monitoring the system for any change in /usr/share/applications. You have to tell antiX that you want it to check that folder and update the menu, if a change has happened!

                  More to the point: I haven’t test flapaks in a while, but a quick read here https://www.pragmaticlinux.com/2021/01/how-to-install-flatpak-applications-from-flathub/ told me this:

                  When installing a Flatpak, it automatically installs an application launcher as well. This means that you can conveniently start the application by selecting it in your desktop environment’s application menu

                  So probably, all you have to do is follow blur’s advice and run the above mentioned command to update your menu. If that works, any flatpak that you have installed will show up there (you can search for it by using the app-select application, either for the terminal or from the menu)

                  P.

                  Edit: I clarified a bit why a .desktop file may no be created (or be created in the correct folder)… My post below hints at a way to solve the problem that flatpaks may create .desktop files in a folder that antiX does not check, when it’s updating the menu…

                  • This reply was modified 1 year, 3 months ago by PPC.
                  • This reply was modified 1 year, 3 months ago by PPC.
                  • This reply was modified 1 year, 3 months ago by PPC.
                  #75798
                  Member
                  ModdIt
                    Helpful
                    Up
                    0
                    ::

                    Maybe instead off mobbing mokking the otiginal poster take a read, below could well apply.

                    Some common dyslexia signs and symptoms in teens and adults include:

                    Difficulty reading, including reading aloud
                    Slow and labor-intensive reading and writing
                    Problems spelling
                    Avoiding activities that involve reading
                    Mispronouncing names or words, or problems retrieving words
                    Trouble understanding jokes or expressions that have a meaning not easily understood from the specific words (idioms), such as “piece of cake” meaning “easy”
                    Spending an unusually long time completing tasks that involve reading or writing
                    Difficulty summarizing a story
                    Trouble learning a foreign language
                    Difficulty memorizing
                    Difficulty doing math problems

                    #75807
                    Moderator
                    BobC
                      Helpful
                      Up
                      0
                      ::

                      Yes, I make lots of typing goofs too.

                      These days, maybe you could use a voice to text app. I know I can do that with some successs on my Android phone, but I don’t know if that’s available on Linux.

                      #75847
                      Forum Admin
                      dolphin_oracle
                        Helpful
                        Up
                        0
                        ::

                        flatpaks don’t install their desktop entries under /usr/share/applications so its very possible that the antiX menu generator just doesn’t check the location. system level flatpaks are generally under /var/lib/flatpaks/exports/share/applications.

                        flatpaks are great on antiX though. no daemon running around unlike with snapd, and launching a flatpak is pretty darn fast. disk space is the tradeoff. they even mostly work when running live.

                        • This reply was modified 1 year, 3 months ago by dolphin_oracle.
                        #75850
                        Member
                        PPC
                          Helpful
                          Up
                          0
                          ::

                          Ok, if Dolphin_oracle is correct (I assume that he is always correct) then, to make apps installed via flatpak appear in your menu, try this:

                          Menu > Terminal
                          sudo cp /var/lib/flatpaks/exports/share/applications /usr/share/applications && desktop-menu --write-out-global

                          WARNING: this will overwrite any .desktop that has the same exact name of the apps you installed via flatpak.
                          TRY THIS AT YOUR OWN RISK!

                          P.

                          @Moddit and the OP – Sorry if that came up like I was mocking any disability the OP may have- since I noticed that all the typos were made because the OP pressed the key right next to the right one, I simply assumed that the OP was a lousy typist… If you really have some sort of problem, please be aware that no one here means any harm, we were only kidding because of the large amount of typos – like I said, I’m lousy at typing (I type too fast and tend not to check my post before clicking “Submit”)

                          • This reply was modified 1 year, 3 months ago by PPC.
                          • This reply was modified 1 year, 3 months ago by PPC.
                          #75854
                          Forum Admin
                          rokytnji
                            Helpful
                            Up
                            0
                            ::

                            I have thick skin, broad shoulders, and gigantic fingers. So typos are my tool in trade. If I get kidded. It rolls right off.

                            Anti’s post pretty sums the solution to this thread.

                            Another way I guess is running the desktop icons in your preferred window manager and letting the flatpak run from there.

                            Sometimes I drive a crooked road to get my mind straight.
                            Not all who Wander are Lost.
                            I'm not outa place. I'm from outer space.

                            Linux Registered User # 475019
                            How to Search for AntiX solutions to your problems

                            #75915
                            Member
                            PPC
                              Helpful
                              Up
                              0
                              ::

                              Problem solved- I tested flatpaks in my system, D.O. was almost right,and my previous suggestion needed a bit of tweaking:
                              To make installed appimages appear in your menu:
                              Menu > Terminal >

                              sudo cp /var/lib/flatpak/exports/share/applications/*.desktop /usr/share/applications && desktop-menu --write-out-global

                              Enter your password, if asked to, and then all installed flatpaks (with a .desktop file) will appear in the menu…

                              P.

                              • This reply was modified 1 year, 3 months ago by PPC.
                              #85533
                              Member
                              man_without_clue
                                Helpful
                                Up
                                0
                                ::

                                I cannot get it to work.

                                I get permission error…

                                PermissionError: [Errno 13] Permission denied: ‘/usr/share/desktop-menu//.fluxbox/menu-applications’

                                How come?

                                #85534
                                Moderator
                                BobC
                                  Helpful
                                  Up
                                  0
                                  ::

                                  If I was to guess, I’d say it doesn’t have authority to write the menu. Try this instead:

                                  sudo cp /var/lib/flatpak/exports/share/applications/*.desktop /usr/share/applications && sudo desktop-menu --write-out-global

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