-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
New Option: Start Hidden in Background #65
Comments
I don't know how is the state of auto start in Flatpak. But for now a will add the |
Thank you very much @rafaelmardojai 👍 I am using Archlinux and blanket is installed via AUR so i guess it will work. |
if present at launch, the window will start hidden related to #65
|
Flatpak has a portal for autostart/running in the background. |
You know what is the best way to implement this? I have to call |
You need to use the RequestBackground dbus call https://flatpak.github.io/xdg-desktop-portal/portal-docs.html#gdbus-method-org-freedesktop-portal-Background.RequestBackground. One thing to be aware of is that the portals waits for a user interaction (approval/or not of the interaction). The way it's handled is that each portal request, sends you an object path (mostly a dbus path) that you can call and wait for a response signal. The response contains the result of the interaction (whether the user approved it or not) |
I see, I was looking to the wrong documentation. You know if there are future plans to implement this at the toolkit level? |
implements xdg-desktop-portal API for autostart related to #65
First of all: I love Blanket - always searched something like that.
At the moment i am using Audacious with a Bird mp3 when my system boots, because it's able to start hidden (using the gnome media control for audacious so everything is pretty seemless)
Would it be possible to (auto) start Blanket, too ? Thx.
The text was updated successfully, but these errors were encountered: