⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 172-193.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
📖 第 1 页 / 共 2 页
字号:
    Exec    "Kaleid"    exec xlock -nolock -nice 0 -mode kaleid &

    Exec    "Life"      exec xlock -nolock -nice 0 -mode life   &

    Exec    "Life3d"    exec xlock -nolock -nice 0 -mode life3d   &

    Exec    "Maze"      exec xlock -nolock -nice 0 -mode maze &

    Exec    "Pyro"      exec xlock -nolock -nice 0 -mode pyro &

    Exec    "Qix"       exec xlock -nolock -nice 0 -mode qix &

    Exec    "Random"    exec xlock -nolock -nice 0 -mode random &

    Exec    "Rect"      exec xlock -nolock -nice 0 -mode rect &

    Exec    "Rock"      exec xlock -nolock -nice 0 -mode rock &

    Exec    "Rotor"     exec xlock -nolock -nice 0 -mode rotor &

    Exec    "Sphere"    exec xlock -nolock -nice 0 -mode sphere &

    Exec    "Spline"    exec xlock -nolock -nice 0 -mode spline &

    Exec    "Swarm"     exec xlock -nolock -nice 0 -mode swarm &

    Exec    "Wator"     exec xlock -nolock -nice 0 -mode wator &

    Exec    "Worm"      exec xlock -nolock -nice 0 -mode worm &

    Exec    "World"     exec xlock -nolock -nice 0 -mode world &

  EndPopup



  Popup "Screenlock"

    Title   "Lock Screen"

    Exec    "Bat"       exec xlock -nice 0 -mode bat &

    Exec    "Blank"     exec xlock -nice 0 -mode blank &

    Exec    "Blot"      exec xlock -nice 0 -mode blot &

    Exec    "Bob"       exec xlock -nice 0 -mode bob &

    Exec    "Bounce"    exec xlock -nice 0 -mode bounce &

    Exec    "Flame"     exec xlock -nice 0 -mode flame &

    Exec    "Galaxy"    exec xlock -nice 0 -mode galaxy &

    Exec    "Grav"      exec xlock -nice 0 -mode grav &

    Exec    "Helix"     exec xlock -nice 0 -mode helix &

    Exec    "Hop"       exec xlock -nice 0 -mode hop   &

    Exec    "Hyper"     exec xlock -nice 0 -mode hyper &

    Exec    "Kaleid"    exec xlock -nice 0 -mode kaleid &

    Exec    "Life"      exec xlock -nice 0 -mode life   &

    Exec    "Life3d"    exec xlock -nice 0 -mode life3d   &

    Exec    "Maze"      exec xlock -nice 0 -mode maze &

    Exec    "Pyro"      exec xlock -nice 0 -mode pyro &

    Exec    "Qix"       exec xlock -nice 0 -mode qix &

    Exec    "Random"    exec xlock -nice 0 -mode random &

    Exec    "Rect"      exec xlock -nice 0 -mode rect &

    Exec    "Rock"      exec xlock -nice 0 -mode rock &

    Exec    "Rotor"     exec xlock -nice 0 -mode rotor &

    Exec    "Sphere"    exec xlock -nice 0 -mode sphere &

    Exec    "Spline"    exec xlock -nice 0 -mode spline &

    Exec    "Swarm"     exec xlock -nice 0 -mode swarm &

    Exec    "Wator"     exec xlock -nice 0 -mode wator &

    Exec    "Worm"      exec xlock -nice 0 -mode worm &

    Exec    "World"     exec xlock -nice 0 -mode world &

  EndPopup



  Popup "Games"

    Title   "Games"

    Exec    "Maze"      exec maze &

    Exec    "Spider"    exec spider &

    Exec    "Workman"   exec workman &

    Exec    "Xboard"    exec xboard &

    Exec    "Xcuckoo"   exec xcuckoo &

    Exec    "Xeyes"     exec xeyes &

    Exec    "Xhextris"  exec xhextris &

    Exec    "Xlander"   exec xlander &

    Exec    "Xlogo"     exec xlogo &

    Exec    "Xmahjongg" exec xmahjongg &

    Exec    "Xroach"    exec xroach &

    Exec    "Xtetris"   exec xtetris &

    Exec    "Xvier"     exec xvier &

  EndPopup



  Popup "Applications"

    Title   "Applications"

    Exec    "Ghostview"     exec ghostview &

    Exec    "GNU Emacs"     exec emacs &

    Exec    "Lucid Emacs"   exec lemacs &

    Exec    "Seyon"         exec seyon -modem /dev/modem &

    Exec    "XV"            exec xv &

    Exec    "X3270"         exec x3270 &

    Exec    "Xedit"         exec xedit &

    Exec    "Xfig"          exec xfig &

    Exec    "Xfilemanager"  exec xfilemanager &

    Exec    "Xfm"           exec xfm &

    Exec    "Xfractint"     exec rxvt -font 7x14 -e xfractint map=chroma &

    Exec    "Xgrab"         exec xgrab &

    Exec    "Xpaint"        exec xpaint &

    Exec    "Xspread"       exec xspread &

    Exec    "Xxgdb"         exec xxgdb &

  EndPopup



  # This menu is invoked as a sub-menu

  # - it allows you to quit,

  # restart, or switch to another WM.

  Popup "Quit-Verify"

    Title   "Really Quit Fvwm?"

    Quit    "Yes, Really Quit"

    Restart "Restart Fvwm"  fvwm

    Restart "Start twm"     twm

    Restart "Start tvtwm"   tvtwm

    Restart "Start mwm"     mwm

    Restart "Start olvwm"   /usr/openwin/bin/olvwm

    Restart "Start olwm"    /usr/openwin/bin/olwm

    Nop ""

    Nop "No, Don't Quit"

  EndPopup



  # Provides a list of modules to fire off

  Popup "Module-Popup"

      Title   "Modules"

      Module  "GoodStuff" GoodStuff

      Module  "Clean-Up"  FvwmClean

      Module  "Identify"  FvwmIdent

      Module  "SaveDesktop"   FvwmSave

      Module  "Debug"     FvwmDebug

      Module  "Pager"         FvwmPager 0 3

      Module  "FvwmWinList"   FvwmWinList

  EndPopup



  # This menu will fire up some very common utilities

  Popup "Utilities"

      Title   "Utilities"

          Exec    "Top"           exec rxvt  -font 7x14 -T Top -n Top -e

  top &

          Exec    "Calculator"    exec xcalc &

          Exec    "Xman"          exec xman &

          Exec    "Xmag"          exec xmag &

          Exec    "Oclock"        exec oclock &

          Nop     ""

          Popup   "Applications"  Applications

          Nop     ""

          Popup   "Shells"        Shells

          Nop     ""

          Popup   "Games"         Games

          Nop     ""

          Popup   "Screensaver"   Screensaver

          Nop     ""

          Popup   "Lock Screen"   Screenlock

      Nop ""

      Popup   "Modules"   Module-Popup

      Nop ""

      Popup   "Exit Fvwm" Quit-Verify

          Nop     ""

          Refresh "Refresh Screen"

  EndPopup



  # This defines the most common window operations

  <I># Modified to be more like Motif window manager.</I>

  Popup "Window Ops"

      Title       "Window Ops"

      Function    "Move    (Alt-F7)"      Move-or-Raise

      Function    "Resize  (Alt-F8)"  Resize-or-Raise

      Raise       "Restore  (Alt-F5)"

      Lower       "Lower (Alt-F3)"

      Iconify     "Minimize (Alt-F9)"

      Function    "Maximize (Alt-F10)"    maximize_func

      Nop         ""

      Destroy     "Destroy"

      Delete      "Delete"

      Nop     ""

      Refresh     "Refresh Screen"

  EndPopup



  # A trimmeddown version of "Window Ops",

  # good for binding to decorations

  <I>Popup "Window Ops2"</I>

      Function    "Move (Alt-F7)"     Move-or-Raise

      Function    "Resize"    Resize-or-Raise

      Raise       "Raise"

      Lower       "Lower"

      Iconify     "Iconify"

      Stick       "(Un)Stick"

      Nop         ""

      Destroy     "Destroy"

      Delete      "Delete"

      Nop         ""

      Module      "ScrollBar"     FvwmScroll 2 2

  EndPopup



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

  # One more complex function - couldn't be

  # defined earlier because it used

  # pop-up menus.

  #

  # This creates a Motif-ish sticky menu for

  # the titlebar window-ops

  # pop-up

  # Menu acts like normal twm menu if you

  # just hold the button down,

  # but if you click instead, the menu

  # stays up, Motif style

  <I># Was Window Ops2</I>

  Function "window_ops_func"

      PopUp   "Click"     Window Ops

      PopUp   "Motion"    Window Ops

  # Motif would add

  <I>Delete  "DoubleClick"</I>

  EndFunction



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

  # This defines the mouse bindings



  # First, for the mouse in the root window

  # Button 1 gives the Utilities menu

  # Button 2 gives the Window Ops menu

  # Button 3 gives the WindowList (like TwmWindows)

  # I use the AnyModifier (A) option for the

  # modifier field, so you can hold down

  # any shift-control-whatever combination you want!



  #     Button    Context Modifi  Function

  Mouse 1     R       A       PopUp "Utilities"

  Mouse 2     R       A       PopUp "Window Ops"

  Mouse 3         R       A       WindowList

  #Mouse 3        R       A       Module "winlist" FvwmWinList transient



  # Now the title bar buttons

  # Any button in the left titlebar button gives the window ops menu

  # Any button in the right titlebar button iconifies the window

  # Any button in the rightmost titlebar button maximizes

  # Note the use of "Mouse 0" for AnyButton.



  #     Button    Context Modifi  Function

  Mouse 0     1       A       Function "window_ops_func"

  Mouse 0     2       A       Function "maximize_func"

  Mouse 0     4       A       Iconify



  # Now the rest of the frame

  # Here I invoke my complex functions for

  # Move-or-lower, Move-or-raise,

  # and Resize-or-Raise.

  # Button 1 in the corner pieces, with any

  # modifiers, gives resize or raise

  <I># Allow resizing from window border, like mwm.</I>

  Mouse 1     FS  A   Function "Resize-or-Raise"

  # Button 1 in the title, sides, or icon,

  # w/ any modifiers, gives move or raise

  <I>Mouse 1     T  A   Function "Move-or-Raise"</I>



  # Button 1 in an icon gives move for a

  # drag, de-iconify for a double-click,

  # nothing for a single click

  # Button 2 in an icon, w/ any modifiers,

  # gives de-iconify



  Mouse 1     I   A   Function "Move-or-Iconify"

  Mouse 2     I   A   Iconify



  # Button 2 in the corners, sides, or titlebar

  # gives the window ops menu

  Mouse 2     FST A   Function "window_ops_func"

  # Button 3 anywhere in the decoration

  # (except the title bar buttons)

  # does a raise-lower

  Mouse 3     TSIF    A   RaiseLower



  # Button 3 in the window, with the Modifier-1

  # key (usually Alt or diamond)

  # gives Raise-Lower. Used to use control

  # here, but that interferes with xterm

  Mouse 3         W       M       RaiseLower



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

  # Now some keyboard shortcuts.



  # Arrow Keys

  # press arrow &#43; control anywhere,

  # and scroll by 1 page

  Key Left    A   C   Scroll -100 0

  Key Right   A   C   Scroll &#43;100 &#43;0

  Key Up      A   C   Scroll &#43;0   -100

  Key Down    A   C   Scroll &#43;0   &#43;100



  # press arrow &#43; meta key,

  # and scroll by 1/10 of a page

  Key Left    A   M   Scroll -10 &#43;0

  Key Right   A   M   Scroll &#43;10 &#43;0

  Key Up      A   M   Scroll &#43;0   -10

  Key Down    A   M   Scroll &#43;0   &#43;10



  # press shift arrow &#43; control anywhere,

  # and move the pointer by 1% of a page

  Key Left    A   SC  CursorMove -1 0

  Key Right   A   SC  CursorMove &#43;1 &#43;0

  Key Up      A   SC  CursorMove &#43;0   -1

  Key Down    A   SC  CursorMove &#43;0   &#43;1



  # press shift arrow &#43; meta key and

  # move the pointer by 1/10 of a page

  Key Left    A   SM  CursorMove -10 &#43;0

  Key Right   A   SM  CursorMove &#43;10 &#43;0

  Key Up      A   SM  CursorMove &#43;0   -10

  Key Down    A   SM  CursorMove &#43;0   &#43;10



  # Keyboard accelerators

  #Key F1     A   M   Popup "Utilities"

  #Key F1     A   M   Popup "Utilities"

  #Key F2     A   M   Popup "Window Ops"

  #Key F3     A   M   Module "WindowList" FvwmWinList

  #Key F4     A   M   Iconify

  #Key F5     A   M   Move

  #Key F6     A   M   Resize

  #Key F7     A   M   CirculateUp

  #Key F8     A   M   CirculateDown

  #

  <I>Key F1          WFST    M       Raise</I>

  Key F2          WFST    M       Delete

  Key F3          WFST    M       Lower

  Key F4          WFST    M       Destroy

  Key F5          WFST    M       Raise

  Key F6          A       M       WindowList

  Key F7          WFST    M       Move

  Key F8          WFST    M       Resize

  Key F9          WFST    M       Iconify

  Key F10         WFST    M       Maximize



  #Page Up/Dapge Down keys are used to

  # scroll by one desktop page

  # in any context, press page up/down &#43; control

  # in root context, just pressing page up/down is OK

  #

  # I prefer the non-wrapping scroll. These

  # are for example purposes only

  #Key Next   A       C       Scroll 100000 0

  #Key Next   R       N       Scroll 100000 0

  #Key Prior  A       C       Scroll -100000 0

  #Key Prior  R       N       Scroll -100000 0



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

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

  #Definitions used by the modules



  ######### GoodStuff button-bar ######

  # Colors

  *GoodStuffFore Black

  *GoodStuffBack #908090



  # Font

  *GoodStuffFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*

  # Geometry - really likes to pick its own size, but giving a position

  is OK

  *GoodStuffGeometry -1-90



  # Layout: specify rows or columns, not both

  *GoodStuffColumns 1



  # Define the buttons to use....

  *GoodStuff Kill    rbomb.xpm    Destroy



  # xterm or rxvts on remote machines can be done like this

  # Output redirection is csh style, not sh style

  # You will want to substitute your own hosts here!



  #*GoodStuff Dopey   rterm.xpm   Exec "dopey" rsh dopey "exec xterm -T

  dopey -display $HOSTDISPLAY &lt;/dev/null &gt;&#38;/dev/null &#38; "&#38;

  #*GoodStuff Grumpy  rterm.xpm   Exec "grumpy" rsh grumpy "exec xterm -T

  grumpy -display $HOSTDISPLAY &lt;/dev/null &gt;&#38;/dev/null &#38; "&#38;

  #*GoodStuff Snoopy  rterm.xpm   Exec "snoopy" rsh snoopy "exec xterm -T

  snoopy -display $HOSTDISPLAY &lt;/dev/null &gt;&#38;/dev/null &#38; "&#38;

  #*GoodStuff Xcalc   rcalc.xpm   Exec "Calculator" xcalc &#38;

  #*GoodStuff mail    mail2.xpm    Exec "xmh" xmh &#38;



  #*GoodStuff Paging  clamp.xpm   TogglePage

  #*GoodStuff xclock  clock.xpm   Swallow "xclock" xclock -bg \#908090 -

  geometry -1500-1500 -padding 0 &#38;



  ########## No Clutter ###############

  # I only wrote NoClutter as a simple test

  # case, but maybe some big sites like

  # universities really have usage problems

  # (too many open windows)....

  # Time delays are in seconds.

  *FvwmNoClutter 3600 Iconify 1

  *FvwmNoClutter 86400 Delete

  *FvwmNoCLutter 172800 Destroy



  ########## Window-Identifier ########

  # Just choose colors and a fonts

  *FvwmIdentBack MidnightBlue

  *FvwmIdentFore Yellow

  *FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*



  ############## Pager ################

  *FvwmPagerBack #908090

  *FvwmPagerFore #484048

  *FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*

  *FvwmPagerHilight #cab3ca

  *FvwmPagerGeometry -1-1

  *FvwmPagerLabel 0 Misc

  *FvwmPagerLabel 1 FrameMaker

  *FvwmPagerLabel 2 Mail

  *FvwmPagerLabel 3 Matlab

  *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 &#43;0-1

</PRE>

<!-- END CODE //-->

<P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="168-172.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="193-196.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -