FLATPAK EXPLAINED: Theming, permissions, command line, browser installs...

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.ค. 2024
  • Download Safing's Portmaster and take control of your network traffic: safing.io
    Grab a brand new laptop or desktop running Linux: www.tuxedocomputers.com/en#
    👏 SUPPORT THE CHANNEL:
    Get access to a weekly podcast, vote on the next topics I cover, and get your name in the credits:
    TH-cam: www.youtube.com/@thelinuxexp/...
    Patreon: / thelinuxexperiment
    Liberapay: liberapay.com/TheLinuxExperim...
    Or, you can donate whatever you want: paypal.me/thelinuxexp
    👕 GET TLE MERCH
    Support the channel AND get cool new gear: the-linux-experiment.creator-...
    🎙️ LINUX AND OPEN SOURCE NEWS PODCAST:
    Listen to the latest Linux and open source news, with more in depth coverage, and ad-free! podcast.thelinuxexp.com
    🏆 FOLLOW ME ELSEWHERE:
    Website: thelinuxexp.com
    Mastodon: mastodon.social/web/@thelinuxEXP
    Pixelfed: pixelfed.social/TLENick
    PeerTube: tilvids.com/c/thelinuxexperim...
    Discord: / discord
    #Flatpak #Linux #software
    00:00 Intro
    00:33 Sponsor: Regain control of your network connection
    01:31 Flatpak explained
    03:30 Installing and setting up Flatpak
    04:57 Theming Flatpak applications
    08:41 Managing Permissions
    10:43 Installing from the browser
    11:21 Command Line basics
    13:54 Sponsor: Get a PC that was made to run Linux
    14:52 Support the channel
    Flatpak is a method of packaging applications for ALL linux distros with one single package.
    Flatpaks mostly don't use your shared libraries, they ship their own.
    Flatpak also brings better security with a sandbox that doesn't let the app access all your system when it doesn't need to, and a permissions system.
    Flatpak also uses repositories, called remotes, the biggest one is of course Flathub.
    So, most distros out there should have flatpak preinstalled, but if you run Ubuntu or an official Ubuntu flavor, Debian, or Arch, you might want to install it yourself.
    On Ubuntu or Debian:
    sudo apt install flatpak
    For any distro:
    flathub.org/setup
    But this only gives you command line access to flatpak. If you're a more graphical sort of person, you might want to add support for your app store:
    FOr GNOME software, the package is often called gnome-software-plugin-flatpak, and for Discover on KDE, it's generally plasma-discover-flatpak.
    Next, you'll need to add a repo to be able to install flatpaks easily, without downloading a file manually each time. The biggest one everyone should use is FLathub, it has virtually every flatpak ever made.
    sudo flatpak remote-add --if-not-exists flathub flathub.org/repo/flathub.flat...
    THEMING:
    There are a bunch of themes available on Flathub, that you can find typing
    flatpak search theme
    If the theme you use is in there, you can just install it from here, then, you select it in GNOME Tweaks, and you run:
    flatpak update
    If your theme isn't available from Flathub, though, you'll need to tell flatpak it needs to use your specific theme. To do this, you can either run a command, or use a graphical application.
    sudo flatpak override --env=GTK_THEME=NAME OF YOUR THEME.
    But that's not enough, we also need to give flatpak access to the directory where your themes are located, namely the .themes directory:
    sudo flatpak override --filesystem=$HOME/.themes
    For GTK4/Libadwaita apps, open your .bash-profile file in your home directory. At the end, add this line:
    export GTK_THEME=NAMEOFYOURTHEME
    Save the file, and then log out and log back in for all the changes we made to be applied. All your GTK apps should now use the right theme, whether they're using libadwaita, flatpak, or both.
    PERMISSIONS
    Now let's see how you can change permissions. To manage them, you can use Flatseal on GNOME and KDE, but KDE also has a permissions page in the settings.
    Generally, permissions are correctly set, but if you feel an app shouldn't have access to something, you can toggle that thing off, and if you feel an app SHOULD have access to something, you can toggle it ON.
    BROWSER INSTALL
    Installing flatpaks is just a one click operation from your graphical app store, but if you like to browse for apps in your web browser, you can also start an install straight from there.
    There's an extension for Firefox and CHromium based browsers called Flatline.
    addons.mozilla.org/en-US/fire...
    chrome.google.com/webstore/de...
    COMMAND LINE BASICS:
    install: flatpak install APPNAME
    Uninstall: flatpak remove APPNAME
    Update: flatpak update
    Cleanup: flatpak uninstall --unused
    List installed flatpaks: flatpak list
    Search for flatpaks: flatpak search
    Run an app: flatpak run COMPLETE_APPNAME
    Kill an app: flatpak kill COMPLETE_APPNAME
    Repair: flatpak repair
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 424

  • @TheLinuxEXP
    @TheLinuxEXP  11 หลายเดือนก่อน +70

    NOTE: I was told of another method to handle theming using flatseal, that should be less prone to breakage in apps: instead of adding the GTK_THEME override in .bash-profile, and giving flatpak access to the .themes folder, you can add the 2 following overrides for all apps in flatseal in the "other files" section:
    xdg-config/gtk-4.0:ro
    xdg-config/gtk-3.0:ro
    This will let flatpak read the current theme in your config, and change it for all flatpak apps. Should be more resilient if things change in GNOME, and shouldn't break too much stuff. As awlays, though, theming is a "hack" so it's never 100% perfect.
    Oh, and also, if you want to secure and monitor your internet connection, you can download Safing's Portmaster and take control of your network traffic: safing.io

    • @andrive
      @andrive 11 หลายเดือนก่อน +2

      Nice

    • @user-hg6jk1ny7b
      @user-hg6jk1ny7b 11 หลายเดือนก่อน

      Yeah I was playing with vanillaOS and found it hilarious that the flatseal icon is a roll of scotch tape 😂 so accurate! I need to take baby steps with the container OS'es there is definitely a very steep learning cliff I mean curve

  • @monabuu
    @monabuu 11 หลายเดือนก่อน +131

    I love the permissions popup idea! When I installed Bottles I had no idea that it only had access to ~/Downloads by default so when I downloaded an app, ran it to test if it works, then moved it to an apps folder, I was very surprised to see a WINE error message. No warning from Bottles or Flatpak that somethign was wrong. I spent a good half hour troubleshooting before I thought of checking the permissions in Flatseal - something that came to mind only because YOU mentioned Flatseal in a previous video. Had I not watched it, I would have no idea what was going on or how to fix it!

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +33

      Yeah they really should implement that

    • @_framedlife
      @_framedlife 11 หลายเดือนก่อน +12

      multiple people pointed out that permissions should've been realtime from the get go but the committee working on it refused by never even really acknowledging the question. it's one of my biggest gripes about flatpak. I hate having to launch flatseal to change/fix permissions. it's better now though but the solution has been to do more broader permissions from the get go.
      that said, managing flatpak is much better than snaps, appimages and even system packages at times.

    • @ManiVictorious
      @ManiVictorious 11 หลายเดือนก่อน +7

      Unfortunately, I do not think that is so easy to implement from a programmers perspective. A much easier and cleaner way to achieve this is via the use of flatpak portals (maybe a drag and drop portal in this specific case). This does require the app developers to update their apps to use the new APIs though. Something I think is a reasonable thing to ask for new and actively maintained applications but less likely to happen for legacy ones

    • @marcboocha
      @marcboocha 11 หลายเดือนก่อน +1

      Yep, this is a portal thing.

    • @razzeeee
      @razzeeee 11 หลายเดือนก่อน

      Pretty sure your actually describing a portal here

  • @crism8868
    @crism8868 11 หลายเดือนก่อน +105

    On the theming part, it's worth noting Linux Mint takes care of all of it, just pick the theme you like as you usually do, and the Mint Update manager will download said theme as a flatpack and apply it to all your installed flatpacks

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +36

      That’s really nice!

    • @Blueeeeeee
      @Blueeeeeee 11 หลายเดือนก่อน +22

      This is default behavior from Flatpak, it works on all distros

    • @6XGate
      @6XGate 11 หลายเดือนก่อน +6

      It seems GNOME Software is also smart enough to install your active theme when you install software. Wished the CLI version or Pamac would do that too.

    • @KCKingcollin
      @KCKingcollin 6 หลายเดือนก่อน

      Mint is my single favorite recommendation for new users for that single reason

    • @KCKingcollin
      @KCKingcollin 6 หลายเดือนก่อน

      ​@@6XGateI think you mean Ubuntu, Fedora gnome does not do that as well I'm afraid

  • @KrishnaDraws
    @KrishnaDraws 11 หลายเดือนก่อน +59

    Great explanation. I think that Linux really needs to make the Flatpak experience much easier than it currently is.

  • @MrMysticphantom
    @MrMysticphantom 11 หลายเดือนก่อน +205

    I came here for flatearth

    • @Nan0MK_Old
      @Nan0MK_Old 11 หลายเดือนก่อน +23

      Obviously the earth is a square!

    • @JayMannStuff
      @JayMannStuff 11 หลายเดือนก่อน

      ​​@@Nan0MK_Olda square in space. Which segways into this comment's sponsor. 😂

    • @user-hg6jk1ny7b
      @user-hg6jk1ny7b 11 หลายเดือนก่อน +2

      😂100

    • @robinweiland7533
      @robinweiland7533 11 หลายเดือนก่อน +4

      It's a potato

    • @st0rmrider
      @st0rmrider 11 หลายเดือนก่อน +5

      I thought you were flat packer

  • @tchx84
    @tchx84 11 หลายเดือนก่อน +50

    Hey Nick, great video! I would recommend reading about portals, which is pretty much what you described as per managing permissions dynamically.

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +24

      Portals are great, yeah!

  • @mirage809
    @mirage809 11 หลายเดือนก่อน +42

    Flatpak has great potential for both developers and users. And mostly this has been realized. It's just nice that you can rely on one solution that will work regardless of distro. The permission situation is a bit lacking still. Your solution is how Android does things and it works beautifully there. If an app wants to use your camera or microphone it'll request it with a popup.
    The only thing I wish Flatpak did is cleaning up runtimes when they're no longer needed. When you remove a program Flatpak will leave all the runtimes behind. If I choose to uninstall an app and it's the only thing using that runtime then Flatpak should just get rid of that runtime too. Or alternatively: ask real quick if I wanna leave the runtime or remove it. Would save a little space.

    • @softwarelivre2389
      @softwarelivre2389 11 หลายเดือนก่อน +2

      flatpak remove --unused

    • @vitchuu
      @vitchuu 11 หลายเดือนก่อน

      @@softwarelivre2389 That'll work, sure, but is not intuitive for the every day user and should be done automatically anyway

    • @MichaelMantion
      @MichaelMantion 11 หลายเดือนก่อน +2

      I've seen a lot of flatpaks that don't work, or are much slower than native apps.

    • @vitchuu
      @vitchuu 11 หลายเดือนก่อน +5

      @@MichaelMantion That's unfortunate, personally though for me it's been great! Pretty much every time I had an issue with something, the solution ended up being "Just use Flatpak"
      I use an immutable system now because of it, I only have solaar and ckb-next installed with traditional packaging (by layering them) because they're not available as Flatpak

    • @atemoc
      @atemoc 11 หลายเดือนก่อน

      @@softwarelivre2389 That action should be automatically run after each Flatpak update and uninstall, with a prompt asking the user if they want to clean these unused Flatpaks or not.
      It's a silly oversight in my opinion, and a costly one on storage space (the first time I discovered and ran this command, it freed up almost 50Go of space on my disk...)

  • @Xander_92
    @Xander_92 11 หลายเดือนก่อน +5

    I wish flatpak had support for parallel downloads, it would be much faster to install and update lots of packages at once.

  • @Beryesa.
    @Beryesa. 11 หลายเดือนก่อน +56

    Btw, .local/share/themes should be preferred to .themes
    And you could use xdg-documents instead of the whole path :)

    • @fuseteam
      @fuseteam 11 หลายเดือนก่อน +2

      I wish flatpaks used more xdg paths
      .local/bin
      .local/lib
      .local/share/applications
      .config
      .cache
      And friends xd

  • @moussagacem8260
    @moussagacem8260 11 หลายเดือนก่อน +31

    I agree for the pop up permission like android or ios do.
    For me the fact that it's me who should disable some permissions is weird and the proof that developers should be more aware, the developer shouldn't just force his flatpak to access everything and I have to disable the various permissions and see if the application will work or not and what settings should be enable to make the app works...etc. For me the mentality of just "there isn't any virus on linux so let's use X11 even when it's not secure and we don't have to enforce sandboxing" is false.

    • @razzeeee
      @razzeeee 11 หลายเดือนก่อน +2

      The fact that some will want to disable some permissions stems from the fact, that we're all different and static permissions are just an in between before there are enough portals. Permissions on flathub are vetted, but some even want all apps to don't have network access by default.
      It's a compromise between usability and security.

    • @moussagacem8260
      @moussagacem8260 11 หลายเดือนก่อน +1

      @@razzeeee I understand that and I don't want to remove the possibility of editing permissions.
      But for me and for most normal user I think, they just want the sandboxing to have a secure system, and so it's better for us that the developers choose themselves the permissions needed to have a working application but that doesn't have access to everything. Or they can enable some permission to have a working application but disable some because they are uses in some option and if you want those options a pop up will tell you if you want to allow this access or not.

    • @razzeeee
      @razzeeee 11 หลายเดือนก่อน

      @@moussagacem8260 I think you need to be more specific and call out apps, that don't have a minimal set of permissions in your opinion. Best would be to then open an issue on their flathub repo.
      Flatpak shows you that exact pop up, for webcam access and file access, if your app is up to date enough.

  • @etsw
    @etsw 9 หลายเดือนก่อน +1

    There is also "flatpak remote-ls --updates" command to check what updates your system is waiting. I wish you would add this as well :) but great video overall, thank you!

  • @slizgi86
    @slizgi86 11 หลายเดือนก่อน

    Thanks Nick for the Flatpak themes tutorial! Hope someday all this theme stuff will get an automated running script or something in any distro to just apply/copy/whatever is needed to set a theme to Flatpak apps. And shorter name for Flatpak run and kill in the future is a must-have, it is odd that it require full name, but install works.

  • @wonderfullife5665
    @wonderfullife5665 11 หลายเดือนก่อน +6

    For me appimage is the best package format. Just 1 thing to download and use it from a USB you can want to move it from debian to arch you can flatpak/snap is just to complicated. Only thing appimage does lack is theming and update option. And it will be instantly better than flatpak or snap

  • @blacktick6171
    @blacktick6171 11 หลายเดือนก่อน

    Vary helpful tutorial. Thank you.

  • @shatterstone3045
    @shatterstone3045 11 หลายเดือนก่อน +11

    If the flatpak devs implemented your suggestions (I'm not sure how the permissions popup will work, but the CLI part about program names over IDs is a must) I would consider switching to flatpak for all desktop applications possible.

    • @mks-h
      @mks-h 11 หลายเดือนก่อน +2

      Flatpak isn't targeted for CLI apps, so why would you consider using it for them? It's primarily for GUI apps, and it already has all kinds of permissions popups, including file chooser drag-and-drop.

  • @Battler624
    @Battler624 11 หลายเดือนก่อน +2

    I do hope that they fix the flatpak issue of drag and drop (like you mentioned, give permission per file)

  • @prometeusz1984
    @prometeusz1984 11 หลายเดือนก่อน

    Thanx I didn't know about flatpak repair. Usefull to delete unused runetime

  • @13thravenpurple94
    @13thravenpurple94 11 หลายเดือนก่อน

    Great video Thank you 👍💜

  • @FredPilcher
    @FredPilcher 11 หลายเดือนก่อน

    Thanks Nick - very good!

  • @Linux_ASMR
    @Linux_ASMR 11 หลายเดือนก่อน +2

    This is a great video on Flatpak Nick. The way theming works on flatpak is convoluted like you said. The guide you provide in your video really helps to correct that, thanks! Hopefully flatpak will make it easier to follow the theme used by the system in the future.

  • @jameswise9171
    @jameswise9171 11 หลายเดือนก่อน +8

    Excellent timing given I'm about to try using flatpak for sandboxing

    • @MichaelMantion
      @MichaelMantion 11 หลายเดือนก่อน +1

      Its best to just avoid flatpak and the like.

  • @callyral
    @callyral 11 หลายเดือนก่อน

    Just what I needed!!

  • @amigaworkbench720
    @amigaworkbench720 11 หลายเดือนก่อน +9

    what i like about flatpak is that you can:
    * disable internet access
    * set firewall rules to app
    * install multiple app versions

  • @robertszynal4745
    @robertszynal4745 11 หลายเดือนก่อน +2

    I like to just wrap everything in containers and just map in exactly what I want them to know/have access to. Completely distro agnostic.
    Thanks to Jessie Frazzelle, the docker queen, for detailing how to do it all on her blog.

  • @joaomendes1574
    @joaomendes1574 11 หลายเดือนก่อน

    Great video as usual. I even liked the ad :)

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน

      Thanks!

  • @pavlokrak
    @pavlokrak 11 หลายเดือนก่อน

    Nick, instances - I want to be able to run several instances of a selected application, e.g. one instance of browser for work and one for private stuff.

  • @danoblue
    @danoblue 11 หลายเดือนก่อน +2

    Very clear explanations, especially for someone who is relatively new to Flatpak, like myself. Thanks, Nick.

  • @vishalkumar040393
    @vishalkumar040393 11 หลายเดือนก่อน +6

    Flatpak has so many issues. My TexMaths extension doesn't work on LibreOffice Flatpak. SImilarly, KiCAD Flatpak doesn't recognize the system Text editor in the preferences. Same is true for Inkscape Flatpak Latex extension. And I m afraid to uninstall LibreOffice as my work has lot of references, that might go bad. If Anyone is having a solution to these issues, please help?

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +4

      I know the LO devs are working on fixing access to extensions, but I’m not sure there is solution yet! Maybe giving the app access to the directory where the extension is usually installed?

  • @mks-h
    @mks-h 11 หลายเดือนก่อน +1

    10:15 - That kind of exists... Apps open the file chooser popup (included with your system) in which you can choose any file you want to give to the app. Works for drag-and-drop, too. The way you phrased all that, sounds as if there is no way to do that. A special popup for apps that don't support Flatpak & portals could be a fine bonus, but I doubt it would actually be all that commonly usable.

  • @lostipod
    @lostipod 6 หลายเดือนก่อน

    Thanks!

  • @noopss4839
    @noopss4839 11 หลายเดือนก่อน

    Excellent video, explanations are clear. :)
    What is the name of the icon theme you use at 2:15 ?

  • @schnow265
    @schnow265 11 หลายเดือนก่อน +2

    If only I could use libdvdcss in the Faltpak version of VLC

  • @wilmergaleano7465
    @wilmergaleano7465 8 หลายเดือนก่อน

    I think there is a need for tutorials or good blogs on the correct use of flatpak. An example, I was trying to implement using flatpak and I thought that google chrome was not working correctly. I understood after much research and especially when commenting on the problem that I needed to give permissions to access certain files and directories. Now I feel like Flatpak makes sense to me.

  • @Blueeeeeee
    @Blueeeeeee 11 หลายเดือนก่อน +5

    One thing I love about Flatpak is I can have the entire installation on a dedicated partition that can be shared between several distributions and kept intact even if I reinstall my system.

  • @Dosenwerfer
    @Dosenwerfer 11 หลายเดือนก่อน

    Thank you so much! This is a really really well made overview for how to use flatpak and tackle common issues. I am sure that this video will be the cause or at least accelerator of many improvements to flatpak, seeing that this video will be most people's starting point when they look for how to do certain things with flatpak.

  • @sun3alex
    @sun3alex 11 หลายเดือนก่อน

    As always writing a comment to support the channel

  • @ThatLinuxDude
    @ThatLinuxDude 11 หลายเดือนก่อน +4

    10:36 Either the ability to drag and drop files into Flatpaks, via a 'drag and drop' Portal, is in the works or already exists but Discord doesn't use it yet.

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +2

      It already exists, yeah, but not all apps use it

    • @pialdas6835
      @pialdas6835 11 หลายเดือนก่อน

      Discord isn't even updated to use Pipewire (at least, last time I checked) which forced me to use WebCord since Discord's screensharing was broken.

  • @KCKingcollin
    @KCKingcollin 6 หลายเดือนก่อน

    I've been a die hard Linux user for years, but we NEEEEED a SINGLE app for all of what you did for themes, this is something we are WAY behind with compared to windows and mac, I know how complicated it might be, but it's worth it for everyone wanting to give Linux a try, this leaves just enough of a bad taste in the regular computer users mouth to not want to consider living with the rest of the trade offs of Linux, if I had the ability, I'd make that app rn

  • @JimmySolution
    @JimmySolution 11 หลายเดือนก่อน +2

    My issue with Bottles is that, although it does have internet connection or access turned on for apps, the bottle-containers still say there don't have access to internet. This is happening when I\m trying to install any kind of windows software inside of them.
    That's something which I do not understand. Any ideas?

  • @shariarrahman7562
    @shariarrahman7562 11 หลายเดือนก่อน

    Good stuff

  • @ukaszpalczewski7588
    @ukaszpalczewski7588 11 หลายเดือนก่อน

    Thx. Had no idea, that you can add permissions to faltpak. Not it makes sense! Ant the theming! I was wondering about that!

  • @John223
    @John223 11 หลายเดือนก่อน +1

    Shared linking libraries/packages was a mistake. The perfect application is self contained and does not break with a package update. Storage is not a bottleneck anymore to advocate for shared linking and statically linking everything at compile time prevents "packaging" applications for every other distribution. Flatpak runtimes are slowly becoming the NPM module folder, gotta have 5 versions of a runtime because every other application relies on a different one

  • @anonymouscommentator
    @anonymouscommentator 11 หลายเดือนก่อน

    does anyone know how many flatpaks exist? it would be nice to compare the flathub repo size to other repos.

  • @PCDTECH
    @PCDTECH 6 หลายเดือนก่อน

    Dans une de tes vidéos, tu expliques comment régler le problème des doubles icons qui s'ouvrent dans le dock lorsque qu'on ouvre une application flatpak. Je n'arrive pas à la retrouver.

  • @sereus86
    @sereus86 11 หลายเดือนก่อน

    Great video, I have one question. Where find more flat stores then flathub?

  • @johntera4958
    @johntera4958 11 หลายเดือนก่อน

    if I already have installed clang diagnostic from apt repo, any programs that I installed through flatpak that requires clang diagnostic will not not find/work. for example emacs or vscode. but if I install from snap everything working fine with no issue...

  • @justpatrick_
    @justpatrick_ 11 หลายเดือนก่อน +2

    Every time I try to save a file using the brave or vscode flatpak or any other flatpak it opens some wierd '/run/user/1000/doc/.... directory. How can I fix this

    • @barrelrole
      @barrelrole 11 หลายเดือนก่อน

      its under the downloads settings

  • @certainlynotthebestpianist5638
    @certainlynotthebestpianist5638 11 หลายเดือนก่อน

    Thanks for the quick tutorial for terminal usage - that's what is usually missing for me in your videos, as you're rather graphic-oriented (I'm not saying, it's bad, of course, it's just not my preferred way)

  • @cjordahl
    @cjordahl 11 หลายเดือนก่อน +5

    I use the source with the most up-to-date version. It's a simple practical matter. Surprisingly, flatpack isn't always the most recent.
    Since my application needs are pretty mainstream I've never had any "dependency hell" problems. I appreciate the appeal of Flatpaks for developers / maintainers, and *philosophically* I like the idea of Flatpaks, but as a practical matter I just want something that is up-to-date and works with my system with minimal fuss.

  • @chinmayghule8272
    @chinmayghule8272 11 หลายเดือนก่อน +6

    I don't use Flatpak because there's a large difference between the sizes of applications. For example, VS Code's rpm would have a size of 25-50mb whereas it's flatpak equivalent would be 200-300mb. Yes, it could be because I have never downloaded any flatpak apps before and there's no common packages to share, but I'm on a daily data limit so I can't spend it downloading a single application. Plus I surely wouldn't bother doing all this stuff just to get the theming right, something which is a very basic thing an application is supposed to do.

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +5

      Apps aren’t supposed to be themed, it’s a hack and always has been ;)

    • @kidgoku1984
      @kidgoku1984 11 หลายเดือนก่อน

      That's the best mentality to have, use what tool works best for the job.
      Personally I use flatpaks because they do the job reliably across distros but I can see why someone would avoid it.

    • @razzeeee
      @razzeeee 11 หลายเดือนก่อน

      Well, if you try to get the vscode theme fixed like this, I have bad news for you

    • @mks-h
      @mks-h 11 หลายเดือนก่อน

      @@TheLinuxEXP except for KDE, they actually support it as a feature.

  • @dktol56
    @dktol56 11 หลายเดือนก่อน

    So if I install all my flatpaks as a user (in my home directory) and later reinstall the OS (or an other distro with flatpak support), can I use flatpak repair to restore the local installation without having to download all of the flatpaks again?

  • @bobdinitto
    @bobdinitto 11 หลายเดือนก่อน +4

    Flatpack looks great compared to what we've had in the past. It solves a lot of problems with installing shared libraries that have plagued Linux for a long time. And it eases the developer's burden of creating distro-specific images. It does however look a little rough around the edges for installing themes. That will obviously need a lot more work to make it user friendly. And Flatpack doesn't address installing non-GUI apps, does it? I'd be interested in seeing a video about that problem and if there are any potential solutions on the horizon apart from snaps, which I believe supports it.

    • @snowmean1
      @snowmean1 11 หลายเดือนก่อน

      Unfortunately Flatpak still suffers from inter-flatpak apps communication. Inability to use Flatpak KeepassXC together with Flatpak Firefox is a great example of that, and this is a bigger problem that it seems which must be addressed on the Flatpak implementation level.
      CLI apps on the other hand don't really need Flatpak, and was never within Flatpak scope, Nix-packages can address CLI apps, but honestly CLI apps are usually low-level applications which comes with the base system, so there are not much benefit of packing them into something fancy. I guess in future linux will split between base system where low-level system lives together with DE, and GUI apps distributed as Flatpaks - that would have make more sense than trying to package the entire system into Flatpaks.

  • @AyushGupta-wn6zd
    @AyushGupta-wn6zd 11 หลายเดือนก่อน

    That part about managing permissions was helpful to me. I use telegram and drag and drop features just don't work on it so i thought its a bug in the app. Today I learned that i had to just set permissions for it to access all folders😅

  • @Jedediah29
    @Jedediah29 11 หลายเดือนก่อน +1

    Thanks Nick, that was a helpful video.
    I recently installed Fedora on a new laptop and have never used Flatpaks before (my main desktop PC has been running Archlinux for years and I've always used packages from the official Arch repositories and the AUR).
    When possible, I still install "old-school" packages on Fedora, but for proprietary apps like Steam or Discord, I installed the flatpak version instead.
    The command line basics decribed in your video come in handy! :)

  • @pandaman2651
    @pandaman2651 10 หลายเดือนก่อน

    Thanks, Nick, 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.

  • @Skyman12808
    @Skyman12808 11 หลายเดือนก่อน

    Hey Mr Nick Can I Use Ubuntu flavours Without Snaps and Only Flatpaks Like I Want To use Kubuntu Xubuntu And Lubuntu

  • @redhawk3385
    @redhawk3385 11 หลายเดือนก่อน

    I wish appimages would have a central repo, im working on a coding app right now and realistically I need access to the host it's running on for opening a shell instance or just opening it from the command line, perfect use case for a appimage.

  • @ahmedthebest
    @ahmedthebest 11 หลายเดือนก่อน

    Great video like always
    I really loved it and I use it all the time.
    But what a free compare that with nix package manager

  • @justinmoll7080
    @justinmoll7080 11 หลายเดือนก่อน +1

    Do you think you'll do any coverage of BlendOS? And maybe compare it with Vanilla OS and how they differ?
    Thanks for the great videos.

  • @TheJayman213
    @TheJayman213 11 หลายเดือนก่อน

    What I wanna know is: When can I get Firefox Beta and/or Nightly Flatpaks 😭. I tried the Snap once but it didn't register my locally installed default font.

  • @MrBengezack
    @MrBengezack 11 หลายเดือนก่อน +2

    Thanks Nick, is there a similar video for Bottles planned?

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +1

      Not yet, but if there is enough interest, sure!

    • @barrelrole
      @barrelrole 11 หลายเดือนก่อน

      ​@@TheLinuxEXPis there a major difference between bottles and proton?

  • @vampzzz
    @vampzzz 11 หลายเดือนก่อน

    Does anyone have the link of the wallpaper at 3:36

  • @ahmedthebest
    @ahmedthebest 11 หลายเดือนก่อน

    Can you do the same getting started but for arch Linux

  • @soulstenance
    @soulstenance 11 หลายเดือนก่อน +2

    I love Flatpaks as a supplement to existing distro repos but I never want to see them straight up replace them! They are big and bloated and because they're containerized they ship dependencies that you might already have installed (double edged sword). Also because of permissions issues, some types of apps may not have permission to do things they may need to do like access certain parts of the filesystem you may actually want to access. Another example is Dejadup which for the longest time didn't have permission to automate backups on Mint. This is partially the fault of Cinnamon not properly supporting portals but this still proves my point because not all desktops may properly support all aspects of Flatpak especially more obscure or less popular ones. Flatpak is awesome, I use it a lot but never let it replace base repos. 🥺🙏

    • @JoelFeila
      @JoelFeila 11 หลายเดือนก่อน +2

      i wonder if you could make it so flatpacks check what dependencies you already have and delete any copies it has.

  • @iferca
    @iferca 11 หลายเดือนก่อน

    Thanks for the video! Really informative. You saved me some search and fixed some theme issues.

  • @janjansen6263
    @janjansen6263 11 หลายเดือนก่อน

    Does anyone know of it is possible to use a separate partition for the flatpak runtime and use them between distros (dual boot)

    • @Blueeeeeee
      @Blueeeeeee 11 หลายเดือนก่อน

      Yes, I've done that without issues. You'll want to put /var/lib/flatpak and ~/.var/app in a dedicated partition, and you're good to go - flatpak apps and user data will be shared between your distributions !

    • @janjansen6263
      @janjansen6263 11 หลายเดือนก่อน

      Thanks, I will give it a try

  • @atemoc
    @atemoc 11 หลายเดือนก่อน +1

    5:00
    I am running NixOS with a standalone window manager, and I use about a dozen Flatpaks.
    However, I simply *cannot* get them to respect my theme.
    If I change nothing, some apps use dark mode and some use light mode, both of the Adwaita theme, and very inconsistently.
    My cursor theme (Bibata Modern Ice) is only right in Flatpaks such as Flatseal itself, and it is wrong in basically every other Flatpak I have installed.
    My GTK theme (let's not even talk about QT theming in Flatpak… (yes, there is Kvantum, but it's not a solution for me, it's not what I use not what I want to use with my normal system packages), is Flat Remix Blue Dark, it is installed on my system as a package and as a flatpak.
    Yet, not any of my Flatpak uses it.
    I tried to add "GTK_THEME=Flat-Remix-GTK-Blue-Darkest-Solid", but it didn't do anything, and as the theme is installed as a flatpak, I really have no idea why it doesn't work.
    Also, I can't find a way to make the fonts work properly either, but that's a minor inconvenience for me.
    ---
    Theming in Flatpak is still a hell after all these years.

  • @gyan277
    @gyan277 11 หลายเดือนก่อน +2

    I never used flatpak bcuz i didn't understood it but now maybe I will give it a try

    • @labonnelambda58
      @labonnelambda58 11 หลายเดือนก่อน +2

      You really don't need to know most things he said to use it. I use it since a long time and I didn't know most of it.
      Everything just worked out of the box except drag and drop files into discord (if it was not in the download folder) that I had to add access.

    • @gyan277
      @gyan277 11 หลายเดือนก่อน

      @@labonnelambda58 well i will give it a try..

  • @SirRFI
    @SirRFI 11 หลายเดือนก่อน +1

    In speak of themes: Is there Yaru Colors for GTK4? i am aware of Gradience, but last time I checked I didn't see theme like that. I wish accent colors were already a thing in GNOME.

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน

      I wish they would add that too! I’ve seen some work towards that, maybe for GNOME 45 but I’d be surprised if it was ready

  • @niztfuru
    @niztfuru 10 หลายเดือนก่อน

    Flatpak is awesome... people uses android will have familiarity with using flatpak and this can easy the migration

  • @yeyintaung9837
    @yeyintaung9837 10 หลายเดือนก่อน

    Plz more Linux related tutorials

  • @Karti200
    @Karti200 11 หลายเดือนก่อน +1

    I would love to see some kind of AUR for Debian ;-;

  • @midimax2998
    @midimax2998 11 หลายเดือนก่อน

    I wonder if a removed permission "survives" a package update or would it be (every time) reset to what the Application claims it needs?

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน

      Normally it’s not reset

  • @Kermit2k
    @Kermit2k 11 หลายเดือนก่อน +2

    So debian and archlinux aren't one of the "good ones" distributions because they don't come with Flatpak and Flathub pre-installed? Debian/ArchLinux masterrace!

  • @pimmanders2261
    @pimmanders2261 11 หลายเดือนก่อน

    So if i run Wayland, can i install Steam thru flatpack? Because of the bottle thing? Bit of a noob here...🙃

  • @howling-wolf
    @howling-wolf 11 หลายเดือนก่อน

    Would be cool if the "tutorial parts" were accessible in a written format too.

  • @ariloguecom
    @ariloguecom 11 หลายเดือนก่อน

    hi, I think you should do the same video for appimages : )

  • @Tvirus12
    @Tvirus12 11 หลายเดือนก่อน +4

    My root / partition is 30 gigs and is routinely getting close to full. The flatpak folder is huge and removing old versions on the CLI doesn't do anything.

    • @mks-h
      @mks-h 11 หลายเดือนก่อน +1

      Make your root partition bigger (or don't separate /home at all). While 30GB might usually suffice for newly installed system, you will eventually grow out of it, Flatpak or not.

  • @paulstubbs7678
    @paulstubbs7678 11 หลายเดือนก่อน

    So much for Flatpak being everywhere, I just booted up Ubuntu 22.04 LTS, no sign of Flatpak, it's all running via Snap. I did get Flatpak to install, and to load a test program, 'Brave browser'.
    It kind of confused me as instead of the 'Flat Hub' as mentioned, I saw another icon labelled 'Software' with a white briefcase icon alongside the orange briefcase 'A' icon software supplied as default by Ubuntu.
    The new one, that says 'Gnome software' in deals is kind of confusing as it does got line up with your video at all.

  • @ilaripori6148
    @ilaripori6148 8 หลายเดือนก่อน

    The theming doesnt seem to work on gnome 45.

  • @Blueeeeeee
    @Blueeeeeee 11 หลายเดือนก่อน +3

    Would have been nice to touch on the de-duplication properties of Flatpak, as "Flatpak takes a huge amount of space" is a common criticism which, while still partially true, I think is blown way out of proportion.

    • @Kiev-en-3-jours
      @Kiev-en-3-jours 11 หลายเดือนก่อน

      Exactly. Same for "Electron apps use too much memory". True, but not such a big deal compared to the huge advantages.

  • @michadybczak4862
    @michadybczak4862 11 หลายเดือนก่อน

    Wow! Flatseal is brilliant! I just enabled user and system d-bus for all flatpacks and libreoffice finally has global menus! However, menus in LO do not have the icons as they do when Libre is launched from repo, but nevertheless, this is an improvement. Didn't know it is possible. However, Portals section is grayed out. How to enable it? The tooltip shows that the portal data were not configured yet. Looking online for "configure portal on linux" doesn't show any relevant matches :(.

  • @Revenant483
    @Revenant483 11 หลายเดือนก่อน +1

    Once they get native adaptive theming on Flatpack I will be all over it.

    • @mks-h
      @mks-h 11 หลายเดือนก่อน +1

      not going to happen so long as apps don't actually support theming. KDE might want to do it though.

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +1

      Yeah the issue is that there is no « general » theming API. Apps aren’t meant to be themed and it’s a hack that will never work completely reliably on every app, so I doubt they’ll spend much time on it.
      I included it because I knew people would ask, but I personally don’t do it

    • @Revenant483
      @Revenant483 11 หลายเดือนก่อน

      @@TheLinuxEXP I agree! Lets hope someone takes up the task.

    • @Revenant483
      @Revenant483 11 หลายเดือนก่อน

      @@mks-h That would be amazing! It would have to come from the distro.

    • @JoelFeila
      @JoelFeila 11 หลายเดือนก่อน

      ok I have to ask. Why is themeing so important?

  • @sergeya
    @sergeya 11 หลายเดือนก่อน

    Whatever I do the flatpak version of telegram doesn’t want to use default gnome theme for mouse cursor. 😢

  • @Motishay
    @Motishay 11 หลายเดือนก่อน

    12:40 my guess is that they just haven't got to that yet and had higher priorities for recent updates

  • @JuxGD
    @JuxGD 11 หลายเดือนก่อน

    mister thelinuxexp i have a question
    does Flatpak include the needed libraries in every single package install, or does it save the libraries to somewhere all packages can access?

    • @Blueeeeeee
      @Blueeeeeee 11 หลายเดือนก่อน +1

      They're de-duplicated when several packages use the same version.

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +1

      Both. The main, major libraries are shared, but some individual libraries are packaged by the app itself and can be duplicated. It’s generally small stuff though

    • @Blueeeeeee
      @Blueeeeeee 11 หลายเดือนก่อน +1

      @@TheLinuxEXP Even libraries packaged by individual apps can be de-duplicated when it's the same version.
      Flatpak uses OSTree so identical files are de-duplicated across the entire installation.

    • @JuxGD
      @JuxGD 11 หลายเดือนก่อน

      oh cool that's what i was worried about@@Blueeeeeee

    • @JuxGD
      @JuxGD 11 หลายเดือนก่อน

      @@TheLinuxEXP thank you mister thelinuxexp you are very nice

  • @MichaelProcario
    @MichaelProcario 11 หลายเดือนก่อน

    I needed this video 3 months ago. I am glad. It is available now.

  • @gklinger
    @gklinger 11 หลายเดือนก่อน +3

    Fedora Silverblue + Flatpak + Distrobox == the happiest I've ever been using a computer. :)

  • @RandomGeometryDashStuff
    @RandomGeometryDashStuff 11 หลายเดือนก่อน

    how to install qt5-gtk2-platformtheme in flatpak to make qt apps use gtk2 theme?

  • @dexterman6361
    @dexterman6361 11 หลายเดือนก่อน +1

    Instead of permissions for temporary drag-drop things that I have to grant to the whole directory, a temporary 'access token' such as 'okay let this app read this file/directory just this once' would be great, so that I don't have to keep removing and checking permissions just because I am a disorganized weiro lmao
    Great video as usual!

    • @razzeeee
      @razzeeee 11 หลายเดือนก่อน +2

      That's exactly what flatpak does with portals

    • @mks-h
      @mks-h 11 หลายเดือนก่อน +1

      That's already how it works, just for the apps that actually support Flatpak (and weren't just packaged to it with a bunch of hacks)

    • @atemoc
      @atemoc 11 หลายเดือนก่อน

      @@mks-h So only a fraction of Flatpaks, heh...

    • @mks-h
      @mks-h 11 หลายเดือนก่อน

      @@atemoc rather good portion, I'd say

    • @atemoc
      @atemoc 11 หลายเดือนก่อน +1

      @@mks-h I hope it'll eventually grow to all, or to the majority

  • @emblemi6345
    @emblemi6345 11 หลายเดือนก่อน

    7:26 you need to add the path under filesystem, not under persistent.

  • @themisterchristie
    @themisterchristie 11 หลายเดือนก่อน

    I love Flatpaks, with them I can get software that's not in my distro's repos or the latest version which is something that drives me nuts with the Ubuntu repos, Running Mint myself.
    Instead of copying your /usr/share/themes folder to .themes or .local/share/themes (as suggested by someone else), just make .themes or .local/share/themes a link that points to the /usr/share/themes. now unless there is some other permission preventing Flatpaks from accessing the files it should work without making a duplicate of the various themes and wasting space.
    The command line access to run Flatpaks is a pain for people using window managers like SpectrWM or qtile as, so far in my experience, the launchers don't recognize the .desktop files used in things like KDE, Gnome, or XFCE. I got around that by making short bash scripts to run the Flatpak. I'm sure that there is a better launcher for the tiling window managers, I just haven't got around to exploring that yet as I'm still fairly new with them.

  • @Freiheit-XXL
    @Freiheit-XXL 10 หลายเดือนก่อน

    How I can install Flatpak on Kubuntu? Thanks

  • @hallcrash
    @hallcrash 11 หลายเดือนก่อน +1

    Kinda complicated on Fedora right now. The gimp flatpack works better then the official fedora repository package, but it can't see any printers on the system [permissions?🤷‍♂️]. There are other problems with other packages like kdenlive.. and its weird that I can have a flatpack AND a package from a dnf repository too. Libre office also dosen't load printers on Fedora [permissions?... 🙈]

  • @enriquelnx
    @enriquelnx 11 หลายเดือนก่อน

    Hey nick, Do you know how I can make Flatpak apps detect dark mode on my system?

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +1

      They automatically do if you have the dark version of your theme installed! If they don’t, then they don’t support the dark mode preference unfortunately

  • @verko-e
    @verko-e 11 หลายเดือนก่อน

    what distro do you use right now? like whats your main distro? (everyone respond)

  • @clemradio
    @clemradio 11 หลายเดือนก่อน

    What’s the theme at 2:16 ? It looks niceee !!

  • @twenty-fifth420
    @twenty-fifth420 11 หลายเดือนก่อน +3

    When I develop my first GUI app, I won’t have considered ‘I made it’ until I publish it on Flatpak 😂.
    I love it, as a Pop OS user, I have both Flatpaks and Snaps and it is awesome! ❤

  • @bjornvildljung9448
    @bjornvildljung9448 11 หลายเดือนก่อน

    Great video! BTW the link to your Discord does not work.

    • @TheLinuxEXP
      @TheLinuxEXP  11 หลายเดือนก่อน +1

      I’ll look into it!

  • @user-ih4ex8gm9v
    @user-ih4ex8gm9v 11 หลายเดือนก่อน

    I have a Lenovo laptop (iah7h) running fedora with WQHD resolution 2560x1440 and all flatpacks are blurry