ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] rp and large / multiple monitors


From: Joren Van Onder
Subject: Re: [RP] rp and large / multiple monitors
Date: Sat, 12 Apr 2014 13:29:19 +0200
User-agent: mu4e 0.9.9.6pre2; emacs 24.3.1

On Fri, Apr 11, 2014 at 11:47, Jeff Abrahamson <address@hidden> wrote:
> *Change focus / move window.  *Bind a key that causes all frames to show
> labels (e.g., 1, 2, 3, 4, 5) and then I hit key "3" to refocus to frame 3
> and the ephemeral labels disappear.  For move, the selection would cause
> the current window to move to frame 3.

I'm not sure if you're aware of rpshowall.sh. It does something similar
to this. Without arguments it shows all windows and assigns a number to
each of them you can press. After that it creates a single frame to show
that window in (all other frames are removed though). This could be
interesting to take a look at. It shouldn't be that hard to modify it so
that it behaves the way you described. On top of that it's just a bash
script, which is probably easier to play around with than the Ratpoison
source code.

Something I personally use is the 'select' command (default on
C-<prefix> '). This kind of does what you want, but here you use window
names instead of numbers. It also offers tab completion which is
nice. One thing you do have to keep in mind is that in order to use this
efficiently, windows need to have a unique (preferably constant)
name. Just to give an example, Firefox does not do this by default
(although I'm sure you can change that some way). The name of a Firefox
window changes according to the title element of the page you're
viewing. So if you're on ratpoison.org the name of the Firefox window is
'ratpoison' and if you're on gnu.org/software/emacs the name of the
window is 'GNU Emacs'. This obviously isn't ideal, but I'm sure it can
be fixed somehow.

> I hesitate to suggest that any of these things could be fixed by touching
> the mouse.

If that's what you want, then you can take a look at sloppy.c, which is
also in the Ratpoison repository. If you compile (compile-command is
defined in the file) and run that, you'll be able to focus windows with
the mouse.

--
        Joren

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]