-Skip
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 ))
http://dl.suckless.org/9buntu/
2011/8/19 dexen deVries <dexen....@gmail.com>:
"""
plumber
factotum
exec rio
"""
It should run when you use 'startx'
When I last used Ubuntu however .xinitrc seemed to be omitted from
GDM. A quick google brings this up http://subforge.org/blogs/show/13
--- /etc/inittab.origin 2011-08-19 14:45:12.000000000 +0300
+++ /etc/inittab 2011-08-11 13:24:41.000000000 +0300
@@ -40,9 +40,10 @@
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
-x:5:respawn:/usr/bin/xdm -nodaemon
+#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
+x:5:once:/bin/su sergeykish -l -c "/bin/bash --login -c startx"
Try examples available at http://werc.homelinux.net/hacks/plan9us/, and
customize the same per your needs.
Hope that helps,
--
Balwinder S "bdheeman" Dheeman
(http://werc.homelinux.net/contact/)
1. go to /usr/share/xsessions/;
2. in there you'll find files like: gnome.desktop, twm.desktop, etc;
3. create a file, e.g. rio.desktop with contents similar to those of the
other *.desktop files already there replacing the path to the desktop
manager with the path to rio (see contents of my rio.desktop for details);
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=/usr/local/plan9/bin/rio
TryExec=/usr/local/plan9/bin/rio
Name=rio
Comment[uk]=Tab Window Manager
4. re-login to gnome and select rio as your default desktop manager;
hope the above helps, although if you're using a different
window/desktop manager the method above may not work.
sasha kapshuk