> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Ronald J. Hall > Sent: Tuesday, July 06, 2004 5:14 AM > To: [EMAIL PROTECTED] > Subject: Re: [newbie] nice/renice question > > > On Tuesday 06 July 2004 02:44 pm, Greg Meyer wrote: > ->On Tuesday 06 July 2004 01:13 am, Ronald J. Hall wrote: > ->> Okay, so I want to give a game on my sons comp *top* priorty when > running. ->> (I'm still trying to get better performance out of 10.0 here). > ->> > ->> How can I make a game like Starcraft, via winex3 or cedega run with a > -20? ->> It would be nice if it could be configured so the actual command > doesn't ->> have to be typed in every time, but that the system always knows > to run ->> this game or app this way. > ->> > ->Not sure if you have to give wine a priority as well, but you could just > make ->a bash wrapper script to start it off. Name it something like > starcraft.sh -> > ->#!/bin/bash > ->#Startup script for Starcraft > -> > ->winex starcraft blah blah blah > -> > ->exit > -> > ->then chmod +x starcraft.sh and place it in your path, then all you have to > do ->is type starcraft.sh to start it up. > -> > > I already do have a small script for games like that (Dosbox and Sarien games > as well). I have a folder on each of the kids desktop called Games with icons > (link to application) in them, pointing to each script, so all they have to > do is click an icon to play any game thats installed. > > For example, the starcraft script looks like this: > > #!/bin/bash > #script to run Starcraft: Brood Wars > cd .transgaming/c_drive/Program\ Files/Starcraft > winex3 starcraft.exe
nice -n -20 winex3 starcraft.exe (see 'nice --help') HTH, Bill > > so where do I use nice or renice at? (I looked at the man pages and examples > off the 'Net but I'm still in unfamiliar territory here). > > could I add it to the script above or hit the script directy with it? I'd > really like it so that when the kids click on the starcraft icon, its done. > Thats my goal. > > -- > > /\ > Dark< >Lord > \/ > > >
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
