On Mon, Jun 10, 2013 at 10:41 AM, Servilio Afre Puentes
<address@hidden> wrote:
Bill Zimmerly <
address@hidden> writes:
> Can someone show me some exact startup code that will do this? (See below)
>
> Workspace 1 (3 windows)
> Top/Left = Xterm
> Bottom/Left = Totem
> Right = Firefox
>
> Workspace 2 (2 windows)
> Left = Xterm
> Right = Emacs
Have taken a look to define-frame-preference?
I used the "define-frame-reference" code in the example file, but it doesn't seem to do anything! Here is the code snippet and when the WM starts up, I see -nothing- but a blank screen and a mouse pointer:
;;; Define window placement policy...
;; Clear rules
(clear-window-placement-rules)
;; Last rule to match takes precedence!
;; TIP: if the argument to :title or :role begins with an ellipsis, a substring
;; match is performed.
;; TIP: if the :create flag is set then a missing group will be created and
;; restored from *data-dir*/create file.
;; TIP: if the :restore flag is set then group dump is restored even for an
;; existing group using *data-dir*/restore file.
(define-frame-preference "Default"
;; frame raise lock (lock AND raise == jumpto)
(0 t nil :class "Konqueror" :role "...konqueror-mainwindow")
(1 t nil :class "XTerm"))
(define-frame-preference "Ardour"
(0 t t :instance "ardour_editor" :type :normal)
(0 t t :title "Ardour - Session Control")
(0 nil nil :class "XTerm")
(1 t nil :type :normal)
(1 t t :instance "ardour_mixer")
(2 t t :instance "jvmetro")
(1 t t :instance "qjackctl")
(3 t t :instance "qjackctl" :role "qjackctlMainForm"))
(define-frame-preference "Shareland"
(0 t nil :class "XTerm")
(1 nil t :class "aMule"))
(define-frame-preference "Emacs"
(1 t t :restore "emacs-editing-dump" :title "...xdvi")
(0 t t :create "emacs-dump" :class "Emacs"))
Servilio