Index of /afterstep/download/asbutton

      Name                    Last modified       Size  Description

[DIR] Parent Directory 26-Aug-2009 16:01 - [TXT] CHANGES 29-Jan-2010 23:54 2k [   ] asbutton-0.1.tar.gz 29-Jan-2010 23:54 52k [   ] asbutton-0.1.tar.gz.asc 29-Jan-2010 23:54 1k [   ] asbutton-0.2.tar.gz 29-Jan-2010 23:54 96k [   ] asbutton-0.2.tar.gz.asc 29-Jan-2010 23:54 1k [   ] asbutton-0.3.tar.gz 29-Jan-2010 23:54 104k [   ] asbutton-0.3.tar.gz.asc 29-Jan-2010 23:54 1k

asbutton - Version 0.3

A simple dockable application launcher for use in AfterStep.  

It has two modes: 4 or 9 buttons.  You specify the button icons, 
tile and apps to launch in a config file. 

http://home.pacbell.net/ryanlath/asbutton.html
---------------------------------------------------------------------------

INSTALL:
--------
	Untar the file:
		tar xzf asbutton-0.3.tar.gz
		
	CD to src dir:
		cd asbutton-0.3
		
	Edit Makefile for compile options, icon install dir (ICONDIR), bin dir, etc.

	Compile it:
		make
		
	Change to root and install it:
		su -
		make install

	Copy the config file to your home dir and edit it!
		cp .asbuttonrc ~

	Insert the following line in your wharf config:
		*Wharf asbutton - Swallow "asbutton" asbutton  &
	
	Restart Wharf.

USAGE:
------
usage: asbutton [-g geometry] [-d dpy] [-n buttons] [-v] -f [file]

-g     geometry: ie: 64x64+10+10
-d     dpy:      Display. ie: 127.0.0.1:0.0
-n     buttons:  Number of buttons.  Must be 4 or 9.  
-f     file:     Full path to configuration file.
-v               Verbose Mode. 
-h               Help. This screen.

Left mouse button selects the application to launch.

NOTES:
------
This was modified from wmbutton by Ryan Lathouwers <ryanlath@pacbell.net> 
and Jack O'Neill.  

You can specify the default number of buttons by editing asbutton.h 

See .asbuttonrc for details on configuration options.

To have multiple asbuttons in wharf, you can use the same technique as 
having multiple wharfs.  Create a sym link to asbutton then use that as
the app in the wharf config file.  i.e.  Create a sym link called asbutton9 to asbutton.
Make a new config file in your home dir called .asbutton9rc.  Then add
the following two lines to the wharf config file:

	*Wharf asbutton - Swallow "asbutton" asbutton  &
	*Wharf asbutton4 - Swallow "asbutton4" asbutton9 -n 9 -f .asbutton9rc &

Restart wharf and you have one with 4 buttons and one with 9.