[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users 01143] Re: %xsystem leaves a window
- To: mgp-users@mew.org
- Subject: [mgp-users 01143] Re: %xsystem leaves a window
- From: Grunde Løvoll <grunde.lovoll@fys.uio.no>
- Date: 26 May 2003 07:16:09 +0200
- Delivered-to: mailing list mgp-users@mew.org
- Delivered-to: moderator for mgp-users@mew.org
- In-reply-to: <>
- Mailing-list: contact mgp-users-help@mew.org; run by ezmlm
- Organization: UiO
- References: <>
On Sat, 2003-05-24 at 22:34, Sam Steingold wrote:
> %xsystem "xclock" leaves an empty open window which cannot be killed
> (only destroyed or deleted together with the window manager)
>
> I am using RH9 with mgp 1.09a (20010927)
The solution is to run mgp without a window manager in it's own
x-session. This works for me in RH9 (using embedded x-apps (like
mpeg_play and friends ;-)). This is a neat trick since you can keep on
working in your "regular" x-session (switch between sessions with
Ctrl-Alt-F7/Ctrl-Alt-F8). You can even update pages in your presentation
while mgp is running (but not add new pages).
I got this tip on this list a year ago or something (I don't remember by
who) and it works well...
Attached you'll find the small script used to start the new x-server and
MagicPoint.
Best
Grunde
--
Grunde Løvoll
mailto:grundel@fys.uio.no
http://www.fys.uio.no/~grundel/work.html
ICQ: 103294772
Jabber: finrod@jabber.org
f u cn rd ths u r prbly a gk
#!/bin/bash
#
# xmgp :: start mgp on its own display
#
DISPLAY=":1" export DISPLAY
X -ac $DISPLAY 2>/dev/null &
sleep 1 # give X a head-start
mgp $*
killall X # terminate X when mgp exits