Re: opening aterms in specific panes of a desktop
charlie schmidt (ishamael@yifan.net)
Wed, 5 Jan 2000 20:21:38 -0500
-
the Style "red aterm" is incorrect
the thing in quotes should be the WM_NAME
the WM_NAME can be found by running Ident on the window
since you use -title "Mr.Red" unless your shell or another
application
changes this setting, the WM_NAME is "Mr.Red"
therefore, use
Style "Mr.Red" StartsonDesk 1
etc etc
you can also specify it with true X geometry.. look at John
Gruenenfelders
mail for information on that.
On Wed, 05 Jan 2000 18:17:44 Andrew O'Callaghan wrote:
Hi.
I want to be able to open some aterms in specific panes of a
desktop. I like to have 5 or 6 aterms open at once, and am getting
sick of moving them around each time I start a session. I use
specific coloured aterms for various applications, ie. one for a
mail tool, one for root usage, etc.
I tried to create a shell script that contained how I wanted a
particular aterm to be opened, ie. I made a file called red_aterm,
containing the following:
#!/bin/bash
aterm -title "Mr. Red" +rv +vb -tr -bg black -fg white -tint red
-sh 60 -geometry 106x50+7+6 &
Then I tried to add an entry into the database file to open the
red_aterm "application" in a specific pane and desktop. Here are
the appropriate lines in the database file:
Style "red_aterm" StartsonDesk 1
Style "red_aterm" ViewportX 2
Style "red_aterm" ViewportY 3
I also tried:
Style "red_aterm" StartsonDesk 1,ViewportX 2,ViewportY 3
This didn't seem to work. Is what I am proposing possible? Any
ideas would be appreciated.
regards,
Andrew O'C
-
charlie schmidt ishamael@themes.org
http://as.themes.org http://afterstep.davidv.net
as.t.o project manager AfterStep FAQ
--
This is the mailing list for the AfterStep Window Manager for X. To
unsubscribe, type the following command at the prompt 'mail -s unsubscribe
as-users-request@afterstep.org'. For more help on AfterStep, refer to the
on-line documentation at http://www.afterstep.org.