On Tue, Nov 3, 2015 at 8:06 AM, lilydjwg <[email protected]> wrote:
> On Tue, Nov 03, 2015 at 07:37:33AM +0100, Tony Mechelynck wrote:
>> [...]
>> /opt/*/share is among the places where my shells will look at startup
>> for an applications/ subdirectory, see above.
>
> However, it seems to me that $prefix/share/applications is a good
> default if the script is going to install .desktop files, rather than
> check $XDG_DATA_DIRS and pick one up. The user can move / link the files
> if necessary, or perhaps another ./configure option?

Yes, yes, I meant that you can drop it in
/usr/local/share/applications if you use the Vim default, or in
/opt/vim/share/applications if you want to drop Vim below /opt, etc.,
and the shell (or whatever) will find it. On my system systemd doesn't
care about it, it's set in a shell startup script (IIUC the .sh script
is used by sh, bash, ksh and zsh, and the .csh script is used by csh
and tcsh).

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui