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

The Linux Experiment β€’ August 9, 2023
Video Thumbnail
The Linux Experiment Logo

The Linux Experiment

@thelinuxexp

About

Making Linux accessible: no techno babble, no super technical content. Just Linux desktop news, simple tutorials, application spotlights, and opinion pieces trying to stay positive, without gatekeeping. I also often reach out to the community to get feedback and poll results, so subscribe to be a part of that :)

Video Description

Download Safing's Portmaster and take control of your network traffic: https://safing.io Grab a brand new laptop or desktop running Linux: https://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: YouTube: https://www.youtube.com/@thelinuxexp/join Patreon: https://www.patreon.com/thelinuxexperiment Liberapay: https://liberapay.com/TheLinuxExperiment/ Or, you can donate whatever you want: https://paypal.me/thelinuxexp πŸ‘• GET TLE MERCH Support the channel AND get cool new gear: https://the-linux-experiment.creator-spring.com/ πŸŽ™οΈ LINUX AND OPEN SOURCE NEWS PODCAST: Listen to the latest Linux and open source news, with more in depth coverage, and ad-free! https://podcast.thelinuxexp.com πŸ† FOLLOW ME ELSEWHERE: Website: https://thelinuxexp.com Mastodon: https://mastodon.social/web/@thelinuxEXP Pixelfed: https://pixelfed.social/TLENick PeerTube: https://tilvids.com/c/thelinuxexperiment_channel/videos Discord: https://discord.gg/XMuQrcYd #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: https://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 https://flathub.org/repo/flathub.flatpakrepo 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. https://addons.mozilla.org/en-US/firefox/addon/flatline-flatpak/?ref=itsfoss.com https://chrome.google.com/webstore/detail/flatline/cpbniogoilfagmcoipghkgnpmdglfmjm 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

You May Also Like

Upgrade Your Gear Essentials

AI-recommended products based on this video

Loading...
SanDisk 64GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXU-064G-GN4IN

SanDisk 64GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXU-064G-GN4IN

(71,074)
$21.99$16.59
FREE delivery Sun, Aug 10 on your first order
500+ bought in past month
Loading...
SanDisk 128GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXD-128G-GN4IN
Best Seller

SanDisk 128GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXD-128G-GN4IN

(71,074)
$29.99$26.61
FREE delivery Sun, Aug 10 on your first order
4K+ bought in past month
Loading...
Lexar 128GB Micro SD Card, microSDXC UHS-I Flash Memory Card with Adapter - Up to 100MB/s, A1, U3, Class10, V30, High Speed TF Card

Lexar 128GB Micro SD Card, microSDXC UHS-I Flash Memory Card with Adapter - Up to 100MB/s, A1, U3, Class10, V30, High Speed TF Card

(26,884)
$18.99
FREE delivery Wed, Aug 20 on your first order
5K+ bought in past month
Loading...
Anker USB C Charger Cable (6ft 100W, 2Pack), USB 2.0 Type C Fast Charging Cable for iPhone 15 / 15Pro / 15Plus / 15ProMax MacBook Pro 2020, iPad Pro 2020, iPad Air 4, Samsung Galaxy S23+/S23 Ultra ClimatePartner certified

Anker USB C Charger Cable (6ft 100W, 2Pack), USB 2.0 Type C Fast Charging Cable for iPhone 15 / 15Pro / 15Plus / 15ProMax MacBook Pro 2020, iPad Pro 2020, iPad Air 4, Samsung Galaxy S23+/S23 Ultra ClimatePartner certified

(44,904)
$17.99
FREE delivery Wed, Aug 20 on your first order
6K+ bought in past month
Loading...
Anker USB C Cable, [2-Pack, 6 ft] Type C Charger Premium Nylon USB Cable, USB A to Type C Charging Cable Fast Charge for Samsung Galaxy S10 S10+ / Note 8, LG V20 and Other USB C Charger (Black)

Anker USB C Cable, [2-Pack, 6 ft] Type C Charger Premium Nylon USB Cable, USB A to Type C Charging Cable Fast Charge for Samsung Galaxy S10 S10+ / Note 8, LG V20 and Other USB C Charger (Black)

(103,365)
$13.49
5K+ bought in past month
Loading...
Anker Nano USB C Wall Charger,45W Fast Charging Smart Display Charger,with 180Β°Foldable Plug,Smart Recognition,Built-in Care Mode,for iPhone17/16/15 (Non-Battery,One USB-C Port,No Cable Included) ClimatePartner certified

Anker Nano USB C Wall Charger,45W Fast Charging Smart Display Charger,with 180Β°Foldable Plug,Smart Recognition,Built-in Care Mode,for iPhone17/16/15 (Non-Battery,One USB-C Port,No Cable Included) ClimatePartner certified

(698)
$39.99
FREE delivery Wed, Mar 4
1K+ bought in past month
Loading...
NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

(24)
$25.99
FREE delivery Thu, Jun 19 on your first order
Loading...
SmallRig ZV-E10 II Base Plate for Sony Alpha ZV-E10 II, Bottom Mount Plate with Quick-Release Plate for Arca, QD Socket, Hand Strap Hole, 1/4"-20 Threaded Hole - 4950

SmallRig ZV-E10 II Base Plate for Sony Alpha ZV-E10 II, Bottom Mount Plate with Quick-Release Plate for Arca, QD Socket, Hand Strap Hole, 1/4"-20 Threaded Hole - 4950

(13)
$37.99
FREE delivery Sat, Jun 21
Loading...
SmallRig Baseplate for Sony Alpha 6700, Bottom Mount Plate Built-in Quick Release Plate for Arca, Supporting Quick Switch Between Tripod and Stabilizer (for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro) - 4338

SmallRig Baseplate for Sony Alpha 6700, Bottom Mount Plate Built-in Quick Release Plate for Arca, Supporting Quick Switch Between Tripod and Stabilizer (for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro) - 4338

(85)
$38.24
FREE delivery Thu, Jun 19