On Friday 19 of August 2011 09:22:05 Skip Tavakkolian wrote:
> anyone know the proper way of doing this so it doesn't involve a lot
> of killing after every login?


not sure about Ubuntu, but in Slackware there's /etc/X11/xinit/xinitrc script 
which gets executed after login and is responsible for starting up the window 
manager and aux programs. Usually that's a symlink to either xinitrc.kde or 
xinitrc.twm.

I would:

# cd /etc/X11/xinit/
# cp xinitrc.twm xinitrc.rio
# E xinitrc.rio  (or vi xinitrc.rio, if you wish)
# rm xinitrc; ln -s xinitrc.rio xinitrc



coil!dexen!/etc/X11/xinit $ diff -burN xinitrc.twm xinitrc.rio 
--- xinitrc.twm 2011-08-19 09:44:02.435802566 +0200
+++ xinitrc.rio 2011-08-19 09:44:19.441801567 +0200
@@ -26,8 +26,4 @@
 
 # start some nice programs
 
-/usr/bin/twm &
-/usr/bin/xclock -geometry 50x50-1+1 &
-/usr/bin/xterm -geometry 80x50+494+51 &
-/usr/bin/xterm -geometry 80x20+494-0 &
-exec /usr/bin/xterm -geometry 80x66+0+0 -name login
+exec $PLAN9/bin/twm &


-- 
dexen deVries

[[[↓][→]]]

For example, if the first thing in the file is:
   <?kzy irefvba="1.0" rapbqvat="ebg13"?>
an XML parser will recognize that the document is stored in the traditional 
ROT13 encoding.

(( Joe English, http://www.flightlab.com/~joe/sgml/faq-not.txt ))

Reply via email to