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

Subscribers:
390,000
Published on ● Video Link: https://www.youtube.com/watch?v=IYXlgzrZRIE



Category:
Tutorial
Duration: 15:32
44,191 views
3,737


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




Other Videos By The Linux Experiment


2023-09-16ANOTHER Linux tablet, HDR gaming & GNOME 45 RC: Linux & Open Source News
2023-09-14Linux on a MacBook Pro (M1 Pro): How good is Asahi now?
2023-09-11UBUNTU without the CONTROVERSIAL choices: try these 5 Linux distros!
2023-09-08Plasma 6 release date, new Ubuntu App Store, GNOME breaks extensions: Linux & Open Source News
2023-09-05What I run on my NAS / Home Server
2023-08-23All the OPEN SOURCE SOFTWARE I use on my servers, laptop & desktop
2023-08-20New Linux tablet, GNOME 45 beta, COSMIC theming, SUSE goes private: Linux & Open Source News
2023-08-18What are immutable distros, and are they the future of Linux?
2023-08-158 PRIVACY & security MYTHS that need to die!
2023-08-12New CPU flaws, Plasma 6 & GNOME 45, SUSE & Oracle team up: Linux & Open Source News
2023-08-09FLATPAK EXPLAINED: Theming, permissions, command line, browser installs...
2023-08-06ChromeOS becomes a Linux distro, GNOME Activities changes, Mint 21.3: Linux & Open Source News
2023-08-02Access your PCs from ANYWHERE with REMOTE DESKTOPS (Linux, Mac, and Windows)
2023-07-29Google wants web DRM, GNOME's window management, Plasma 6 removes features: Linux & Open Source News
2023-07-26I used a MAC for 30 days, and Iโ€™m glad itโ€™s over
2023-07-22EU threatens FOSS, 10% Intel boost & repairable laptops: Linux & Open Source News
2023-07-20Sometimes, I get tired of Linux
2023-07-18Linux already has macOS Sonoma's features, but did Apple do them better?
2023-07-15SUSE forks RHEL, Thunderbird Supernova, Linux passes 3%: Linux & Open Source News
2023-07-13Framework laptop isn't for you? Here's the next best thing!
2023-07-11The AD-BASED internet is DYING, and it's getting WORSE in the process



Tags:
linux
linux tutorial
linux 2023
linux tips
linux for beginners 2023
linux tutorial 2023
linux vs windows
flatpak
theming flatpak
how to install flatpak on ubuntu
how to install flatpak on linux
how to use flatpak
how to install flatpak
how to install flatpak on linux mint
how to install flatpak apps
flatpak theme kde
flatpak theme gnome
flatpak vs snap
flatpak linux
flatpak explained
flatpak tutorial
flatpak vs deb
flatpak vs native
flatpak security