I hope this is the right place to post this. I considered putting it in basic questions (because I am sure they are) and appended to Nick Fortune’s tutorial but because I am sure I have made a simple mistake somewhere I didn’t feel it was going to contribute there…
I have been going through the man pages and building a from scratch config with Nick Fortune’s beginners guide which is excellent and many things are becoming clear.
I have managed to get everything he describes working except the following:
-
Although I have set the basestruts as directed to accomodate the top of screen taskbar and then specified the TileCascadePlacement as directed to allow the taskbar to sit in the top of the screen (at least that is how I interpreted his instructions) I am getting the taskbar standing off - but the buttons panel right in the top corner…
-
He speaks of the ability to shade the pager at the bottom of the buttons panel but I can’t get the double click to do this despite ensuring the title is there and the other buttons are masked. Mind you he never directs me to define a shade action so maybe that is it? Am I on the right track here?
Here is my config work as of now:
# My FVWM Config built on Nick Fortune's Tutorial
#
#
#
#
#
SetEnv resources $[HOME]/.fvwm/resources
ImagePath $[resources]/icons:+
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Exec exec fvwm-root --retain-pixmap $[resources]/wallpaper/.wallpaper
+ I Module FvwmButtons FvwmButtons-Panel
+ I Module FvwmIconMan FvwmIconMan-TaskBar
+ I Module FvwmPager FvwmButtons-Pager
+ I Test (Init) Exec exec xscreensaver
DestroyFunc InvokeAterm
AddToFunc InvokeAterm
+ I Exec exec aterm -tr -fg green -trsb -sl 1000 -ls -sh 60
#
# Add Window Title Bar buttons default
#
Mouse 1 1 N Close
Mouse 1 4 N Iconify
Mouse 1 2 N Maximize
EWMHBaseStruts 0 0 18 0 # cater for the top of screen task bar
EdgeResistance 300 5
#
# Colorsets
#
Colorset 0 Foreground black, \
Background rgb:90/80/90, \
Hilight rgb:c5/b9/c5, \
Shade rgb:46/41/46
Colorset 1 Foreground purple, \
Background black, \
Hilight rgb:c5/c5/b9, \
Shade rgb:46/46/41
#
# Global Styles Here
#
Style "*" MinOverlapPlacement
Style "*" BorderWidth 2, HandleWidth 2 # default window borders
Style "*" Colorset 0
Style "*" HilightColorset 1
Style "FvwmIconMan-TaskBar" TileCascadePlacement, \
NoTitle, \
BorderWidth 0, \
HandleWidth 0, \
WindowListSkip, \
StaysOnTop, \
Sticky
Style "FvwmButtons-Pager" Title, \
NoButton 1, \
NoButton 2, \
NoButton 4
Style "FvwmButtons-Panel" NoTitle, \
BorderWidth 0, \
HandleWidth 0, \
Sticky, \
StaysOnTop, \
WindowListSkip
#
# Pager
#
*FvwmPager: Front "none"
*FvwmPager: Back "none"
#
# FvwmIconMan-TaskBar Setup
#
*FvwmIconMan-TaskBar: Colorset 0
*FvwmIconMan-TaskBar: FocusColorset 1
*FvwmIconMan-TaskBar: Action Mouse 1 N sendcommand EWMHActivateWindowFunc
*FvwmIconMan-TaskBar: Resolution Desk
*FvwmIconMan-TaskBar: ManagerGeometry 1x1
*FvwmIconMan-TaskBar: ButtonGeometry 1190x10+--0
*FvwmIconMan-TaskBar: Format "%t" # just the window title
*FvwmIconMan-TaskBar: PlainButton up # bye bye indentations
*FvwmIconMan-TaskBar: Sort none # no sorting, please
#
# set autoraise
#
AddToFunc StartFunction
+ I Module FvwmAuto 500
DestroyFunc InvokeConsole
AddToFunc InvokeConsole
+ I Module FvwmConsole -terminal aterm -tr +sb -fg red -sh 40 -geometry 145x12+0-1
#
# basic panel
#
DestroyModuleConfig FvwmButtons-Panel: *
*FvwmButtons-Panel: Columns 1
*FvwmButtons-Panel: Colorset 0
*FvwmButtons-Panel: ActiveColorset 1
*FvwmButtons-Panel: (1x1 Icon 'vmware.png', \
Action(Mouse 1) 'Exec exec vmware', \
Action(Mouse 3) 'Exec exec vmplayer' \
)
*FvwmButtons-Panel: (1x1 Icon 'firefox.png', \
Action(Mouse 1) 'Exec exec firefox' \
)
*FvwmButtons-Panel: (1x1 Icon 'thunderbird.png', \
Action(Mouse 1) 'Exec exec thunderbird' \
)
*FvwmButtons-Panel: (1x1 Icon 'gnome-term.png', \
Action(Mouse 1) 'Exec exec gnome-terminal' \
)
*FvwmButtons-Panel: (1x1 Icon 'aterm.png', \
Action(Mouse 1) 'Function InvokeAterm', \
Action(Mouse 3) 'Function InvokeConsole' \
)
*FvwmButtons-Panel: (1x1 Icon 'logout.png', \
Action(Mouse 1) 'Module FvwmForm FvwmForm-QuitVerify', \
Action(Mouse 3) 'restart' \
)
*FvwmButtons-Panel: (Swallow "FvwmButtons-Pager")