XDG menu display based on group or user

jupiter jupiter.hce at gmail.com
Mon Mar 25 03:54:42 PDT 2013


On 3/22/13, Thomas Kluyver <thomas at kluyver.me.uk> wrote:
> On 21 March 2013 15:13, Thiago Macieira <thiago at kde.org> wrote:
>
>>  The specification has no access control for users or groups. If you want
>> settings to apply to specific users or specific groups, make them see
>> those files
>> and make other users not see those files.
>
>
> You may also want to have a look at the menu spec:
> http://standards.freedesktop.org/menu-spec/menu-spec-latest.html
>
> For example, to show a particular menu to a specific user, you could create
> a ~/.config/menus/application.menu file under their home directory.
>

Thanks for the suggestion, the only problem I can think of is that we
cannot use environmental variables such as $HOME or $XDG_DATA_HOME or
$XDG_CONFIG_HOME in the Desktop Entry. How can I specify Exec or Path
for each user? Is the hard coded path the only way to specify such as
/home/user1/.... /home/user2 .....?

Thank you.

Kind regards.

j
> Thomas
>


More information about the xdg mailing list