FVWM: Sticky windows don't stay activated?

From: Heiko Klein <Heiko.Klein_at_ikp.uni-koeln.de>
Date: Fri, 22 Sep 2000 11:17:16 +0200 (MET DST)

Hi,

I just switched from fvwm to fvwm2.2.4. I configured it look the same as
the old one.

But there're two differences:

A sticky window doesn't stay activated when switching from one Desk to
another. I have to go out of the window and in again to reactivate it.


Menus stay on the desk until I press another button. In fvwm, they
disappeared when releasing the button. (I liked this more, but I'm sure
I simply missed an option.)

Thanks in advance,

Heiko Klein


Here's my .fvwm2rc:

##########################################################################
# FVWM - F? Virtual Window Manager, Version 2.x (fvwm2) Configuration File
# Created April 1996
#

##########################################################################
# PATH Setup
#
# Not normally needed; use configure to set defaults at compile time.
#
# IMPORTANT: if you decide to set a ModulePath, please note that modules
# are normally installed into a version-dependent
# directory. Be sure to update this file after installing
# a new version.
#
# Colon seperated unix directory paths for Modules, xpm files, and bitmaps
#ModulePath /usr/local/libexec/fvwm/2.x.y
#PixmapPath /usr/include/X11/pixmaps:/usr/local/include/X11/pixmaps
#IconPath /usr/include/X11/bitmaps

############################################################################
# COLORS and FONTS
#
# Set the fore and back border colors for the window that has focus
HilightColor linen SteelBlue1

# Set fore/back border colors for all other windows
Style "*" Color linen/SteelBlue4

# Set colors/font for pop-up menus
# Syntax: MenuStyle forecolor backcolor shadecolor font style(fvwm/mwm)
MenuStyle maroon grey60 grey40 -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-* fvwm
#MenuStyle black grey slategrey 7x13bold fvwm

# Set fonts to use on title bar and icon label
WindowFont 9x15
# WindowFont -adobe-times-bold-r-*-*-18-*-*-*-*-*-*-*
IconFont 9x15
# IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*

############################################################################
# ICON Setup
#
# Auto Place Icons is a nice feature (Left Top Right Bottom)
#Style "*" IconBox -215 200 -1 -100
Style "*" IconBox 85 60 150 160
#Style "*" IconBox 5 -100 -140 -5

# If you don't want icons for some or all windows (or all of them!)
#Style "*" NoIcon

# If you want ALL icons to follow you around the desktop (Sticky)
#Style "*" StickyIcon

############################################################################
# FOCUS Setup
#
# Does the window with focus control the colormap, or the one under the mouse
# ColormapFocus FollowsFocus
# ColormapFocus FollowsMouse

# Uncomment this to force you to click in a window to give it focus
#Style "*" ClickToFocus

# default: focus follows mouse
Style "*" MouseFocus

# If you knock your mouse out of the xterm, it keeps focus while in root window
Style "*term" SloppyFocus

############################################################################
# MISC Setup
#
# click/release must occur in <n milliseconds to be a "click"
#ClickTime 250

# if the window occupies less than n% of the screen, draw it opaque
OpaqueMoveSize 5

# flip by whole pages on the edge of the screen, but delay for a half second
EdgeScroll 100 100
EdgeResistance 500 20

# MWM Emulation: Don't ignore hints for functions and transient decoration
#Style "*" MWMFunctions, MWMDecor

# Changes the look of the "rubberband" you see when moving windows (0 - 255)
#XORvalue 100

###########################################################################
# PAGER Setup
#
# set the desk top size in units of physical screen size (width x height)
DeskTopSize 1 1

############################################################################
# WINDOW Placement
#
# SmartPlacement makes new windows pop-up in blank regions of screen
Style "*" SmartPlacement

# If SmartPlacement fails, this places it randomly instead of making you do it
Style "*" RandomPlacement

############################################################################
# STYLE Flag Setup
#
# (decorations and window options)
# Note: Order is important!! If compatible styles are set, styles are ORed
# together. If conflicting styles are set, the last one specified is used.

# change the default width, set a global icon, and give borders to popups
#Style "*" BorderWidth 7, HandleWidth 7, Icon x.xpm, DecorateTransient

Style "Fvwm*" NoTitle, Sticky, WindowListSkip
Style "plan" NoTitle, Sticky, WindowListSkip,BorderWidth 2
Style "Clock" NoTitle, NoHandles, Sticky, WindowListSkip,BorderWidth 2
Style "*biff" NoTitle, NoHandles, Sticky, WindowListSkip,BorderWidth 2
Style "*clock" NoTitle, NoHandles, Sticky, WindowListSkip,BorderWidth 2
Style "*load" NoTitle, NoHandles, Sticky, WindowListSkip,BorderWidth 2
Style "ptee" NoTitle, NoHandles, Sticky, WindowListSkip,BorderWidth 2
Style "xosview" NoTitle, NoHandles, WindowListSkip,BorderWidth 2
Style "perfmeter" NoTitle, Sticky, WindowListSkip,BorderWidth 2
Style "hydra's top 5" NoTitle,NoHandles,Sticky,WindowListSkip,BorderWidth 2
Style "henlein's top 5" NoTitle,NoHandles,Sticky,WindowListSkip,BorderWidth 2
Style "top" NoTitle, NoHandles, Sticky, WindowListSkip,Borderwidth 2
Style "bash" NoTitle, NoHandles, Sticky, SloppyFocus
Style "emacs19" NoTitle, Borderwidth 2
Style "*etscape*" NoTitle, Borderwidth 2
Style "*" NoTitle, Borderwidth 2
Style "TodtButtons" NoTitle,NoHandles,Sticky,StaysOnTop

#############################################################################
# START-UP Functions
#
AddToFunc "InitFunction" "I" Module FvwmCommandS
#+ "I" Module FvwmPager 0 3
#+ "I" Module FvwmAudio
+ "I" Next [!iconic CurrentScreen xterm] Focus
#+ "I" CursorMove 30 40

AddToFunc "RestartFunction" "I" Module FvwmCommandS
#+ "I" Module FvwmPager 0 0
#+ "I" Module FvwmAudio
+ "I" Next [!iconic CurrentScreen xterm] Focus
#+ "I" CursorMove 30 40

# Uncomment this to make windows auto-raise after [x] milliseconds
# AddToFunc "InitFunction" "I" Module FvwmAuto 0

############################################################################
# BUTTON Setup
#

## Buttons actually being used (duplicated below)
# small up triangle
ButtonStyle 2 4 50x35_at_1 65x65_at_0 35x65_at_0 50x35_at_1
# small down triangle
ButtonStyle 4 4 50x65_at_1 35x35_at_1 65x35_at_1 50x65_at_0
# Stylized X
ButtonStyle 3 16 20x20_at_1 30x20_at_1 50x40_at_1 70x20_at_1 80x20_at_1 80x30_at_0 60x50_at_0 80x80_at_0 70x80_at_0 50x60_at_0 30x80_at_0 20x80_at_0 20x70_at_0 40x50_at_1 20x30_at_0 20x20_at_1

## Triangles
#
# Small up Triangle
#ButtonStyle * 4 50x35_at_1 65x65_at_0 35x65_at_0 50x35_at_1
# Small down Triangle
#ButtonStyle * 4 50x65_at_1 35x35_at_1 65x35_at_1 50x65_at_0
# Large up Triangle
#ButtonStyle 6 4 50x25_at_1 75x75_at_0 25x75_at_0 50x25_at_1
# Large down Triangle
#ButtonStyle 8 4 50x75_at_1 25x25_at_1 75x25_at_1 50x75_at_0

## Boxes
#
# Big Box
#ButtonStyle 0 5 25x25_at_1 25x75_at_1 75x75_at_0 75x25_at_0 25x25_at_1
# Little Box
#ButtonStyle 9 5 40x40_at_1 60x40_at_1 60x60_at_0 40x60_at_0 40x40_at_1
# Tall Box
#ButtonStyle 7 5 40x25_at_1 60x25_at_1 60x75_at_0 40x75_at_0 40x25_at_1
# Dot
#ButtonStyle 5 5 45x45_at_1 55x45_at_1 55x55_at_0 45x55_at_0 45x45_at_1
# Big Box with arrow to little box (iconify)
#ButtonStyle 4 14 20x20_at_1 20x70_at_1 70x70_at_0 70x20_at_0 20x20_at_1 60x60_at_0 60x50_at_0 60x60_at_0 50x60_at_0 60x60_at_0 60x80_at_0 80x80_at_0 80x60_at_0 60x60_at_0

## X's
#
# Standard X
#ButtonStyle 3 17 20x20_at_1 30x20_at_1 50x40_at_1 70x20_at_1 80x20_at_1 80x30_at_0 60x50_at_0 80x70_at_1 80x80_at_0 70x80_at_0 50x60_at_0 30x80_at_0 20x80_at_0 20x70_at_0 40x50_at_1 20x30_at_0 20x20_at_1
# Funky X
#ButtonStyle 3 13 26x29_at_1 34x21_at_1 50x35_at_1 70x21_at_1 79x29_at_1 63x48_at_0 79x65_at_1 70x75_at_0 50x61_at_0 34x75_at_0 26x65_at_0 44x48_at_1 26x29_at_0
# Stylized X
#ButtonStyle 3 16 20x20_at_1 30x20_at_1 50x40_at_1 70x20_at_1 80x20_at_1 80x30_at_0 60x50_at_0 80x80_at_0 70x80_at_0 50x60_at_0 30x80_at_0 20x80_at_0 20x70_at_0 40x50_at_1 20x30_at_0 20x20_at_1

## Lightning Bolts
#
# Small Lightning Bolt (skinny at both ends)
#ButtonStyle 5 7 70x15_at_0 30x55_at_1 50x55_at_0 40x85_at_1 80x45_at_0 60x45_at_1 70x15_at_0
# Big Lighting Bolt (Fat at top, comes to a point)
#ButtonStyle 6 8 35x15_at_1 20x50_at_1 40x50_at_0 30x80_at_1 75x40_at_0 50x40_at_1 75x15_at_0 35x15_at_1

## Miscellaneous Buttons
#
# Nested Right Angles (looks kinda crappy)
#ButtonStyle 5 13 10x0_at_1 80x0_at_1 80x10_at_1 80x80_at_0 0x80_at_0 0x60_at_1 10x65_at_1 70x65_at_0 70x0_at_0 55x0_at_1 55x10_at_1 55x55_at_0 10x55_at_0
# Nested Right Angles (looks nice)
#ButtonStyle 6 14 0x0_at_1 0x20_at_1 20x20_at_0 20x0_at_0 0x0_at_1 0x25_at_1 25x25_at_1 25x0_at_1 55x0_at_1 55x55_at_0 0x55_at_0 0x60_at_1 60x60_at_1 60x0_at_1
# 4 Horizontal bars (sticky)
#ButtonStyle 7 12 10x23_at_0 90x23_at_0 90x28_at_0 10x28_at_1 10x47_at_1 90x47_at_0 90x52_at_0 10x52_at_1 10x70_at_2 90x70_at_0 90x76_at_0 10x76_at_1
# Expanding Windows (iconify -- looks NICE)
#ButtonStyle 8 16 60x40_at_1 60x80_at_0 15x80_at_0 15x40_at_1 60x40_at_1 40x40_at_1 40x25_at_1 75x25_at_1 75x60_at_0 60x60_at_0 75x60_at_0 75x40_at_0 85x40_at_0 85x15_at_0 60x15_at_1 60x25_at_1

## Arrows Galore
#
# Up Arrow
#ButtonStyle 3 8 40x80_at_1 40x50_at_1 20x50_at_1 50x20_at_1 80x50_at_0 60x50_at_0 60x80_at_0 40x80_at_0
# Down Arrow
#ButtonStyle 3 8 40x20_at_1 40x50_at_1 20x50_at_1 50x80_at_1 80x50_at_0 60x50_at_0 60x20_at_0 40x20_at_1
# Left arrow ( <- )
#ButtonStyle 7 8 80x40_at_1 50x40_at_1 50x20_at_1 20x50_at_1 50x80_at_0 50x60_at_0 80x60_at_0 80x40_at_0
# Right arrow ( -> )
#ButtonStyle 8 8 20x40_at_1 50x40_at_1 50x20_at_1 80x50_at_1 50x80_at_0 50x60_at_0 20x60_at_0 20x40_at_1
# Horizontal Line with arrowheads on left and right ( <-> )
#ButtonStyle * 12 10x50_at_1 35x25_at_1 35x40_at_1 65x40_at_1 65x25_at_1 90x50_at_1 65x75_at_0 65x60_at_0 35x60_at_0 35x75_at_0 10x50_at_0 10x50_at_1
# Vertical Line with arrowheads on top and bottom
#ButtonStyle * 12 50x10_at_1 25x35_at_1 40x35_at_1 40x60_at_1 25x60_at_1 50x85_at_1 75x60_at_0 60x60_at_0 60x35_at_0 75x35_at_0 50x10_at_0 50x10_at_1
# Diagonal Line with arrowheads on top and bottom ( / )
#ButtonStyle 5 11 80x15_at_1 45x15_at_1 55x25_at_1 25x55_at_1 15x45_at_1 15x80_at_1 50x80_at_0 40x70_at_0 70x40_at_0 80x50_at_0 80x15_at_0
# Diagonal Line with arrowheads on top and bottom ( \ )
#ButtonStyle 6 12 55x15_at_0 45x25_at_0 75x55_at_0 85x45_at_0 85x80_at_0 50x80_at_0 60x70_at_1 30x40_at_1 20x50_at_1 20x15_at_1 55x15_at_1 55x15_at_0
#
# the number "2"
#ButtonStyle 8 12 80x80_at_0 22x80_at_0 80x40_at_0 70x25_at_0 30x25_at_0 20x35_at_0 20x30_at_1 30x20_at_1 70x20_at_1 80x30_at_1 20x75_at_1 80x75_at_1


##############################################################################
# MENU Setup
#

# This defines the most common window operations
AddToMenu Window-Ops "Window Ops" Title
+ "Move" Move-or-Raise2
+ "Resize" Resize-or-Raise2
+ "Raise" Raise
+ "Lower" Lower
+ "(De)Iconify" Iconify
+ "(Un)Stick" Stick
+ "(Un)Maximize" maximize_func
+ "" Nop
+ "Delete" Delete
+ "Close" Close
+ "Destroy" Destroy
+ "" Nop
+ "Refresh Screen" Refresh
+ "Exit Fvwm" Popup FvwmCommands

# A trimmed down version of "Window Ops", good for binding to decorations
AddToMenu Window-Ops2 "Move" Move-or-Raise
+ "Resize" Resize-or-Raise
+ "Raise/Lower" RaiseLower
+ "Iconify" Iconify
+ "(Un)Stick" Stick
+ "" Nop
+ "Delete" Delete
+ "Close" Close
+ "Destroy" Destroy
+ "" Nop
+ "ScrollBar" Module FvwmScroll 2 2
+ "Print" PrintFunction

AddToMenu FvwmCommands "Fvwm Commands" Title
+ "Exit Fvwm" Quit
+ "" Nop
+ "Restart Fvwm2" Restart fvwm2
+ "Restart Fvwm" Restart fvwm
+ "Restart Twm" Restart twm
+ "Fvwm Setup" Popup FvwmSetup
+ "Fvwm Modules" Popup FvwmModules

AddToMenu FvwmSetup "Fvwm Setup" Title
+ "Change Scrolling" Popup FvwmScroll

AddToMenu FvwmScroll "Change Scroll Behavior" Title
+ "OFF" EdgeScroll 0 0
+ "ON" EdgeScroll 100 100
+ "Horizontal Only" EdgeScroll 100 0
+ "Vertical Only" EdgeScroll 0 100
+ "Partial" EdgeScroll 50 50

AddToMenu FvwmModules "Fvwm Modules" Title
+ "Pager" Module FvwmPager 0 0
+ "Button-Bar" Module FvwmButtons
+ "WinList" Module FvwmWinList
+ "Identify" Module FvwmIdent
+ "" Nop
+ "Clean-Up" Module FvwmClean
+ "SaveDesktop" Module FvwmSave
+ "Debug" Module FvwmDebug
+ "Background" Module FvwmBacker
+ "IconBox" Module FvwmIconBox
+ "Banner" Module FvwmBanner
+ "Talk" Module FvwmTalk
+ "Prompt" Module FvwmPrompt "hello" raise

# This is the root menu
AddToMenu RootMenu "Root Menu" Title
+ "Xterm" Exec exec xterm -sb -sl 2048 -font 9x15 -geometry =81x35+50+50 -s -rw &
+ "Netscape" Exec netscape &
+ "" Nop
+ "Hosts" Popup Hosts
+ "Utilities" Popup Utilities
+ "Lock Screen" Exec exec xterm -e /usr/openwin/bin/xlock -mode blank -allowroot -nice 19 +nolock -allowaccess -delay 2000


# This menu will fire up some often used programs
AddToMenu Utilities "Choose one:" Title
+ "Shell" Exec xterm -fn fixed&
+ "Root-Shell" Exec xterm -bg lightblue -fn fixed -bd blue -T root_at_micky -e su toor&
+ "emacs" Exec emacs19 -fn
-*-lucidatypewriter-bold-r-*-*-14-*-*-*-*-*-iso8859-1&
+ "" Nop
+ "TV sF7" Exec tv -s 50&
+ "StarOffice" Exec soffice&
+ "Top" Exec xtop&
+ "xv" Function warp-or-run xv "Exec xv -ncols 240 -geometry +0+0 &"
+ "xfig" Exec exec xfig &
+ "xcalc" Exec exec xcalc &

AddToMenu Hosts "Choose host:" Title
+ "Hydra F1" Exec $XON_HYDRA /usr/openwin/bin/xterm -fn fixed
+ "Henlein sF1" Exec $XON_HENLEIN /usr/openwin/bin/xterm -fn fixed
+ "Hephaistos mF1" Exec $XON_HEPHAISTOS /usr/openwin/bin/xterm -fn fixed
+ "Snert ^F1" Exec $XON_SNERT /vol/X11/bin/xterm -fn fixed
+ "Hamlet F2" Exec $XON_HAMLET /vol/X11R5/bin/xterm -fn fixed
+ "Honi mF2" Exec $XON_HONI /usr/openwin/bin/xterm -fn fixed
+ "Oscar ^F2" Exec $XON_OSCAR /usr/bin/xterm -fn fixed
+ "" Nop
+ "Root-Hydra ^F5" Exec $XON_HYDRA /usr/openwin/bin/xterm -bg lightblue -bd blue -fn fixed -T root_at_micky -e su toor&
+ "Root-Henlein" Exec $XON_HENLEIN /usr/openwin/bin/xterm -fn fixed -bg lightblue -bd blue -T root_at_micky -e su toor&
+ "Root-Hephaistos" Exec $XON_HEPHAISTOS /usr/openwin/bin/xterm -fn fixed -bg lightblue -bd blue -T root_at_micky -e su toor&
+ "Root-Snert" Exec $XON_SNERT /vol/X11/bin/xterm -bg lightblue -fn fixed -bd LightGoldenrod -e su&
+ "Root-Honi" Exec $XON_HONI /usr/openwin/bin/xterm -fn fixed -bg lightblue -bd LightGoldenRod -e su toor&
+ "" Nop
+ "Telnet" Exec xterm -T "Telnet:" -e telnet
+ "Xarchie" Exec xarchie -host archie.th-darmstadt.de -s -maxhits 30
+ "Xftp sF6" Exec xftp
+ "Netscape F6" Exec netscape



############################################################################
# COMPLEX FUNCTIONS
#
AddToFunc warp-or-run "I" Next [$0 CirculateHit] Iconify -1
+ "I" Next [$0 CirculateHit] Focus
+ "I" None [$0] $1

AddToFunc MailFunction "I" Next [$0] Iconify -1
+ "I" Next [$0] focus
+ "I" None [$0] Exec $0 $1

AddToFunc Move-or-Raise "I" Raise
+ "M" Move
+ "D" Lower

AddToFunc Move-or-Raise2 "M" Raise
+ "M" Move
+ "D" Lower

AddToFunc Maximize-Func "C" Maximize 0 100
+ "D" Maximize 100 100

AddToFunc Move-or-Iconify "I" Raise
+ "M" Move
+ "D" Iconify

AddToFunc Resize-or-Raise "I" Raise
+ "M" Resize
+ "D" Lower

AddToFunc Resize-or-Raise2 "M" Raise
+ "M" Resize
+ "D" Lower

AddToFunc PrintFunction "I" Raise
+ "I" Exec xdpr -id $w

AddToFunc Iconify-and-Raise "I" Iconify
+ "I" Raise

############################################################################
# MOUSE Setup
#
# First, the root window. Button 1 brings up the Main Menu. B2 is the
# window operations list, and B3 is the winlist module
# Button Context Modifi Function
Mouse 1 R A Menu Window-Ops Nop
Mouse 2 R A Menu RootMenu Nop
Mouse 3 R A WindowList

# Now, title bar buttons
# Left button is the Window-Ops2 menu, right is iconify, rightmost is maximize
# Button Context Modifi Function
Mouse 0 1 A Menu Window-Ops2 Close
Mouse 0 2 A Maximize-Func
Mouse 0 4 A Iconify
Mouse 0 3 A Stick

# Button 1 in Frame or Sides is a resize-or-raise, in Icons is a move or
# de-iconify, and on Top does a move-or-raise
# Button Context Modifi Function
Mouse 1 F A Resize-or-Raise
Mouse 1 I A Move-or-Iconify
Mouse 1 TS A Move-or-Raise

# Button 2 in an Icon is de-iconify, in Corners/Sides/Titlebar gets Ops Menu
# Button Context Modifi Function
Mouse 2 I A Iconify
Mouse 2 FST A Menu Window-Ops2 Nop

# Button 3 does a raise-lower on anything
Mouse 3 TSIF A RaiseLower

############################################################################
# KEYBOARD Setup
#
# press arrow + control anywhere, and scroll by 1 page
#Key Left A C Scroll -100 +0
#Key Right A C Scroll +100 +0
#Key Up A C Scroll +0 -100
#Key Down A C Scroll +0 +100

# press arrow + meta key, and scroll by 1/10 of a page
#Key Left A M Scroll -10 +0
#Key Right A M Scroll +10 +0
#Key Up A M Scroll +0 -10
#Key Down A M Scroll +0 +10

# press shift arrow + control anywhere, and move the pointer by 1% of a page
#Key Left A SC CursorMove -1 +0
#Key Right A SC CursorMove +1 +0
#Key Up A SC CursorMove +0 -1
#Key Down A SC CursorMove +0 +1

# press shift arrow + meta key, and move the pointer by 1/10 of a page
#Key Left A SM CursorMove -10 +0
#Key Right A SM CursorMove +10 +0
#Key Up A SM CursorMove +0 -10
#Key Down A SM CursorMove +0 +10

# Keyboard accelerators
#Key F1 A MC Popup "RootMenu"
#Key F2 A MC Popup "Window-Ops"
#Key F3 A MC Module FvwmWinList
#Key F4 A MC Iconify
#Key F5 A MC Move
#Key F6 A MC Resize
#Key F7 A MC Next [*] focus
#Key F8 A MC Prev [*] focus
#TWM keys
Key F1 A N Exec $XON_HYDRA /usr/openwin/bin/xterm -fn fixed
Key F1 A S Exec $XON_HENLEIN /usr/openwin/bin/xterm -fn fixed
Key F1 A M Exec $XON_HEPHAISTOS /usr/openwin/bin/xterm -fn fixed
Key F1 A C Exec $XON_SNERT /vol/X11/bin/xterm -fn fixed
Key F2 A N Exec $XON_HAMLET /vol/X11R5/bin/xterm -fn fixed
Key F2 A M Exec $XON_HONI /usr/openwin/bin/xterm -fn fixed
Key F2 A C Exec $XON_OSCAR /usr/bin/xterm -fn fixed

Key F5 A N Exec exec xterm &
Key F5 A S Exec exec xterm -fn fixed&
Key F5 A C Exec xterm -bg lightblue -bd blue -T root_at_micky -e su toor&
Key F5 A M Exec xterm -fn fixed -bg lightblue -bd blue -T root_at_micky -e su toor&
Key F6 A N Exec netscape&
Key F6 A S Exec xftp&

Key F7 A N Exec xcalc&
Key F7 A S Exec tv -s 50&

#Key F8 A N Exec /tftpboot/tekxp/bin/solaris/xpsh xlock
Key F8 A N Exec xlock
#Key Next A C Desk -1
#Key Prior A C Desk 1
Key F9 A N Desk 0 0
Key F9 A S Desk 0 1
Key F9 A C Desk 0 2
Key F9 A M Desk 0 3

Key F10 A C CirculateUp
Key F10 A M CirculateDown
Key F11 A N Raise
Key F11 A S Maximize 0 100
Key F11 A C Maximize 100 0
Key F11 A M Maximize 100 100
Key F12 A N RaiseLower
Key F12 A S Iconify
Key F12 A C Delete
Key F12 A M Destroy

############################################################################
# FvwmButtons
#
# Colors
*FvwmButtonsFore Black
*FvwmButtonsBack #908090

# Font
*FvwmButtonsFont 5x8

# Geometry-- really likes to pick its own size, but giving a position is OK
*FvwmButtonsGeometry -0+100

# Layout: specify rows or columns, not both
#*FvwmButtonsColumns 1
*FvwmButtonsRows 1

# Define the buttons to use.....
*FvwmButtons Move arrows2.xpm Move
*FvwmButtons Kill skull.xpm Destroy
*FvwmButtons Quit nuke.xpm Popup "Quit-Verify"

#*FvwmButtons (de)Iconify eyenew.xpm Iconify
#*FvwmButtons Restart eye2.xpm Restart
#*FvwmButtons Xcalc rcalc.xpm Exec "Calculator" xcalc &
#*FvwmButtons junk 3dx.xpm Swallow "xload" xload -bg \#908090
#*FvwmButtons xmter x.xpm Swallow "xmter" xmter &
#*FvwmButtons "" clock.xpm Swallow "xclock" xclock -bg \#908090 -padding 0 &
#*FvwmButtons "" 3dx.xpm Swallow "Time 3D" t3d -fg \#908090 -mag .3 -wobber 0 &

############################################################################
# FvwmIdent
#
# Give us colors and a fonts
*FvwmIdentBack MidnightBlue
*FvwmIdentFore Yellow
*FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*

############################################################################
# FvwmPager
#
*FvwmPagerBack #5c54c0
*FvwmPagerFore black
*FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmPagerHilight #6b64b0
*FvwmPagerGeometry -0+0
*FvwmPagerLabel 0 Aurora

# Setting the font to 0x0 or nil2 results in no text
#*FvwmPagerSmallFont 0x0
*FvwmPagerSmallFont 5x8

############################################################################
# FvwmWinList
#
*FvwmWinListBack #908090
*FvwmWinListFore Black
*FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmWinListAction Click1 Iconify -1,Focus
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
*FvwmWinListGeometry +62+176

############################################################################
# FvwmBacker
#
*FvwmBackerDesk 0 -solid steelblue
*FvwmBackerDesk 1 -solid midnightblue

############################################################################
# FvwmIconBox
#
# NOTE: Icons will only be shown in module if Style "??" NoIcon is set
*FvwmIconBoxIconBack #cfcfcf
*FvwmIconBoxIconHiFore black
*FvwmIconBoxIconHiBack LightSkyBlue
*FvwmIconBoxBack #5f9ea0
#*FvwmIconBoxFore blue
*FvwmIconBoxGeometry 5x1+0+0
*FvwmIconBoxMaxIconSize 64x38
*FvwmIconBoxFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
*FvwmIconBoxSortIcons IconName
*FvwmIconBoxPadding 4
*FvwmIconBoxLines 10
*FvwmIconBoxSBWidth 11
*FvwmIconBoxPlacement Left Top
*FvwmIconBoxPixmap fvwm.xpm
#*FvwmIconBoxHideSC Horizontal
*FvwmIconBoxSetWMIconSize
*FvwmIconBoxHilightFocusWin
#*FvwmIconBoxResolution Desk
*FvwmIconBoxMouse 1 Click RaiseLower
*FvwmIconBoxMouse 1 DoubleClick Iconify
*FvwmIconBoxMouse 2 Click Iconify -1, Focus
*FvwmIconBoxMouse 3 Click Module FvwmIdent
*FvwmIconBoxKey r RaiseLower
*FvwmIconBoxKey space Iconify
*FvwmIconBoxKey d Close
*FvwmIconBoxKey n Next
*FvwmIconBoxKey p Prev
*FvwmIconBoxKey h Left
*FvwmIconBoxKey j Down
*FvwmIconBoxKey k Up
*FvwmIconBoxKey l Right

############################################################################
# FvwmScrollBack
#
*FvwmScrollBack grey40
*FvwmScrollFore green

############################################################################
# FvwmAudio
#
*FvwmAudioPlayCmd /usr/local/bin/AF/aplay -d 0 -t -.05
*FvwmAudioDir /usr/local/sound/fvwm
#*FvwmAudio startup goodmorning.au
#*FvwmAudio shutdown destruct.au
#*FvwmAudio unknown cat-1.au
#*FvwmAudio destroy_window oh_my_god.au
*FvwmAudio iconify flush.au
*FvwmAudio deiconify eject.au

#*FvwmAudio add_window ??
#*FvwmAudio toggle_paging ??

#*FvwmAudioDelay 3

#*FvwmAudio focus_change goodmorning.au
#*FvwmAudio raise_window goodmorning.au
#*FvwmAudio lower_window goodmorning.au

############################################################################
# FvwmForm
#
# FvwmForm alias - rlogin to host via xterm
*RloginWarpPointer
*RloginFont *helvetica*m*r*n*14*
*RloginButtonFont *helvetica*m*o*n*14*
*RloginInputFont *cour*m*r*n*14*
*RloginFore Black
*RloginBack Light Gray
*RloginItemFore Wheat
*RloginItemBack Gray50
# begin items
*RloginLine center
*RloginText "Login to Remote Host"
*RloginLine center
*RloginText "Host:"
*RloginInput HostName 20 ""
*RloginLine center
*RloginSelection UserSel single
*RloginChoice Default Default on "same user"
*RloginChoice Custom Custom off "user:"
*RloginInput UserName 10 ""
*RloginLine expand
*RloginButton quit "Login" ^M
*RloginCommand Exec xterm -T xterm_at_$(HostName) -e rlogin $(HostName) $(Custom?-l $(UserName))
*RloginButton restart "Clear"
*RloginCommand Beep
*RloginButton quit "Cancel"
*RloginCommand Nop
#
# FvwmForm alias - query exit ala mwm
*QuitVerifyGrabServer
*QuitVerifyWarpPointer
*QuitVerifyFont *helvetica*m*r*n*14*
#*QuitVerifyButtonFont *helvetica*m*o*n*14*
*QuitVerifyButtonFont 7x13bold
*QuitVerifyFore Black
*QuitVerifyBack Light Gray
*QuitVerifyItemFore Wheat
*QuitVerifyItemBack Gray50
# begin items
*QuitVerifyLine center
*QuitVerifyText "Do you really want to exit FVWM?"
*QuitVerifyLine expand
*QuitVerifyButton quit " Exit "
*QuitVerifyCommand Quit
*QuitVerifyButton quit "Cancel"
*QuitVerifyCommand Nop

#
# MyTalk & MyFvwmTalk from Dave Goldberg
# MyTalk Form - dissappears after use
*MyTalkWarpPointer
*MyTalkFont *helvetica*m*r*n*14*
*MyTalkButtonFont *helvetica*m*o*n*14*
*MyTalkInputFont *cour*m*r*n*14*
*MyTalkFore Red
*MyTalkBack Gray
*MyTalkItemFore Blue
*MyTalkItemBack Gray
*MyTalkLine center
*MyTalkText "Fvwm Function"
*MyTalkInput Func 40 ""
*MyTalkLine expand
*MyTalkButton quit "Run" ^M
*MyTalkCommand $(Func)
*MyTalkButton restart "Clear" ^R
*MyTalkButton quit "Cancel" ^C
*MyTalkCommand Nop
#
# MyFvwmTalk Form - sticks around
*MyFvwmTalkWarpPointer
*MyFvwmTalkFont *helvetica*m*r*n*14*
*MyFvwmTalkButtonFont *helvetica*m*o*n*14*
*MyFvwmTalkInputFont *cour*m*r*n*14*
*MyFvwmTalkFore Red
*MyFvwmTalkBack Gray
*MyFvwmTalkItemFore Blue
*MyFvwmTalkItemBack Gray
*MyFvwmTalkLine center
*MyFvwmTalkText "Fvwm Function"
*MyFvwmTalkInput Func 40 ""
*MyFvwmTalkLine expand
*MyFvwmTalkButton restart "Run" ^M
*MyFvwmTalkCommand $(Func)
*MyFvwmTalkButton restart "Clear" ^R
*MyFvwmTalkCommand Nop
*MyFvwmTalkButton restart "Iconify" ^Z
*MyFvwmTalkCommand Next [MyFvwmTalk] Iconify
*MyFvwmTalkButton quit "Quit" ^C
*MyFvwmTalkCommand Nop


--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Sep 22 2000 - 04:17:15 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST