Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
X11:xfce
xfce4-session
xfce4-session-adapt-session-scripts.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-session-adapt-session-scripts.patch of Package xfce4-session
diff -rub a/scripts/startxfce4.in b/scripts/startxfce4.in --- a/scripts/startxfce4.in 2016-05-03 05:02:14.000000000 +0800 +++ b/scripts/startxfce4.in 2019-05-20 18:52:01.014092674 +0800 @@ -76,6 +76,10 @@ then XDG_DATA_DIRS="$XDG_DATA_DIRS:@_datadir_@" fi +if test -d "@_datadir_@/xfce" +then + XDG_DATA_DIRS="@_datadir_@/xfce:$XDG_DATA_DIRS" +fi export XDG_DATA_DIRS if test "x$XDG_CONFIG_DIRS" = "x" diff -rub a/scripts/xinitrc.in.in b/scripts/xinitrc.in.in --- a/scripts/xinitrc.in.in 2019-05-11 04:05:58.000000000 +0800 +++ b/scripts/xinitrc.in.in 2019-05-20 18:55:49.566603360 +0800 @@ -44,12 +44,6 @@ fi [ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME" -# set up XDG user directores. see -# http://freedesktop.org/wiki/Software/xdg-user-dirs -if command -v xdg-user-dirs-update >/dev/null 2>&1; then - xdg-user-dirs-update -fi - # For now, start with an empty list XRESOURCES="" @@ -81,14 +75,11 @@ # check if we start xfce4-session with ck-launch-session. this is only # required for starting from a console, not a login manager if test "x$XFCE4_SESSION_WITH_CK" = "x1"; then - if command -v ck-launch-session >/dev/null 2>&1; then - exec ck-launch-session xfce4-session - else - echo - echo "You have tried to start Xfce with consolekit support, but" - echo "ck-launch-session is not installed." - echo "Aborted startup..." - echo + if ! ck-launch-session xfce4-session; then + cat >&2 <<'EOF' +Failed to start Xfce with consolekit support. +Aborted startup... +EOF exit 1 fi else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor