home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!col.hp.com!fc.hp.com!sde.hp.com!pld
- From: pld@fc.hp.com (Paul_Dineen)
- Newsgroups: comp.sys.hp
- Subject: Re: inverse to x11start
- Date: 22 Jan 1993 01:24:14 GMT
- Organization: HP CLO/CoLL, Fort Collins, CO
- Lines: 53
- Distribution: na
- Message-ID: <1jnibuINNp5@hpfcbig.sde.hp.com>
- References: <1jn9hfINNl1h@shelley.u.washington.edu>
- NNTP-Posting-Host: hpfcrt.fc.hp.com
- X-Newsreader: TIN [version 1.1.4 PL6]
-
- Kevin Caskey (kevin@carson.u.washington.edu) wrote:
- : I am at a loss to find a way to log out on my hp9000-340.
- : when I log in x windows does not start by default. To start it I
- : issue the x11start command. X windows then starts up. However, I can not
- : log out from x windows nor shut it down. Last night I shut off the machine
- : just to log off. There must be a cleaner way.
-
- Are you using Motif? If so, use a root window definition like the
- following in your .mwmrc file:
-
- Menu "SystemMenu"
- {
- "Window Manager" f.title
- "refresh screen" f.refresh
- "restart wm" f.restart
- "quit wm" f.quit_mwm <--
- }
-
- Associate this with a mouse button with something like:
-
- Buttons "DefaultButtonBindings"
- {
- <Btn1Up> root f.menu "SystemMenu" <--
- <Btn2Up> root f.menu "Programs"
- <Btn3Up> root f.menu "MachineMenu"
-
- Meta <Btn1Down> window f.raise_lower
- Meta <Btn2Down> window f.move
- <etc>
- }
-
- Then, use button 1 (in this case) to get the "SystemMenu" display,
- then click on "quit wm".
-
-
- Actually, I organized this a little differently after I once accidentally
- "quit wm" when I meant to just "restart wm". I put the "quit wm" on its
- own pane, with:
-
- Menu "SystemMenu"
- {
- "Window Manager" f.title
- "refresh screen" f.refresh
- "restart wm" f.restart
- "quit wm" f.menu "QuitMenu"
- }
-
- Menu "QuitMenu"
- {
- "Quit window manager" f.title
- "quit wm" f.quit_mwm
- }
-
-