OpenBSD 桌面( 三 )


"Move%mini.move.xpm%" Move
"Resize%mini.resize.xpm%" Resize
"Raise%mini.raise.xpm%" Raise
"Lower%mini.lower.xpm%" Lower
"(De)Iconify%mini.iconify.xpm%" Iconify
"(Un)Stick%mini.stick2.xpm%" Stick
"(Un)Maximize%mini.maximize.xpm%" Maximize
"" Nop
"Delete%mini.excl.xpm%" Delete
"Close%mini.cut.xpm%" Close
"Destroy%mini.destroy.xpm%" Destroy
"" Nop
"Refresh Window%mini.refresh.xpm%" RefreshWindow
AddToMenu Window-Ops2 "&Move%mini.move.xpm%" Move
"&Resize%mini.resize.xpm%" Resize
"R&aise%mini.raise.xpm%" Raise
"&Lower%mini.lower.xpm%" Lower
"(De)&Iconify%mini.iconify.xpm%" Iconify
"(Un)&Stick%mini.stick2.xpm%" Stick
"(Un)Ma&ximize%mini.maximize.xpm%" Maximize
"" Nop
"&Delete%mini.excl.xpm%" Delete
"&Close%mini.cut.xpm%" Close
"Destroy%mini.destroy.xpm%" Destroy
"" Nop
"ScrollBar" Module FvwmScroll 2 2
"Print" PrintFunction
#"Print Reverse" PrintReverseFunction
# be sure to fill these in with your correct machine names:
AddToMenu Remote-Logins "dopey" Exec rsh dopey rxvt -display $HOSTDISPLAY &
"snoopy" Exec rsh snoopy rxvt -display $HOSTDISPLAY &
"grumpy" Exec rsh grumpy rxvt -display $HOSTDISPLAY &
"happy" Exec rsh happy rxvt -display $HOSTDISPLAY &
"bailey" Exec rsh bailey rxvt -display $HOSTDISPLAY &
"barnum" Exec rsh barnum rxvt -display $HOSTDISPLAY &
"joker" Exec rsh joker rxvt -display $HOSTDISPLAY &
"signal" Exec rxterm signal
AddToMenu Module-Popup "FvwmModules" Title
"Identify" Module FvwmIdent
"Talk" Module FvwmTalk
"" Nop
"Button-Bar" Module FvwmButtons
"Pager" Module FvwmPager 0 0
"Pager (2 desks)" Module FvwmPager 0 1
"WinList" Module FvwmWinList
"" Nop
"Banner" Module FvwmBanner
"ScrollBar" Module FvwmScroll 50 50
"Background" Module FvwmBacker
"AutoRaise" Module FvwmAuto 200 Raise Nop
"Stop AutoRaise" KillModule FvwmAuto
"" Nop
"IconBox" Module FvwmIconBox
"IconMan" Module FvwmIconMan
"" Nop
"Form - Rlogin" Module FvwmForm Rlogin
"Form - MyFvwmTalk" Module FvwmForm MyFvwmTalk
"Form - QuitVerify" Module FvwmForm QuitVerify
AddToMenu Quit-Verify
"Restart Fvwm%mini.refresh.xpm%" Restart fvwm
"" Nop
"Start wm2" Restart wm2
"Start twm" Restart twm
"Start ctwm" Restart ctwm
"Start tvtwm" Restart tvtwm
"Start vtwm" Restart vtwm
"Start mwm" Restart mwm
"Start olwm" Restart olwm
"" Nop
"Start dummy%mini.xterm.xpm%" Restart xterm
"" Nop
"No, Don"t Quit" Nop
######################## Sample Functions ##########################
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 "M" Maximize 0 100
"C" Maximize 0 80
"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 PrintReverseFunction "I" Raise
"I" Exec xdpr 1/2 -h -rv -id $w
AddToFunc Iconify-and-Raise "I" Iconify
"I" Raise
# RLOGIN machine fg bg
AddToFunc RLOGIN "I" Exec xterm -fg $1 -bg $2 -e rlogin $0 -8
# TELNET machine fg bg
AddToFunc TELNET "I" Exec xterm -fg $1 -bg $2 -e telnet $0
【OpenBSD 桌面】AddToFunc FocusAndWarp "I" Focus
"I" WarpToWindow 2p 2p
AddToFunc DeiconifyFocusAndWarp "I" Iconify -1
"I" FocusAndWarp
AddToFunc ChangeDefaultFocus "I" Style "*" $0
"I" Recapture
############################################################################
# Now some keyboard shortcuts.

# Arrow Keys
# press arrowcontrol anywhere, and scroll by 1 page
Key Left A C Scroll -100 0

推荐阅读