Problem running kcontrol from menu

Rex Dieter rdieter at math.unl.edu
Tue Nov 13 19:01:36 GMT 2007


Ryan Daly wrote:
> On Tue, 2007-11-13 at 12:48 -0600, Rex Dieter wrote:
>> Kevin Krammer wrote:
>>
>>> Rex, this is this thread's archive reference [2]
>> Thanks,
>>
>> In particular, on redhat/fedora, redhat-menus owns
>> /etc/xdg/menus/applications.menu, our kde packaging puts kdebase's
>> version at
>> /etc/xdg/menus/kde-applications.menu
>> or
>> /etc/kde/xdg/menus/applications.menu
>>
>> So, Fedora puts this snippet into it's kde startup environment, which
>> may be missing in this scenario.
>>
>> # 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
>>
>> # XDG_MENU_PREFIX
>> if [ -z "${XDG_MENU_PREFIX}" ] ; then
>>     XDG_MENU_PREFIX="kde-"
>>     export XDG_MENU_PREFIX
>> fi
> 
> I do not have any XDG environment variables defined in my X session for
> either FC7 or RHEL 5.
> 
> To correct that is the fix needed at the OS level, or something in my
> environment?

Depends on which version of /etc/xdg/menus/applications.menu you're 
using.  If that is the one owned by redhat-menus, then you'll need to 
put kde's elsewhere, and definte the XDG_* env vars appropriately.

-- Rex
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list