playing asx files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, I am new at Debian, too. I will tell you how I did it, but maybe 
someone else knows a better way.

First of all I created a file in /etc/init.d called "mystartup". You 
could call it anything you like. I have placed several commands in there 
such as the "echo" command I mentioned earlier, which are to run only 
once on system startup.

Next, that file needs to be included among the startup scripts by 
issuing a command such as the following, as root:

update-rc.d mystartup start 25 1 2 3 4 5 .

The numbers in that command begin with 25, which is a sort of priority 
number, followed by the different run levels in which the script is to 
be run. Be sure that the list of numbers ends with a period separated by 
a space from the last number.

Run level 0 is system halt, run level 6 is system restart, and the ones 
in between are the ones you want to actually run that script. Run level 
1 is "single user" or maintenance mode, and run level 2 is the one you 
normally operate in. The others are there for good measure.

Chuck


On Tue, 19 Apr 2005, Eric Kosten wrote:

> As a newbie, where is the most common place for a init or initialization
> script?  Using debian, what file should this be put inside?
> the rtc permissions should be put on the rtc located within /dev I guess??
> Eric
>
> -----Original Message-----
> From: speakup-bounces at braille.uwo.ca
> [mailto:speakup-bounces at braille.uwo.ca]On Behalf Of Charles Hallenbeck
> Sent: Tuesday, April 19, 2005 6:58 AM
> To: Speakup is a screen review system for Linux.
> Subject: Re: playing asx files
>
>
>
> Two things for you to do:
>
> Put this line somewhere in your startup scripts, depending on your
> distro:
>
> echo 1024 > /proc/sys/dev/rtc/max-user-freq
>
> Then make sure the device /dev/rtc has permissions 666 so everybody can
> read/write to it.
>
>
> On Mon, 18 Apr 2005, Eric Kosten wrote:
>
>> Hello listers. I am trying to use the well spoken of mplayer to play .asx
>> windows media files.  The message that I get when trying that is:
>> linux init error
>> ioctl (rtc_irqp_set 1024) permission denied
>> try adding "1024 >/proc/sys/dev/rtc/max-user-freq" to your system startup
>> scripts
>> win32 LoadLibrary failed to load: avisynth.dll
>> /usr/local/lib/codecs/avisynth.dll exiting...
>> This all because of this file.
>> Eric
>> _______________________________________________
>> Speakup mailing list
>> Speakup at braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>
> --
> The Moon is Waxing Gibbous (76% of Full)
> "Things are in the saddle, and they ride mankind." Ralph Waldo Emerson
> Visit my download site at http://www.mhcable.com/~chuckh
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.9.17 - Release Date: 4/19/2005
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

-- 
The Moon is Waxing Gibbous (77% of Full)
"Things are in the saddle, and they ride mankind." Ralph Waldo Emerson
Visit my download site at http://www.mhcable.com/~chuckh




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux