Re: [newbie] file name format in Grip
Hi, the problem is solved. Under config/misc there was not only a Do not change spaces to underscore, but also a Do not lowercase filenames checkbox. Thank you all Fifner - Original Message - From: Richard Urwin [EMAIL PROTECTED] Date: Tue, 12 Aug 2003 08:04:14 +0100 To: [EMAIL PROTECTED] Subject: Re: [newbie] file name format in Grip On Tuesday 12 Aug 2003 5:05 am, Todd Slater wrote: On Tue, Aug 12, 2003 at 12:41:05AM +0100, Richard Urwin wrote: On Monday 11 Aug 2003 9:08 pm, Todd Slater wrote: On Mon, Aug 11, 2003 at 01:28:59PM -0500, fifner the dragon wrote: Hi all, I just started to rip my complete cd collection to ogg using Grip. The ogg files are named by default like: 11_sun_in_your_face.ogg The encode file format is set to ~/mp3/%A/%d/%t_%n.ogg I want capital letters in the beginning of every word and spaces instead of underlines between the words. How shoud I set the encode file format to get the following file name: 11_Sun In Your Face.ogg Thanks in advance, Fifner This is Linux, you'll have to do that manually to each file you encode. Or, you can use another app like easytag. But seriously now folks, there should be an option in options somewhere that says replace spaces with underscores. I'd say if you uncheck that you should be set except for the capital letters. My first instinct is man tr on that one. tr only matches single characters, it could uppercase the whole name, Like I always say, never trust your first instinct ;) but it isn't up to capitalising each word. The required command is something like: for $i in *.ogg do mv $i `echo $i|sed s/\([_ ]\)\([a-z]\)/\1\u\2/g` done The sed command is correct, but I get syntax errors on the 'for', maybe someone can jump in and correct me. If the filename has spaces in it you need to quote $i in the mv command, i.e. 'mv $i ...'. True. but I couldn't get it to get that far. It complains that mv is unexpected. Something to do with the for syntax that I couldn't find the right mystical incantation for. If you're interested, here's a comp.unix.shell search on change case: http://groups.google.com/groups?hl=enlr=ie=ISO-8859-1q=change+case meta=group%3Dcomp.unix.shell There I found this script that works for converting to initial caps: #!/bin/sed -f s/$/aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ/ s/^\([a-z]\)\(.*\1\)\(.\)/\3\2\3/ :more s/\([ ]\)\([a-z]\)\(.*\2\)\(.\)/\1\4\3\4/ t more s/aA[b-zB-Z]*$// That is a general purpose script for handling text. In this case we can be simpler and still get the job done. (the stuff in the first pair of brackets after :more is a space and a tab.) However, it will not work with a file named 11_fun in the sun.ogg as 11_fun counts as a word. Add a _ to the space and tab and it would work. Todd -- Richard Urwin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- __ Sign-up for your own personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] KDE loading
Hi, When I load the KDE manager, before showing up the desktop , I get the network connection wizards. (drakconnect). I then press cancel and enter tha kde desktop. All then are working fine ... even the network I setuped it manually... The question is: Where may be the script that loads the network wizards each time it loads kde? How can I remove it? Please the answer is very specific... if anyone knows the answer I would be obliged to ... Please don't reply with posts like KDE sucks ... put Gnome or WM as GUI for linux. :). I am tired of this posts. Thank you in advance and sorry for my english koppermind... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] subscribe newbie@linux-mandrake.com
[newbie] how do i release the ipnumber with dhcp
My internet provider has changed to DHCP unfortunatley. When I want to switch to my windowscomputer(for games) I have to wait maybe 2 ours before I can get the connection to work. I cant get my ip from dhcp because It's locked to the linuxcomp's nic-adress. It's dhcp but I will get the ip is locked so I will get the same number every time. From windows I can release it with ipconfig /release How do I do it from linux? There must be some easy command for this. I have to use my modem to send this mail...:( \Thomas...Hoping to get a quick answer... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] OT--General Linux Questions
On Sunday 10 August 2003 12:26 pm, David E. Fox wrote: 1. After reading this article ... http://seattletimes.nwsource.com/html/businesstechnology/2001436280_linux group08.html Please put that back. :) I couldn't access it. :) I am left wondering; where does Intel stand in the debate? Are they officially on the M$ side of things are are they attempting to play Even if that's relevant, AMD makes better processors. See tom's hardware. AMD (ca 2001 when I put this box together, at that time the Pentium 4 had just surfaced) is better and faster at the same clock speed than P4. There are still serious issues like cache and pipeline stalls in the P4, unless Intel fixed that since. If Intel is more MS-friendly than they should be, I don't know. I'll stick with AMD. I, for one, don't want a computer that keeps track of my existence and reports to MS - I know I exist, and don't need any help in that area. Of course, I'm referring to the increasing possibility of DMCA-aware computing, with processors that detect or refuse to run stuff.) I can sum up the SCO effort in 2 words: unjust enrichment. I read another article which made the point that at one time SCO (they acquired Caldera, right?) was actively trying to market a commercial Linux distro. I never opted for Caldera, but I read the reviews and such. Now, they did much of that through GPL, no? Did SCO commit any *non GPL* changes to the Linux kernel? No - they would have been rejected by Linus. (Anyone got his input?) AIX is a totally different animal than Linux. The kernels are different. How dare SCO tell IBM that every customer is now using an illegal product. (we use AIX + Pick at work). But isn't that SCO's argument? That Linux got polluted by source from AIX? Redhat, Mandrake, debian, etc. have not signed contracts with SCO to my knowledge. I know I didn't. I can't be in violation of a non-existant license. SCO will never see any money from me. Might as well tell them that if Linux did not exist, millions of people probably would be pirating SCO, or perhaps Windows. neutral in all of this. I have never used an AMD processor and I wasn't AMD is superior. license for software they shipped me under the pretense that it was 'free'? Was it shrinkwrapped? Did it have a non-GPL type license to it? There have been precedences in the user community reactions over the years - involving en masse switching to the competition. For instance, rememmber SEA versus Phil Katz? The result of that was thousands of BBSes switching to ZIP, almost overnight. GIF licensing threats from Unisys engendered a similar reaction, more recently. So if SCO wins, I'll switch to FreeBSD :). I'd rather not, though. FreeBSD is fine, but I think it would require a lot more post-install setup than Linux distros do ATM. I could be wrong on that - I haven't tried it in a very long time. -=Thinker David E. Fox Thanks for letting me [EMAIL PROTECTED]change magnetic patterns [EMAIL PROTECTED] on your hard disk. --- Actually the way I read it was that Caldera acquired SCO and then since they were bringing in more revenue on SCO products, they changed the company name from Caldera to SCO. Better identifies with what they sold more of at less of a loss. So basically the SCO interests took over the Caldera interests and some of the Caldera Officers who were pro open source left the company. Now named SCO of course. That is my take on the convolutions of this nefarious company. -- Dennis M. linux user #180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] how to burn *.bin
Still being wet behind the ear's with this, the web page seemed a little confusing. It is talking about dll's (window's if not mistaken) and Nero (window's again) then showing command line stuff. The dll is cygwin which is a windows Linux emulator so will this work under native Linux without Nero? Thanks, Tony. -Original Message- From: Todd Slater [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:35 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] how to burn *.bin On Thu, Aug 07, 2003 at 11:34:43AM +0200, [EMAIL PROTECTED] wrote: hi how to burn a *.bin file? i've a Cue-Sheet to the bin-file. K3b can not handle this, or i dont know how it works... any other burn application? another question: how to burn a *.bin without a cue-sheet? remo This might help you: http://www.dvdrhelp.com/cdrdao.htm Todd -+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+- This message, and any associated attachment is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify either Tony S. Sykes or the postmaster mailto:[EMAIL PROTECTED] immediately. The contents of this message may contain personal views which are not necessarily the views of Business Computer Projects Ltd., unless specifically stated. Whilst every effort has been made to ensure that emails and their attachments are virus free, it is the responsibility of the recipient(s) to verify the integrity of such emails. Business Computer Projects Ltd BCP House 151 Charles Street Stockport Cheshire SK1 3JY Tel: +44 (0)161 355-3000 Fax: +44 (0)161 355-3001 Web: http://www.bcpsoftware.com http://www.bcpsoftware.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Video Card incompatable?
I ran mcc from console and went to display configuration, but my card isn't listed there. I wants Trio64 (so it defaults to), but that doesn't work. - Original Message - From: Cody Harris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 9:53 AM Subject: Re: [newbie] Video Card incompatable? - Original Message - From: Haywiremac [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 9:47 AM Subject: Re: [newbie] Video Card incompatable? On Tue, 12 Aug 2003 09:19:29 -0300 Cody Harris [EMAIL PROTECTED] uttered: I attached the file Here's your prob right here: Section Device Identifier S3 Trio64V2 (generic) VendorName Unknown BoardName Unknown Driver vga #VideoRam1024 # Clock lines whereas your card is obviously a much more recent mfgr: S3 Graphics ProSavageDDR I would go into MCC and try to see if it will recognize that card or if it is even listed. S3 is a very problematic card, from personal exp. In MCC, go hardware-XFDrake. oh wait, you can't get into X, stupido meo, okay, you should be able to run XFDrake from the command line, IIRC. bash: XFFrake: command not found give that a shot and report back! -- HaywireMac The more laws and order are made prominent, the more thieves and robbers there will be. -- Lao Tsu -- -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Background execution
On Mon, 2003-08-11 at 21:57, Miark wrote: On 11 Aug 2003 20:27:43 -0400, Dan Jones [EMAIL PROTECTED] wrote: Thanks, but I'm aware of that. However, I'd prefer to create a script in /etc/rc.d/init.d that allows me to start, stop and restart the server. (I'm hacking on the perl source and want to be able to restart easily.) Everything works fine except I have to hit ENTER before getting my prompt back. This also happens if I start the file in the background directly on the command line. Since you have to press Enter after any command, I guess I'm still not clear on the problem. Do you mean you have to press Enter _twice_ before getting the prompt back? Yes. I enter ./POPFile on the command line and press ENTER. POPFile starts up, spits out a few lines of text (Loading (blah) ... Initializing (blah) ... Starting (blah) ... POPFile Engine running) and then displays a blank line. Evidently, I'm at a command prompt, because anything I type shows up. If I type a command and press enter, it's executed. (I didn't realize this when I first posted.) But I do not get the prompt, just a blank line, until I press ENTER a second time. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] file name format in Grip
On Tuesday 12 Aug 2003 1:43 pm, Todd Slater wrote: When I do for loops I do it like this: for i in *.ogg do mv $i someothername.ogg done the main difference being that the first i is not a variable as you have it written; I don't know if having do on a new line makes any difference or not. Todd OK! got it working! The mystical incantation is: for i in *.ogg do mv $i `echo $i|sed 's/\([_ ]\)\([a-z]\)/\1\u\2/g'` done There's all three types of quote in there, and they are not interchangable. Meditation will bring enlightenment. Thank-you, Todd -- Richard Urwin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] audio software
I tried doing this with the ogg stream from http://www.streamingsoundtracks.com but the wav file always ends up with silence. Any ideas? I'm listening to that now. I have the record script running in another console. Recording is OK. Note I have kmix with the red record light selected on the slider for IGain - depending on what card and driver you have, that could appear elsewhere, but on my system it's the one in the middle - there are two of these funny triangles, select the left one. Getting to the stream was problematic. Starting the stream and having kde run 'ogg123' just produced nothing. I had to save the .pls file and then try a variety of ways to open it. What finally worked was to direct ogg123 to the url mentioned in the pls file. I tried with mplayer as well, and it couldn't read the playlist file directly. It appears that some players can get to the URL in the playlist file, and others cannot. Sometimes the playlist or ASX file is only one line long, and if it can't open it, I use `cat foo.asx` instead :). Aside - it's interesting in that page has a premium broadcast of a *lower* quality on live365, and you can listen to the stream for free there. I tried icecast as well, there doesn't seem to be anything there. Incidentally, this whole time sink started some months ago as a thread on expert (or maybe newbie) concerning how to record live streams - something I've wanted to do for a while. There's even a Twiki page on it, but I can't remember where it is. sox - at least in Mandrake/cooker or 9.1 doesn't have the ability to record to .ogg directly. There are ways to coax it to do so, and I believe the Twiki page references that. But that was sometime ago, and through the different installs and upgrades, I've long since reverted to the sox in Mandrake. I still haven't sorted out Audacity - it doesn't seem to want to record directly off of the soundcard. It used to do that; it was fun to see the graph of the sound and the bar keep going to the right in real time. Fine - just record and then import the mp3 into Audacity ;). If this method doesn't work, you can dump the stream directly using mplayer/mencoder's stream dump option. 'mplayer -cache 64 -dumpstream http:/urlofwhateveritis' should work. The downside - you can't hear it at the same time. You'll get a file in the current working directory. When I try it on this URL, I get an ogg vorbis file. And if the URL is video, guess what -- that dumps the video content too ;). (Im going to cc: this back to newbie - it might spark some further discussion, if you don't mind.) Miark David E. Fox Thanks for letting me [EMAIL PROTECTED]change magnetic patterns [EMAIL PROTECTED] on your hard disk. --- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] DSL connection (SBC)
me wrote: On Monday 11 August 2003 08:05 pm, Julien Sobrier wrote: Hello I have a SBC connection under Windows, but I am moving onto Linux. I read some articles, and see that my ethernet modem should work under Linux. But what information do I need to set up my DSL connection under Linux? How can I know how to connect to SBC? Thank you Julien Its actually much easier to set up in Linux than windows. In the Mandrake Control Center, go to Network Internet, then Drak Connect and click the Wizard. Pick ADSL connection, click use pppoe, then fill in the following: Provider name sbcglobal.net Account Login: [EMAIL PROTECTED] account password: [your secret word] THEN do you want to start the connection at boot? more than likely YES. then you should be on your merry way. Jack Thank you very much, this is it. But my modem is not working under linux: the activity led never blinks. I read the log file. It just says that the connection has been lost. Do you know what I should check to make the modem working? Julien Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com