Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412003 - x11-apps/xinit: support /usr/share/xsessions in chooser.sh
Summary: x11-apps/xinit: support /usr/share/xsessions in chooser.sh
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-14 16:59 UTC by Michał Górny
Modified: 2020-12-07 22:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Take care of files in /usr/share/xsession (chooser.patch,1.50 KB, patch)
2020-12-07 22:24 UTC, Roberto Castagnola
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-04-14 16:59:07 UTC
/usr/share/xsessions is the new common way of storing X11 sessions. It is supported by most of the new DMs, and it would be great if our chooser.sh supported it as well -- so that xdm would support it too.

I can provide a patch if there is interest in that.
Comment 1 Matt Turner gentoo-dev 2019-03-03 23:18:20 UTC
(In reply to Michał Górny from comment #0)
> I can provide a patch if there is interest in that.

Sure.
Comment 2 Matt Turner gentoo-dev 2019-05-15 18:16:35 UTC
Feel free to re'Cc x11@ if you write that patch.
Comment 3 Roberto Castagnola 2020-12-07 22:24:20 UTC
Created attachment 677194 [details, diff]
Take care of files in /usr/share/xsession

Signed-off-by: Roberto Castagnola <roberto.castagnola@gmail.com>

The patch also takes care of the case that XSESSION contains spaces (a command with arguments).
I made my best to write it in a posix complaint way, but since I'm not expert on this, some command may need a fix.