Posts: 162
drg
Joined: 22 Feb 2010
#1
Thought I’d play with other window managers, ones that are not already in the .xinitrc file.

Question: how does one get the slim login screen to give the option (press F1) for Enlightenment e16 and/or e17?

I’ve tried adding as below to the .xinitrc file, but they do not show up in the slim options.

e16)
exec 16
;;

e17)
exec enlightenment_start
; ;

The last one is probably way off.

However, booting up into runlevel 3, then as user:
- ' startx e16 ‘ brings up up e16
- ' startx enlightenment_start ’ brings up e17.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#2
Slim is a system service. It doesn't pay attention to individual .xinitrc files. You need to edit /etc/slim.conf.

BTW: the e16 line should be"exec e16". Also, if"exec enlightenment_start" doesn't work, try just"enlightenment_start" instead.
Posts: 903
plvera
Joined: 11 Oct 2008
#3
Yes, Bitjam is right. I always forget the slim.conf part.

You need to add the new options to the"sessions" line. Then they will show up with F1.

We should put together a"how-to" for this.
Posts: 162
drg
Joined: 22 Feb 2010
#4
Typo corrected and 'e16' added to the sessions line of /etc/slim.conf..
Works fine for e16.

However if an entry is made for e17/enlightenment_start in .xinitrc, none of the window managers (installed) will start up and get kicked back to the slim login. If I comment out or delete the e17 entry, all is well again. Have tried with and without the ‘exec’, also the full path
/usr/bin/enlightenment_start.

Ah well. BTW, enlightenment_start is an binary executable acting as a launcher to the binary enlightenment. Did not upgrade to the wheezy versions of libldap, perl-base, or libc6 (as of May17/11). E17 is still in development, looks interesting. Does (some) eye-candy.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#5
drg wrote:However if an entry is made for e17/enlightenment_start in .xinitrc, none of the window managers (installed) will start up and get kicked back to the slim login. If I comment out or delete the e17 entry, all is well again.
This has got to be a simple problem in the .xinitrc file. Can you post the entire file? Better still between BBcode"code" and"/code" tags.
Posts: 162
drg
Joined: 22 Feb 2010
#6
Bitjam, thanks for help. But am now confused re: “Better still between BBcode"code" and"/code" tags.” To which file are you referring?

My .xinitrc file is just the default one with these added:

e16)
exec 16
;;

enlightenment_start)
exec enlightenment_start
; ;

and the etc/slim.conf has ' ,e16,enlightenment_start ' added to the end of thesessions line.