Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wayland-session and xsession files #100

Closed
FSMaxB opened this issue Aug 20, 2015 · 4 comments
Closed

Add wayland-session and xsession files #100

FSMaxB opened this issue Aug 20, 2015 · 4 comments

Comments

@FSMaxB
Copy link
Contributor

FSMaxB commented Aug 20, 2015

It would be nice to have a wayland-session file in /usr/share/wayland-sessions/ and an xsession file in /usr/share/xsessions/, so that display managers can detect sway and display an option to start it.

Those files could look like this for example:

[Desktop Entry]
Name=sway
Comment=SirCmpwn's Wayland window manager
Exec=sway
Type=Application

(note: I haven't tried out if the file above actually works)

@ddevault
Copy link
Contributor

I agree, but only if we see it tested.

@FSMaxB
Copy link
Contributor Author

FSMaxB commented Aug 20, 2015

Nice. I'm gonna try it out with GDM.

@FSMaxB
Copy link
Contributor Author

FSMaxB commented Aug 20, 2015

I've tried it with the following files:

/usr/share/wayland-sessions/sway.desktop

[Desktop Entry]
Name=Sway
Comment=SirCmpwn's Wayland window manager
Exec=sway
Type=Application

/usr/share/xsessions/sway-xorg.desktop

[Desktop Entry]
Name=Sway (Xorg)
Comment=SirCmpwn's Wayland window manager
Exec=sway
Type=Application

Works fine for me when using GDM. Note that the xsession file has to have a different name than the wayland session file.

@ddevault
Copy link
Contributor

Cool. Pull requests welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants