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

running Wingo from a login manager by creating an xsession file #76

Open
BurntSushi opened this issue Apr 20, 2013 · 3 comments
Open

running Wingo from a login manager by creating an xsession file #76

BurntSushi opened this issue Apr 20, 2013 · 3 comments

Comments

@BurntSushi
Copy link
Owner

Apparently xinitrc is completely ignored and there is some voodoo that we need to do to get Wingo to appear in the list of available window managers.

Look at the Ubuntu package for xmonad and see how they do it.

@sam-falvo
Copy link

I finally found it!

As root user, create a new file in /usr/share/xsessions called wingo.desktop. Inside this file, place the following:

[Desktop Entry]
Encoding=UTF-8
Name=WinGo
Comment=Lightweight tiling window manager in Go
Exec=wingo
Icon=wingo.png
Type=XSession

In my case, I just copied xmonad.png to wingo.png (wherever xmonad.png happened to be), since I was too lazy to create my own. The executable, however, needed to be created separately. I created a wrapper /usr/bin/wingo:

#!/bin/bash
export GOPATH=$HOME/go/wingo
$GOPATH/bin/wingo

and from this point forward, I was able to select wingo from my lightdm collection of window managers!

@BurntSushi
Copy link
Owner Author

Awesome! Thank you for the leg work. I'll incorporate this in the docs at some point.

BurntSushi added a commit that referenced this issue Feb 15, 2014
@kalbasit
Copy link

This worked for me Thanks.

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

No branches or pull requests

3 participants