* Jun 30 19:24 Mikhael Goikhman <[EMAIL PROTECTED]>:
> On 30 Jun 2003 19:12:02 +0200, Johan Svedberg wrote:
> > 
> > * Jun 30 19:04 Johan Svedberg <[EMAIL PROTECTED]>:
> > > Hi, all!
> > >
> > > I've bumped into somewhat of a problem when I Swallow XConsole in my
> > > FvwmButtons. The problem lies in the fact that on some systems where I
> > > use this setup the display manager (XDM) has already started an XConsole. 
> > > So
> > > when I use a this line:
> > >
> > >         *FvwmButtons: (1x1-0+0, Padding 0 0, Swallow "XConsole" 'Exec 
> > > exec xconsole -bg black -fg white -fn 5x7 -file /dev/console -verbose &')
> > >
> > > ...the XConsole doesn't even get swallowed. Now I know that I can use
> > > Swallow (UseOld) to make it swallow the existing XConsole, but then I
> > > have the problem that I can't customize XConsole the way I want.
> > >
> > > So I guess what I'm looking for is a way to get the running XConsole out
> > > of the way and swallow my own process, is there a clean way to do this?
> > 
> > Looking at the existing flags to Swallow, maybe KillOld would be an idea
> > to implement?
> 
> Do:
> 
>   *FvwmButtons: (1x1-0+0, Padding 0 0, Swallow "XConsole" 'Exec killall 
> xconsole; xconsole -bg black -fg white -fn 5x7 -file /dev/console -verbose')
> 
> If your system has no killall, replace it with kill/pidof or whatever
> else your system has.
> 
> Or alternativelly use (Swallow "XConsole" RestartConsole) with:
> 
>   AddToFunc RestartConsole
>   + I All (XConsole) Close
>   + I Exec exec xconsole -bg black -fg white -fn 5x7 -file /dev/console 
> -verbose

Thanks Mikhael.

-- 
Johan Svedberg, [EMAIL PROTECTED], http://www.acc.umu.se/~winkle
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to