Re: Wharf+Pager+window move: feature or bug?

Graydon (oak@uniserve.com)
Fri, 10 Oct 2003 14:34:06 -0400



--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Oct 10, 2003 at 09:11:26AM -0500, Sasha Vasko scripsit:
> Also fixed should be problems with swallowing of Pager in Wharf, and
> swallowing of other applications in Wharf, that resize itself after
> the moment of being swallowed. Also Pager now should properly size
> itself if number of desks on command line differs from rows*cols in
> config file.

I now get a pager that swallows in the wharf, but the (2x3) pager
displays all of the left column and only a little bit of the right
column of the desktop, and otherwise doesn't work as a pager -- no small
images of open windows appear.

Since the background changed to default-grey when I clicked on it, I
suspect I've got the last of the sixteen pagers I was getting before. :)

I've attached my local pager, wharf, and autoexec files; someone please
let me know if I'm doing something stupid!

-- 
oak@uniserve.com | Uton we hycgan    hwaer we ham agen,
                 | ond thonne gedhencan    he we thider cumen.
                 |   -- The Seafarer, ll. 117-118.

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=autoexec

############################################################################
# Menus
#
#------------------------------------------------------------------------
# Execute on startup :
#

Function "InitFunction"
#	Module  "I"     Animate
	Module  "I"     MonitorWharf
	Wait    "I"     MonitorWharf
	Module  "I"     Wharf
	Wait    "I"     Wharf
#	Module  "I"     Pager 0 3
#	Module  "I"     WinList
#	Module  "I"	Banner
#	Wait    "I"     Banner
	Function "WorkspaceState"
# additions to default below:
# want to have the screensaver running
	Exec    "I"	/usr/X11R6/bin/xscreensaver &
# start netplan so sync-plan will behave
	Exec	"I"	/usr/local/lib/netplan &
# need these, or a whole lot of kde stuff chokes
	Exec	"I"	/usr/bin/artsd  -F 10 -S 4096 -n -s 60 -m artsmessage -l 3 -f
	Exec	"I"	/usr/bin/kded


EndFunction

#------------------------------------------------------------------------
# Execute on restart :
#

Function "RestartFunction"
# remove the following line if minimizing memory usage (see above):
#	Module  "I"     Animate
	Module  "I"     MonitorWharf
	Wait    "I"     MonitorWharf
	Module  "I"     Wharf
#	Wait    "I"     Wharf
#	Module  "I"     Pager 0 3
#	Module  "I"     WinList
EndFunction


--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=pager

#------------------------------------------------------------------------
# Pager
#

# Generalities
Balloons
BalloonXOffset		10
BalloonYOffset		-15
BalloonDelay		120
BalloonCloseDelay	3000
BalloonStyle		"*PagerBalloon"
BalloonBorderHilite	Right,Bottom

# Pager-executables name specific options
# That will override font specifyed in look. file styles

*PagerStickyIcons
#*PagerSmallFont		5x8

# Use it to decorate Pager to your liking.
# possible decoration parameters are :
#PagerDecoration option - possible values :
#   DeskBorderWidth #      - border width around desks
#   DeskBorderColor <color>- color of the border around desks
#                            (default is style's foreground)
#   NoPageSeparator        - removes lines separating one page from another
#   NoSelection            - removes frame surrounding selected page
#   SelectionColor <color> - color of the frame surrounding selected page
#   GridColor <color>      - defines color of page separating grid and desk
#                            borders
#   NoDeskLabel            - removes label from the desk
#   HideInactiveLabel      - use shaped extensions to hide labels of inactive
#                            desks
#   LabelBelowDesk         - will place label below desk vs. above

*PagerDecoration  DeskBorderWidth 1, NoDeskLabel, DeskBorderColor BaseDark, GridColor Inactive2Dark, SelectionColor HighActiveLight
#*PagerDecoration  DeskBorderWidth 1, DeskBorderColor BaseDark, GridColor Inactive2Dark, SelectionColor HighActiveLight

*PagerGeometry       64x64+0-0
#*PagerGeometry       64+0-0
#*PagerGeometry       +0-0

# PagerStyle is used to define look of Pager's desk window.
# Relevant look must be defined in your look file or in this file
# Note that look file's definition will override definition in here

*PagerStyle     0       DeskStyle
*PagerStyle     1       DeskStyle
*PagerStyle     2       DeskStyle
*PagerStyle     3       DeskStyle

# use *PagerDontDrawBg  with xearth, xfishtank, ... to avoid redrawing
# background
#*PagerDontDrawBg
*PagerAlign          0
*PagerLabel          0       Work
*PagerLabel          1       WWW
*PagerLabel          2       Mail
*PagerLabel          3       Games
*PagerRows	     1
*PagerColumns        1
*PagerShadeButton	 default-shade-dark 		 default-shade-dark-pressed
#*PagerIconGeometry	+0-0
#*PagerStartIconic

##########################################################################
########    Unless you know why these entries below	##################
########    are here,  gnore them!	Thank you.	##################
##########################################################################
*WPagerStickyIcons
*WPagerSmallFont      5x8
*WPagerGeometry       -0-1
*WPagerStyle          0       DeskStyle
*WPagerAlign          0
*WPagerLabel          0       Work
#*WPagerDontDrawBg
*WPagerRows           1
*WPagerColumns        1
*XPagerStickyIcons
*XPagerSmallFont      5x8
*XPagerGeometry       -0-1
*XPagerStyle          1       DeskStyle
*XPagerAlign          0
*XPagerLabel          1       WWW
#*XPagerDontDrawBg
*XPagerRows           1
*XPagerColumns        1
*YPagerStickyIcons
*YPagerSmallFont      5x8
*YPagerGeometry       -0-1
*YPagerStyle          2       DeskStyle
*YPagerAlign          0
*YPagerLabel          2       Mail
#*YPagerDontDrawBg
*YPagerRows           1
*YPagerColumns        1
*ZPagerStickyIcons
*ZPagerSmallFont      5x8
*ZPagerGeometry       -0-1
*ZPagerStyle          3       DeskStyle
*ZPagerAlign          0
*ZPagerLabel          3       Games
#*ZPagerDontDrawBg
*ZPagerRows           1
*ZPagerColumns        1

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename=wharf
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by daphne.lathi.net id h9AIY20x031457

#########################################################################=
#
# Wharf
#
#------------------------------------------------------------------------=
      =20
# Background
#
#   0 - No texture
#   1 - Wharf-style gradient                            ^-
#   2 - Horizontal one way gradient                     =AF-_
#   3 - Horizontal from top/bottom to center            =3D-=3D
#   4 - Vertical one way gradient from left to right    ||| | |  | |
#   5 - Vertical from left/right to center              >>>>>><<<<<<
# 128 - User defined pixmap

*WharfAnimate
*WharfAnimateMain
*WharfAnimateDelay	0
*WharfAnimateSteps	5
*WharfAnimateStepsMain	5
#*WharfWithdrawStyle	3
*WharfWithdrawStyle	4

*WharfBalloons
#*WharfBalloonFore	snow
#*WharfBalloonBack	blue3
#*WharfBalloonFont	-adobe-helvetica-bold-o-*-*-12-*-*-*-*-*-*-*
#*WharfBalloonBorderWidth 0
#*WharfBalloonBorderColor Grey30
#*WharfBalloonDelay	120
*WharfBalloonYOffset	-1

#------------------------------------------------------------------------
# Buttons
#
*WharfFullPush
#*WharfNoPush
*WharfNoBorder

#------------------------------------------------------------------------
# Geometry
#
#*WharfForceSize
#*WharfRows		1
*WharfColumns		1
*WharfGeometry		+0+0


#------------------------------------------------------------------------
# Entries
#
# NOTE:	as<app-name> programs require the APPS
#	tarball which is separate from the core release.

#
# clock
#
#*Wharf - - MaxSwallow "asclock" /usr/bin/X11/asclock -24 -led blue2 &
*Wharf asclock - Swallow "asclock" asclock -24 -led blue2 -noblink -exe /=
usr/bin/kcontrol &
#*Wharf wmtime - Swallow "wmtime" wmtime &
#
# System load
#
#*Wharf asload - Swallow "asload" asload -shape -led CornflowerBlue &
#*Wharf wmmon - Swallow "wmmon" wmmon &
*Wharf ascpu - Swallow "ascpu" ascpu -standout -sys SteelBlue2 -user ligh=
tslateblue -nice violet &

#
# Pagers
#=20
*Wharf Pager - SwallowModule "Pager" Pager 0 0

#
# System load monitor
#
#*Wharf asmon - Swallow "asmon" asmon &

#
# Network load monitor
#
*Wharf wmnet - Swallow "wmnet" wmnet -l -r slateblue1 &

#
# System memory monitor
#
#*Wharf asmem - Swallow "asmem" asmem &


#
# Mail
#
*Wharf asmail - Swallow "asmail" asmail &

#
# KDE applications, including a lot of KOffice
#
*Wharf KOffice /usr/share/icons/default.kde/48x48/apps/go.png,3_dots.xpm =
Folder
	*Wharf kcalc /usr/share/icons/default.kde/48x48/apps/kcalc.png Exec "-" =
/usr/bin/kcalc &
	*Wharf konsole /usr/share/icons/default.kde/48x48/apps/konsole.png Exec =
"-" /usr/bin/konsole &
	*Wharf kscd /usr/share/icons/default.kde/48x48/apps/kscd.png Exec "-" /u=
sr/bin/kscd &
	*Wharf kword /usr/share/icons/hicolor/48x48/apps/kword.png Exec "-" /usr=
/bin/kword &
	*Wharf kspread /usr/share/icons/hicolor/48x48/apps/kspread.png Exec "-" =
/usr/bin/kspread &
	*Wharf kspresenter /usr/share/icons/hicolor/48x48/apps/kpresenter.png Ex=
ec "-" /usr/bin/kpresenter &
	*Wharf quanta /usr/share/icons/hicolor/48x48/apps/quanta.png Exec "-" /u=
sr/bin/quanta &
	*Wharf kmail /usr/share/icons/default.kde/48x48/apps/kmail.png Exec "-" =
/usr/bin/kmail &
#	*Wharf kinkatta /usr/share/apps/kinkatta/pics/kinkatta.png Exec "-" /us=
r/bin/kinkatta &
	*Wharf gaim /usr/share/pixmaps/gaim.png Exec "-" /usr/bin/artsdsp /usr/b=
in/gaim &
	*Wharf kit /usr/share/icons/default.kde/48x48/apps/kit.png Exec "-" /usr=
/bin/kit &
*Wharf ~Folder
#
# lock the screen now, don't wait about
#
#*Wharf lock KeysOnChain.xpm Exec "-" /usr/X11R6/bin/xscreensaver-command=
 -lock

#
# many browsers
#
*Wharf Browsers Netsurfer.xpm,3_dots.xpm Folder
    *Wharf konqueror /usr/share/icons/default.kde/48x48/apps/konqueror.pn=
g Exec "-" /usr/bin/konqueror &
    *Wharf galeon NetworkedGlobe.png Exec "-" /usr/bin/galeon &
    *Wharf opera ximian-opera.png Exec "-" /usr/bin/opera &
    *Wharf mozilla /usr/share/pixmaps/mozilla-firebird.png Exec "-" /usr/=
bin/MozillaFirebird &
    *Wharf xine /usr/share/pixmaps/xine_48x48.png Exec "-" /usr/bin/xine =
&
    &=20
    *Wharf kaffeine /usr/share/icons/hicolor/48x48/apps/kaffeine.png Exec=
 "-" /usr/bin/kaffeine &=20
    *Wharf realplayer Radio.xpm Exec "-" /usr/bin/artsdsp /usr/bin/realpl=
ay &=20
*Wharf ~Folder

# scheduling tools
*Wharf Scheduling Time2.xpm,3_dots.xpm Folder
#    *Wharf aspostit - Swallow "aspostit"  /usr/local/bin/aspostit -fn 10=
x20 &
    *Wharf kjots /usr/share/icons/default.kde/48x48/apps/kjots.png Exec "=
-" /usr/bin/kjots &
    *Wharf plan time.xpm Exec "-" /usr/local/bin/plan -S &
    *Wharf jpilot ThreePeopleBehindPencilTablet.xpm Exec "-" /usr/bin/jpi=
lot
    *Wharf sync_plan pov-ballz5.xpm Exec "-" /home/graydon/bin/sync-plan =
/dev/pilot ~/.plan.dir
#    *Wharf Bubble /usr/share/pixmaps/frozen-bubble.png Exec "-"
#    /usr/bin/frozen-bubble &
*Wharf ~Folder


#
# Applications
#
*Wharf Applications scribe.xpm,3_dots.xpm Folder
    *Wharf aterm PenguinWithShell.xpm Exec "-"  aterm -geometry 100x30 -s=
r -bg black -fg bisque -sl 1000 -vb -fn 12x24 -transparent &
    *Wharf xfig Draw.xpm Exec "-" /usr/X11R6/bin/xfig &
    *Wharf gimp /usr/share/pixmaps/gimp.png Exec "-" /usr/bin/gimp &
    *Wharf Acrobat PDF.xpm Exec "-" /usr/bin/acroread &
    *Wharf Ted clipboard.xpm Exec "-" /usr/local/bin/Ted &
    *Wharf LyX lyx.xpm Exec "-" /usr/bin/lyx &
    *Wharf TeXmacs TeXmacs.xpm Exec "-" /usr/bin/texmacs &
#    *Wharf OpenOffice ximian-staroffice.png Exec "-" /misc/OpenOffice.or=
g1.0/soffice &
*Wharf ~Folder
# APM monitor; only useful for laptop
#
#*Wharf asapm - Swallow "asapm" asapm &

#
# Exit
#
#*Wharf QuitForm neonbtile.xpm Module "QuitForm" Form QuitForm
*Wharf Quit neonbtile.xpm Quit "" afterstep

#
#########################################################################=
###


--Qxx1br4bt0+wmkIi--
_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users