Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

How are flatpak packages installed?

User avatar
truscellino
Forum Novice
Forum  Novice
Posts: 6
Joined: Mon Apr 15, 2019 10:23 am

Re: How are flatpak packages installed?

#11

Post by truscellino » Mon Apr 15, 2019 12:00 pm

Hi everyone,
I am new to MX-linux, just installed the latest version on my girlfriend's laptop. I thought I could install some flatpak apps for her. I think it's quite a neat solution, doesn't mess up the system libraries and the sandboxing is nice to have, even though there is an overhead of course.
From the various threads in this forum, I understand that there is no real willingness to actively support flatpak in MX-linux, is that correct?
Themes in particular are currently not working, although flatpak now actually supports themes
https://blog.tingping.se/2017/05/11/fla ... eming.html
But as the blog post says, for themes or icons selection to be taken into account
Themes are picked up via GtkSettings, which means you require a settings-daemon running to set this. On GNOME this will already be running but for other desktops you can run gsd-xsettings directly in your libexec directory provided by gnome-settings-daemon.
gnome-settings-daemon can be installed via APT, but that seems to be a can of worms. What is your view?
Thanks, Marc

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 12144
Joined: Sun Dec 16, 2007 1:17 pm

Re: How are flatpak packages installed?

#12

Post by dolphin_oracle » Mon Apr 15, 2019 12:12 pm

For one, we have flatpaks installable via MX-PackageInstaller. We aren't supporting the flatpaks themselves (that's kind of the point of universal packages) but we are supporting having them available.

Theming can be tricky, but there are now theme flatpaks you can install to alleviate this to an extent. Xfce also has a settings dameon, but I don't know if it works with flatpaks.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18.3
lenovo s21e - antiX-19 beta 2 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
truscellino
Forum Novice
Forum  Novice
Posts: 6
Joined: Mon Apr 15, 2019 10:23 am

Re: How are flatpak packages installed?

#13

Post by truscellino » Mon Apr 15, 2019 12:24 pm

OK thanks. I have used MX-PackageInstaller.
My point is that the flatpak themes don't work in MX, at least not for me. I installed Greybird GTK themes with flatpak command but that was never picked up by the flatpak apps that stick to default Adwaita. Hence the need for the GTK settings daemon...

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 4918
Joined: Sun May 27, 2007 5:37 am

Re: How are flatpak packages installed?

#14

Post by asqwerth » Mon Apr 15, 2019 12:45 pm

truscellino wrote:
Mon Apr 15, 2019 12:24 pm
OK thanks. I have used MX-PackageInstaller.
My point is that the flatpak themes don't work in MX, at least not for me. I installed Greybird GTK themes with flatpak command but that was never picked up by the flatpak apps that stick to default Adwaita. Hence the need for the GTK settings daemon...
It might depend on the flatpak app you're installing. Is it a QT-based or Gtk program?

Also, your main installation outside of the flatpak apps must also be using the same theme as the flatpak theme.

I only have a few flatpaks installed in MX15/16, but Lollypop and Oomox do follow the flatpak Arc theme if I use normal gtk Arc theme.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
oops
Forum Regular
Forum Regular
Posts: 754
Joined: Tue Apr 10, 2018 5:07 pm

Re: How are flatpak packages installed?

#15

Post by oops » Mon Apr 15, 2019 1:19 pm

FI: A big change is comming ( for user-owned)
https://www.phoronix.com/scan.php?page= ... 2-Released

"...A big change was made with Flatpak 1.3.2 affecting how system-wide installations are done as a user. Up to now Flatpak relied upon a process involving a temporary user-owned directory and copying from there, but that method involved unnecessary I/O and temporarily using more disk space..."
$ inxi -Fxxxz : System: Host:XEON ... Distro: MX-18_x64 Continuum

User avatar
truscellino
Forum Novice
Forum  Novice
Posts: 6
Joined: Mon Apr 15, 2019 10:23 am

Re: How are flatpak packages installed?

#16

Post by truscellino » Mon Apr 15, 2019 7:09 pm

asqwerth wrote:
Mon Apr 15, 2019 12:45 pm

It might depend on the flatpak app you're installing. Is it a QT-based or Gtk program?

Also, your main installation outside of the flatpak apps must also be using the same theme as the flatpak theme.

I only have a few flatpaks installed in MX15/16, but Lollypop and Oomox do follow the flatpak Arc theme if I use normal gtk Arc theme.
Ok thank you. Wow, MX forums are very responsive!

Interesting, I installed flatpak Lollypop and theme doesn't work, even though greybird is active for both MX and flatpak. I have installed everything flatpak at system level, not user level, I might try and re-install at user level just to see what happens. I still prefer system-level installs as there are two active users on the machine.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 12144
Joined: Sun Dec 16, 2007 1:17 pm

Re: How are flatpak packages installed?

#17

Post by dolphin_oracle » Mon Apr 15, 2019 7:11 pm

truscellino wrote:
Mon Apr 15, 2019 7:09 pm
asqwerth wrote:
Mon Apr 15, 2019 12:45 pm

It might depend on the flatpak app you're installing. Is it a QT-based or Gtk program?

Also, your main installation outside of the flatpak apps must also be using the same theme as the flatpak theme.

I only have a few flatpaks installed in MX15/16, but Lollypop and Oomox do follow the flatpak Arc theme if I use normal gtk Arc theme.
Ok thank you. Wow, MX forums are very responsive!

Interesting, I installed flatpak Lollypop and theme doesn't work, even though greybird is active for both MX and flatpak. I have installed everything flatpak at system level, not user level, I might try and re-install at user level just to see what happens. I still prefer system-level installs as there are two active users on the machine.
Have you installed greybird. our greybird-mx17 isn't the same as greybird.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18.3
lenovo s21e - antiX-19 beta 2 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
truscellino
Forum Novice
Forum  Novice
Posts: 6
Joined: Mon Apr 15, 2019 10:23 am

Re: How are flatpak packages installed?

#18

Post by truscellino » Mon Apr 15, 2019 7:36 pm

Good point! I didn't install Greybird in MX, so it's not the same theme... thank you. Will do that properly tomorrow...

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 12144
Joined: Sun Dec 16, 2007 1:17 pm

Re: How are flatpak packages installed?

#19

Post by dolphin_oracle » Mon Apr 15, 2019 7:38 pm

truscellino wrote:
Mon Apr 15, 2019 7:36 pm
Good point! I didn't install Greybird in MX, so it's not the same theme... thank you. Will do that properly tomorrow...
I hope it works! Please let us know!
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18.3
lenovo s21e - antiX-19 beta 2 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
truscellino
Forum Novice
Forum  Novice
Posts: 6
Joined: Mon Apr 15, 2019 10:23 am

Re: How are flatpak packages installed?

#20

Post by truscellino » Wed Apr 17, 2019 8:08 pm

Well, Plata theme didn't work in Flatpak, but Arc did (in both cases I had the theme set in XFCE first).
A bit of a mystery but I won't lose sleep because of this...
thank you for replies.

Post Reply

Return to “General”