windelicato / dotfiles

arch linux configuration files
1.17k stars 62 forks source link

bspwm does not work with slim if there are multiple WMs #1

Closed ghost closed 10 years ago

ghost commented 10 years ago

BSPWM does not work with slim if you have your xinitrc set to "exec $1" which is necessary (according to the arch wiki) in order to use slim with multiple window managers.

Essentially, if you choose bspwm in slim and have another window manager, it won't work. If the bspwm.desktop says to exec bspwm, slim freezes, and if it says to exec xinitrc, slim restarts.

Here is a reddit thread that has some of my configuration files as well as some of the things I've tried: http://www.reddit.com/r/linuxquestions/comments/1rqro1/want_to_use_slim_and_multiple_environments/

windelicato commented 10 years ago

My bspwm.desktop calls this script, and it works fine for me.

https://github.com/windelicato/dotfiles/blob/master/scripts/wm

ghost commented 10 years ago

I embarassingly must ask what I did wrong.

I created a file and threw that script in it, made the file executable, then make bspwm.desktop exec to the absolute path of that file. When I used Slim to try to log onto bspwm, slim just froze.

windelicato commented 10 years ago

What version of slim do you have installed?

ghost commented 10 years ago

slim 1.3.6-2

kevinvdburgt commented 10 years ago

Arch have some issues with SLiM and systemd, see: https://wiki.archlinux.org/index.php/SLiM

windelicato commented 10 years ago

Weird. I did a pacman -Syu and have no problems with Slim 1.3.6 and FVWM, Openbox, BSPWM, and XMonad sessions coexisting. Does it work fine with a normal ~/.xinitrc and startx?

ghost commented 10 years ago

It does, I'll take a look into some of my configuration files for something weird. http://imgur.com/REy8riD