Bug#593101: hatari: problem with starting from script

2010-08-16 Thread Teemu Hukkanen
tags 593101 moreinfo
thanks

yellow  writes:

> you may find my  lemmingsatari.sh  code that is not possibly working from bash

> Error: Not an option nor disk image (lemmings.msa)
>
> so visibly it is not using my config file from my .hatari folder in cd :-(

The above error message can result from not finding the disk image file
you are trying to use, and that is what this looks like. Where is your
disk image (home directory, games/atarist, or some other location?), and
what do you have in your ~/.hatari/hatari.cfg that would make it behave
in a different way?

Thanks.


> #/bin/bash
> cd
> mkdir -p games/atarist
> clear 
> cd
> cd games/atarist
> setxkbmap us
>
> if [ "$1" = ""  ] ; then 
>
>
>
> cd 
> notify-send " Press F11 to menu / quit / fullscreen"
> notify-send " Press F12 to menu / quit / fullscreen"
>
> notify-send " Press F11 to menu / quit / fullscreen"
> notify-send " Press F12 to menu / quit / fullscreen"
>
>
> setxkbmap us
> hatari lemmings.msa
> setxkbmap fr
>
>
> else
> notify-send " Press F11 to menu / quit / fullscreen"
> notify-send " Press F12 to menu / quit / fullscreen"
> notify-send " Starting ATARI ST : $1"
> echo "$1 starting ..."
> hatari "$1"
> fi
>
>
>
> setxkbmap fr



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#593101: hatari: problem with starting from script

2010-08-15 Thread yellow
Package: hatari
Version: 1.4.0-1
Severity: minor


you may find my  lemmingsatari.sh  code that is not possibly working from bash


Configuration file /etc/hatari.cfg not found.

Hatari v1.4.0 - the Atari ST, STE, TT and Falcon emulator.

Hatari is free software licensed under the GNU General Public License.

Usage:
 hatari [options] [disk image name]

Try option "-h" or "--help" to display more information.

Error: Not an option nor disk image (lemmings.msa)


so visibly it is not using my config file from my .hatari folder in cd :-(






#/bin/bash
cd
mkdir -p games/atarist
clear 
cd
cd games/atarist
setxkbmap us

if [ "$1" = ""  ] ; then 



cd 
notify-send " Press F11 to menu / quit / fullscreen"
notify-send " Press F12 to menu / quit / fullscreen"

notify-send " Press F11 to menu / quit / fullscreen"
notify-send " Press F12 to menu / quit / fullscreen"


setxkbmap us
hatari lemmings.msa
setxkbmap fr


else
notify-send " Press F11 to menu / quit / fullscreen"
notify-send " Press F12 to menu / quit / fullscreen"
notify-send " Starting ATARI ST : $1"
echo "$1 starting ..."
hatari "$1"
fi



setxkbmap fr


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hatari depends on:
ii  libc6   2.11.2-2 Embedded GNU C Library: Shared lib
ii  libpng12-0  1.2.44-1 PNG library - runtime
ii  libreadline66.1-3GNU readline and history libraries
ii  libsdl1.2debian 1.2.14-6 Simple DirectMedia Layer
ii  libx11-62:1.3.3-3X11 client-side library
ii  python  2.6.5-11 interactive high-level object-orie
ii  python-support  1.0.9automated rebuilding support for P
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

hatari recommends no packages.

Versions of packages hatari suggests:
pn  dosfstools (no description available)
pn  mtools (no description available)
ii  unzip 6.0-4  De-archiver for .zip files

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org