Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597324 - x11-wm/lumina - Ebuilds do not install a session file in /etc/X11/Sessions
Summary: x11-wm/lumina - Ebuilds do not install a session file in /etc/X11/Sessions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-16 23:26 UTC by Anthony Segredo
Modified: 2019-07-01 15:57 UTC (History)
3 users (show)

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


Attachments
session file for lumina (lumina-session,1.96 KB, application/x-shellscript)
2016-10-16 23:26 UTC, Anthony Segredo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Segredo 2016-10-16 23:26:50 UTC
Created attachment 450506 [details]
session file for lumina

Attached file to placed in "files" directory.
File was made from the fluxbox session file by changing the last line. This works because lumina is currently built on top of fluxbox.

Ebuilds need to be modified by adding the following lines at the very end of src_install:

        exeinto /etc/X11/Sessions
        newexe "${FILESDIR}/lumina-session" lumina ||die

See bug filed this date (number not appearing yet) for release 1.0.0
Comment 1 Andrey Grozin gentoo-dev 2018-04-10 17:22:10 UTC
What's the supposed use of this file?

I have ~/.xinitrc:

#!/bin/sh
setxkbmap -layout us,ru -option grp:caps_toggle,grp_led:caps
exec start-lumina-desktop

Then startx starts lumina (and I can switch my keyboard layout between us and ru).
Comment 2 Pacho Ramos gentoo-dev 2018-04-13 20:12:49 UTC
It needs to provide the file to be offered by DMs... but I think location is now /usr/share/xsessions
Comment 3 Anthony Segredo 2018-06-20 18:14:36 UTC
tony@MSI Sessions $ equery b /etc/X11/Sessions/openbox
 * Searching for /etc/X11/Sessions/openbox ... 
x11-wm/openbox-3.6.1-r1 (/etc/X11/Sessions/openbox)
tony@MSI Sessions $ equery b /etc/X11/Sessions/MATE
 * Searching for /etc/X11/Sessions/MATE ... 
mate-base/mate-session-manager-1.12.2-r1 (/etc/X11/Sessions/MATE)
tony@MSI Sessions $ equery b /etc/X11/Sessions/fluxbox
 * Searching for /etc/X11/Sessions/fluxbox ... 
x11-wm/fluxbox-1.3.7-r4 (/etc/X11/Sessions/fluxbox)


Not /usr/share
Comment 4 Anthony Segredo 2019-06-28 12:26:42 UTC
(In reply to Anthony Segredo from comment #0)
> Created attachment 450506 [details]
> session file for lumina
> 
> Attached file to placed in "files" directory.
> File was made from the fluxbox session file by changing the last line. This
> works because lumina is currently built on top of fluxbox.
> 
> Ebuilds need to be modified by adding the following lines at the very end of
> src_install:
> 
>         exeinto /etc/X11/Sessions
>         newexe "${FILESDIR}/lumina-session" lumina ||die
> 
> See bug filed this date (number not appearing yet) for release 1.0.0

last line of the session file should now be:

exec /usr/bin/start-lumina-desktop
Comment 5 Larry the Git Cow gentoo-dev 2019-07-01 15:57:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41db5a91e80068c61fccea9669aeeb0623c2b8ee

commit 41db5a91e80068c61fccea9669aeeb0623c2b8ee
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2019-07-01 15:56:49 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2019-07-01 15:56:49 +0000

    x11-wm/lumina: fix dependencies, install icons and session file
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=597324
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=645380
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=688880
    Package-Manager: Portage-2.3.67, Repoman-2.3.16
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 x11-wm/lumina/files/lumina-session   | 90 +++++++++++++++++++++++++++++++++
 x11-wm/lumina/lumina-1.5.0-r1.ebuild | 96 ++++++++++++++++++++++++++++++++++++
 2 files changed, 186 insertions(+)