Re: kbuildsycoca problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 01 December 2006 16:52, Rex Dieter wrote:
>Gene Heskett wrote:
>> On Friday 01 December 2006 07:53, Rex Dieter wrote:
>>> what does
>>> # echo $XDG_CONFIG_DIRS
>>> say?
>>
>> Nothing, its empty, and I don't recall seeing it in an env output.
>
>That's one problem. XDG_CONFIG_DIRS should be getting defined from
>/etc/kde/env/env.sh (if using FC stock packaging)

AFAIK I am. The /etc/kde/env/env.sh contains:
---
# from http://standards.freedesktop.org/menu-spec/latest/
# XDG_CONFIG_DIRS: where to look for menu config(s)
if [ -z "${XDG_CONFIG_DIRS}" ] ; then
   XDG_CONFIG_DIRS=/etc/kde/xdg:/etc/xdg
   export XDG_CONFIG_DIRS
fi
---
>From man bash:
 -z string
              True if the length of string is zero.

Since its zero, as in doesn't exist at that point, common sense says that 
this script, _if_ its being exec'd, should properly set it.  But it 
apparently doesn't.  I can set another junk var and export it to test I 
think.  This would require an x restart I'd think.

I added
JUNQUE_VAR=123456789;export JUNQUE_VAR above the if [conditional], then 
restarted x.  Its is not visible in an env report.  This I believe 
confirms that it is not being exec'd at a startx instant.

Where do we go from here, Rex?

Many thanks, I know you're busy.

>or
>/etc/kde/env/xdg-menu.sh (if using kde-redhat packaging).
>This file is (should be!) owned by kdebase rpm.

According to yumex's file listing for kdebase, yes.
and:
[root@coyote ~]# ls -l /etc/kde/env/env.sh
-rwxr-xr-x 1 root root 257 Dec  1 17:22 /etc/kde/env/env.sh

An ls -lZ of it returns 3 inches of blank space where the filetype 
normally shows, apparently a victim of vim as I added the JUNQUE_VAR 
stuff just now.

>-- Rex

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux