1 |
On Saturday 26 February 2011 18:12:42 David W Noon wrote: |
2 |
> On Sat, 26 Feb 2011 17:50:02 +0100, Mick wrote about [gentoo-user] |
3 |
> |
4 |
> XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17: |
5 |
> >Where are being these set? |
6 |
> > |
7 |
> >I currently have: |
8 |
> > |
9 |
> >$ echo $XDG_CONFIG_DIRS |
10 |
> >/etc/xdg |
11 |
> > |
12 |
> >$ echo $XDG_DATA_DIRS |
13 |
> >/usr/local/share:/usr/share |
14 |
> |
15 |
> Take a look at /etc/env.d/*xdg*, which should be about 3 files. Note |
16 |
> that if you modify any files in that directory, you need to run |
17 |
> env-update for the changes to take effect; you will also need to logout |
18 |
> and login again. |
19 |
|
20 |
Thanks, I have only two: |
21 |
|
22 |
$ ls -la /etc/env.d/*xdg* |
23 |
-rw-r--r-- 1 root root 81 Dec 18 11:24 /etc/env.d/30xdg-data-local |
24 |
-rw-r--r-- 1 root root 54 Dec 18 11:24 /etc/env.d/90xdg-data-base |
25 |
|
26 |
and they contain: |
27 |
|
28 |
$ cat /etc/env.d/30xdg-data-local |
29 |
XDG_DATA_DIRS="/usr/local/share" |
30 |
COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS" |
31 |
|
32 |
$ cat /etc/env.d/90xdg-data-base |
33 |
XDG_DATA_DIRS="/usr/share" |
34 |
XDG_CONFIG_DIRS="/etc/xdg" |
35 |
|
36 |
I assume these were installed by x11-misc/xdg-utils. Is that what they should |
37 |
contain? |
38 |
|
39 |
Any idea why E17 will not work with the generic application icons in the first |
40 |
hand and why changing these to absolute paths creates duplicate menu entries |
41 |
when logged into KDE (which is a rare occurrence for me anyway - but I'd like |
42 |
to understand how cross-desktop menus work). I find all this rather |
43 |
confusing. |
44 |
-- |
45 |
Regards, |
46 |
Mick |