Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install, manage & run Flatpak applications on standard user accounts #47

Closed
antoninchadima opened this issue Jan 4, 2020 · 7 comments
Closed
Labels

Comments

@antoninchadima
Copy link

antoninchadima commented Jan 4, 2020

The best way to run bauh with AppImage is without sudo from a standard user account.
This way you install your AppImage applications locally and you can run them from bauh as a standard user (recommended).
Everything for Appimage runs now in bauh OK - there is no problem.

I wish that Flatpak in bauh would behave the same way.
At this moment you need sudo to install Flatpak (maybe you could run bauh as a standard user by tweaking policykit...).
Flatpak applications are therefore installed globally and launched from the bauh GUI under the root user.

It would be nice to have the option to install Flatpak locally under the standard user.
It is done by appending the option --user in the CLI.
For example:
flatpak install flathub org.mozilla.Thunderbird --user
At the same time running bauh as a standard user would launch Flatpak applications as a standard user (recommended :-).

@antoninchadima
Copy link
Author

antoninchadima commented Jan 4, 2020

I have checked the code. For per-user Flatpak installation you should also use:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo --user

@vinifmor
Copy link
Owner

vinifmor commented Jan 5, 2020

Hi @antoninchadima . It is a good idea. I'm going to test this --user parameter and think the best approach for bauh.

@antoninchadima
Copy link
Author

I'm using myself a modified version of bauh with the --user parameter for flatpak and i didn't find any issue yet.

@vinifmor
Copy link
Owner

vinifmor commented Jan 7, 2020

Cool. I've been thinking about 3 approaches:

  1. A dialog asking to the user if the app should be installed only for himself or for all users (system)
  2. A config file where you could set the installation type: user or system
  3. A mix of above

What do you think ?

@antoninchadima
Copy link
Author

antoninchadima commented Jan 13, 2020

great work is done with pre 0.8.1
I like the way it is implemented

ps: and 3., as you did, is great :-)

@vinifmor vinifmor mentioned this issue Jan 14, 2020
@vinifmor
Copy link
Owner

Thank you @antoninchadima . The official release is out. Let me know if you have any trouble.

@antoninchadima
Copy link
Author

everything is OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants