5 BEST Ways to Manage Flatpaks

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024
  • Today I talk about the best ways to manage your flatpak collection.
    👇 PULL IT DOWN FOR THE GOOD STUFF 👇
    Patreon - / thelinuxcast
    Liberapay - liberapay.com/...
    RUclips - / @thelinuxcast
    ===== Follow us 🐧🐧 ======
    Discord - / discord
    Odysee - odysee.com/$/i...
    / thelinuxcast
    / mtwb
    Mastodon- fosstodon.org/...
    gitlab.com/the...
    Subscribe at thelinuxcast.org
    Contact us email@thelinuxcast.org
    Telegram Group - t.me/+9lYoIuLh...
    Amazon Wishlist - www.amazon.com...
    Merch Store - zaney.creator-...
    Logo Courtesy of - pedropaulo.net
    ==== Special Thanks to Our Patrons! ====
    thelinuxcast.o...
    ==== Referenced ====
    How to Apply GTK Theme to Flatpaks - itsfoss.com/fl...
    Commands I used
    sudo flatpak override --filesystem=$HOME/.themes
    sudo flatpak override --env=GTK_THEME=my-theme
    flatpak list
    #top5 #linux #thelinuxcast

Комментарии • 80

  • @TheLinuxCast
    @TheLinuxCast  Год назад +2

    Want more Linux content? Follow me on Twitter twitter.com/thelinuxcast or on Mastodon fosstodon.org/@thelinuxcast

    • @samuelborn9004
      @samuelborn9004 Год назад

      You can also add "/var/lib/flatpak/exports/bin" to your PATH. After that you can run every flatpka just by running for example "com.brave.Browser"

  • @tonystorcke
    @tonystorcke Год назад +10

    You are absolutely correct. Flatpak rules. Don't forget the Flatpak system is under constant improvement so perhaps your dislikes may disappear.

  • @ArniesTech
    @ArniesTech Год назад +4

    Thanks a lot Matt. Using Ubuntu and their snap packages I somehow think that Canonical did all this to their snap, too since everything looks "right at home" and well polished 💪

  • @marufbepary100
    @marufbepary100 Год назад +8

    Flatseal should be integrated into the settings app.

    • @darsparx
      @darsparx Год назад

      ^ This, anything that adds settings controls to your system should integrate there in some smart way that makes it easy to do. Heck, flatpak just needs to work with Distros/DE's to better integrate the theming and other stuff with the systems....it's nice that we can do the overrides, but it shouldn't be the default that you have to do just so things don't look out of place....

    • @9SMTM6
      @9SMTM6 Год назад

      It actually is with the latest KDE I've heard.

  • @Zephyroths
    @Zephyroths Год назад +5

    When you mention aliasing, it might be a great feature if flatpak has a feature where you can alias the long name into whatever you want, of course the packager can decide its default name

    • @vanadium4167
      @vanadium4167 Год назад +1

      Flatpak has a directory "/var/lib/flatpak/exports/bin". Add that to your PATH, and you can start all flatpaks by their application ID. Create a symbolic link to any of these exports in your `/usr/local/share/applications directory, and you can launch it with a short name, e.g. ln -s /var/lib/flatpak/exports/bin/org.gimp/GIMP /usr/local/share/gimp and every user will launch the flatpak with the command "gimp".

  • @diegoSCFC
    @diegoSCFC Год назад +6

    I think "flatpak list" is very mess, so i prefer "flatpak list --app"

    • @TheLinuxCast
      @TheLinuxCast  Год назад +3

      Ohhh. I didn't know this existed

    • @diegoSCFC
      @diegoSCFC Год назад +1

      Just to clarify - from Flatpak docs: "list" show all "applications and runtimes" installed while "--app" just show "applications" installed

  • @probitj.kalita6459
    @probitj.kalita6459 Год назад +2

    I think it should be possible to symlink the flatpaks that you tend to launch from the terminal to ~/bin/, that way you should be able to always run it from the terminal

  • @Herminafried
    @Herminafried Год назад +3

    Here ist my morning routine in Fedora: alias up='sudo dnf update --refresh -y && sudo dnf autoremove -y && flatpak update -y && flatpak uninstall --unused -y'

  • @darthkielbasa
    @darthkielbasa Год назад +1

    I like while the intro ads are playing.

  • @RickRomig
    @RickRomig Год назад +1

    I have a script for weekly updates on all my systems, and if Flatpaks are enabled, they're updated. Works pretty well.

  • @blu1669
    @blu1669 Год назад

    I've been using flatpaks for so long and recently I downloaded bottles and I couldn't use my second drive to install things and I was thinking something is wrong with my drives and how I set them up. Then I found out about flatseal and file access permission thanks to you.

  • @cheebadigga4092
    @cheebadigga4092 Год назад +4

    Just to clarify that the Flatpak names are not odd at all. They follow a naming convention called "package identifiers" or "reverse domains" which is used by Android for example, too. It's main goal is to uniquely identify two different programs of the same name, which can happen if two developers are working on the same thing independently and pushing them to Flathub. It solves much more problems than it might seem to bring at first. On a side note, in the case of Android, though, Google managed to mess it up with one of their own apps some time recently which led to weird issues on some people's phones. Can't remember which app it was.
    For further reference, lookup "Set the application ID" on the Android docs and "Requirements & Conventions" on the Flatpak docs.

    • @9SMTM6
      @9SMTM6 Год назад +1

      Android probably got that from Java. And I HATE this in Java.
      I do think this reverse domain ID does make sense for some situations, probably including flatpak (though it's still annoying and often falls flat).
      But how Java uses it? Get that horrible thing away from me. They completely separate the package you install (which also has a reverse domain, but that doesnt have to and often isn't identical) from where you get its stuff from. These domains often play very loose with conventions, of they try at all. They lead to lots of noise when it comes to imports, hiding the important thing at the end. Don't get me started on Java imports in general. Fucking up something so complete is very impressive indeed.

    • @onewa712
      @onewa712 Год назад +1

      yeah, but they are not easy to remember them unless you actually go to the program and search for the name xD clever way to name, just not easy to remember those names on a daily basis

    • @cheebadigga4092
      @cheebadigga4092 Год назад

      @@onewa712 doesn't make it odd though.

  • @quentinarrius
    @quentinarrius Год назад

    Great video! Super useful for a linux and flatpak beginner!

  • @OcteractSG
    @OcteractSG Год назад +3

    Have you tried using a symlink or even a hard link with the Themes directory? Maybe that will give the application theme access without you having to manager themes in two places. I’ll try it pretty soon.

    • @vanadium4167
      @vanadium4167 Год назад +1

      With respect to themes, many are available as a flatpak. Installing the flatpak version of your favorite theme is the safest way to theme your flatpak applications

  • @davidwayne9982
    @davidwayne9982 Год назад

    YOu were talking about not being able to download photos and stuff like that-- that you COULDN"T do with the flatpak---- but I've used them since I heard of them long time back and NEVER had any issue like that AT ALL-- ever.. Didn't even know what Flatseal was... and never needed it.. I do have it on my system-- but never needed it-- YET.. and I do everything you talked about with NO issue.

  • @13thravenpurple94
    @13thravenpurple94 Год назад

    Great video THank you

  • @kvelez
    @kvelez Год назад

    Yesterday I switched from Ubuntu 22.10 to Fedora38 due to your videos.
    Thanks.

  • @Pi_Maaster
    @Pi_Maaster 9 месяцев назад

    some apps (like bottles) had a gtk folder on it's data directory
    if you copy the theme you whant to use acording to the gtk vertion that the app uses it will be ok

  • @fragdq
    @fragdq Год назад +1

    i was always anti flatpak, but i must admit, that i learned to love it

  • @davidwayne9982
    @davidwayne9982 Год назад

    I've NEVER had an issue with flatpak.. AT ALL. Iv'e run Telegram- and much other stuff-- and NO issues.. I appreciate knowing about FLATSEAL just in case-- THANK YOU for the video..

  • @oglothenerd
    @oglothenerd Год назад +3

    I made a tool called Flatrun that lets you launch flatpaks from the terminal without the full name. Example: flatrun gimp

  • @umka7536
    @umka7536 Год назад +3

    Theming is a mess (need to copy all to home foler), command line launch is a mess (needs alias), cli options is a mess (because of alias and access rights)...
    But Flatpaks are "great".
    IMHO Appimages are much more convenient to use.
    It behaves like a normal app, it supports all CLI options, it reads your themes, it has access everywhere I want this app to.

    • @anon_y_mousse
      @anon_y_mousse Год назад +1

      Don't forget, portable with less infrastructure and should keep working well into the future as long as you keep the same architecture, since they package their dependencies with it.

  • @pandaman2651
    @pandaman2651 Год назад

    Thanks, Matt, for a great video! It explains a lot of things. I have one problem with Flatpaks that require access to tools "external" for a flatpak container for their functioning. One example is VS Code. I use it together with VSC-Prolog that needs a Prolog installation like SWI-Prolog. When I try to load a Prolog file, it complains "The terminal process failed to launch: Path to shell executable "/usr/bin/swipl" does not exist.", although I have installed Prolog. The same problem occurs with Texmaker. When I installed it via Flatpak, it also installed TeX Live SDK extension, so I can compile most Latex files. But when I try to use the minted package for code highlighting that relies on the Pygments Python package, it complains that it cannot find pygmentize, although it is installed. It would be great if you could make a video tutorial on solving such problems. I am sure that I am not the only one having such issues.

  • @gabrielrmattoso
    @gabrielrmattoso Год назад +1

    An alternative to `sudo flatpak override --filesystem=$HOME/.themes` is to give this filesystem permission through Flatseal in the All Applications (global) section

    • @gabrielrmattoso
      @gabrielrmattoso Год назад +1

      And to the `sudo flatpak override --env=GTK_THEME=my-theme` is to add through Flatseal to All Applications, the variable `GTK_THEME=my-theme`

  • @chadjones3380
    @chadjones3380 Год назад

    Wow, I learned a lot from this video, thank you!

  • @rlocone
    @rlocone Год назад

    Topgrade will update the flatpaks too.

  • @Pi_Maaster
    @Pi_Maaster 10 месяцев назад

    very usefull

  • @SpyderGamer
    @SpyderGamer Год назад

    Great video as always! :)

  • @kdcadet
    @kdcadet Год назад

    Why not give read only perms to /usr/share/theme?

  • @hoyteternal
    @hoyteternal Год назад

    wow that was actually useful

  • @brads2041
    @brads2041 Год назад

    Useful, tnx

  • @xygpz
    @xygpz Год назад

    Flatseal fix my issue when I'm accidentaly force exit flatpak apps from background then the next usage the apps kept force closing

  • @patrickmclaughlin6013
    @patrickmclaughlin6013 Год назад

    flatpak list works on my fedora 35

  • @chris122380
    @chris122380 Год назад

    I am running into issues in gnome where flatpacks aren't showing up in the app menu or the search menu after installing from the gnome store.
    Debian Linux distro

  • @zoltan1953
    @zoltan1953 Год назад

    Would it be a good idea to make an alias so that sudo [package manager] update also runs flatpack update, or would you advise keeping the two separate?

    • @TheLinuxCast
      @TheLinuxCast  Год назад +1

      I used to do that. So yes that's fine. I use topgrade now.

  • @user-mc3gr4ps5b
    @user-mc3gr4ps5b Год назад

    "flatpak update --assumeyes" is such a life saver... saying "Y" to everything is a pain

  • @pskry
    @pskry Год назад

    So, why not write a small script that runs the output of flatpak list into fzf?

  • @gabrielrmattoso
    @gabrielrmattoso Год назад

    Is there some automatic filtering in the comments? I've posted some tips, but they all disappeared.

  • @davidwayne9982
    @davidwayne9982 Год назад

    NOTHING is perfect--- but appimages and Snaps are CRAPS... they have FAR too many issues and cause more... I've NEVER had an issue with a flatpak-- ever.. and YES, I use Flatseal always... :) GREAT VIDEO.. thank you.

  • @ransan
    @ransan Год назад +1

    Hold on, I'm confused. My Flatpaks auto update on Fedora 36 Cinnamon. They don't on KDE?
    Are you even on KDE? I don't remember. That top bar confuses me.

    • @JahidulIslam
      @JahidulIslam Год назад

      May be KDE discover tool doesn't have the option to enable auto update flatpak apps. It also doesn't have system update option.

  • @davidwayne9982
    @davidwayne9982 Год назад

    I personally LOVE Flatpak-- easy to get down and use- easy to maintain, run quick- isolated so not speading malware.. and they're just great-- I HATE snaps-- stupidest mess ever made.. and as to Fedora-- I'd NEVEr check Fedora again-- it screwed up my machine both times I tried it.. renumbered my drives so they wouldn't even show up on my original software when I re-installed-- or rather TRIED to-- and lots of OTHER issues pop up with software that I NEVER had a problem with before-- I will NEVER use Fedora ever again.

  • @tmendoza6
    @tmendoza6 Год назад

    Interesting I was not a fan b/c I could not start application from terminal

  • @wolfenstein6676
    @wolfenstein6676 8 месяцев назад

    I'm a new Linux Mint user, so if a program isn't already contained in the 'Software Manager' I can't install it. For example, I want to install Gimp 2.8 (an older version) and I've downloaded the flatpak for it to my downloads folder, but I've got no idea how to install it.
    How do we install flatpaks that we've already downloaded?

    • @TheLinuxCast
      @TheLinuxCast  8 месяцев назад

      Okay, so I'm just guessing, but I think you just:
      flatpak install path/to/file

    • @wolfenstein6676
      @wolfenstein6676 8 месяцев назад

      @@TheLinuxCast I see what you mean, via the terminal? I'll give it a try.

  • @itsfish8672
    @itsfish8672 Год назад

    GVM.

  • @wisnoskij
    @wisnoskij Год назад

    Does messing with the flatseal permissions allow Discord to launch then you click a discord link in your browser? Or would you need to setup some browser rule for that? It works when it is already open, but for some reason will not open discord.

    • @TheLinuxCast
      @TheLinuxCast  Год назад +2

      I think that has to do with the way flatpaks are named. Firefox/Chrome is looking for an app named Discord, not com.discordapp.Discord or whatever it is. It works when its open because the class name is Discord, not the crap flatpak gives it.

  • @77seban
    @77seban Год назад

    How you did this sys info in terminal ? thanks

    • @TheLinuxCast
      @TheLinuxCast  Год назад +1

      It's neofetch. With themes from this repo github.com/chick2d/neofetch-themes

    • @77seban
      @77seban Год назад

      @@TheLinuxCast O yeah thanks 😉

  • @mrlingzf
    @mrlingzf Год назад

    I am a happier user of fedora too.

  • @mo-ld6nf
    @mo-ld6nf Год назад

    It is too bad scoop isnt available outside of Windows its far easier than flatpak. Scoop install vlc...and done no weird naming like Linux does

    • @JahidulIslam
      @JahidulIslam Год назад +1

      Linux have apt, dnf, zypper to do the same thing and have been doing this far longer. sudo apt install vlc and done. Since 90's

  • @edgarsxdwoo7417
    @edgarsxdwoo7417 8 месяцев назад

    soypacks

  • @rakandhiyaaa92
    @rakandhiyaaa92 Год назад +4

    symlinking the /usr/share/themes to ./.themes should also work right?

    • @TheLinuxCast
      @TheLinuxCast  Год назад +2

      You know I don't know. I'd have to check. You'd think so. I didn't think of it

    • @topherfungus8424
      @topherfungus8424 Год назад +2

      @@TheLinuxCast Probably not, /usr/share/themes is root:root, you can't override the permissions with a symlink

    • @mk72v2oq
      @mk72v2oq Год назад +2

      Just add /usr/share/themes to overrides. It works, idk why the video saying the opposite.

    • @TheLinuxCast
      @TheLinuxCast  Год назад +1

      @@mk72v2oq didn't work for me. Which is why i said it.

    • @mk72v2oq
      @mk72v2oq Год назад +3

      @@TheLinuxCast I'm now trying to post a proper theming setup, but youtube just keep deleting my comment for no reason. So sadly no luck to answer.

  • @anon_y_mousse
    @anon_y_mousse Год назад +1

    If you're going to alias, why not do the full command line to run the app. Say alias firefox='...' and instead of flat org.foo.bar.baz.firefox you'd just firefox. Although, I don't often start GUI apps from the terminal. Typically I assign shortcut keys for the commonly used applications. For FireFox I used W+F to open it directly, W+C for chromium, W+O for Opera, W+B for Brave, W+K for konsole, W+T for xTerm. You get the idea.

  • @regal953
    @regal953 Год назад

    Now if we could have Flatpaks in a systemdevil-free distro I could be a fanboy too.

    • @lauriekimani
      @lauriekimani Год назад

      I use flatpaks in Alpine which doesn't use systemd.

  • @Ebits21
    @Ebits21 Год назад

    Gtk flatpak’s looked horrible on plasma (Manjaro) until I installed xdg.desktop.portal.gtk and now they look great.