Re: KDE App Launcher

2006-03-26 Thread hackmiester / Hunter Fuller
On Friday 24 March 2006 07:52, Nikolas Britton wrote:
> How do I get KDE to run this command:
>
> setenv SDL_VIDEO_X11_DGAMOUSE 0; setenv QEMU_AUDIO_DRV sdl; nice +5
> qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img&
>
> or this:
>
> export SDL_VIDEO_X11_DGAMOUSE=0; export QEMU_AUDIO_DRV=sdl ; nice +5
> nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img&
>
> Or this, win98se_start.sh:

 #!/bin/sh
 export SDL_VIDEO_X11_DGAMOUSE=0 > ~/qemulog
 export QEMU_AUDIO_DRV=sdl >> ~/qemulog
 nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img& >> ~/qemulog
 exit
>
> I can't get any of them to work, I've tried other permutations too.
> The only way I got it to work is if I tell it to run in a term window,
> but I don't want that.
Modify your script as I did. Then, paste the contents of the qemulog file, if 
it has any.
>
>
>
>
> --
> BSD Podcasts @ http://bsdtalk.blogspot.com/
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
--hackmiester
Walk a mile in my shoes and you will be a mile away in a new pair of shoes.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD/yYl3ApzN91C7BcRAoVVAJ97uhjh30nQ4hd9bQ90gJqiwsLEfgCeKSrg
bVfqEeJ09WhO6Y51WHEHb6o=
=VTUd
-END PGP SIGNATURE-

-BEGIN GEEK CODE BLOCK-
Version: Geek Code v3.1 (PHP)
GCS/CM/E/IT d-@ s: a- C++$ UBLS*$ P+ L+++$ E- W++$ !N-- !o+ K-- !w-- !O-
M++$ V-- PS@ PE@ Y--? PGP++ !t--- 5--? !X-- !R-- tv-- b+ DI++ D++ G+ e
h r+++ z
--END GEEK CODE BLOCK--

Quick contact info:
Work: [EMAIL PROTECTED]
Personal: [EMAIL PROTECTED]
Large files/spam: [EMAIL PROTECTED]
GTalk:hackmiester/AIM:hackmiester1337/Y!:hackm1ester/IRC:irc.7sinz.net/7sinz


pgp08Kxho7zBP.pgp
Description: PGP signature


Re: KDE App Launcher

2006-03-25 Thread Nikolas Britton
On 3/24/06, Chuck Swiger <[EMAIL PROTECTED]> wrote:
> Lowell Gilbert wrote:
> > Chuck Swiger <[EMAIL PROTECTED]> writes:
> >> For /bin/sh, you can't export a variable on the line you set it; that's an
> >> extension found in bash, ksh, and zsh, but is not part of the original sh:
> >
> > It is, however, supported by *FreeBSD*'s /bin/sh.
>
> Even back in 4.x?  Hmm, seems so, I guess you're right.
>
> Thanks for the clarification,
> --
> -Chuck

FYI, here is what got it to work:

%more ./qemu/win98se/win98se_start.sh
#!/bin/sh
##
# Windows 98SE (default Install) w/SP2.1a (all options), IE6SP1, DirectX9c,
# dotNet1.1SP1, Firefox1.5.1, WinZip8, es1370 driver, cpu idle hack.
# All Windows Update Patches = 03/25/2006.
##
SDL_VIDEO_X11_DGAMOUSE=0
export SDL_VIDEO_X11_DGAMOUSE
QEMU_AUDIO_DRV=sdl
export QEMU_AUDIO_DRV
nohup nice -n 10 /usr/local/bin/qemu -soundhw es1370 -m 64 -boot c
-hda '/usr/home/nbritton/qemu/win98se/win98se_disk.img'&
exit;
%more ./Desktop/Win98SE.desktop
[Desktop Entry]
Comment=Windows 98 Second Edition, Service Pack 2.1a
Comment[en_US]=Windows 98 Second Edition, Service Pack 2.1a
Encoding=UTF-8
Exec='/usr/home/nbritton/qemu/win98se/win98se_start.sh'
GenericName=
GenericName[en_US]=
Icon=samba
MimeType=
Name=Win98SE
Name[en_US]=Win98SE
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=none
X-KDE-SubstituteUID=false
X-KDE-Username=


--
BSD Podcasts @ http://bsdtalk.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE App Launcher

2006-03-24 Thread Chuck Swiger
Lowell Gilbert wrote:
> Chuck Swiger <[EMAIL PROTECTED]> writes:
>> For /bin/sh, you can't export a variable on the line you set it; that's an
>> extension found in bash, ksh, and zsh, but is not part of the original sh:
> 
> It is, however, supported by *FreeBSD*'s /bin/sh.

Even back in 4.x?  Hmm, seems so, I guess you're right.

Thanks for the clarification,
-- 
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE App Launcher

2006-03-24 Thread Lowell Gilbert
Chuck Swiger <[EMAIL PROTECTED]> writes:

> For /bin/sh, you can't export a variable on the line you set it; that's an
> extension found in bash, ksh, and zsh, but is not part of the original sh:

It is, however, supported by *FreeBSD*'s /bin/sh.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE App Launcher

2006-03-24 Thread Chuck Swiger
Nikolas Britton wrote:
> How do I get KDE to run this command:
> 
> setenv SDL_VIDEO_X11_DGAMOUSE 0; setenv QEMU_AUDIO_DRV sdl; nice +5
> qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img&
> 
> or this:
> 
> export SDL_VIDEO_X11_DGAMOUSE=0; export QEMU_AUDIO_DRV=sdl ; nice +5
> nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img&
> 
> Or this, win98se_start.sh:
> 
> #!/bin/sh
> export SDL_VIDEO_X11_DGAMOUSE=0
> export QEMU_AUDIO_DRV=sdl
> nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img&
> exit
> 
> I can't get any of them to work, I've tried other permutations too.
> The only way I got it to work is if I tell it to run in a term window,
> but I don't want that.

setenv is csh; export is /bin/sh.  Don't confuse the two or else you will be
doomed to wander endlessly in confusion.  :-) / 2

For /bin/sh, you can't export a variable on the line you set it; that's an
extension found in bash, ksh, and zsh, but is not part of the original sh:

  #!/bin/sh
  SDL_VIDEO_X11_DGAMOUSE=0
  export SDL_VIDEO_X11_DGAMOUSE
  QEMU_AUDIO_DRV=sdl
  export QEMU_AUDIO_DRV
  nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img &

-- 
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"