Click to See Complete Forum and Search --> : auroexec.bat like file for window managers?


bltimmer
11-13-2000, 06:01 AM
I want to run enlightenment window manager on my box with kicker (kpanel from kde). I dislike having to open a term window and typing it in every time. Anyone know how to get it to automatically open when I log in? I use other window managers too, but just want it to do it for this one. Please e-mail me with any help: bltimmer@mtu.edu

SlCKB0Y
11-13-2000, 07:35 AM
Ahh...this is an easy one.

Make a file in your home directory with your text editor of choice called .xinitrc (full path /home/whatever/.xinitrc) and in it it should have the following lines

#!/bin/sh

exec /path/to/program &
exec enlightenment

save this file and then chmod it to 755. Restart your X server, and now the program should load automatically with the window manager.

Also, in this file you can place other lines such as:

#exec gnome-session
#exec wmaker
#exec blackbox

And when you are about to start your X server, you simply edit the file and uncomment the window manager you want to use.

Hope this helps

[This message has been edited by SlCKB0Y (edited 13 November 2000).]