Comments (7)
I don't know how is the state of auto start in Flatpak.
But for now a will add the --hidden
flag to launch the app hidden.
from blanket.
Thank you very much @rafaelmardojai 👍
I am using Archlinux and blanket is installed via AUR so i guess it will work.
from blanket.
blanket --hidden
works with the daily builds PPA as well.
from blanket.
I don't know how is the state of auto start in Flatpak.
But for now a will add the
--hidden
flag to launch the app hidden.
Flatpak has a portal for autostart/running in the background.
from blanket.
Flatpak has a portal for autostart/running in the background.
You know what is the best way to implement this? I have to call EnableAutostart
directly with D-Bus?
from blanket.
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)
from blanket.
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?
from blanket.
Related Issues (20)
- Use notification play next/previous to change preset
- Snap package ready HOT 33
- Unreasonable CPU usage HOT 4
- MPRIS control: It seems Blanket doesn't know the methods Pause, Play, and Stop; only Play-Pause HOT 1
- Message "PyGIWarning: GstPlay was imported without specifying a version first." HOT 1
- Unify Bengali(India) and Bengali and Bengali(Bangladesh) into Bengali
- The app doesn't always start playing sounds when autostarted in the background
- Wind noise in rain sound
- Feature Request: Change names of custom sounds in-app HOT 3
- Simplify UI HOT 1
- Blanket 0.7 works very well with touch screen HOT 1
- Make suspend inhibition optional HOT 5
- uses slightly more cpu than other audio players HOT 1
- Feature Request: Blend between presets based on time of the day
- Feature Request: provide length information of the sound HOT 1
- Feature request: Sound playback progress bar
- Feature request: Ability to add multiple sounds at once
- Bug: custom sounds are removed on reboot HOT 4
- is there any way I can get all the sounds that were used in blanket application? HOT 1
- Feature: Fan sound HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blanket.