indicator-sound-developers team mailing list archive
Mailing list archive
Re: Changes to the sound menu registration process for Natty
-----BEGIN PGP SIGNED MESSAGE-----
On 12/08/2010 03:42 AM, shuerhaaken wrote:
> Hi Conor
> Does this mean that the appearing of the player as e.g.
> 'org.mpris.MediaPlayer2.xnoise' on the session bus would be enough for
> registering a player? I like the idea of not having to use the extra
> dependency of libindicate.
> If a user decides to not use the SoundMenu, the player will have to
> change the "X-Canonical-Indicator-Sound" value of the .desktop file. But
> for this, the player will have to gain root access rights!
> How should this be done at runtime?
You would write the new desktop file in $XDG_DATA_HOME/applications,
which is usually ~/.local/share/applications. This is also how editing a
menu from the panel works.
Canonical Desktop Experience Team
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----