## Made by zyl in 04/01/2008.
## Consult wangyin's and tavios's .fvwm2rc..
## And now, start..
####################################
## Defined the image path and and the entire setting.
#########################################
ImagePath $HOME/icons:/usr/share/icons:+
EdgeResistance 1000 20 #disables viewpot into adjacent pages.
EdgeThickness 0 #It disables edge scrolling and EdgeCommand, I dont use.
EdgeScroll 0 0
ClickTime 750 #default is 150ms.
DesktopSize 3x3
OpaqueMoveSize -1 #stop Large windows from beint moved opaquely.
SnapAttraction 3 #lets nearby windows snap together.
Test (f /bin/bash) ExecUseShell /bin/bash #use bash shell, if it exists.
#IgnoreModifiers L25 #stops NumLock/ScrollLock from interfering with bindings.
##Set simple options like this, using variables.
###########################################
SetEnv fvwm_video_path ${HOME}/media/video
SetEnv fvwm_video_exec mplayer
SetEnv fvwm_audio_path ${HOME}/media/audio
SetEnv fvwm_audio_exec xmms
SetEnv fvwm_image_path ${HOME}/media/images
SetEnv fvwm_image_exec xv
SetEnv fvwm_rom_path $[HOME]/stuff/zsnes
SetEnv fvwm_rom_exec zsnes
SetEnv fvwm_prog_path ${HOME}/prog
SetEnv fvwm_pdf_path ${HOME}/pdf
## You can use EwmhBaseStruts to stop Maximised windows from obscuring TaskBars/ButtonBars
## or anything else you always want to be visible.
##
## This Setting makes sure my ButtonBar on the left and taskbar along the bottom is always
## visible.
#############################################################################
EwmhBaseStruts 0 128 0 20
## Menu Settings.
##
## * PopupOffset allows you to control where submenus will appear, and
## whether they should overlap or not.
## * This menu uses a translucent Colorset, and Hilighted items are light
## blue with a single pixel border.
## * The Menu will look flat, with a 2 pixel border.
## * I changed the default ItemFormat to be a little more spacious.
## AutomaticHotKeys generates your HotKeys (Keys you can press when a menu opens to
## jump straight to an item) for you, you can write your own also, or disable them.
## I've gone off HotKeys recently, so it's disabled for now.
#######################################################################
Colorset 0 Transparent,fg white
Colorset 1 fg black, bg grey, sh black, hi black, Translucent #c6cfce 90
Colorset 2 fg black, bg #9cb2ce, hi #dcdcdc, sh #dcdcdc
MenuStyle * MenuColorset 0
MenuStyle * Hilight3DOff, HilightBack #424164, ActiveFore white
MenuStyle * PopupOffset -2 100
MenuStyle * Foreground grey90
MenuStyle * Background #1c5572
MenuStyle * Font -misc-simsun-medium-r-normal--0-0-0-0-p-0-*-*
MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsLong, TrianglesSolid, Animation
MenuStyle * ItemFormat "%.2|%.5i%.5l%.5i%2.3>%2|"
MenuStyle * MenuFace VGradient 128 1 #2c80A0 1 #1c5572
#MenuStyle * AutomaticHotKeys
#MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1
## Use colormaps according to Focus, rather than where the Mouse is.
#######################################################
ColormapFocus FollowsFocus
## Default window Styles.
##
## I like single pixel borders, which look cleaner and simpler that the default 3d borders.
##
## It can be a little tricky to grab the handles, but I usually use a Key Binding for that
## anyway, you can always make the handles stick out a bit more if you use them more than I do.
##
## SloppyFocus is the one true Focus policy :) (focus follows mouse, except on root)
##
## If I click in a window, I like it to be raised.
##
## GrabFocus is terrible, windows are always stealing focus and keystrokes end up in the wrong
## windows and you lose your train of thought, etc. So turn it off here, and back on for windows
## that play nice with it.
##
## Set up an IconBox (an area that Windows jump to by default when Iconified) in the bottom left
##
## Syntax Reminder:
##
## IconBox [screen scr-spec] l t r b
##
## Fvwm offers several placement policies, which decide where new windows should appear, I've
## found that SmartPlacement makes a decent guess at where the windows should be, but there are
## plenty more to choose from.
###############################################################################
Style * Font -misc-simsun-medium-r-normal--0-0-0-0-p-0-*-*
, BorderWidth 1, HandleWidth 1
Style * Color #f6f6f6/black, HilightBack black, HilightFore white
Style * MWMFunctions, MWMDecor, HintOverride, DecorateTransient, NoPPosition
Style * IconBox 20 100 100 -15, SloppyFocus, MouseFocusClickRaises
Style * SmartPlacement, WindowShadeSteps 20, ResizeOpaque
Style * GrabFocusOff
Style * NoIconTitle
## Comment out these lines if you don't like Icons to have Titles.
######################################################
Colorset 3 fg black, bg white, NoShape, RootTransparent Buffer
Style * IconTitle, IconTitleColorset 3, HilightIconTitleColorset 3, IconTitleRelief 0
Style * IndexedIconName
## This is another nice Placement Policy, which tries to avoid obscuring existing windows,
## you can set penalties on certain window types so some are less likely to be obscured than
## others. Check the manpage for even more Placement Policies.
#########################################################################
#Style * MinOverlapPercentPlacement
#Style * MinOverlapPercentPlacementPenalties 2 5 1 2 0.5 50
BorderStyle Active Solid black -- NoInset HiddenHandles
BorderStyle Inactive Solid black -- NoInset HiddenHandles
ButtonStyle All -- UseTitleStyle
ButtonStyle All ActiveDown VGradient 8 palevioletred black
ButtonStyle 1 Vector 7 65x15@0 25x55@1 45x55@0 35x85@1 75x45@0 55x45@1 65x15@0
ButtonStyle 6 16 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
CursorStyle ROOT 58
CursorStyle TITLE 62
## Styles for various Fvwm modules:
###############################
Style "Fvwm*" Layer 5, NoTitle, Sticky, WindowListSkip
Style "Fvwm*" BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style FvwmPager NoTitle, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style FvwmPager StaysOnBottom, NoHandles, BorderWidth 1
Style FvwmBanner NoTitle
Style FvwmButtons NoTitle, StaysOnBottom, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style FvwmButtons HandleWidth 2, NeverFocus, Layer 1
Style FvwmTaskBar NoTitle, WindowListSkip, CirculateSkip, Sticky, BorderWidth 0, NoHandles, StaysOnBottom
Style FvwmTaskBar NeverFocus, Layer 0
## Styles for my common terminal emulator programs:
###############################################
Style "xterm" Icon /usr/share/icons/Bluecurve/48x48/apps/gnome-term-tiger.png, SloppyFocus
Style "rxvt" NoTitle, Icon /usr/share/icons/Bluecurve/48x48/apps/gnome-term-linux.png
Style "gv" ClickToFocus
Style "firefox" RandomPlacement, SloppyFocus
Style "NoResource" NoTitle BorderWidth 0, HandleWidth 0
Style "xdaliclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, Layer 6
Style "MPlayer" NoTitle, Layer 7
Style "RealPlayer" Layer 7
Style "XSIM" Layer 7, NoTitle, HandleWidth 1, Sticky, WindowListSkip
Style "emacs" Icon gnu-animal.xpm
Style "gv" Icon gv.xpm
Style "Xdvi help" NoTitle
Style "AcroRead" VariablePosition, VariableUSPosition
Style * RaiseTransient LowerTransient StackTransientParent
#Style * NoActiveIconOverride
## Styles for various common programs:
##########################################################
Style "xbiff" NoTitle, Sticky, WindowListSkip, ClickToFocus
Style "xcalc" Icon xcalc.xpm, NoButton 2,RandomPlacement,ClickToFocus
Style "xmh" Icon mail1.xpm, NoIconTitle,StickyIcon
Style "xmh" RandomPlacement, NoButton 2
Style "xman" Icon xman.xpm, RandomPlacement, ClickToFocus
Style "xmag" RandomPlacement, ClickToFocus
Style "FvwmButtons" BorderWidth 0,NoHandles
## AutoHiding Console
##########################################################
Style HiddenConsole Sticky, WindowListSkip, Notitle, StaysOnTop, NoHandles
Style HiddenConsole WindowShadeSteps 100
## The strokes..
############################
Read fvwm.strokes
## Some simple default key bindings:
###################################
Key Tab A M -
Key Next A SCM Next [*] Focus
Key Prior A SCM Prev [*] Focus
Key F1 A M Exec xscreensaver-comand -lock
## some simple default mouse bindings:
#######################################
Mouse 1 R A Menu RootMenu Nop
Mouse 3 A MC Menu RootMenu Nop
Mouse 4 R A Menu RootMenu Nop
Mouse 5 R A Menu RootMenu Nop
Mouse 3 WI M CloseOrNot
Mouse 3 A S Move
Mouse 1 6 A Close
Mouse 1 4 A Thumbnail
Mouse 1 2 A Maximize-Func2
Mouse 1 F A Resize-or-Raise
Mouse 1 TS A Move-or-Raise
Mouse 1 I A Move-or-Iconify
## The function for top:
#######################################
DestroyFunc CloseOrNot
AddToFunc CloseOrNot
+ C Silent Close
+ M Nop
DestroyFunc Thumbnail
AddToFunc Thumbnail
+ I Raise
+ I PipeRead "xwd -silent -id $[w.id] | convert -scale $[fvwm_icon_size] -frame 1x1 \
-mattecolor black -quality 0 xwd:- png:$[HOME]/.fvwm/icon.tmp.$[w.id].png \
&& echo WindowStyle IconOverride, Icon $[HOME]/.fvwm/icon.tmp.$[w.id].png, StaysOnBottom \
|| echo Nop"
+ I Iconify
DestroyFunc Move-or-Raise
AddToFunc Move-or-Raise I Raise
+ "M" Move
+ "D" WindowShade
DestroyFunc Move-or-Raise2
AddToFunc Move-or-Raise2 "M" Raise
+ "M" Move
+ "D" Lower
DestroyFunc Maximize-Func
AddToFunc Maximize-Func "M" Maximize 0 100
+ "C" Maximize 0 80
+ "D" Maximize 100 98
DestroyFunc Maximize-Func2
AddToFunc Maximize-Func2 "M" Maximize 100 0
+ "C" Maximize 80 0
+ "D" Maximize 100 98
DestroyFunc Move-or-Iconify
AddToFunc Move-or-Iconify I Raise
+ "M" Move
+ "D" Iconify
DestroyFunc Resize-or-Raise
AddToFunc Resize-or-Raise I Raise
+ "M" Resize
+ "D" Lower
DestroyFunc Resize-or-Raise2
AddToFunc Resize-or-Raise2 "M" Raise
+ "M" Resize
+ "D" Lower
DestroyFunc Iconify-and-Raise
AddToFunc Iconify-and-Raise I Iconify
+ I Raise
## Menu definitions
## Beep if theres a missing SubMenu to remind me to write it.
##################################################
DestroyMenu RootMenu
AddToMenu RootMenu "Root Menu" Title
+ MissingSubmenuFunction Beep
+ "&xterm%mini.display.xpm%" Exec exec xterm -title 'xterm'
+ "&Rxvt%mini.monitor.xpm%" Exec exec rxvt
+ "&Big Rxvt" Exec exec rxvt -geometry 78x43
+ "&Aterm%computer.png%" Exec exec aterm -title '.: a t e r m :.'
+ "FvwmConsole%alt_f3.png%" Module FvwmConsole -terminal rxvt
+ "" Nop
+ "Office%paper_pencil.png%" Popup MenuOffice
+ "Internet%world_view_index.png%" Popup MenuInternet
+ "Editors%text.png%" Popup MenuEditors
+ "Multimedia%film.png%" Popup MenuMultimedia
+ "Games%games_puzzles_dice.png%" Popup MenuGames
+ "&Programs" Popup ProgramsMenu
+ "&Utilities" Popup Utilities
+ "" Nop
+ "Re&fresh Screen" Refresh
+ "Re&capture Screen" Recapture
+ "" Nop
+ "&Lock" Exec exec xscreensaver-command -lock
+ "&Exit Fvwm%mini.exit.xpm%" Popup Quit-Verify
DestroyMenu MenuOffice
AddToMenu MenuOffice
+ "Word Processor%document_letter_word-processor.png%" Exec exec oppenoffice
+ "Acrobat Reader%file_text_view.png%" Exec exec acroread
+ "Calculator%calculator.png%" Exec exec xcalc
DestroyMenu MenuInternet
AddToMenu MenuInternet
+ "Instant Messenger%instant-messenger.png%" Exec exec gaim
+ "Mozilla Firebird%browser_ship-wheel.png%" Exec exec MozillaFirebird
DestroyMenu MenuEditors
AddToMenu MenuEditors
+ "Vim Editor%gvim.png%" Exec exec gvim -geom 115x46
+ "Gedit Editor%mail_edit.png%" Exec exec gedit
+ "Xedit Editor%computer_x11.png%" Exec exec xedit
DestroyMenu MenuMultimedia
AddToMenu MenuMultimedia
+ MissingSubmenuFunction FuncFvwmMenuDirectory
+ "xmms%audio_horn.png%" Exec exec xmms
+ "Xv Graphics Viewer%graphics_woman_panel.png%" Exec exec xv
+ "GNU Image Manipulation Program%graphics_paint_edit.png%" Exec exec gimp
+ "OSS Audio Mixer%graph_mixer.png%" Exec exec ossmixer
+ "" Nop
+ "Browse Videos%hardware_video_camera_display.png%" Popup $[fvwm_video_path]
+ "Browse Music%music_notes_view.png%" Popup $[fvwm_audio_path]
+ "Browse Images%graphics_presentation_person.png%" Popup $[fvwm_image_path]
DestroyMenu MenuGames
AddToMenu MenuGames
+ MissingSubmenuFunction FuncFvwmMenuDirectory
+ "Browse Super Nintendo Games%plane.png%" Popup $[fvwm_rom_path]
DestroyMenu ProgramsMenu
AddToMenu "ProgramsMenu" "Programs" Title
+ "&VIM" Exec exec gvim
+ "emacs%mini.gnu.xpm" Exec exec emacs
+ "&gv%mini.gv.xpm" Exec exec gv
+ "&adobeReader" Exec exec adobe
+ "x&mms" Exec exec xmms
+ "p&hoenix" Exec exec phoenix
+ "&mathematica" Exec exec mathematica
+ "F&ireFox" Exec exec firefox
+ “&Bt" Exec exec /root/download/azureus/azureus
+ "R&ealplay" Exec exec realplay
DestroyMenu Utilities
AddToMenu Utilities "Utilities" Title
+ "VMware Workstation%hardware_computers.png%" Exec exec vmware
+ "Top%gears.png%" Exec exec xterm -T Top -n Top -e top
+ "Calculator" Exec exec xcalc
+ "Xman" Exec exec xman
+ "Xmag%document_database_view.png%" Exec exec xmag
+ "" Nop
+ "Show Desktop%desk_desktop.png%" All (AcceptsFocus CurrentPage !Iconic !Shaded) Thumbnail
+ "Reset X defaults" Exec xrdb -load $HOME/.Xdefaults
+ "screenshot" Exec import -window root shot.png
DestroyMenu Quit-Verify
AddToMenu Quit-Verify "Really Quit Fvwm?" Title
+ "Yes, Really Quit%mini.checkmark.xpm" Quit
+ "Restart Fvwm2%mini.turn.xpm%" Restart fvwm2
+ "Shutdown%mini.exit.xpm%" Exec exec off
+ "No, Don't Quit%mini.happy.xpm%" Nop
## You can browse directories and files with the fvwm-menu-directory
## script included with Fvwm, its very configurable (as you might expect!),
## and very useful.
##
## [5]%40hpc.uh.edu/msg05260.html
###########################################################
DestroyFunc FuncFvwmMenuDirectory
AddToFunc FuncFvwmMenuDirectory
+ I PipeRead 'case $0 in \
$[fvwm_rom_path]*) myexec=$[fvwm_rom_exec] mypng=games_puzzles_dice.png;; \
$[fvwm_video_path]*) myexec=$[fvwm_video_exec] mypng=film.png;; \
$[fvwm_audio_path]*) myexec=$[fvwm_audio_exec] mypng=audio.png;; \
$[fvwm_image_path]*) myexec=$[fvwm_image_exec] mypng=graphics_presentation_person.png;; \
esac; \
fvwm-menu-directory --icon-title folder_view.png --icon-file ${mypng:-file_text_view.png} \
--icon-dir folder_paper_closed.png --dir $0 --xterm exec --exec-file ${myexec:-gvim}'
## Fvwm executes StartFunction when Fvwm is initialized, and at restart.
## A Good place to start Modules.
##
## And can test for Initialization from within StartFunction..
########################################################
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Module FvwmButtons -g 126x1024-0+0
+ I Module FvwmAuto FvwmAutohide -menter FuncAutoEnter
+ I Module FvwmAnimate
+ I Module FvwmTaskBar
+ I Exec exec xterm -geometry +0+0
+ I Test (Init) Exec exec fvwm-root --dither --retain-pixmap $HOME/.wallpaper.png
+ I Test (Init) StartHiddenConsole
+ I Exec exec xscreensaver -no-splash
+ I Test (Restart) All (Iconic) Test (f $[HOME]/.fvwm/icon.tmp.$[w.id].png) WindowStyle IconOverride, Icon $[HOME]/.fvwm/icon.tmp.$[w.id].pn
DestroyFunc ExitFunction
AddToFunc ExitFunction
+ I Test (!ToRestart) Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*
+ I All (xscreensaver) Close
+ I Exec exec sync
## Autohide console example: [4]http://dev.gentoo.org/~taviso/autohide_console.png
###################################################################
DestroyFunc StartHiddenConsole
AddToFunc StartHiddenConsole
+ I Exec exec rxvt +sb -geometry 144x8+0+0 -name HiddenConsole
+ I Wait HiddenConsole
+ I Autohide HiddenConsole 250 0 N
##FvwmWinList defined.
#############################################################
*FvwmWinListBack #908090
*FvwmWinListFore Black
*FvwmWinListFont -misc-simsun-medium-r-normal--0-0-0-0-p-0-*-*
*FvwmWinListAction C lick1 Iconify -1,Focus
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
*FvwmWinListGeometry +0-1
##for FvwmBacker.
###############################
*FvwmBackerDesk 0 -solid steelblue
*FvwmBackerDesk 1 -solid midnightblue
##for FvwmScroll.
####################################
*FvwmScrollBack grey40
*FvwmScrollFore green
*FvwmAnimate: Delay 25
*FvwmAnimate: Effect Random
*FvwmAnimate: Width 3
## Window-Identifier.
###########################
# Just choose colors and a fonts
*FvwmIdentBack MidnightBlue
*FvwmIdentFore Yellow
*FvwmIdentFont -misc-simsun-medium-r-normal--0-0-0-0-p-0-*-*
## FvwmPager defined, and then swallowed into my FvwmButtons Bar
###########################################################
Colorset 2 fg white, bg black, RootTransparent, Tint #b5b2ff 80
Colorset 3 fg white, bg black, RootTransparent, Tint #eeefcf 70
Colorset 4 fg #63656e, bg black, RootTransparent, Tint #b5b2ff 60
Colorset 5 fg black, bg Khaki1, Plain
Colorset 6 fg white, bg black, RootTransparent, Tint #e4e5c7 90
DestroyModuleConfig FvwmPager: *
*FvwmPager: Colorset * 3
*FvwmPager: HilightColorset * 6
*FvwmPager: WindowColorsets 4 2
*FvwmPager: BalloonColorset * 5
*FvwmPager: Font none
*FvwmPager: SmallFont 5x8
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:mintsstrong"
*FvwmPager: BalloonYOffset +2
*FvwmPager: BalloonBorderWidth 1
*FvwmPager: UseSkipList
*FvwmPager: MoveThreshold 3
*FvwmPager: SolidSeparators
*FvwmPager: WindowLabelFormat ""
*FvwmPager: WindowBorderWidth 1
## defined the FvwmButtons. It will swallowe some..
##########################################
Colorset 30 fg black, bg #c6c3c6, RootTransparent buffer, Tint #efebef 65
DestroyModuleConfig FvwmButtons: *
*FvwmButtons: Rows 27
*FvwmButtons: Columns 3
*FvwmButtons: Colorset 30
*FvwmButtons: Font "Shadow=1 1 SE:xft:Bitstream Vera Sans Mono:style=Roman:size=10"
#*FvwmButtons: Font -misc-simsun-medium-r-normal--0-0-0-0-p-0-*-*
*FvwmButtons: (3x1, Center, Swallow "xclock" `Exec xclock -bg '#31658c' -fg white -digital -face 'Aquafont:size=11' -strftime '%a, %d %b %Y %H:%M'`)
*FvwmButtons: (1x2, Title "xterm", Icon xterm.png, Action(Mouse 1) `Exec xterm`)
*FvwmButtons: (1x2, Title "rxvt", Icon computer_x11.png, Action(Mouse 1) `Exec rxvt`)
*FvwmButtons: (1x2, Title "aterm", Icon mini.monitor.xpm, Action(Mouse 1) `Exec aterm`)
*FvwmButtons: (1x2, Title "firefox", Icon firefox.png, Action(Mouse 1) `Exec firefox`)
*FvwmButtons: (1x2, Title "openoffice", Icon office.png, Action(Mouse 1) `Exec openoffice`)
*FvwmButtons: (1x2, Title "xpdf", Icon x.png, Action(Mouse 1) `Exec xpdf`)
*FvwmButtons: (1x2, Title "stardict", Icon browser_ship-wheel.png, Action(Mouse 1) `Pick stardict`)
*FvwmButtons: (1x4, Title "run", Icon gears.png, Action(Mouse 1) `Pick grun`)
*FvwmButtons: (1x2, Title "gimp", Icon graphics_paint_edit.png, Action(Mouse 1) `Exec gimp`)
*FvwmButtons: (1x2, Title "xmag", Icon telescope.png, Action(Mouse 1) `Exec xmag`)
*FvwmButtons: (1x2, Title "xman", Icon book_help_paper.png, Action (Mouse 1) `Exec exec xman`)
*FvwmButtons: (1x2, Title "mplayer", Icon video.png, Action(Mouse 1) `Exec mplayer`)
*FvwmButtons: (1x2, Title "xmms", Icon xmms.png, Action(Mouse 1) `Exec xmms`)
*FvwmButtons: (1x2, Title "gvim", Icon gvim.png, Action (Mouse 1) `Exec exec gvim -geom 115x46`)
*FvwmButtons: (1x2, Title "xcalc", Icon calculator.png, Action(Mouse 1) `Exec xcalc`)
*FvwmButtons: (1x2, Title "vmware", Icon hardware_computers.png, Action(Mouse 1) `Exec vmware`)
*FvwmButtons: (1x2, Title" Fvwm Console", Icon hardware_monitor.png, Action (Mouse 1) `Module FvwmConsole -terminal rxvt`)
*FvwmButtons: (1x2,Title" File Manager", Icon floppy_disk.png, Action (Mouse 1) `Exec exec nautilus --no-desktop`)
*FvwmButtons: (1x4 Title" Lock Screen", Icon key2.png, Action (Mouse 1) `Exec exec xscreensaver-command --lock`)
*FvwmButtons: (1x2,Title" Configure...", Icon tool_wrench.png, Action (Mouse 1) `Module FvwmScript FvwmScript-ScreenSetup`)
*FvwmButtons: (1x2, Title "move", Icon hardware_mouse.png, Action(Mouse 1) `Pick Move`)
*FvwmButtons: (1x2, Title "shade", Icon window.png, Action(Mouse 1) `Pick WindowShade True`)
*FvwmButtons: (1x2,Title" Show Desktop", Icon desk_desktop.png, Action (Mouse 1) `All (AcceptsFocus CurrentPage !Iconic !Shaded) Thumbnail`)
*FvwmButtons: (1x2, Title "close", Icon bomb.png, Action(Mouse 1) `Pick Close`)
*FvwmButtons: (1x2,Title" XKill", Icon bomb.png, Action (Mouse 1) `Exec exec xkill`)
*FvwmButtons: (3x6, Swallow "FvwmPager" "FvwmPager 0 0")
*FvwmButtons: (1x2,Title" Restart", Icon gears_panel.png, Action (Mouse 1) `Restart`)
*FvwmButtons: (1x2,Title" Quit Fvwm", Icon plug.png, Action (Mouse 1) `Module FvwmScript FvwmScript-Quit`)
*FvwmButtons: (1x2,Title "Xmoto" ,Icon games_roleplaying_muds_people.png, Action (Mouse 1) `Exec exec xmoto`)
## setup the FvwmTaskBar.
#############################################################
Colorset 11 fg white, bg #c6c3c6, sh black, hi black, RootTransparent buffer
DestroyModuleConfig FvwmTaskBar: *
*FvwmTaskBar: StartName debian
*FvwmTaskBar: StartMenu root
#*FvwmTaskBar: Geometry +0-0
*FvwmTaskBar: Rows 1
*FvwmTaskBar: Font "xft:Bitstream Vera Sans Mono:style=Roman:size=10"
*FvwmTaskBar: StatusFont "xft:Bitstream Vera Sans Mono:style=Roman:size=10"
*FvwmTaskBar: SelFont "xft:Bitstream Vera Sans Mono:style=Roman:size=10"
#*FvwmTaskBar: Font -misc-simsun-medium-r-normal--0-0-0-0-p-0-*-*
*FvwmTaskBar: Action Click1 DeiconifyRaiseAndFocus
*FvwmTaskBar: Action Click2 Iconify On
*FvwmTaskBar: Action Click3 Lower
*FvwmTaskBar: Colorset 11
*FvwmTaskBar: AutoStick
*FvwmTaskBar: UseSkipList
*FvwmTaskBar: PageOnly
*FvwmTaskBar: ShowTips
*FvwmTaskBar: NoDefaultStartButton
*FvwmTaskBar: NoBrightFocus
*FvwmTaskBar: 3DFvwm
*FvwmTaskBar: MailCheck 0
*FvwmTaskBar: IconColorset 11
*FvwmTaskBar: FocusColorset 11
*FvwmTaskBar: ClockFormat
*FvwmTaskBar: WindowButtonsRightMargin 124
阅读(1499) | 评论(0) | 转发(0) |