# /etc/profile.d/desktop_session_xdg_dirs.sh - Prepend a $DESKTOP_SESSION-named directory to $XDG_CONFIG_DIRS and $XDG_DATA_DIRS DEFAULT_XDG_CONFIG_DIRS='/etc/xdg' DEFAULT_XDG_DATA_DIRS='/usr/local/share/:/usr/share/' if [ -n "$DESKTOP_SESSION" ]; then # readd default if was empty if [ -z "$XDG_CONFIG_DIRS" ]; then XDG_CONFIG_DIRS="$DEFAULT_XDG_CONFIG_DIRS" fi if [ -n "${XDG_CONFIG_DIRS##*$DEFAULT_XDG_CONFIG_DIRS/xdg-$DESKTOP_SESSION*}" ]; then XDG_CONFIG_DIRS="$DEFAULT_XDG_CONFIG_DIRS"/xdg-"$DESKTOP_SESSION":"$XDG_CONFIG_DIRS" fi export XDG_CONFIG_DIRS # gnome is already added if gnome-session installed if [ "$DESKTOP_SESSION" != "gnome" ]; then if [ -z "$XDG_DATA_DIRS" ]; then XDG_DATA_DIRS="$DEFAULT_XDG_DATA_DIRS" fi if [ -n "${XDG_DATA_DIRS##*/usr/share/$DESKTOP_SESSION*}" ]; then XDG_DATA_DIRS=/usr/share/"$DESKTOP_SESSION":"$XDG_DATA_DIRS" fi export XDG_DATA_DIRS fi fi
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
01-locale-fix.sh | File | 96 B | 0644 |
|
apps-bin-path.sh | File | 835 B | 0644 |
|
bash_completion.sh | File | 729 B | 0644 |
|
cedilla-portuguese.sh | File | 1003 B | 0644 |
|
im-config_wayland.sh | File | 349 B | 0644 |
|
vte-2.91.sh | File | 1.34 KB | 0644 |
|
vte.csh | File | 966 B | 0644 |
|
xdg_dirs_desktop_session.sh | File | 954 B | 0644 |
|