9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dexen deVries <dexen.devries@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] how to make p9p/rio the default window manager? (ubuntu)
Date: Fri, 19 Aug 2011 09:46:00 +0200	[thread overview]
Message-ID: <201108190946.01885.dexen.devries@gmail.com> (raw)
In-Reply-To: <CAJSxfmK6GEF+a5p-N89YXY6mLg3ork6qs8_MkhnCb3GF8O8f-w@mail.gmail.com>

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	other threads:[~2011-08-19  7:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19  7:22 Skip Tavakkolian
2011-08-19  7:46 ` dexen deVries [this message]
2011-08-19  8:01   ` Jens Staal
     [not found]     ` <CAHSQfyv4p8NXWGnjsnWw_5Kiwvq4oUzWLgB2A5owJAN3e_pqPQ@mail.gmail.com>
     [not found]       ` <CAHSQfytTBabNtJuVQpLLmoc-q6mmfHYrkvwJEFcmufNSTqPHRA@mail.gmail.com>
2011-08-19 11:27         ` Salman Aljammaz
2011-08-19 12:08           ` Sergey Kish
2011-08-19 15:11 ` Balwinder S Dheeman
2011-08-19 17:21 ` Sasha and Tanya Kapshuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201108190946.01885.dexen.devries@gmail.com \
    --to=dexen.devries@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).