public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* setting speakup to certain settings
@  Daniel Dalton
   ` Geoff Shang
   ` setting speakup to certain settings Jude DaShiell
  0 siblings, 2 replies; 10+ messages in thread
From: Daniel Dalton @  UTC (permalink / raw)
  To: Linux for blind general discussion

Hi,

I am trying to write a shell script to set all the speakup settings on 
boot up. Actually not all but some. I want punc level and reading to be 
at 2 and rate to be at 6.
It seems this is cleared at shutdown. Do I just run my script like this?
./scriptname.sh

This is what I did:
emacs ~/settings-speakup.sh

#!/bin/sh
echo 6 > /proc/speakup/rate
echo 2 > /proc/speakup/punc_level
echo 2 > /proc/speakup/reading_punc

(I hope the last line is correct)
when I save the file and type:
./settings-speakup.sh it says:
bash /settings-speakup.sh permission denied.
If I type it as root I get the same error.
Any ideas?
And once the script works how do I make it be ran when the box boots?

Also does anyone know of a good online guide to shell scripting?
Thanks.

-- 
Daniel Dalton

http://members.iinet.net.au/~ddalton/
daniel.dalton47@gmail.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 setting speakup to certain settings Daniel Dalton
 ` Geoff Shang
   ` Daniel Dalton
     ` Jude DaShiell
       ` Daniel Dalton
         ` Geoff Shang
           ` Linux and qwest Michael Malver
 ` setting speakup to certain settings Jude DaShiell
   ` Daniel Dalton
     ` Jude DaShiell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).