Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: dmaze@donut.mit.edu (David Z. Maze)
Subject: Re: FOCUS on windows, X login sessions
Date: 1997/09/19	[thread overview]
Message-ID: <87afh93375.fsf@donut.mit.edu> (raw)
In-Reply-To: 342227B4.7C99333A@axpbo4.bo.infn.it


(Followups set to comp.os.linux.x.)

Diego Casadei <casadei@axpbo4.bo.infn.it> writes:
DC>   Well, it happens that after a while I can't focus on a window by
DC>   clicking on it with the mouse, that is the window (eventually) come
DC>   to foreground but I can't interact with it (if I type something, this
DC>   won't appear there, but in the window where the focus was previously).

Hmm...this is a window manager issue...are you using fvwm95?  I use
fvwm2 (which is related) and don't have similar problems.

DC>   I noted that this happens sistematically when I run (locally) emacs
DC>   and paw++ (Physics Analysis Workstation, a big program developed at 
DC>   CERN).

If either of these programs isn't well-behaved WRT the window manager,
it could cause the problems you describe.  Nasty things can happen
when applications try to grab the input focus, change the stacking
level, etc. without working with the window manager.

DC> PS.  I'm using id:5:initdefault: to boot and get X logins with xdm, 
DC>      but I get first a character based login prompt and then (after
DC>      about a second) the X server starts offering a xdm login prompt.
DC>      I know that XFree is a separate package in respect to the Linux
DC>      kernel, but it would be nice if (at LILO startup, for example)
DC>      I could choose text mode or graphical mode first of all, and
DC>      then obtain a neat xdm login prompt.

You can specify the starting runlevel at the LILO prompt, for example
"linux 4" is your boot image is named "linux".  IIRC, that should
allow you to boot without xdm.

DC>      Next, I whish I were able to terminate the session by typing
DC>      logout at the shell prompt (now I have to use the 
DC>      Ctrl-Alt-Backspace "hot" combination, that shuts down the server!
DC>      The server immediately restarts, but it is not a perfect soultion).

Your X session ends when the xsession program exits.  This is a shell
script, that could exist in $HOME/.xsession.  Normally, it looks sort
of like

#!/bin/sh
xrdb -load .Xresources
xsetroot -solid "rgbi:0.0/0.0/0.05"
xhost +localhost
xterm &
exec fvwm2

The last line is the important one: when it finishes (i.e. the user
exits fvwm2), the xsession ends.  If you want to run fvwm95 but also
have an xterm the user can log out from, you could try something more
like

#!/bin/sh
fvwm95 &
xterm -ls

DC>      I hope that a better integration will be the characteristic of
DC>      the Linux kernel 3.

There's been a lot of discussion about what belongs where WRT graphics
and the kernel; IMHO, TRTTD is to put some kind of generic low-level
graphics interface into the kernel and let everything else (X,
SVGAlib, etc.) run atop this.  The GGI project
(http://synergy.caltech.edu/~ggi/) is working on this.  I don't know
how likely it is to ever make it into production kernels, though.

There have been discussions about integrating the GUI into the kernel
and such, but the general agreement has been that that would be a Bad
Idea.

DC> PS^2.I find the bar at the bottom of Fvwm-95 very useful, but I think
DC>      we will live better without the look and feel of Win95.  For 
DC>      example I'd like to see no "Start" button at all (why not to use
DC>      a square button with the Penguin instead -- does anybody know what
DC>      its name is?)?

Well, the newest release of fvwm2 (2.0.46) has the button bar
available as a module, but it uses by default a more Motif-like look.
You could look into using that.

The penguin's name is Tux.

-- 
 _____________________________
/                             \  "If you are hit by a rubber dart, you
|          David Maze         |   are hit by a rubber dart.  Role-play
|         dmaze@mit.edu       |   accordingly."
| http://donut.mit.edu/dmaze/ |  -- Rules for _Die You Commie Bastard!_,
\_____________________________/      an MIT Assassins' Guild game



  parent reply	other threads:[~1997-09-19  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-19  4:00 FOCUS on windows, X login sessions Diego Casadei
1997-09-19  4:00 ` Simon Inns
1997-09-19  4:00 ` David Z. Maze [this message]
1997-09-19  4:00 ` Diego Casadei
1997-09-20  4:00   ` Peter B. West
1997-09-22  4:00   ` Karsten M. Self
1997-09-21  4:00 ` Jim Howes
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox