Re: FVWM: Finding the number of desktops

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Mon, 22 Mar 2004 15:41:26 +0000

On 22 Mar 2004 04:09:29 +0000, Ukpong Ukpong wrote:
>
> Is there any way of finding out how many desktops there are....

There is currently no limit on desk numbers in FVWM, i.e. there are
infinite number of desks, negatively and positively numbered. To be
compliant with EWMH use positive numbers only and zero. This works:

  Next (XTerm) MoveToDesk 0 10000 # move a window to the desk number 10000
  Next (XTerm) MoveToDesk # move a window to the current desk

If you mean the desk size, i.e. the number of pages in each desk, then
the latest 2.4.x and 2.5.x version (but not the ones from one year ago)
have special variables for this, for example:

  Exec xmessage 'DeskTopSize is $[desk.pagesx]x$[desk.pagesy]'

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Mar 22 2004 - 09:44:41 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST