Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17

2011-02-27 Thread David W Noon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 27 Feb 2011 03:10:01 +0100, Mike Gilbert wrote about Re:
[gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables  with E17:

[snip]
Not quite; the 2 values are combined.

Yes, I noticed that later.  It solves a long-standing bug that affected
Evolution. See http://bugs.gentoo.org/show_bug.cgi?id=266018
- -- 
Regards,

Dave  [RLU #314465]
==
dwn...@ntlworld.com (David W Noon)
==
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk1qWMAACgkQRQ2Fs59Psv/qDACgmDxTbnlYpq5Bn919vh9+eLQz
XBIAoI2bS0i6AefiAivs4KTpa+jS0rD2
=AXEi
-END PGP SIGNATURE-


Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17

2011-02-27 Thread Ian Lee
On 26/02/11 16:41, Mick wrote:
 Where are being these set?

 I currently have:

 $ echo $XDG_CONFIG_DIRS
 /etc/xdg

 $ echo $XDG_DATA_DIRS
 /usr/local/share:/usr/share

 I'm asking because although Enlightenment-17 picks up the kde menu from 
 there, 
 it does not seem to recognise the respective application icons.  If I set the 
 icons manually with absolute paths (e.g. 
 /usr/share/icons/oxygen/48x48/apps/knode.png, instead of the generic 
 knode.png) then I end up with duplicate menu entries for each application 
 when 
 I launch kde.
Go to settings-settings panel.

In the Look category find the Icon Theme option.

Set you icon theme to Oxygen.


For the duplicates:

Check ~/.local/share/applications/ 
You should find the .desktop files of the applications you changed to
absolute paths,
kde is probably picking up these and the system ones in
/usr/share/applications.
The ~/.local ones should not be needed





Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17

2011-02-27 Thread Mick
On Sunday 27 February 2011 15:20:25 Ian Lee wrote:
 On 26/02/11 16:41, Mick wrote:
  Where are being these set?
  
  I currently have:
  
  $ echo $XDG_CONFIG_DIRS
  /etc/xdg
  
  $ echo $XDG_DATA_DIRS
  /usr/local/share:/usr/share
  
  I'm asking because although Enlightenment-17 picks up the kde menu from
  there, it does not seem to recognise the respective application icons. 
  If I set the icons manually with absolute paths (e.g.
  /usr/share/icons/oxygen/48x48/apps/knode.png, instead of the generic
  knode.png) then I end up with duplicate menu entries for each application
  when I launch kde.
 
 Go to settings-settings panel.
 
 In the Look category find the Icon Theme option.
 
 Set you icon theme to Oxygen.
 
 
 For the duplicates:
 
 Check ~/.local/share/applications/
 You should find the .desktop files of the applications you changed to
 absolute paths,
 kde is probably picking up these and the system ones in
 /usr/share/applications.
 The ~/.local ones should not be needed

YES!  That fixed the missing icons E17 menu problem and the duplicates in the 
KDE menu.

Thank you very much!  :-)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17

2011-02-26 Thread David W Noon
On Sat, 26 Feb 2011 17:50:02 +0100, Mick wrote about [gentoo-user]
XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17:

Where are being these set?

I currently have:

$ echo $XDG_CONFIG_DIRS
/etc/xdg

$ echo $XDG_DATA_DIRS
/usr/local/share:/usr/share

Take a look at /etc/env.d/*xdg*, which should be about 3 files.  Note
that if you modify any files in that directory, you need to run
env-update for the changes to take effect; you will also need to logout
and login again.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwn...@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


signature.asc
Description: PGP signature


Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17

2011-02-26 Thread Mick
On Saturday 26 February 2011 18:12:42 David W Noon wrote:
 On Sat, 26 Feb 2011 17:50:02 +0100, Mick wrote about [gentoo-user]
 
 XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17:
 Where are being these set?
 
 I currently have:
 
 $ echo $XDG_CONFIG_DIRS
 /etc/xdg
 
 $ echo $XDG_DATA_DIRS
 /usr/local/share:/usr/share
 
 Take a look at /etc/env.d/*xdg*, which should be about 3 files.  Note
 that if you modify any files in that directory, you need to run
 env-update for the changes to take effect; you will also need to logout
 and login again.

Thanks, I have only two:

$ ls -la /etc/env.d/*xdg*
-rw-r--r-- 1 root root 81 Dec 18 11:24 /etc/env.d/30xdg-data-local
-rw-r--r-- 1 root root 54 Dec 18 11:24 /etc/env.d/90xdg-data-base

and they contain:

$ cat /etc/env.d/30xdg-data-local 
XDG_DATA_DIRS=/usr/local/share
COLON_SEPARATED=XDG_DATA_DIRS XDG_CONFIG_DIRS

$ cat /etc/env.d/90xdg-data-base 
XDG_DATA_DIRS=/usr/share
XDG_CONFIG_DIRS=/etc/xdg

I assume these were installed by x11-misc/xdg-utils.  Is that what they should 
contain?

Any idea why E17 will not work with the generic application icons in the first 
hand and why changing these to absolute paths creates duplicate menu entries 
when logged into KDE (which is a rare occurrence for me anyway - but I'd like 
to understand how cross-desktop menus work).  I find all this rather 
confusing.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17

2011-02-26 Thread Mike Gilbert
On Sat, Feb 26, 2011 at 11:41 AM, Mick michaelkintz...@gmail.com wrote:
 Where are being these set?

 I currently have:

 $ echo $XDG_CONFIG_DIRS
 /etc/xdg

 $ echo $XDG_DATA_DIRS
 /usr/local/share:/usr/share


See /etc/env.d/30xdg-data-local and /etc/env.d/90xdg-data-base.



Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17

2011-02-26 Thread David W Noon
On Sat, 26 Feb 2011 20:00:01 +0100, Mick wrote about Re: [gentoo-user]
XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17:

[snip]
and they contain:

$ cat /etc/env.d/30xdg-data-local 
XDG_DATA_DIRS=/usr/local/share
COLON_SEPARATED=XDG_DATA_DIRS XDG_CONFIG_DIRS

$ cat /etc/env.d/90xdg-data-base 
XDG_DATA_DIRS=/usr/share
XDG_CONFIG_DIRS=/etc/xdg

I assume these were installed by x11-misc/xdg-utils.  Is that what
they should contain?

Yes, those look typical, but invalid.  Did you notice that the second
script clobbers the value of XDG_DATA_DIRS that was set in the first?

Any idea why E17 will not work with the generic application icons in
the first hand and why changing these to absolute paths creates
duplicate menu entries when logged into KDE (which is a rare
occurrence for me anyway - but I'd like to understand how
cross-desktop menus work).  I find all this rather confusing.

I don't run Enlightenment.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwn...@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


signature.asc
Description: PGP signature