Hi There,<br>
<br>
How can I interact with the system when starting - i.e. choose which init.d script to start or not.<br>
<br>
I put my own script into rc2.d, the system halts at my script when starting. I cannot login =(<br>
<br>
I also post my script below: ( it works before I put it into rc2.d)<br>
<br>
> /etc/rs2.d/S99myownscript<br>
#!/bin/sh<br>
SCRIPT=/myownscript<br>
[ -f $SCRIPT ] && python $SCRIPT<br>
<br>
> the python SCRIPT<br>
#!/bin/env python<br>
import os<br>
a = os.popen('iwlist ath0 scan').readlines()<br>
...<br>
...<br>
END<br>
<br>
The error message is  'ath0 doesnt not support scan, network is down' =(<br>
<br>
Thanks,<br>
CC<br>
<br>
<br><br><div><span class="gmail_quote">On 5/13/06, <b class="gmail_sendername"><a href="mailto:ubuntu-users-request@lists.ubuntu.com">ubuntu-users-request@lists.ubuntu.com</a></b> <<a href="mailto:ubuntu-users-request@lists.ubuntu.com">
ubuntu-users-request@lists.ubuntu.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send ubuntu-users mailing list submissions to
<br>        <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>        <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>or, via email, send a message with subject or body 'help' to<br>        <a href="mailto:ubuntu-users-request@lists.ubuntu.com">ubuntu-users-request@lists.ubuntu.com
</a><br><br>You can reach the person managing the list at<br>        <a href="mailto:ubuntu-users-owner@lists.ubuntu.com">ubuntu-users-owner@lists.ubuntu.com</a><br><br>When replying, please edit your Subject line so it is more specific
<br>than "Re: Contents of ubuntu-users digest..."<br><br><br>Today's Topics:<br><br>   1. Re: Google Video (Senectus .)<br>   2. Re: Compress an avi file? (Joel Bryan T. Juliano)<br>   3. Re: cannot get USB scanner detected - dapper beta (Paul Trevethan)
<br>   4. Re: Alternative to LaTeX? (Christoph Bier)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sat, 13 May 2006 17:20:39 +0800<br>From: "Senectus ." <
<a href="mailto:senectus@gmail.com">senectus@gmail.com</a>><br>Subject: Re: Google Video<br>To: "Ubuntu Help and User Discussions" <<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com
</a>><br>Message-ID:<br>        <<a href="mailto:d12e5c90605130220p56f179b8pea9c10b555d6c606@mail.gmail.com">d12e5c90605130220p56f179b8pea9c10b555d6c606@mail.gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
<br><br>On 5/13/06, Rajiv Vyas <<a href="mailto:rajiv1@gmail.com">rajiv1@gmail.com</a>> wrote:<br>> Is there a way to run Google Video on Ubuntu. I've VLC installed and<br>> when I try and play a Google Video it plays for a second or so.
<br>><br>Google video web site seems to play "flash video" so I suspect you'll<br>need one of the flash players.<br>I have it working on my laptop (not sure _how_ I got it working) but<br>not on my desktop..<br>
<br><br>--<br><a href="http://www.modmeup.net">www.modmeup.net</a><br>Ubuntu Dapper 6.06<br>The less you know, the more you believe. - Bono<br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Sat, 13 May 2006 17:33:27 +0800
<br>From: "Joel Bryan T. Juliano" <<a href="mailto:joelbryan.juliano@gmail.com">joelbryan.juliano@gmail.com</a>><br>Subject: Re: Compress an avi file?<br>To: Ubuntu Help and User Discussions <<a href="mailto:ubuntu-users@lists.ubuntu.com">
ubuntu-users@lists.ubuntu.com</a>><br>Message-ID: <1147512807.5168.12.camel@localhost><br>Content-Type: text/plain; charset="us-ascii"<br><br>On Sat, 2006-05-13 at 10:05 +0200, Nik wrote:<br>> In article <
<a href="mailto:b43bf2080605122109x7bc29981y625366758d131fde@mail.gmail.com">b43bf2080605122109x7bc29981y625366758d131fde@mail.gmail.com</a>>,<br>>    Sebastian Bassi <<a href="mailto:sbassi@gmail.com">sbassi@gmail.com
</a>> wrote:<br>> > I have a big avi file (2.8Gb) I'd like to upload to Google Video. I<br>> > have memcoder and a lot of video player programs installed in Ubuntu,<br>> > but I dont know how to encode it to make it smallers, like 600 or 700
<br>> > Mb. It is a 1 hour 45 minutes video.<br>><br>> I think you could probably re-encode using mencoder.  DVDRip uses this (I<br>> think) to make vcds - ie a whole film on one or more cds, exactly what you
<br>> want.<br>><br>> Nik<br>><br>><br><br>Have you tried converting your AVI file to OGG Theora?<br>Ogg Theora can make the filesize much smaller, and can make your video<br>quality good.<br><br>My testcase is a 300x200 mpg file, which is pixelized when I fullscreen
<br>it, but when I convert it to OGG Theora, I can't barely see any box<br>pixels.<br><br>And you don't need any codecs to install to play it, because it's a<br>default install in Ubuntu.<br><br>Download ffmpeg2theora from 
<a href="http://v2v.cc/~j/ffmpeg2theora/">http://v2v.cc/~j/ffmpeg2theora/</a> and convert<br>your avi file by running # ffmpeg2theora ./file.avi<br><br>--<br>Joel Bryan T. Juliano <<a href="mailto:joelbryan.juliano@gmail.com">
joelbryan.juliano@gmail.com</a>><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: not available<br>Type: application/pgp-signature<br>Size: 191 bytes<br>Desc: This is a digitally signed message part
<br>Url : <a href="https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060513/73b18ed1/attachment-0001.pgp">https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060513/73b18ed1/attachment-0001.pgp</a><br>
<br>------------------------------<br><br>Message: 3<br>Date: Sat, 13 May 2006 19:42:47 +1000<br>From: Paul Trevethan <<a href="mailto:plist@internode.on.net">plist@internode.on.net</a>><br>Subject: Re: cannot get USB scanner detected - dapper beta
<br>To: <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Message-ID: <20060513194247.6a29e273@localhost><br>Content-Type: text/plain; charset=US-ASCII<br><br>On Sat, 13 May 2006 10:03:00 +0200
<br>Nik <<a href="mailto:nik@cheddarcheese.de">nik@cheddarcheese.de</a>> wrote:<br><br>> In article <20060513160538.3aa0bc5f@localhost>,<br>>    Paul Trevethan <<a href="mailto:plist@internode.on.net">
plist@internode.on.net</a>> wrote:<br>> > Hi,<br>> > Hoping someone can guide me here? I have a HP 6200c usb scanner<br>> > attached to my machine that runs fully up-to-date dapper beta.<br>><br>> > Ever since the installation of dapper flight 6 (as a fresh
<br>> > install), I have not been able to get the scanner detected at all.<br>> > I mean "scanimage -L" and "sane-find-scanner" both show nothing<br>> > detected. The device itself is not detected, which to me indicates
<br>> > something amiss with my usb setup?<br>><br>> Can you see it using "usbview"?<br>><br>> Nik<br>><br>><br>No nick I cannot. It only shows 4xuhci and 1xehci controllers?<br>As I say, it seems to be a usb detection problem, not just a scanner
<br>issue. I don't have any other usb devices to plug in to try.<br><br>Cheers,<br>Paul.<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Sat, 13 May 2006 12:44:00 +0200<br>From: Christoph Bier <
<a href="mailto:christoph.bier@web.de">christoph.bier@web.de</a>><br>Subject: Re: Alternative to LaTeX?<br>To: <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Message-ID: <<a href="mailto:e44d95$s9c$1@sea.gmane.org">
e44d95$s9c$1@sea.gmane.org</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>Sean Hammond schrieb am 12.05.2006 18:19:<br><br>> Are you sure that would be in an introductory book about LaTeX?<br><br>Yes, if it's a good one ;-). Unfortunately I don't know good english
<br>literature for LaTeX except "The LaTeX Companion" (de facto standard<br>documentation) which has about 1200 pages. Recommendable!<br><br>Have a look at comp.text.tex.<br><br>> I have read The Not So Short Introduction To LaTeX, and I really know
<br>> the basics of LaTeX quite well, but it doesn't cover anything useful<br>> about colours or styles and I haven't been able to find anything great<br>> online.<br><br>$ texdoc color<br><br>or<br><br>$ texdoc xcolor
<br><br>> This koma class looks nice and it seems its provided in tetex on<br>> ubuntu by default,<br><br>Yes, it is, but I guess it's not up-to-date. v2.9u is the recent<br>one. Be careful with teTeX in Dapper. Hyphenation is broken:
<br><a href="https://launchpad.net/distros/ubuntu/+source/tetex-bin/+bug/36145">https://launchpad.net/distros/ubuntu/+source/tetex-bin/+bug/36145</a><br><br>> and indeed the command you provided works and my<br>> document looks quite nice now (thanks).
<br><br>Fine :-).<br><br>> But there doesn't seem to be<br>> much in the way of english documentation for the koma class, and<br>> googling for that \addtokomafont command (I'd like to see what other<br>> parameters it can take) turned up nothing either.
<br><br>$ texdoc scrguien<br><br>This works for (nearly) every package: texdoc <package>. It's not<br>true for graphic{s|x} (-> texdoc grfguide), hyperref (-> texdoc<br>manual) and maybe some other. All documentation is located in
<br>texmf/doc/latex. This tree can be found in your $HOME,<br>/usr/local/share or /usr/share/.<br><br>$ texdoc TETEXDOC # teTeX documentation<br><br>> Is \addtofont a general LaTeX thing or something added by koma?<br>
<br>KOMA-Script<br><br>Best,<br>  Christoph<br>--<br>+++ Typografie-Regeln: <a href="http://www.zvisionwelt.de/typokurz.pdf">http://www.zvisionwelt.de/typokurz.pdf</a> (1.4)<br><br><br><br><br>------------------------------
<br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
</a><br><br><br>End of ubuntu-users Digest, Vol 21, Issue 176<br>*********************************************<br></blockquote></div><br>