After half year of fvwm use: Kicker bar & fvwm

Hi,

This is my screenshot of my fvwm.
It has nothing very great or new, but maybe some people could like the idea of the kicker bar (kde) & use of fvwm. You may get a rather fast PC if you have an old PC, for instance.

lynucs.org/index.php?screen_ … 6&p=screen

Concerning the nice features, I like the screen scrolling like strategy games.

I also like the mouse left + alt => move the windows
mouse left + alt => resize the windows
& mini screenshot icon’s (middle mouse click)

Further work :

I still have to progress on it …
(I’d like to have the title bar clicked on that moves the windows (I dont recall how to do it), no focus windows following the mouse arrow and would like to get improved performances of the mini icons screenshot feature.
& to finish with transparent xterm.

Greetings to Linux World !!

==
Ubuntu Breezy Linux (Installed as Server)

Since I have no website yet and no really big idea where to copy my .fvwm2rc:

Please find my ~/.fvwm/.fvwm2rc :
I hope that could be useful for someone.

Greetings,

Patrick

I made some progress :
lynucs.org/index.php?screen_ … 6&p=screen


Still to work on it.

Next step, transparency,
then, the menus …

Greetings,

Pat

[code]# This file is copied to a new user’s FVWM_USERDIR by FvwmForm-Setup form.

This file contains the commands fvwm reads while starting.

EdgeResistance 0 0
EdgeScroll 22 22
ClickTime 0

DeskTopSize 4x4

Décoration des menus

Colorset 1 RootTransparent buffer, fg rgb:ff/ff/c4, bg average,
Tint black 55, bgTint black 55

55 ci-dessus détermine le degré de transparence

Colorset 23 Transparent, fg rgb:ff/ff/c4, bg darkgray

Colorset 23 RootTransparent, fg rgb:ff/ff/c4, bg average,
Tint black 20, bgTint black 20

MenuStyle * MenuColorset 23

MenuStyle * fvwm, Foreground maroon, Background grey60, Greyed grey40
MenuStyle * Font -adobe-times-bold-r---14-------*

not working ? patch ??

 *FvwmButtons: Colorset 23
 *FvwmIconMan: Colorset 23

 Style FvwmPager ParentalRelativity
 Style FvwmButtons ParentalRelativity

DestopName 0 Main
DesktopName 1 Apps

ColormapFocus FollowsMouse

default Styles:

make sure these fonts exist on your system:

Style * Font -adobe-times-bold-r---12-------*
Style * IconFont -adobe-times-bold-r---12-------*
Style * HilightFore black, HilightBack palevioletred
Style * BorderWidth 7, HandleWidth 7
Style * Icon unknown1.xpm, Color lightgrey/dimgrey
Style * MWMFunctions, MWMDecor, HintOverride
Style * DecorateTransient, NoPPosition
Style * IconBox 0 -10 -280 -1
Style * FocusFollowsMouse
Style * TileCascadePlacement

Style * IconBox 5 5 150 -5, IconGrid 200 200, IconFill bottom left

############ Décoration générale des Fenêtres et des Icônes ##############

Polices des titres pour les fenêtres et les icônes

J’utilise true type fonts.

Style * Font “xft:Bitstream Vera Sans:Bold:size=10:encoding=iso8859-1”
Style * IconFont “xft:Bitstream Vera Sans:Medium:size=10:encoding=iso8859-1”

Les bords des fenêtres

#Style * BorderWidth 4 #ceci est inutile à cause de la ligne suivante
Style * HandleWidth 4

Couleurs des textes et de l’arrière plan des fenêtres ou des icônes.

Quand la fenêtre est activée (au premier plan) :

Style * HilightFore white, HilightBack steelblue

Quand une fenêtre est non acivée (en arrière plan) :

Style * Color Black/DarkGrey

Style à la MWm

Couleurs des textes et de l’arrière plan des fenêtres ou des icônes.

Quand la fenêtre est activée (au premier plan) :

#Style * HilightFore white, HilightBack steelblue

Quand une fenêtre est non acivée (en arrière plan) :

#Style * Color Black/DarkGrey

On déssine les formes des boutons sur les barres de titre des fenêtres.

J’utilise 5 boutons (Je ne définis que leur formes ici, mais

pas leur actions, elles sont dans la section “mouse binding” ci-dessous).

Un seul bouton à gauche (bouton 1, non défini ici, donc utiliser le défaut),

qui affiche un menu d’options des fenêtres (menu Windows Ops).

Quatre autres boutons à droite (numérotés sous la forme “|8|6|4|2|”),

qui sont (de doite à gauche) : close, maximise, iconify and shade.

____________________________________________________

| 1 8 6 4 2 |

|--------------------------------------------------|

| |

les formes : 1=tiret, 2=croix, 4=carré, 6=point, 8=triangle vers le bas

############### help done

MWM Emulation: Don’t ignore hints for functions and transient decoration

Style * MwmFunctions, MwmDecor, MwmButtons
#Style * MwmFunctions, MwmDecor

Begin the metaflux style

DestroyDecor “metaflux”
AddToDecor “metaflux”

  • TitleStyle Centered Height 18

  • TitleStyle ActiveUp VGradient 18 2 rgb:85/9f/c7 17 rgb:54/6f/90 1 black

  • TitleStyle ActiveDown VGradient 18 2 rgb:54/6f/90 17 rgb:85/9f/c7 1 black

  • TitleStyle InActive VGradient 18 2 rgb:ef/ef/ef 17 rgb:c8/c7/c8 1 black

  • ButtonStyle All ActiveUp VGradient 18 2 rgb:85/9f/c7 17 rgb:54/6f/90 1 black

  • ButtonStyle All ActiveDown VGradient 18 2 rgb:54/6f/90 17 rgb:85/9f/c7 1 black

  • ButtonStyle All InActive VGradient 18 2 rgb:ef/ef/ef 17 rgb:c8/c7/c8 1 black

  • ButtonStyle 1 Vector 12 52x47@4 52x52@3 47x52@3 47x47@3 51x47@3 51x51@3 48x51@3 48x48@3 50x48@3 50x50@3 49x50@3 49x49@3

  • ButtonStyle 2 Vector 21 80x20@4 80x80@3 20x80@3 20x20@3 79x20@3 79x21@3 21x21@3 21x22@3 79x22@3 79x23@3 21x23@3 21x24@3 79x24@3 79x25@3 21x25@3 21x26@3 79x26@3 79x27@3 21x27@3 21x28@3 79x28@3

  • ButtonStyle 2 ToggledActiveUp VGradient 18 2 rgb:85/9f/c7 17 rgb:54/6f/90 1 black

  • ButtonStyle 2 ToggledActiveDown VGradient 18 2 rgb:54/6f/90 17 rgb:85/9f/c7 1 black

  • ButtonStyle 2 ToggledInactive VGradient 18 2 rgb:ef/ef/ef 17 rgb:c8/c7/c8 1 black

  • AddButtonStyle 2 AllToggled Vector 35 60x80@4 80x80@2 80x20@2 20x20@2 20x21@2 79x21@2 79x22@2 20x22@2 20x23@2 79x23@2 79x24@2 20x24@2 20x25@2 79x25@2 79x26@2 20x26@2 20x27@2 79x27@2 79x28@2 20x28@2 20x39@2 20x40@4 60x40@3 60x80@3 20x80@3 20x41@3 59x41@3 59x42@3 21x42@3 21x43@3 59x43@3 59x44@3 21x44@3 21x45@3 59x45@3

  • ButtonStyle 2 - MwmDecorMax
    #+ ButtonStyle 3 Vector 6 20x25@4 80x25@3 80x50@4 20x50@3 20x75@4 80x75@3

  • ButtonStyle 4 Vector 5 80x70@4 80x80@3 20x80@3 20x70@3 80x70@3

  • TitleStyle – Flat

  • ButtonStyle All – UseTitleStyle Flat

  • BorderStyle Active Solid #000000

  • BorderStyle InActive Solid #000000

Style * UseDecor “metaflux”

##########################################################################

ludo add to menu

Irix-5.2 like pager

Style “FvwmPager” Handles, NoTitle
FvwmPagerGeometry 20x20-1-1
FvwmPagerFore Black
FvwmPagerBack LightGray
FvwmPagerHilight Yellow
FvwmPagerLabel 0 Global

Styles for various Fvwm modules:

Style Fvwm* NoTitle, Sticky, WindowListSkip
Style Fvwm* BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style FvwmPager ClickToFocus
Style FvwmBanner StaysOnTop
Style FvwmButtons Icon toolbox.xpm, ClickToFocus

Styles for your common terminal emulator programs.

xterms and rxvts in a separate icon box:

Style XTerm Icon xterm.xpm, WindowShadeShrinks, SloppyFocus, IconBox -70 1 -1 -140
Style rxvt Icon term.xpm, SloppyFocus, IconBox -70 1 -1 -140
Style rxvt MWMBorder, MWMButtons

Styles for various common programs:

Style *lock NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus
Style xbiff NoTitle, Sticky, WindowListSkip, ClickToFocus
Style xcalc Icon xcalc.xpm, NoButton 2,ClickToFocus
Style xmh Icon mail1.xpm, NoIconTitle,StickyIcon
Style kicker NoTitle,NoTitle, NoHandles, Sticky, WindowListSkip,StaysOnTop
Style amule Iconify
Style xmh NoButton 2
Style xman Icon xman.xpm, ClickToFocus
Style xmag Icon mag_glass.xpm, ClickToFocus
Style xgraph Icon graphs.xpm, ClickToFocus
Style xmosaic Color Green/Yellow, ClickToFocus

Style aterm WindowShadeShrinks

Style “xpaint” MiniIcon mini-paint.xpm

ludo add to menu

AddToMenu “System”

  •   "Are you sure to logout ? " Title 
    
  •   ""      Nop
    
  •   "Restart" Restart
    
  •   "Quit"  Quit
    

ludo

DestroyFunc WindowMoveControl
AddToFunc WindowMoveControl

  • M Move

AddToFunc StartFunction I Test (Restart) All (Iconic) Test (f $[FVWM_USERDIR]/.icon.tmp.$[w.id].png) WindowStyle IconOverride, Icon $[FVWM_USERDIR]/.icon.tmp.$[w.id].png

These functions modified from the functions provided in the fvwm FAQ.

http://www.fvwm.org/documentation/faq/#7.17

#################
AddToFunc Autohide

  • I ThisWindow ($0) Deschedule $[w.id]
  • I TestRc (!Match) Deschedule -$[w.id]
  • I ThisWindow ($0) ThisWindow (shaded) AutohideShow $1 $3
  • I TestRc (!Match) All ($0, !shaded) AutohideHide $2 $3

AddToFunc AutohideShow

  • I Schedule $0 -$[w.id] WindowShade $1 off
  • I Schedule $0 -$[w.id] Raise
  • I Schedule $0 -$[w.id] Deschedule $[w.id]
  • I Schedule $0 -$[w.id] Deschedule -$[w.id]

AddToFunc AutohideHide

  • I Schedule $0 $[w.id] WindowShade $1 on
  • I Schedule $0 $[w.id] Deschedule $[w.id]
  • I Schedule $0 $[w.id] Deschedule -$[w.id]

#################

Mouse 1 W M Function WindowMoveControl

ludo add to menu

AddToFunc “Resize-or-Raise” “M” Resize

  •          "M" Raise
    
  •          "C" Raise
    
  •          "D" RaiseLower
    

some simple default key bindings:

Key Next A SCM Next [] Focus
Key Prior A SCM Prev [
] Focus

some simple default mouse bindings:

from the forum fvwm 'cos of not workign on some pc (my tower)

IgnoreModifiers L25

for the root window:

Mouse 1 R A Menu MenuFvwmRoot Nop
Mouse 2 R A Menu MenuFvwmWindowOps Nop
Mouse 3 R A WindowList

for the title bar buttons:

Mouse 0 1 A Menu MenuFvwmWindowOps2 Close
Mouse 0 2 A FuncFvwmMaximize

Mouse 0 4 A Iconify

for other parts of the window/borders/icons:

Mouse 1 F A FuncFvwmResizeOrRaise
Mouse 1 S A FuncFvwmMoveOrRaise

essai

M meta = meta_alt

A = normal

Mouse 1 T A Raise
Mouse 1 T M RaiseLower

Mouse 1 WFS M FuncFvwmMoveOrRaise
#Mouse 1 WFST 12 FuncFvwmMoveOrRaise

#Mouse 1 I A FuncFvwmMoveOrIconify

Mouse 2 W A Thumbnail
Mouse 2 W M RaiseLower

##Mouse 2 I A Iconify
Mouse 2 I A Thumbnail

here is the itle bar in the center

###mouse2 for middle
Mouse 2 FST A Thumbnail
Mouse 1 FST A FuncFvwmMoveOrRaise
Mouse 3 FST A RaiseLower

Mouse 3 TSIF A RaiseLower

#Mouse 3 FST 1 FuncFvwmResizeOrRaise
#Mouse 3 FST 12 FuncFvwmResizeOrRaise

#Mouse 3 W M Resize direction SE WarpToBorder
DestroyFunc WindowLudoResize
AddToFunc WindowLudoResize

  • M Resize direction SE

Mouse 3 W M Function WindowLudoResize

Mouse 3 I A Move
Mouse 1 I A Iconify
Mouse 1 I M Move

thumbnail

Mouse 1 6 A Thumbnail
Mouse 1 I A Iconify

ludo keys

Key Left A M Desk -1 0
#Key Left A 1 Desk -1 0
Key Right A M Desk 1 0
#Key Right A 1 Desk 1 0

######################## Initialization Functions ############################ startup ###
AddToFunc StartFunction

+ I Module FvwmAnimate

+ I Module FvwmPager 0

+ I Module FvwmPager 0 1

+ I Exec exec gnome-panel

  • I Exec exec kicker
  • I Exec xloadimage -fullscreen -onroot $HOME/.wallpaper.png
  • I Exec fvwm-root -r $HOME/.wallpaper.png

#Module FvwmPager 0 1
#+ I Module FvwmBanner
####+ I Exec exec amule

  • I Exec exec gdesklets
    #+ I Module FvwmButtons
    #+ I Exec exec xclock -digital

AddToFunc InitFunction

  • I exec xsetroot -mod 2 2 -fg rgb:55/40/55 -bg rgb:70/50/70

For some SM-s (like gnome-session) there is an internal background setter.

AddToFunc SessionInitFunction

  • I Nop

DestroyFunc FuncFvwmIconify
AddToFunc FuncFvwmIconify

  • I Raise
  • I ThisWindow (!Shaded Iconifiable !Iconic) PipeRead
    “/usr/local/bin/createwindowscreenshot $[w.id]”
  • I Iconify

######################## Menus ###################
Read /etc/X11/fvwm/menudefs.hook Quiet
Read menudefs.hook Quiet
#ludomenu

DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot “$[gt.Root Menu]” Title

  •                   "&1. XTerm"             Exec exec xterm
    
  •                   "&E. Rox"             Exec exec rox
    
  •                   "&E. Kate"             Exec exec kate
    
  •                   "&2. Rxvt"            Exec exec rxvt
    
  •                   "&Z. MozillaFrx-NoProxy"              Exec exec mozilla-firefox
    
  •                   "&P. Mozilla-Proxy"              Exec exec mozilla
    
  •                   "&O. Opera"              Exec exec opera
    
  •                   "&O. Totalcmd"              Exec exec sh -c /opt/cxoffice/bin/totalcmd
    
  •                   ""              Nop
    
  •                   "&D. Debian Menu"             Popup "/Debian"
    
  •                   ""              Nop
    
  •                   "&R. $[gt.Remote Logins]"     Popup MenuFvwmLogins
    
  •                   ""              Nop
    
  •                   "&U. $[gt.Utilities]"         Popup MenuFvwmUtilities
    
  •                   ""              Nop
    
  •                   "&M. $[gt.Fvwm Modules]"      Popup MenuFvwmModules
    
  •                   "&W. $[gt.Fvwm Window Ops]"   Popup MenuFvwmWindowOps
    
  •                   "&S. $[gt.Fvwm Config Ops]"   Popup MenuFvwmConfig
    
  •                   ""              Nop
    
  •                   "&F. $[gt.Refresh Screen]"   Refresh
    
  •                   "&C. $[gt.Recapture Screen]" Recapture
    
  •                   ""              Nop
    
  •                   "&L. Xlock"             Exec exec /usr/X11R6/bin/xlock -remote -nice 19 -mode space
    
  •                   "&X. $[gt.Exit Fvwm]" Popup MenuFvwmQuitVerify
    

DestroyMenu MenuFvwmUtilities
AddToMenu MenuFvwmUtilities “$[gt.Utilities]” Title

  •                   "&T. Top"       Exec exec xterm -T Top -n Top -e top
    
  •                   "&C. Calculator" Exec exec xcalc
    
  •                   "&M. Xman"      Exec exec xman
    
  •                   "&G. Xmag"      Exec exec xmag
    
  •                   "&R. Editres"   Exec exec editres
    
  •                   ""              Nop
    
  •                   "&E. XEmacs"    Exec exec xemacs
    
  •                   "&A. Xmh Mail"  FuncFvwmMailXmh xmh "-font fixed"
    
  •                   ""              Nop
    
  •                   "&L. XLock"     Exec exec xlock -mode random
    
  •                   ""              Nop
    
  •                   "&D. $[gt.Reset X defaults]" Exec xrdb -load $HOME/.Xdefaults
    

DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig “$[gt.Fvwm Config Ops]” Title

  • “&S. $[gt.Sloppy Focus]” FuncFvwmFocusPolicyChange SloppyFocus
  • “&C. $[gt.Click To Focus]” FuncFvwmFocusPolicyChange ClickToFocus
  • “&F. $[gt.Focus Follows Mouse]” FuncFvwmFocusPolicyChange FocusFollowsMouse
  • “” Nop
  • “&1. $[gt.Colormap Follows Mouse]” ColormapFocus FollowsMouse
  • “&2. $[gt.Colormap Follows Focus]” ColormapFocus FollowsFocus
  • “” Nop
  • “&3. $[gt.Full Paging ON]” EdgeScroll 100 100
  • “&4. $[gt.All Paging OFF]” EdgeScroll 0 0
  • “&5. $[gt.Horizontal Paging Only]” EdgeScroll 100 0
  • “&6. $[gt.Vertical Paging Only]” EdgeScroll 0 100
  • “&7. $[gt.Partial Paging]” EdgeScroll 50 50
  • “&8. $[gt.Full Paging && Edge Wrap]” EdgeScroll 100000 100000

The window Ops menus exhibit a different HotKey style.

There are 2 versions of the WindowOps Menu, meant to be bound to different

things. Here is the “common” part:

DestroyFunc FuncFvwmWindowCommon
AddToFunc FuncFvwmWindowCommon

  • I AddToMenu $0 “$[gt.&Move]” Move
  • I AddToMenu $0 “$[gt.&Resize]” Resize
  • I AddToMenu $0 “$[gt.R&aise]” Raise
  • I AddToMenu $0 “$[gt.&Lower]” Lower
  • I AddToMenu $0 “$[gt.(De)&Iconify]” Iconify
  • I AddToMenu $0 “$[gt.(Un)&Stick]” Stick
  • I AddToMenu $0 “$[gt.(Un)Ma&ximize]” Maximize
  • I AddToMenu $0 “” Nop
  • I AddToMenu $0 “$[gt.&Delete]” Delete
  • I AddToMenu $0 “$[gt.&Close]” Close
  • I AddToMenu $0 “$[gt.Destroy]” Destroy
  • I AddToMenu $0 “” Nop

First windowops menu, bound to:

mouse 2 on root

Root menu

DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps “$[gt.Window Ops]” Title
FuncFvwmWindowCommon MenuFvwmWindowOps

  • “$[gt.Re&fresh Window]” RefreshWindow

Second windowops menu, bound to:

any mouse on titlebar button 1

mouse 2 on frame, side or titlebar

DestroyMenu MenuFvwmWindowOps2
AddToMenu MenuFvwmWindowOps2
FuncFvwmWindowCommon MenuFvwmWindowOps2

  • Scroll&Bar Module FvwmScroll 2 2
  • “&$[gt.Print]” FuncFvwmPrint
  • “$[gt.Print Re&verse]” FuncFvwmPrintReverse

3 different ways to log on, take your pick:

DestroyFunc FuncFvwmRloginXterm
AddToFunc FuncFvwmRloginXterm
I Exec xterm -name $0 -title “$USER @ $0” -e rlogin $0
DestroyFunc FuncFvwmRloginRxvt
AddToFunc FuncFvwmRloginRxvt
I Exec rxvt -name $0 -n $0 -title $USER@$0 -e rlogin $0
DestroyFunc FuncFvwmRloginRshRxvt
AddToFunc FuncFvwmRloginRshRxvt
I Exec Exec rsh $0 rxvt -display $HOSTDISPLAY

be sure to fill these in with your correct machine names:

DestroyMenu MenuFvwmLogins
AddToMenu MenuFvwmLogins

  • &dopey FuncFvwmRloginXterm dopey
  • &snoopy FuncFvwmRloginXterm snoopy
  • s&ignal Exec rxterm signal

DestroyMenu MenuFvwmModules
AddToMenu MenuFvwmModules “$[gt.Fvwm Modules]” Title

  • “&1. $[gt.Control Animation]” Popup MenuFvwmAnimate
  • “&B. Button-Bar” Module FvwmButtons
  • “&O. IconBox” FuncFvwmConfigureIconBox
  • “&F. Forms” Popup MenuFvwmForms
  • “&I. Identify” Module FvwmIdent
  • “&M. IconMan” Module FvwmIconMan
  • “&N. Banner” Module FvwmBanner
  • “&C. Console” Module FvwmConsole
  • “&P. Pager” Module FvwmPager 0 0
  • “&2. Pager (2 $[gt.desks])” Module FvwmPager 0 1
  • “&R. Backer” Module FvwmBacker
  • “&S. ScrollBar” Module FvwmScroll 50 50
  • “&T. FvwmTaskBar” Module FvwmTaskBar
  • “&U. AutoRaise” Module FvwmAuto 200 Raise Nop
  • “&W. WinList” Module FvwmWinList
  • “&X. $[gt.Stop Module Menu]” Popup MenuFvwmStopModule

DestroyMenu MenuFvwmStopModule
AddToMenu MenuFvwmStopModule “$[gt.Stop Fvwm Modules]” Title

  • “&B. $[gt.Stop] Button-Bar” KillModule FvwmButtons
  • “&O. $[gt.Stop] IconBox” KillModule FvwmIconBox
  • “&M. $[gt.Stop] IconMan” KillModule FvwmIconMan
  • “&P. $[gt.Stop] Pager” KillModule FvwmPager
  • “&R. $[gt.Stop] Backer” KillModule FvwmBacker
  • “&S. $[gt.Stop] ScrollBar” KillModule FvwmScroll
  • “&T. $[gt.Stop] FvwmTaskBar” KillModule FvwmTaskBar
  • “&U. $[gt.Stop] AutoRaise” KillModule FvwmAuto
  • “&W. $[gt.Stop] WinList” KillModule FvwmWinList

DestroyMenu MenuFvwmForms
AddToMenu MenuFvwmForms

  • “&C. Capture” Module FvwmForm FvwmForm-Capture
  • “&D. Form Defaults” Module FvwmForm FvwmForm-Form
  • “&R. Rlogin” Module FvwmForm FvwmForm-Rlogin
  • “&P. RootCursor” Module FvwmForm FvwmForm-RootCursor
  • “&S. Setup” Module FvwmForm FvwmForm-Setup
  • “&T. Talk Form” Module FvwmForm FvwmForm-Talk
  • “&Q. QuitVerify” Module FvwmForm FvwmForm-QuitVerify

Configure and start using an iconbox on the fly

DestroyFunc FuncFvwmConfigureIconBox
AddToFunc FuncFvwmConfigureIconBox

  • I Module FvwmIconBox
  • I Style * NoIcon

DestroyMenu MenuFvwmQuitVerify
AddToMenu MenuFvwmQuitVerify “$[gt.Really Quit Fvwm?]” Title

  • “&Q. $[gt.Yes, Really Quit]” Quit
  • “” Nop
  • “&R. $[gt.Restart]” Restart
  • “” Nop
  • “&T. $[gt.Start] twm” Restart twm
  • “&C. $[gt.Start] ctwm” Restart ctwm
  • “&2. $[gt.Start] tvtwm” Restart tvtwm
  • “&V. $[gt.Start] vtwm” Restart vtwm
  • “&M. $[gt.Start] mwm” Restart mwm
  • “&O. $[gt.Start] olwm” Restart /usr/openwin/bin/olwm
  • “” Nop
  • “&X. $[gt.Just an Xterm]” Restart xterm -n ‘“X Console”’ -T ‘“X Console”’
  • “” Nop
  • “&N. $[gt.No, Don’t Quit]” Nop

######################## Sample Functions ##########################

DestroyFunc Thumbnail
AddToFunc Thumbnail

  • I Raise
  • I ThisWindow (!Iconic) SetEnv Icon-$[w.id] $[w.iconfile]
  • I ThisWindow (!Shaded, Iconifiable, !Iconic) PipeRead
    “xwd -silent -id $[w.id] | convert -scale 128 -frame 1x1
    -mattecolor black -quality 0 xwd:- png:$[FVWM_USERDIR]/icon.tmp.$[w.id].png
    && echo WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png
    || echo Nop”
  • I Iconify

#SetEnv fvwm_icon_size 150
#DestroyFunc Thumbnail
#AddToFunc Thumbnail
#+ I Raise
#+ I SetEnv Icon-$[w.id] $[w.IconFile]
#+ I ThisWindow (!Shaded, Iconifiable, !Iconic) PipeRead \

"xwd -silent -id $[w.id] | convert -scale $[fvwm_icon_size] -quality 0 \

xwd:- png:/dev/shm/icon.tmp.$[w.id].png; \

echo WindowStyle IconOverride, Icon /dev/shm/icon.tmp.$[w.id].png"

#+ I Iconify

DestroyFunc DeThumbnail
AddToFunc DeThumbnail

  • I PipeRead “echo Test \(i \$\[Icon-$[w.id]\]\) WindowStyle Icon \$\[Icon-$[w.id]\]”
  • I TestRc (NoMatch) WindowStyle NoIconOverride, Icon
  • I Exec rm -f $[FVWM_USERDIR]/icon.tmp.$[w.id].png
  • I UnsetEnv Icon-$[w.id]

DestroyFunc FuncFvwmMailXmh
AddToFunc FuncFvwmMailXmh

  • I Next [$0] Iconify false
  • I Next [$0] Focus
  • I None [$0] Exec $0 $1

DestroyFunc FuncFvwmMoveOrRaise
AddToFunc FuncFvwmMoveOrRaise

  • I Raise
  • M Move
  • D Lower

DestroyFunc FuncFvwmMaximize
AddToFunc FuncFvwmMaximize

  • M Maximize 0 100
  • H Maximize 0 100
  • C Maximize 0 80
  • D Maximize 100 100

DestroyFunc FuncFvwmMoveOrIconify
AddToFunc FuncFvwmMoveOrIconify

  • I Raise
  • M Move
  • D Iconify

DestroyFunc FuncFvwmResizeOrRaise
AddToFunc FuncFvwmResizeOrRaise

  • I Raise
  • M Resize
  • D Lower

DestroyFunc FuncFvwmPrint
AddToFunc FuncFvwmPrint

  • I Raise
  • I Exec xdpr -id $w

DestroyFunc FuncFvwmPrintReverse
AddToFunc FuncFvwmPrintReverse

  • I Raise
  • I Exec xdpr 1/2 -h -rv -id $w

DestroyFunc FuncFvwmFocusPolicyChange
AddToFunc FuncFvwmFocusPolicyChange

  • I Style * $0
  • I Recapture

Read config files for modules:

read ConfigFvwmBacker
read ConfigFvwmButtons
read ConfigFvwmIconBox
read ConfigFvwmIconMan
read ConfigFvwmIdent
read ConfigFvwmPager
read ConfigFvwmScroll
read ConfigFvwmTaskBar
read ConfigFvwmWinList

[/code]