9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Floren <john@jfloren.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] plan9port rio and keyboard shortcuts
Date: Tue, 10 Jul 2012 09:31:04 -0700	[thread overview]
Message-ID: <CAL4LZyjW=Sz5ujwCR3XKcsrSWV66SuEwTv76vu+TQ29JfvyTnA@mail.gmail.com> (raw)
In-Reply-To: <CAOEdRO0o+e154S=K1A2Gq2qQEDO3JvOUz-Nk3Rc_EFk3JFJ-VQ@mail.gmail.com>

On Tue, Jul 10, 2012 at 2:26 AM, Rudolf Sykora <rudolf.sykora@gmail.com> wrote:
> Hello,
>
> In p9p's rio there is a possibility to cycle over windows with left_alt-tab.
> Has anyone thought about / managed to add some more shortcuts, e.g.
> such that would run a program like dmenu?
> (Do you start all your programs from a terminal?)
>
> Thanks
> Ruda
>

I put some additional keyboard functionality into w9wm at one point,
it's not that hard. Look at /usr/local/plan9/src/cmd/rio/key.c:44,
figure out what key presses you want to handle, then do a fork+exec or
whatever floats your boat.

You might also find 9menu handy, although personally I don't like
using it in p9p rio because rio doesn't pass focus clicks through to
the client, meaning I have to click twice (annoying). I just use a
terminal to start programs.

I'm using p9p rio right now, but that's because I cycle through about
a half-dozen window managers a year in search of WM nirvana. I love
using rio on Plan 9, but I'm not entirely convinced it is best-suited
for the way I use Unix. Some day I may write my own WM, but today is
not that day.


john



  parent reply	other threads:[~2012-07-10 16:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-10  9:26 Rudolf Sykora
2012-07-10  9:35 ` Federico Benavento
2012-07-10 16:31 ` John Floren [this message]
2012-11-05 13:53   ` Rudolf Sykora
2012-11-05 14:49     ` Kurt H Maier
2012-11-05 14:53       ` cinap_lenrek
2012-11-05 15:36         ` Kurt H Maier
2012-11-05 15:15 ` Christian Neukirchen

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='CAL4LZyjW=Sz5ujwCR3XKcsrSWV66SuEwTv76vu+TQ29JfvyTnA@mail.gmail.com' \
    --to=john@jfloren.net \
    --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).