9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] A note on using E
Date: Tue,  4 Aug 2009 22:54:39 -0700	[thread overview]
Message-ID: <dd6fe68a0908042254n3d3eacd4ibd7a2a9f0b4a342c@mail.gmail.com> (raw)
In-Reply-To: <24260-36175@sneakemail.com>

> #!/bin/sh
> if 9p stat plumb > /dev/null 2>&1
> then
>        exit
> else
>        plumber
> fi
>
> to ensure that the plumber is running.  This works nicely for me, as I
> can exit and restart acme, and the plumber continues running.  When I
> log out of this linux system, however, it appears that the plumber is not
> killed, and the next time I log in and start acme, the script sees that
> the plumber is still running and doesn't start it.  Unfortunately, that
> running plumber doesn't seem to be work right because when I click on a
> URL in acme it doesn't get opened in my web browser.  I have to kill and
> restart the plumber to get this to work.

The problem is that the old plumber does not have
access to your new X desktop, so it cannot start
a new firefox nor can it tell one running on the new
desktop to do anything.

The solution is to restart plumber always, perhaps in
your .xinitrc.

Russ


  reply	other threads:[~2009-08-05  5:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04  9:04 Aaron W. Hsu
2009-08-05  4:39 ` 6o205zd02
2009-08-05  5:54   ` Russ Cox [this message]
2009-08-06  4:05     ` 6o205zd02
2009-08-05 16:51   ` Aaron W. Hsu

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=dd6fe68a0908042254n3d3eacd4ibd7a2a9f0b4a342c@mail.gmail.com \
    --to=rsc@swtch.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).