Re: FVWM: Desk and FvwmPager

From: Dan Espen <dane_at_bae.bellcore.com>
Date: Fri, 11 Jul 1997 14:15:19 -0400

Rob Lowrie <lowrie_at_lanl.gov> writes:
>
> I'm using fvwm 2.0.45, and start FvwmPager with arguments "0 3". If I
> issue "Desk 1" while on Desk 3, or "Desk -1" while on Desk 0, fvwm moves
> me onto a desk that is not in "view" of FvwmPager. I'd prefer this to be
> some sort of error, and ideally have fvwm beep and keep me on the current
> Desk. Is there any way to do this? The quickest fix I can think of is to
> hack FvwmPager to have its own Desk function, but this isn't very elegant.

Well, the man page says:

"Desktop numbers must be between 2147483647 and -2147483648 (is that
enough?)."

And of course, fvwm2 has no idea of how many pagers are running and what
range of pages they are covering. Theoretically, you could do:

FvwmPager -200 -198
FvwmPager 0 10

Still this seems like more flexibility than is called for.

If you work up a patch, I suggest a command like "DistinctDesktops n",
where "n" would limit the "distinct desktops" to 0 thru n.

Once there was a command setting a limit, then you would make changes
to the "desk" command, and FvwmPager to make sure that limit was
followed.

While researching this, I got confused by the commands, "Desk" and
"WindowsDesk" which take up to 2 arguments. The way it reads, you
would think that the 2 arguments are "workspace" and "room".

     Desk arg1 arg2
          Changes to another desktop (workspace, room).

          If arg1 is non zero then the next desktop number will
          be the current desktop number plus arg1. Desktop
          numbers can be negative.

          If arg1 is zero then the new desktop number will be
          arg2...

The rest of the documentation uses the terms "desktop" and "distinct
desktop". I would suggest that the man page would be clearer without
the words "workspace" and "room". These commands seem to change the
"distinct desktop".

> --
> Rob Lowrie \ Los Alamos National Laboratory
> lowrie_at_lanl.gov \ Scientific Computing, CIC-19, MS B256
> http://www.c3.lanl.gov/~lowrie/ \ Los Alamos, NM 87545 USA
> --

--
Dan Espen                                    Phone: (908) 699-5570
dane_at_bae.bellcore.com
444 Hoes Lane  Room RRC 1C-214
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Jul 11 1997 - 13:16:02 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST