home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp / 15185 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.9 KB

  1. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!col.hp.com!fc.hp.com!sde.hp.com!pld
  2. From: pld@fc.hp.com (Paul_Dineen)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: inverse to x11start
  5. Date: 22 Jan 1993 01:24:14 GMT
  6. Organization: HP CLO/CoLL, Fort Collins, CO
  7. Lines: 53
  8. Distribution: na
  9. Message-ID: <1jnibuINNp5@hpfcbig.sde.hp.com>
  10. References: <1jn9hfINNl1h@shelley.u.washington.edu>
  11. NNTP-Posting-Host: hpfcrt.fc.hp.com
  12. X-Newsreader: TIN [version 1.1.4 PL6]
  13.  
  14. Kevin Caskey (kevin@carson.u.washington.edu) wrote:
  15. : I am at a loss to find a way to log out on my hp9000-340.
  16. : when I log in x windows does not start by default. To start it I
  17. : issue the x11start command. X windows then starts up. However, I can not
  18. : log out from x windows nor shut it down. Last night I shut off the machine
  19. : just to log off. There must be a cleaner way.
  20.  
  21.   Are you using Motif?  If so, use a root window definition like the
  22.   following in your .mwmrc file:
  23.  
  24. Menu "SystemMenu"
  25. {
  26.    "Window Manager"     f.title
  27.    "refresh screen"     f.refresh
  28.    "restart wm"         f.restart
  29.    "quit wm"            f.quit_mwm            <--
  30. }
  31.  
  32.  Associate this with a mouse button with something like:
  33.  
  34. Buttons "DefaultButtonBindings"
  35. {
  36. <Btn1Up>        root    f.menu "SystemMenu"        <--
  37. <Btn2Up>        root    f.menu "Programs"
  38. <Btn3Up>        root    f.menu "MachineMenu"
  39.  
  40. Meta <Btn1Down> window  f.raise_lower
  41. Meta <Btn2Down> window  f.move
  42. <etc>
  43. }
  44.  
  45.  Then, use button 1 (in this case) to get the "SystemMenu" display, 
  46.  then click on "quit wm".
  47.  
  48.  
  49.  Actually, I organized this a little differently after I once accidentally
  50.  "quit wm" when I meant to just "restart wm".  I put the "quit wm" on its
  51.  own pane, with:
  52.  
  53. Menu "SystemMenu"
  54. {
  55.    "Window Manager"     f.title
  56.    "refresh screen"     f.refresh
  57.    "restart wm"         f.restart
  58.    "quit wm"            f.menu "QuitMenu"
  59. }
  60.  
  61. Menu "QuitMenu"
  62. {
  63.    "Quit window manager"     f.title
  64.    "quit wm"            f.quit_mwm
  65. }
  66.  
  67.