--- Tavis Ormandy <[EMAIL PROTECTED]> wrote: > > > --On Monday, March 22, 2004 04:09:29 +0000 Ukpong Ukpong > <[EMAIL PROTECTED]> wrote: > > > Is there any way of finding out how many desktops there are.... > > > > No, but there is a good reason for this... > > "The number of active desktops is determined dynamically. Only desktops > which contain windows or are currently being displayed are active. > Desktop > numbers must be between 2147483647 and -2147483648 (is that enough?)."
You could do something like (untested): ruby -ne'/desktopsize (\d+)x(\d+)/; puts( ($1.to_i * $2.to_i) )' ~~/fvwm/.fvwmrc -- Thomas Adam ===== "The Linux Weekend Mechanic" -- http://linuxgazette.net "TAG Editor" -- http://linuxgazette.net "<shrug> We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :)" -- Benjamin A. Okopnik (Linux Gazette Technical Editor) ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
