Re: Problem running kcontrol from menu

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

 



On Tue, 2007-11-13 at 13:01 -0600, Rex Dieter wrote:
> 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.

See below:
daly@riddler <2#> rpm -qf /etc/xdg/menus/applications.menu 
redhat-menus-8.9.10-3.fc7

I have KDE installed in $prefix=/opt/kde/v3.5.7.  I'm guessing it's
here?

daly@riddler <5#> ls /opt/kde/v3.5.7/etc/xdg/menus/
./   applications-merged/  kde-information.menu   kde-settings.menu
../  applications.menu     kde-screensavers.menu


What is the inclusive XDG env list is that I'd need to set?

___________________________________________________
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.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux