Jeremy Dinsel writes:
> Is it possible to have shortcuts to applications on the fvwm desktop? To
> my knowledge, it is only possible to have icons on the desktop that are
> actively running. I would like a method for quick access to programs
> through inactive icons that launch programs when double clicked
> (unfortuantely, I can only compare it to micro-stuff desktop icons in
> 95/nt).
The below function might be modified to solve (the easiest) part of your
problem:
AddToFunc Create I Next [$0] Iconify -1
+ I Next [$0] Focus
+ I None [$0] Exec $1
+ I Wait $0
+ I Next [$0] Focus
It is used as follows:
Key n A 3 Create Navigator "detach netscape"
i.e. the first parameter is a name that will match (the main window of)
the application, and the second parameter is the command line to start
it if it is not already running. When invoked, the function will
deiconify and give focus to the application if it exists, and launch it
if is does not exist.
The second part of your problem would be to create the icons and bind
some similar function to them. Others will probably have better ideas
there; I don't use icons, and I avoid the mouse.
- Håvard Fosseng
--
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 Sat Feb 28 1998 - 11:17:09 GMT