stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] Stumpwm-devel Digest, Vol 98, Issue 2


From: Bill Zimmerly
Subject: Re: [STUMP] Stumpwm-devel Digest, Vol 98, Issue 2
Date: Wed, 12 Jun 2013 00:31:56 -0500

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]