Database:

General
With the database file you can control the appearance of different applications, windows and icons. You can control on what desk they will start (StartsOnDesk) what icon they will use (Icon, this will override the default icon as well). The entries will be used the way they come, so if you define
Style "*" NoTitle
as the last entry, no window will have a title. This is useful when you don't want to use any icons. You can define this with:
Style "*" NoIcon
as the very last entry since it will override all previous entries. To control xterms, xiterms, rxvts (hereinafter reffered to as terms) you need to give them a title and define the style in this file. So if you want a term to appear on desk 3 always you have to execute it with something like this:
xterm -T "XTERM on desk 3" &
and define this in the database:
Style "XTERM on desk 3" StartsOnDesk 3
The "-T" gives a title to the term (you can also use -title) so AS can identify it. If you don't know how the title of the program is that you want to define, you can use the Ident module to find it out.
New in AS 1.6.6 (and 1.6.0) is the option to start an application on a specified viewport (the default is, that every desk got 4 viewports).
ViewportX {x coordinate of page}
You can use this one to start an application on a specific page of a desk. The value should be the x coordinate of the page, relative to the top-left corner of desk. For instance, with a screen size of 1024x768, the argument value would be "1024" in order to open an application on the second column of pages.
ViewportY {y coordinate of page}
You can use this one to start app on a specific page of a desk. The value should be the coordinate of the page, relative to the top-left corner of the desk. For instance, with a screen size of 1024x768, the argument would be "768" in order to open an application on the second row of pages.
The config file
--------
##########################################################################
# Windows styles :
# (please send me more style links : programs -> defaults icon from AfterStep)
#
Style   "Wharf"         NoTitle, Sticky, StaysOnBack, WindowListSkip, NoHandles
# Let me explain this one:
# Style must be there, "Wharf" defines the name of the application or window,
# NoTitle means that you got no title bar at this window
# Sticky means that the window will stay on every desk and in every page
# StaysOnBack means that a window will stay before that window if it's 
# over it
# WindowListSkip means that this window wont appear in the window list
# NoHandles means that there will be no handles at the bottom of the window

Style   "Pager"         NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
# Here we got the same but StaysOnTop that means that this window will always
# be in the foreground

Style   "WinList"       NoTitle, Sticky, StaysOnBack, WindowListSkip, NoHandles
Style   "Banner"        NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "*clock"        StaysOnTop, WindowListSkip, NoHandles
Style   "ghostview"     Icon text.xpm
Style   "gimp"          Icon 3dpaint.xpm
# This ones are for the icons, you can define a pixmap that appears on the
# iconized window

Style   "*term"         Icon penguin.as.xpm
Style   "Untitled*"     Icon untitled.xpm
Style   "xcalc"         Icon xcalc.xpm
Style   "xli"           Icon monalisa.xpm
Style   "xman"          Icon xman.xpm
Style   "netscape"      StartsOnDesk 1
Style	"Netscape"	StartsOnDesk 1
Style   "xfmail"        StartsOnDesk 2
Style   "*doom"         StartsOnDesk 3
Style   "xpi"           StartsOnDesk 3
Style	"Applix*"       Sticky
Style   "Gwharf"        NoTitle, Sticky, StaysOnBack, WindowListSkip, NoHandles
Style   "Watcher"       Sticky
Style	"tkrat"		StartsOnDesk 2
Style	"pine"		StartsOnDesk 2
Style	"Fetchlog"	StartsOnDesk 2
Style	"gimp"		StartsOnDesk 3
Style	"xv"		StartsOnDesk 3
Style	"xarchie"	StartsOnDesk 1
Style	"xmftp"		StartsOnDesk 1
Style	"ncFtp"		StartsOnDesk 1
Style	"ncftp"		StartsOnDesk 1
Style	"Tin"		StartsOnDesk 2
Style	"addressbook"	StartsOnDesk 0
Style	"plan"		StartsOnDesk 0
Style	"nethack"	StartsOnDesk 3
Style	"xIrc"		StartsOnDesk 1
Style	"minicom"	StartsOnDesk 1
Style	"knews"		StartsOnDesk 2
Style	"NEWSFLASH"	StartsOnDesk 2
Style	"amaya"		StartsOnDesk 1
Style	"lynx"		StartsOnDesk 1
Style	"Lynx"		StartsOnDesk 1
Style	"Words"		StartsOnDesk 0
Style	"Spreadsheets"	StartsOnDesk 0
Style	"Graphics"	StartsOnDesk 0
Style	"HTML Authoring" StartsOnDesk 1
Style	"Builder"	StartsOnDesk 0
Style	"Macros"	StartsOnDesk 0
# This StartsOnDesk N means that the defined application/window will start
# on the defined desk. Very nice feature to keep order on your desks
# Even if you are working on Desk 1 "Builder" will start on Desk 0.
#
##########################################################################
--------


 
Back to the overview
[Back to the overview]
Back to the contents
[Back to the contents of the main directory]
forms
[See the forms configuration file]