I'm close guys, but I just don't know how to solve the latest problem. Here
is the code that I have at the end of my .stumpwmrc file:

;; Now to load a saved desktop and fill it up! (Cross your fingers.)
(defun myws ()
  (restore-from-file "~/bin/stump/desktop.stump")
  (run-commands "exec totem")
  (run-shell-command "sleep 5s")
  (run-commands "fnext")
  (run-commands "emacs")
  (run-shell-command "sleep 5s")
  (run-commands "fnext")
  (run-commands "exec firefox"))

(myws)

I restore the desktop layout (which works) and then attempt to fill the
frames with running programs. I thought "sleep 5s" would help, but it
didn't.

I also tried using:

 (restore-from-file "~/bin/stump/desktop.stump")
 (run-commands "exec totem" "fselect 1" "emacs" "fselect 2" "exec firefox")

And:

 (restore-from-file "~/bin/stump/desktop.stump")
 (run-commands "exec totem" "fnext" "emacs" "fnext" "exec firefox")

In each case, the programs all come up perfectly, but I just can't seem to
have them start up in the appropriate frames I have set up for them.

Please help.
- Bill
_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to