[lsb-discuss] Registering an application for a mimetype for all users (system-wide)
Gaurav Khurana
gkhurana at adobe.com
Thu Jan 3 00:30:50 PST 2008
Hi,
Am trying to register myapplication (by running the xdg-mime as root) for a mimetype for all users but it only registers it for root.
Command used:
$ xdg-mime default myapplication.desktop mimetype
I've also exported the variable XDG_UTILS_INSTALL_MODE=system but no effect.
The xdg-mime manual for default option says:
...
The default option is for use inside a desktop session only. It is not
recommended to use xdg-mime default as root
...
Any help on how can I register myapplication as a default application a particular mimetype (or a set of mimetypes) for all users (system-wide)?
Thanks in advance,
gaurav
More information about the lsb-discuss
mailing list