AJCxZ0
17 days agoBronze Expert
Feature Request: Consistent 1password.desktop with Actions
Please update the `1password.desktop` files in the 1password packages to provide the ability to launch the application in each of the available ways. This achieved by including Actions.
Here is an example* based on the file currently included.
[Desktop Entry]
Name=1Password
Exec=/opt/1Password/1password %U
Terminal=false
Type=Application
Icon=1password
StartupWMClass=1Password
Comment=Password manager and secure wallet
MimeType=x-scheme-handler/onepassword;
Categories=Office;
Actions=Silent;Lock;Quick Access;Toggle Main Window;
[Desktop Action Silent]
Name=Silent
Exec=/opt/1Password/1password --silent
[Desktop Action Lock]
Name=Lock
Exec=/opt/1Password/1password --lock
[Desktop Action Quick Access]
Name=Quick Access
Exec=/opt/1Password/1password --quick-access
[Desktop Action Toggle Main Window]
Name=Toggle Main Window
Exec=/opt/1Password/1password --toggle
This results in an additional menu entries from the launcher, enabling the application to be run in each of currently available modes, most usefully autorun with `--silent`.
Please also fix or explain the inclusion of two unnecessarily slightly different `1password.desktop` files in the package.
$ diff /opt/1Password/resources/1password.desktop /usr/share/applications/1password.desktop
9c9
< MimeType=x-scheme-handler/onepassword;
---
> MimeType=x-scheme-handler/onepassword;x-scheme-handler/onepassword8;
*[Licensed to 1Password to use freely with or without modifications in all universes until the ends of time (however many there may be) with or without attribution.]