xdg-utils/xdg-utils-1.1.3-profile.sh

11 lines
383 B
Bash
Raw Normal View History

if test -z "$XDG_DATA_DIRS"; then
XDG_DATA_DIRS="/usr/share:/usr/local/share"
[ -e /opt/kde/share/applications ] && XDG_DATA_DIRS="$XDG_DATA_DIRS:/opt/kde/share"
[ -e /opt/kde3/share/applications ] && XDG_DATA_DIRS="$XDG_DATA_DIRS:/opt/kde3/share"
export XDG_DATA_DIRS
fi
if [ "$DESKTOP_SESSION" = "gnome" ]; then
XDG_MENU_PREFIX="gnome-"
export XDG_MENU_PREFIX
fi