Posts Tagged ‘ubuntu’
The MythTV Trap: PVR Overload…
Having screwed up my courage and built my Linux box, I was ready to install MythTV. For those of you unfamiliar with MythTV, it’s a free, open-source PVR software solution which, besides allowing you to record shows (and automatically skip commercials, transcode to other formats, etc) features a web browser, weather reports, a photo viewer, DVD player, RSS reader, music player, internet phone, Netflix subscription manager, movie times listings and more, all in one package. It also allows you to access your system from any internet connection, should you wish, and schedule recordings, etc. remotely. It’s like Tivo, without the subscription fees. Read the rest of this entry »
A Workaround for Uploading Pictures/Media to Your WordPress Blog for Ubuntu/Linux AMD 64 Users…
With the recent changes to the Dashboard feature of wordpress.com’s hosted blogs, users with Linux running on an AMD 64 based machine may be out of luck in trying to upload photos, music, videos or anything else. It appears a newer version of java is required, and the java plug in required to upload media is incompatible with the 64 bit architecture.
Here’s a workaround: Read the rest of this entry »
Digg != Ubuntu?
***UPDATE*** Well, we have our answer to the question at the end of this article: this story lasted all of about 12 hours on digg.com before being unceremoniously buried…
*******
Is “Ubuntu” a dirty word on popular site digg.com? After a pair of my articles were submitted, I checked the stories at the Digg site and noticed a user had voted to bury both of them. The comments indicated the inclusion of the term “Ubuntu” was deemed spam by this user, and served as the reason for the bury vote.
I left a comment in response but received no reply, so visited the user’s profile. Here’s what I found:
Update: Here’s a Link to a Fantastic Linux/Unix Cheat Sheet…
Thanks to a post on digg.com I came across a great site for the Linux/Unix user who’s a step beyond the newbie phase. It has clear, concise details with examples of a whole host of commands. You can find it here:
Setting up an M-Audio FireWire Solo with Ubuntu/Linux…
***IMPORTANT UPDATE: one of our readers has advised that recent versions of the firmware for the FireWire Solo are responsible for issues relating to an inability to get sound output from the unit in Linux. If you encounter this issue, and have already tried the suggestions in the Comments section, please consider changing your firmware version to FW_WDM_5.10.0.5036.exe (the last known good version – many thanks, laban!)
You can find it here (opens in new window):
Please also note that you shouldn’t have to update or install any firmware – it ought to work out of the box.***
***UPDATE: we’ve received some feedback from the good people at M-Audio, who have advised against leaving the unit plugged in: “…we advise against using the AC power adapter when bus power is available; this often causes problems and can possibly damage the device.” Our previous instructions to leave the unit plugged in have therefore been deleted.***
I’ve responded to a number of questions as to how to get the M-Audio Firewire Solo recording interface up and running with Ubuntu/Linux. The Firewire Solo is a device which allows one to connect a microphone or guitar/instrument to a firewire input on your computer and allows for excellent transfer rates and low latency.
I’ve promised to put together complete instructions, so, at long last, here they are. If you have any questions/ issues/ suggestions/ comments or selected curse words, please feel free to comment below.
Quick Reference Sheet for Ubuntu/Linux…
***LATEST UPDATE: AUG 10, 2008***
We’ve compiled a table of some useful commands we’ve come across as we continue to learn Linux/Ubuntu – see below. You can open the link with OpenOfficeOrg (which may show up as “soffice” in the download dialogue box or you may have to click “Open With Other Application” and navigate to /usr/bin/soffice).
We’ll be adding to these regularly – so be sure to check back often!
System/Program Affected |
Error Message/Symptom |
Solution |
DVD Drive – can’t mount | mount_point cannot contain the following characters: newline, G_DIR_SEPARATOR (usually /) |
|
Firewire capture from STB (Motorola 6200) fails | Black screen appears when watching live TV in MythTV. |
|
No live TV in MythTV | Selecting live TV in MythTV causes a very brief flash followed by a return to main menu screen. |
|
qjackctl won’t start – error box pops up after attempting to start | Need to force bus reset |
|
Ardour interrupts recording/ playback with “Disk Cannot Keep Up…” | Possibly too many overlapping regions. | Delete un-needed regions until it works again.*see ardour.org for non-destructive methods. |
Want to download a torrent file. | Use Bit Torrent | In terminal:#gnome-btdownload http://www.link_to_torrent |
Process can’t get the priority you want/is pre-empted by other, less important processes |
|
|
Convert .wav to .mp3 | #lame -V2 /path/to/song/.wav /path/to/put_new_mp3_song.mp3 | |
Convert all files in a folder from .aif/.aiff to .wav |
|
|
Manually transcode MythTv recordings | see: http://www.mythtv.org/docs/mythtv-HOWTO-23.html | |
List all current users – check if anyone is logged on who shouldn’t be | Informational/security | #w |
List all open network files – check if files are opened which shouldn’t be | Informational/security | #lsof -i |
Show details for all active connections | Informational/security | #sudo netstat -anp | less |
Tools to scan for rootkits | Security |
|
Show details of a PID | Informational/security |
|
Show network connections, etc. | Informational/security | #sudo netstat -tulnp |
Using the Uncomplicated Fire Wall (ufw) | Security |
|
View all kernel parameters | Informational | #sudo sysctl -a | sort | more |
In terminal, only show one page of info at a time (ie prevent scrolling) |
|
|
Show last 500 commands entered in a shell terminal | Informational |
|
Narrow down search with “history”. | Informational |
|
Set up recurring jobs/programs to run automatically at set intervals | Automation |
# +---------------- minute (0 - 59) # | +------------- hour (0 - 23) # | | +---------- day of month (1 - 31) # | | | +------- month (1 - 12) # | | | | +---- day of week (0-6)(Sun=0 or 7) # | | | | | * * * * * command to be executed Example (MUST be on one line): 27 * * * * /usr/bin/chkrootkit >> /home/user/Desktop/security Runs "chkrootkit" at 27 mins past the hour, every hour (and outputs the results to a file called "security" on the user's desktop). 15 19 * * 3 /etc/init.d/mysql start Starts mysql at 7:15pm every Wednesday. Also: string meaning ------ ------- @reboot Run once, at startup. @yearly Run once a year, "0 0 1 1 *". @annually (sames as @yearly) @monthly Run once a month, "0 0 1 * *". @weekly Run once a week, "0 0 * * 0". @daily Run once a day, "0 0 * * *". @midnight (same as @daily) @hourly Run once an hour, "0 * * * *". |
Find IRQ of a device | Informational | #cat /proc/interrupts |
Change the priority of an IRQ | #sudo chrt -f -p 90 `pidof “IRQ-4″` where “-p” is the priority you want to assign, “-f” assigns it SCHED_FIFO (First In First Out scheduling) and “IRQ-4” is the IRQ of the device whose priority you want to change (use #cat /proc/interrupts to determine this). MAKE SURE YOU INCLUDE THE TICK MARKS IN THE COMMAND. THESE ARE NOT APOSTROPHES; THEY ARE TYPICALLY FOUND ON THE KEY ABOVE THE “TAB” KEY. | |
Firefox/Thunderbird won’t allow the installation of plugins/plugins stop working | In the Profiles folder, delete the file “extensions.rdf”. Restart Firefox/Thunderbird – it will recreate the file and your extensions should work again. | |
Problem copying directory | Error message: “cp: omitting directory …“ |
|
Convert FLAC to WAV |
|
|
Find orphaned MythTV recordings or database entries | Recordings on disk but not available to mythtv or programs listed in mythtv but not available |
|
Google Notebook won’t open in Firefox | Box appears, but “Reload” is displayed. |
|
MySql won’t start after upgrade |
|
|
Test hard drive health using S.M.A.R.T. |
|
|
Get info about hard drive | Informational |
|
Test performance of hard drive | Informational |
|
***UPDATE***
Well, it didn’t take long for me to stumble upon a MUCH more comprehensive guide – you can find it here:
http://blog.lxpages.com/ultimate_linux.html
Cheers!