John H. Robinson, IV wrote:
> Germ?n Arias wrote:
> > Hi, the gnome's tool don't work, show the panel ask me if I want keep the
> > new resolution or back at the last, but the resolution don't change. Then,
> > I did make a script call "Default" on /etc/gdm/PostLogin with code
> >
> > xrandr -s 1280x1024
>
> Most games I have used have reset the resolution to the previous when
> they exit. You may want to make a wrapper akin to the following:
#!/bin/sh
RES=`xrandr -q | awk '/^\*/ { print $2 "x" $4 }'`
"$@"
xrandr -s "${RES}"
> invoked as such:
$ play_game /usr/games/robotfindskitten 30
"$@" will pass along the options, as well as the program executable
itself.
--
John H. Robinson, IV [EMAIL PROTECTED]
http ((((
WARNING: I cannot be held responsible for the above, sbih.org ( )(:[
as apparently my cats have learned how to type. spiders.html ((((
--
To unsubscribe, send mail to [EMAIL PROTECTED]