SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-09-18 19:51:54

chameleon
#! Junkie
From: luxembourg (uk guy)
Registered: 2009-01-13
Posts: 382
Website

Slim+DWM

I followed this thread to try and launch DWM via Slim;

http://crunchbanglinux.org/forums/topic … on-solved/

Here is my /etc/slim.conf;

login_cmd           exec /bin/sh - ~/.xinitrc %session
sessions            openbox,dwm

and here is my ~/.xinitrc;

DEFAULT_SESSION=openbox

case $1 in
openbox)
    exec openbox-session
    ;;
dwm)
    nitrogen --restore &
    exec dwm
    ;;
*)
    exec $DEFAULT_SESSION
    ;;
esac

DWM is available as an option in Slim with F1 however when I try and login to DWM I get;

'Failed to execute login command'

Any ideas welcome?
Of course, I could always get rid of Slim but I quite like the Crunchbang theme...

EDIT: If I restore Slim to the default Crunchbang config I can log into Openbox with no problems.

Last edited by chameleon (2012-09-18 20:05:00)

Offline

Be excellent to each other!

#2 2012-09-18 20:11:05

Unia
#! Die Hard
From: The Netherlands
Registered: 2010-07-17
Posts: 3,114

Re: Slim+DWM

What happens if you disable the Openbox option, and do straight Slim -> DWM? This way you can figure out whether the error is in you trying to use multiple environments (openbox,dwm) or in (the launch of) DWM itself.

EDIT: Perhaps worth taking a look at: https://wiki.archlinux.org/index.php/Slim

Last edited by Unia (2012-09-18 20:11:59)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
      Github || Deviantart

Offline

#3 2012-09-18 20:26:50

chameleon
#! Junkie
From: luxembourg (uk guy)
Registered: 2009-01-13
Posts: 382
Website

Re: Slim+DWM

@Unia
Thanks for the input.
I will give it a try when I am back at my Crunchy box.

Offline

#4 2012-09-19 20:31:07

chameleon
#! Junkie
From: luxembourg (uk guy)
Registered: 2009-01-13
Posts: 382
Website

Re: Slim+DWM

OK...I discovered SLIMconf from Corenominal big_smile
Worked a treat but I have put my DWM tweaking activities on hold for the moment...no time sad
However, I would recommend the superb livarp as always...DWM out of the box!

http://arpinux.org/x/doku.php/start:liv … arp_032_gb

Offline

#5 2012-09-19 20:51:48

Unia
#! Die Hard
From: The Netherlands
Registered: 2010-07-17
Posts: 3,114

Re: Slim+DWM

chameleon wrote:

DWM out of the box!

Where's the fun in that? big_smile


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
      Github || Deviantart

Offline

#6 2012-09-19 21:21:46

pidsley
#! Die Hard
Registered: 2012-05-23
Posts: 1,349

Re: Slim+DWM

Unia wrote:
chameleon wrote:

DWM out of the box!

Where's the fun in that? big_smile

+1 -- someone else's idea of "rational" keybinds? No thank you.

And really, why use SLiM when you can use LightDM, or startx?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo