I really ought to find a way to alias “rm -f *” to “rm -i” IF the time is between 1 AM and 7 AM…. Last night I was working late (2:30AM or so when this happened). I had just made a few “refinements” to some of my audio streaming scripts (kept in a “Foreign News Sources” folder). I was curious to see if I had any scripts that were still using realplayer, so I had done a “grep realplay *” and saw a lot of results… but most were in temporary files (left over from a text editor ending in ~)… so there’s radiopragueenglish and radiopragueenglish~ …………..
Category: Linux
-
Recording online streams (real / wma) to mp3 format (or ogg) with mplayer
So, I’ve been looking back over my list of “scripts” that are pulling in audio from various news sources online for the onlineradiotv.com site. It’s also got me doing a bit more spanish language listening than I had been. In the car, I usually use an mp3 player (the nexia) with a small FM transmitter to listen. One of the problems is that I only have a very short list of sources that I can actually download an mp3 from. The rest are streams only. Some are mms (Windows media) streams, others are (rtsp) real server streams… yet others are “playlist” style asf, or ram files that point to other files (rm or asx/wma)…
-
Running Google Earth under Wine on linux
A while back I talked about Google Earth under Codeweavers wine almost working (or at least I think I mentioned it here, I KNOW I tried it…) Well, I tried with vanilla wine as well and couldn’t get it to work, BUT… I’ve just finished a successful run of it. How you might ask? Here are some of the details…
-
Using the command line in linux – part 4
Dealing with text…. we’ve looked at a couple of basics on logging in and starting to use the command line and hopefully not feeling too helpless there… we’ve seen ways to navigate directories and how to find new commands and how to find out more about how to use them. Now it’s time to talk about how to manipulate (work with) text files. Most every important configuration file in linux is text based and editable from the command line. This can be a VERY good thing at times, or very intimidating if you’re not comfortable with a command line environment. It’s worth noting that you CAN edit configuration files with a graphical interface text editor….
-
Using the command line in linux – part 3
Now that we’ve logged in and learned how to move from one directory to another (and find where we are if we get lost…) it’s probably time to start learning how to find out about other commands. Well, if you press tab at the command line you will likely see something that starts like this….
$
Display all 4601 possibilities? (y or n)
and if you answer with a “y” you will see a long list of programs that could be run. That’s not usually the best way to find a program though. -
Using the command line in linux – part 2
This is part two in a series of “how to use the command line in linux” style articles…. these are intended to be quite basic for those that have not used a command line before…. In part one we logged in (if necessary) and found out about the help command, navigated a bit with the arrows and exit -ed from our login. This time we’ll try to learn a bit more about dealing with files and navigating. In a graphical interface, if you browse files, you’re presented with a list of files and folders for a directory that you can scroll through and read at your leisure. In the command line we have to tell the computer to list the files and folders for the directory that we’re currently “in” to list those in linux, we use the ls command….
-
Using the command line in linux – part 1
I know many people get intimidated with a black screen, white text and blinking cursor. No mouse, not knowing where to start…. well, I’m going to spend a bit of time in this article trying to help show you how to survive the command line in linux. For starters, don’t think that linux is a command line only operating system. In some installs, the administrator may not want a gui, but there are some VERY functional and full featured graphical interfaces for linux. For me though, if you know what you want to accomplish, the command line can be a much more efficient way to “get the job done” for many tasks.
-
Scheduling tasks in linux – the at command
I did an article a while back about cron and scheduling tasks in linux (I also mentioned kron which is a graphical interface for cron scheduling…). That works well and good for things that happen on a recurring basis, but the next question is what if I want to schedule a command (or series of commands) to happen once and not again? Well, to tell the truth I’ve used cron for this on occasion, being sure to revisit the crontab and remove the entry before it repeats again, but there is a better way. At.
-
Running kontact components standalone
Not long ago, I switched from Evolution to Kontact as my primary mail/calendar/addressbook/etc…. program under linux. One of the nice things about the Kontact suite is that you can either open up the “umbrella” application kontact or, the individual applications. I like the fact that they can still be used standalone. So, I was a bit frustrated to find every link for each of the components to bring up the “umbrella” kontact application, instead of the standalone….
-
Direct links to international broadcasters audio streams
I’ve posted several things over at the onlineradiotv.com site. For starters I’ve got links to a few international (shortwave) broadcasters live audio streams and where available their “latest” english news update (and in some cases spanish and other languages.) I’ve also started posting some bash scripts there that can directly start mplayer streaming a feed.