Re: rp and large / multiple monitors

Jeff Abrahamson <[email protected]>
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <CAM4Y7zy0u6rq-VZ_BCUFxoUX6kWY38qcnBLm3kLsOMSqaVNuug@mail.gmail.com>
Hi, Joren.

Thanks for the good reply.  I was not aware of rpshowall.sh.  It's a bit
more like exposé in the MacOS X world than what I want, but a really nice
little script nonetheless.  My usual case is a handful of terminals, a
handful of emacs frames, and a handful of browser frames.  So naming them
isn't too helpful for me.  (For example, what would I call them?)  I'd also
prefer to avoid the cognitive switch of thinking about window names when I
can see the window.  Right, so this might be possible, but I might have to
do some extra work.  I'll have to have a play, I'm quite fond of rp except
for a couple details like this.

I've had a look through the other contrib scripts.  The sloppy.c program is
quite clever, actually.

I've noticed that scripting ratpoison seems a bit slow (e.g.,
rpshowall.sh).  Maybe this is just the time X needs to move windows around,
though that would sadden me given how quickly MacOS X (and the unity shell
in ubuntu land) can do that trick.  I do wonder if it's all the round trips
to rp and if it couldn't be sped up by being able to pass rp many commands
at once.

BTW, for firefox, it looks like there are addons that do what you want.
 E.g., https://addons.mozilla.org/en-US/firefox/addon/firetitle/ .


Jeff Abrahamson
+33 6 24 40 01 57
+44 7920 594 255

http://jeff.purple.com/
http://blog.purple.com/jeff/


On 12 April 2014 12:29, Joren Van Onder <[email protected]> wrote:

> On Fri, Apr 11, 2014 at 11:47, Jeff Abrahamson <[email protected]> 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
>

_______________________________________________
Ratpoison-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ratpoison-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.