Thanks for the suggestions, guys. I'm not there yet, but have made
progress. I'll report back later.

- Bill
(Sent from my Samsung Galaxy Note 2.)
 On Jun 11, 2013 11:00 AM, <stumpwm-devel-requ...@nongnu.org> wrote:

> Send Stumpwm-devel mailing list submissions to
>         stumpwm-devel@nongnu.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
> or, via email, send a message with subject or body 'help' to
>         stumpwm-devel-requ...@nongnu.org
>
> You can reach the person managing the list at
>         stumpwm-devel-ow...@nongnu.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Stumpwm-devel digest..."
>
>
> Today's Topics:
>
>    1. Re: Totally confused about starting up applications...
>       (Bill Zimmerly)
>    2. Re: Totally confused about starting up applications...
>       (Servilio Afre Puentes)
>    3. Re: Totally confused about starting up applications...
>       (Bill Zimmerly)
>    4. Re: Totally confused about starting up applications...
>       (Servilio Afre Puentes)
>    5. Re: Totally confused about starting up applications...
>       (Stefan Reich?r)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 10 Jun 2013 12:48:56 -0500
> From: Bill Zimmerly <billzimme...@gmail.com>
> To: Servilio Afre Puentes <afrep...@rhpcs.mcmaster.ca>
> Cc: StumpWM Developers <stumpwm-devel@nongnu.org>
> Subject: Re: [STUMP] Totally confused about starting up
>         applications...
> Message-ID:
>         <
> cabyvin+yqzuy85zccyx_ppcureq4-k-y_ht+gdhw0ru4w1v...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thank you for the quick reply, Servilio!  :)
>
> On Mon, Jun 10, 2013 at 10:41 AM, Servilio Afre Puentes <
> afrep...@rhpcs.mcmaster.ca> wrote:
>
> > Bill Zimmerly <billzimme...@gmail.com> 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
> >
>
> - Bill
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.nongnu.org/archive/html/stumpwm-devel/attachments/20130610/cee620b2/attachment.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Mon, 10 Jun 2013 14:44:14 -0400
> From: Servilio Afre Puentes <afrep...@rhpcs.mcmaster.ca>
> To: Bill Zimmerly <billzimme...@gmail.com>
> Cc: StumpWM Developers <stumpwm-devel@nongnu.org>
> Subject: Re: [STUMP] Totally confused about starting up
>         applications...
> Message-ID: <871u89ajr5....@goose.csu.mcmaster.ca>
> Content-Type: text/plain
>
> Bill Zimmerly <billzimme...@gmail.com> writes:
>
> > Thank you for the quick reply, Servilio!  :)
>
> You are welcome!
>
> [...]
> > 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:
> [...]
>
> Are the groups without the :create flag already created? If they are,
> have you checked the conditions (role, class, etc) actually match to the
> ones that the application windows have? Also, I see that XTerm is
> matched several times, have checked that not being a source of issues?
>
> Servilio
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 10 Jun 2013 14:11:59 -0500
> From: Bill Zimmerly <billzimme...@gmail.com>
> To: Servilio Afre Puentes <afrep...@rhpcs.mcmaster.ca>
> Cc: StumpWM Developers <stumpwm-devel@nongnu.org>
> Subject: Re: [STUMP] Totally confused about starting up
>         applications...
> Message-ID:
>         <
> cabyvinjzms+zlglsyvaey6lzmouo538jsc+fx-x4ejmvr8q...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Mon, Jun 10, 2013 at 1:44 PM, Servilio Afre Puentes <
> afrep...@rhpcs.mcmaster.ca> wrote:
>
> > Bill Zimmerly <billzimme...@gmail.com> writes:
> >
> Are the groups without the :create flag already created?
> >
>
> How can I tell?
>
> Keep in mind that this is the only startup example in the doc directory, so
> I'm given no instructions on what to do other than to rename it to
> .stumpwmrc and start the WM.
>
> If I, for example, enter the Prefix-G command, all I see is a message that
> says, "1*Default" appear on the screen for about five seconds. (???) What
> next???
>
>
> > If they are,
> > have you checked the conditions (role, class, etc) actually match to the
> > ones that the application windows have? Also, I see that XTerm is
> > matched several times, have checked that not being a source of issues?
> >
>
> All that I did was to make sure that I have those programs installed
> (XTerm, Ardour, aMule, etc.)
>
>
> > Servilio
> >
>
> Servilo, I appreciate your help, and when I finally get this thing working,
> I'll be writing up step-by-step instructions that can be posted to the Wiki
> about how to START using this tool. As it is, all we're given is an example
> file for a .stumpwmrc, some very terse documentation, and a lot of email
> messages archived. I use Google to try to find other information too.
>
> The problem with systems like this are that while it is relatively easy to
> find snippets of information (code) to see how others do things, it is the
> missing information that trips up people! Missing information such as you
> pointed out - how was I to know that groups are supposed to be created
> before running the example RC file the first time?
>
> This is how I will contribute back to the community, once I know how to do
> it myself.
>
> - Bill
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.nongnu.org/archive/html/stumpwm-devel/attachments/20130610/183cfab5/attachment.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Mon, 10 Jun 2013 15:16:10 -0400
> From: Servilio Afre Puentes <afrep...@rhpcs.mcmaster.ca>
> To: Bill Zimmerly <billzimme...@gmail.com>
> Cc: StumpWM Developers <stumpwm-devel@nongnu.org>
> Subject: Re: [STUMP] Totally confused about starting up
>         applications...
> Message-ID: <87y5ah93ph....@goose.csu.mcmaster.ca>
> Content-Type: text/plain; charset=utf-8
>
> Bill Zimmerly <billzimme...@gmail.com> writes:
>
> > On Mon, Jun 10, 2013 at 1:44 PM, Servilio Afre Puentes <
> > afrep...@rhpcs.mcmaster.ca> wrote:
> >
> >> Bill Zimmerly <billzimme...@gmail.com> writes:
> >>
> > Are the groups without the :create flag already created?
> >>
> >
> > How can I tell?
> >
> > Keep in mind that this is the only startup example in the doc directory,
> so
> > I'm given no instructions on what to do other than to rename it to
> > .stumpwmrc and start the WM.
> >
> > If I, for example, enter the Prefix-G command, all I see is a message
> that
> > says, "1*Default" appear on the screen for about five seconds. (???) What
> > next???
>
> You have to create them manually before the use of
> define-frame-preference. I have the following in my configuration file:
>
> (when *initializing*
>   (mapcar #'gnewbg
>           '(
>             "mail"
>             "org"
>             "chat"
>             "music"
>             "web"
>             "admin"
>             "devel"
>             "docs"
>             "monitoring"
>             )))
>
> >> If they are,
> >> have you checked the conditions (role, class, etc) actually match to the
> >> ones that the application windows have? Also, I see that XTerm is
> >> matched several times, have checked that not being a source of issues?
> >>
> >
> > All that I did was to make sure that I have those programs installed
> > (XTerm, Ardour, aMule, etc.)
>
> The info command is bound to ?C-t i?, showing the dimensions, window
> number and title of the current window. I added the following:
>
> (define-key *root-map* (kbd "I") "info %g :: %r :: %c")
>
> To show the gravity, role and class. With this is easier to manually
> write frame preferences by inspecting the windows you want to write
> rules for.
>
> >> Servilio
> >
> > Servilo, I appreciate your help, and when I finally get this thing
> working,
> > I'll be writing up step-by-step instructions that can be posted to the
> Wiki
> > about how to START using this tool. As it is, all we're given is an
> example
> > file for a .stumpwmrc, some very terse documentation, and a lot of email
> > messages archived. I use Google to try to find other information too.
> >
> > The problem with systems like this are that while it is relatively easy
> to
> > find snippets of information (code) to see how others do things, it is
> the
> > missing information that trips up people! Missing information such as you
> > pointed out - how was I to know that groups are supposed to be created
> > before running the example RC file the first time?
> >
> > This is how I will contribute back to the community, once I know how to
> do
> > it myself.
>
> That will be great!
>
> Servilio
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 10 Jun 2013 21:27:55 +0200
> From: Stefan Reich?r <ste...@xsteve.at>
> To: Bill Zimmerly <billzimme...@gmail.com>
> Cc: StumpWM Developers <stumpwm-devel@nongnu.org>
> Subject: Re: [STUMP] Totally confused about starting up
>         applications...
> Message-ID: <877gi1yddw....@xsteve.at>
> Content-Type: text/plain; charset=us-ascii
>
> Bill Zimmerly <billzimme...@gmail.com> writes:
>
> > Hello StumpWM Developers,
> >
> > My name is Bill Zimmerly and I am new to using this window manager.
> >
> > I think it shows tremendous promise as exactly the WM I've been looking
> > for, but it's sometimes difficult to find the information I need to
> modify
> > it.
> >
> > So far, I have a good .stumpwmrc file that does a lot of what I want to
> do
> > in configuring stumpwm at startup, but there is one area that I find
> > bewilderingly complex: startup applications and configuration of their
> > windows! (Something that I can see is a STRENGTH of stumpwm, but I just
> > can't seem to "grok" how.)
> >
> > 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
> >
> > I also get confused by what exactly a "group" is. I think it's the same
> as
> > a "workspace" in Gnome, for example, but I'm just not sure.
>
> Take a look at my configuration:
>
> http://www.xsteve.at/prg/stumpwm/
>
> I don't start the applications at startup. However they are started
> using run-or-raise when I first use them. I am happy with this approach.
>
> You could try to use run-shell-command to start an application.
>
> I use it for example to do this on startup:
>
> (run-shell-command "setxkbmap -model evdev")
>
>
>
> Stefan.
>
>
>
> ------------------------------
>
> _______________________________________________
> Stumpwm-devel mailing list
> Stumpwm-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
>
>
> End of Stumpwm-devel Digest, Vol 98, Issue 2
> ********************************************
>
_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to