Mageia Bugzilla – Attachment 8819 Details for
Bug 20010
Plasma won't start when logging in from SDDM if PATH is overridden in .bashrc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Suggested patch for startkde.
startkde.patch (text/plain), 887 bytes, created by
w unruh
on 2016-12-26 06:33:11 CET
(
hide
)
Description:
Suggested patch for startkde.
Filename:
MIME Type:
Creator:
w unruh
Created:
2016-12-26 06:33:11 CET
Size:
887 bytes
patch
obsolete
>23,24d22 >< qbindir=`qtpaths --binaries-dir` >< qdbus=$qbindir/qdbus >29,30d26 >< else >< qdbus=qdbus >32c28,35 >< >--- >> if ! qbindir=`qtpaths --binaries-dir` >/dev/null 2>&1 ;then >> qtpatherr=$? >> echo " startkde: Error running qtpaths $qtpatherror" 1>&2 >> xmessage -geometry 500x100 "startkde: Error running qtpaths $qtpatherror" >> >> exit 1 >> fi >> qdbus="$qbindir/qdbus" >282,285c285,287 >< if $qdbus >/dev/null 2>/dev/null; then >< : # ok >< else >< echo 'startkde: Could not start D-Bus. Can you call qdbus?' 1>&2 >--- >> if ! $qdbus >/dev/null 2>/dev/null; then >> qdbuserror=$? >> echo "startkde: Could not start D-Bus. qdbus error $qdbuserror ? " 1>&2 >287c289 >< xmessage -geometry 500x100 "Could not start D-Bus. Can you call qdbus?" >--- >> xmessage -geometry 500x100 "startkde: Could not start D-Bus. qdbus error $qdbuserror ?"
23,24d22 < qbindir=`qtpaths --binaries-dir` < qdbus=$qbindir/qdbus 29,30d26 < else < qdbus=qdbus 32c28,35 < --- > if ! qbindir=`qtpaths --binaries-dir` >/dev/null 2>&1 ;then > qtpatherr=$? > echo " startkde: Error running qtpaths $qtpatherror" 1>&2 > xmessage -geometry 500x100 "startkde: Error running qtpaths $qtpatherror" > > exit 1 > fi > qdbus="$qbindir/qdbus" 282,285c285,287 < if $qdbus >/dev/null 2>/dev/null; then < : # ok < else < echo 'startkde: Could not start D-Bus. Can you call qdbus?' 1>&2 --- > if ! $qdbus >/dev/null 2>/dev/null; then > qdbuserror=$? > echo "startkde: Could not start D-Bus. qdbus error $qdbuserror ? " 1>&2 287c289 < xmessage -geometry 500x100 "Could not start D-Bus. Can you call qdbus?" --- > xmessage -geometry 500x100 "startkde: Could not start D-Bus. qdbus error $qdbuserror ?"
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20010
: 8819