obliviate
obliviate copied to clipboard
Open from launcher with site name prefilled
Workflow
- The user types “github” into the launcher.
- They see an entry that goes like: “Open Obliviate for “github”.”
- On selecting that, the main Obliviate window opens with “github” prefilled.
I'm really curious. How will this exactly work? I'm not sure if there's a way to install and register Applications Menu plugins through flatpak. 😕 Only thing I could find about it are Desktop Entry actions which are really limited in functionality.
TBH I haven't explored this either. 😅
The only safe and will-always-work way is building a plugin a then guiding users to install it through the terminal. I'll try to build something and let you know.
@ghsttwn I'm somewhat reluctant to ask people to open the terminal, so if that's the only way, I'd wait for there to be an official way to add launcher actions.
How does Calculator do it anyway?
How does Calculator do it anyway?
Through a builtin plugin. 😕
We can also copy the Obliviate desktop entry at ~/.local/share/applications
(with a new Exec field that launches the Flatpak app instead, of course) and programmatically add an action for each site that has been marked as "known" (copying the password for that site will add it to this "known" list). There's a couple things to look at:
- Will it work? I know you can override desktop entries by adding them to $HOME though I don't know if it works for Flatpacks.
- Is it sane? Probably not. 😕
Besides the fact that it would be a brilliant piece of engineering, it would require us to store (admittedly non-sensitive) information which can be read by other applications.
There's also a chance that this approach doesn't get accepted in review.
And moreover, it's just too much complexity for a feature that's not essential but nice to have.