On 06/30/2012 06:25 AM, Carsten Haitzler (The Rasterman) wrote:
> On Fri, 29 Jun 2012 20:16:42 +0200 Sebastian Dransfeld <[email protected]>
> said:
>
>> On 06/29/2012 01:35 PM, Massimo Maiurana wrote:
>>> Carsten Haitzler (The Rasterman), il 29/06/2012 11:25, ha scritto:
>>>
>>>> actually i am tyring to find code that ever sets this in e - i find none..
>>>> where? we modify DISPLAY, LD_LIBRARY_PATH, PATH, DESKTOP, PANTS, LANg and
>>>> others, but no XDG things get SET.
>>>>
>>>
>>> yes, it is NOT set, and that was the problem for me because that way I did
>>> not have apps from /opt/e17 in menus and evry.
>>> also I was of course able to run terminology, but then in the pager there
>>> was no icon for it.
>>>
>>> I solved it setting XDG_DATA_DIRS via the configuration panel, and I was
>>> wondering if it wasn't desireable to have E set that variable according to
>>> EFL prefix (I think users use one prefix for all, libs and apps), just to
>>> automatically have all EFL apps in xdg menus :)
>>
>> Not set? efreet should add <prefix>/share to XDG_DATA_DIRS if
>> XDG_DATA_DIRS isn't set.
>
> it doesnt. i looked for any code that sets an env var in efreet - nothing 
> does.
> and looked in e as well - nothing set these. if i missed it - show me where. 
> :)
>

It doesn't, but if XDG_DATA_DIRS isn't set <prefix>/share is appended to 
the list returned by efreet_data_dirs_get().

efreet_base.c:148:xdg_data_dirs = efreet_dirs_get("XDG_DATA_DIRS",
efreet_base.c:149:                            PACKAGE_DATA_DIR 
":/usr/share:/usr/local/share");

S.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to