Re: rp and large / multiple monitors

Joren Van Onder <[email protected]>
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 489 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJTSSOUAAoJEOQtDxoIYzLzR5sH/RDZRIEquCHrkTHr9OTbT3YW
p7Jx/UAhDTu3KA+PW1GMOJxSvFz/COT4OnPXYQm8iVIG8h6t0cfwVsJDOhQMt0AO
1hX/O3yecfNP9EGIKRVRrBVcTmuvxg+J5oFWuoAAq9Z/qIm/QsD9H5kV8E+rBApY
KNZMikt8JHCxWnSX+XLZXAmuaeAN8p5dlfXI5WZKZlqgVov+EJEStXWlyx0RObS8
7RHPyMmYqjK5+AXYFiKgq8EZCAyYU1bUZzy50Y6nx8XslNCBxeA805fyee70z6Ma
EhNLZcC7u/SU4jc01u9QlG5+bGokGKDI1SHx6noIkpAct8qE1XabLLvERr/cHrk=
=6nmj
-----END PGP SIGNATURE-----
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.