Re: FVWM: the use of DesktopName

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 22 May 2004 21:13:44 +0000

On 22 May 2004 22:26:16 +0200, Joolz wrote:
>
> I'm experimenting a bit and gave some names to my desktops, like this:
>
> DesktopName 0 log
> DesktopName 1 brow
>
> Now I can display these names, but can I do anything else with them?

These are desk labels, not alternative ids. Some modules use these labels.

> Something like "Key 1 A MC GotoDesk 0 log" doesn't work...

You can't have a number-by-name lookup (the names may even not be
unique), but you may have a name-by-number lookup. Try this, for example:

  AddToMenu SwitchDesk
  + "Goto desk $[desk.name0]" GotoDesk 0
  + "Goto desk $[desk.name1]" GotoDesk 1
  + "Goto desk $[desk.name2]" GotoDesk 2
  + "Goto desk $[desk.name3]" GotoDesk 3

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 Sat May 22 2004 - 16:16:15 BST

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