Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
xfce4-session
xfce4-session-adapt-session-scripts-git.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-session-adapt-session-scripts-git.patch of Package xfce4-session
diff -rub a/scripts/startxfce4.in b/scripts/startxfce4.in --- a/scripts/startxfce4.in 2019-05-13 13:08:40.936637683 +0800 +++ b/scripts/startxfce4.in 2019-05-13 13:16:44.378397419 +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-13 13:08:40.936637683 +0800 +++ b/scripts/xinitrc.in.in 2019-05-13 13:20:51.177252943 +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