396
submitted 1 year ago by fugepe@lemmy.world to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] fugepe@lemmy.world 29 points 1 year ago

Generally speaking, the advantages of Flatpaks are:

-The developers only need to maintain and release one version

-It's sandboxed, for each app you can decide which parts of your filesystem are exposed, which env variables, which types of inter-process communications, etc

-You kinda avoid dependency hell. You can use old unmaintained packages because Flatpak will provide old versions of their dependency if they're needed, while at the same time avoiding unnecessarily duplicated packages

-All installed apps are in your .var folder instead of being system-wide. Every app has its own folder with its own .config and .local/share inside, with their respective config files and data

-It supports partial updates

-It doesn't require root permissions to use

-It lets you use the most recent software even in really old LTS systems like Debian, and the Flatpaks updates are usually as quick as rolling release distros

-You don't need to abuse PPAs or the AUR

-It makes your system updates actually faster since you'll have less system packages, and you'll be able to update your big apps separately

I may be missing some, but those are the most important to me

[-] maess@feddit.de 8 points 1 year ago

But they don't adhere to the system theme at all so every time I launch a flatpak it is white if it uses GTK; and they are annoying to launch via command line.

[-] yote_zip@pawb.social 16 points 1 year ago* (last edited 1 year ago)

You can theme them with some overrides: https://itsfoss.com/flatpak-app-apply-theme/

I throw this in my .local/share/flatpak/overrides/global file in order to enable theming (the override directory may require flatseal? I forget):

[Context]
filesystems=~/.icons:ro;~/.themes:ro;xdg-config/Kvantum:ro;~/.config/gtk-3.0:ro

[Environment]
QT_STYLE_OVERRIDE=kvantum
GTK_THEME=<your theme name here>

Then you can put your stuff in your personal ~/.themes and ~/.icons directories

As for calling via command line, you can use something like this or just manually make aliases.

Thank you! This definitely makes sense to explore further.

this post was submitted on 26 Jul 2023
396 points (96.9% liked)

Linux

48052 readers
673 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS