Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 677239 Details for
Bug 301051
x11-apps/xinit: /etc/X11/Sessions/Xsession ignores session passed by login managers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add use of chooser.sh script to manage arguments passed to it
xsession.patch (text/plain), 846 bytes, created by
Roberto Castagnola
on 2020-12-08 13:21:53 UTC
(
hide
)
Description:
Add use of chooser.sh script to manage arguments passed to it
Filename:
MIME Type:
Creator:
Roberto Castagnola
Created:
2020-12-08 13:21:53 UTC
Size:
846 bytes
patch
obsolete
>--- a/usr/portage/x11-apps/xinit/files/Xsession 2015-08-09 02:38:18.000000000 +0200 >+++ b/usr/portage/x11-apps/xinit/files/Xsession 2020-12-08 11:17:31.402922394 +0100 >@@ -10,6 +10,10 @@ > esac > esac > >+if [ -n "$*" ]; then >+ export XSESSION="$*" >+fi >+ > # redirect errors to a file in user's home directory if we can > for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER" > do >@@ -94,7 +98,20 @@ > > unset XKB_IN_USE > >-if [ -x "$startup" ]; then >+if [ -n "`/etc/X11/chooser.sh`" ]; then >+ command="`/etc/X11/chooser.sh`" >+fi >+ >+if [ -d /etc/X11/xinit/xinitrc.d ]; then >+ for f in /etc/X11/xinit/xinitrc.d/?* ; do >+ [ -x "$f" ] && . "$f" >+ done >+ unset f >+fi >+ >+if [ -n "$command" ]; then >+ exec $command >+elif [ -x "$startup" ]; then > exec "$startup" > elif [ -x "$HOME/.Xclients" ]; then > exec "$HOME/.Xclients"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 301051
:
216569
|
217090
| 677239