easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Couldn't turn on autostart after some fixes

Open NotMephisto opened this issue 1 year ago • 6 comments

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

NotMephisto avatar Nov 15 '24 16:11 NotMephisto

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.

violetmage avatar Nov 16 '24 21:11 violetmage

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

NotMephisto avatar Nov 17 '24 09:11 NotMephisto

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.

XxAcielxX avatar Jan 12 '25 14:01 XxAcielxX

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.

violetmage avatar Jan 12 '25 19:01 violetmage

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 &

XxAcielxX avatar Jan 13 '25 07:01 XxAcielxX

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.

violetmage avatar Jan 13 '25 12:01 violetmage

It will probably be better to create a new issue if this still happens now we moved to Qt and quite a lot hanged.

wwmm avatar Nov 09 '25 01:11 wwmm