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

Couldn't turn on autostart after some fixes #3503

Open
NotMephisto opened this issue Nov 15, 2024 · 6 comments
Open

Couldn't turn on autostart after some fixes #3503

NotMephisto opened this issue Nov 15, 2024 · 6 comments

Comments

@NotMephisto
Copy link

EasyEffects Version

7.1.9

What package are you using?

Flatpak (Flathub)

Distribution

Fedora 41

Describe the bug

Couldn't turn on autostart in settings

Tried adding .desktop file for autostart but with no luck

Also tried command allowing easyeffects launch in background

Expected Behavior

Autostarting app then starts system

Debug Log

Debug Log

➜  ~ flatpak permission-reset com.github.wwmm.easyeffects
➜  ~ flatpak permission-set background background com.github.wwmm.easyeffects yes
➜  ~ flatpak run com.github.wwmm.easyeffects                        

(easyeffects:2): easyeffects-WARNING **: 19:14:02.672: 	rnnoise.cpp:366	sie:  empty model name set, using the standard model

(easyeffects:2): easyeffects-WARNING **: 19:14:06.913: 	libportal.cpp:82	Background access has been denied

(easyeffects:2): easyeffects-WARNING **: 19:14:06.913: 	libportal.cpp:83	Please allow Easy Effects to ask again with Flatpak permission-reset com.github.wwmm.easyeffects

(easyeffects:2): easyeffects-WARNING **: 19:14:06.919: 	libportal.cpp:96	due to error, setting autostart state and switch to false

(easyeffects:2): easyeffects-WARNING **: 19:14:08.525: 	libportal.cpp:82	Background access has been denied

(easyeffects:2): easyeffects-WARNING **: 19:14:08.525: 	libportal.cpp:83	Please allow Easy Effects to ask again with Flatpak permission-reset com.github.wwmm.easyeffects

(easyeffects:2): easyeffects-WARNING **: 19:14:08.530: 	libportal.cpp:96	due to error, setting autostart state and switch to false

Additional Information

DE: Hyprland

Kernel: 6.11.7

@violetmage
Copy link
Contributor

Try doing the same thing, but skip the flatpak permission-set step.

If that still doesn't work, try flatpak --system permission-reset com.github.wwmm.easyeffects, again also skipping the permission-set step.

Also, check to make sure your xdg-portal services are running when easyeffects is starting up. You can just search for xdg-desktop-portal* in your preferred process manager.

@NotMephisto
Copy link
Author

Try doing the same thing, but skip the flatpak permission-set step.

If that still doesn't work, try flatpak --system permission-reset com.github.wwmm.easyeffects, again also skipping the permission-set step.

I had done it but with no luck

If I'm trying use --system variable I get this output:

➜  ~ flatpak --system permission-reset com.github.wwmm.easyeffects
error: Unknown option --system

Also, check to make sure your xdg-portal services are running when easyeffects is starting up. You can just search for xdg-desktop-portal* in your preferred process manager.

All services works fine

@XxAcielxX
Copy link

XxAcielxX commented Jan 12, 2025

I'm having the exact same issue on Debian 12 also.

EasyEffects v7.2.3

$ flatpak permission-reset com.github.wwmm.easyeffects
$ flatpak run com.github.wwmm.easyeffects

(easyeffects:2): easyeffects-WARNING **: 19:52:10.716: 	libportal.cpp:82	Background access has been denied

(easyeffects:2): easyeffects-WARNING **: 19:52:10.716: 	libportal.cpp:83	Please allow Easy Effects to ask again with Flatpak permission-reset com.github.wwmm.easyeffects

(easyeffects:2): easyeffects-WARNING **: 19:52:10.716: 	libportal.cpp:96	due to error, setting autostart state and switch to false

(easyeffects:2): easyeffects-WARNING **: 19:52:12.602: 	libportal.cpp:82	Background access has been denied

(easyeffects:2): easyeffects-WARNING **: 19:52:12.603: 	libportal.cpp:83	Please allow Easy Effects to ask again with Flatpak permission-reset com.github.wwmm.easyeffects

(easyeffects:2): easyeffects-WARNING **: 19:52:12.603: 	libportal.cpp:107	due to error, setting shutdown on window close state and switch to true

DE: XFCE4
xdg-desktop-portal-gtk is running.

@violetmage
Copy link
Contributor

AFAICT xfce does not have their own xdg portal implementation yet, and xdg-desktop-portal-gtk does not build with the background portal by default

this means you probably don't have any implementation of the background portal installed / available with xfce.

if you don't mind making a bit of a mess of your system, you can try installing xdg-desktop-portal-gnome, which provides a background portal, but it probably won't work properly with xfce.

@XxAcielxX
Copy link

XxAcielxX commented Jan 13, 2025

Hmm that's look like an odd workaround.

The only temporary fix I have found is to do all the settings on Easyeffects and then let it run in the background by adding an entry in XFCE Startup or manually through a bash script:

flatpak run com.github.wwmm.easyeffects --gapplication-service &

@violetmage
Copy link
Contributor

yes, those manual methods will always work.

it seems that the xfce developers are prioritizing getting the core wayland support working before adding in desktop portals to the mix.

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

No branches or pull requests

3 participants