Vincent Janelle wrote:
> On Tue, 17 Oct 2000 20:19:35 -0400
> Luc Bergeron <[EMAIL PROTECTED]> mumbled:
>
> > How can I start an application in a certain workspace on the blackbox
> > startup ?
>
> If you searched the mail archives, you would've read the discussion
> about how this can't be done.. There are no standards for doing this yet.
But you *can* do it. If you download the highly experimental bbappconf
application, figure out how to configure it based on the pre-alpha quality
documentation and by guess and by god.
I have 4 workspaces, and my /usr/local/share/bbtools/bbappconf.bb looks like:
!Uncomment what you need
!Number of windows to configure
bbappconf.numberOf.configs: 3
! For now only classhints (name and/or class) can be used to select window
! You can use clashint name and/or classhint class,
! if both are specified both should match.
! To find classhint use xprop: WM_CLASS(string) = "name", "class"
! To set only the mainwindow of licq sticky and decorless :
bbappconf.1.classHint.class: Netscape
!bbappconf.1.classHint.name: Netscape
!bbappconf.1.Stick: true
!bbappconf.1.decorless: true
bbappconf.1.startOnWorkspace: 4
! start xterm with "xterm -name workspace2"
bbappconf.2.classHint.class: XTerm
bbappconf.2.classHint.name: Workspace2
!bbappconf.2.Stick: true
!bbappconf.2.decorless: true
bbappconf.2.startOnWorkspace: 2
bbappconf.3.classHint.class: XTerm
bbappconf.3.classHint.name: Workspace3
bbappconf.3.startOnWorkspace: 3
! ** auto reconfigure when config-file has changed **
bbappconf.autoConfig: True
! ** number of seconds between checks **
!bbappconf.autoConfig.checkTimeout: 10
!** position of bbappconf window **
bbappconf.position: +0-0
And my .xinitrc looks like:
blackbox & wmpid=$!
bbappconf -w &
bbpager -w &
xterm -sb -geometry 80x24+20+20 &
xterm -sb &
xterm -sb -name "Workspace2" &
xterm -sb -name "Workspace2" &
xterm -sb -name "Workspace3" &
netscape -mail &
wait $wmpid # Wait for wm (key client) to exit
And that gives me two xterms in both Workspace 1 and Workspace 2, one in
Workspace 3, and Netscape Mail in Workspace 4.
--
Paul Tomblin, Software Developer
---begin stuff I'm forced to include--
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain confidential or privileged information. If you are not the intended
recipient, please notify SunGard Trading Systems immediately at (201)
617-2600 or [EMAIL PROTECTED], and destroy all copies of this message and
any attachments.
--end--
Leader Kibo does not require the preceeding disclaimer, but it is allowed.
Sorry, George.