Ubuntu Lucid Lynx 10.04 LTS – Record all streaming to ogg or mp3
May 5, 2010 by tibor · Leave a Comment
This how-to should show the steps required to record whatever audio is playing on your computer, similar to recording “stereo mix” in windows. This makes recording audio played by any application, including flash videos, possible.
I’m using the Sound Recorder application that comes in standard Ubuntu installations. To set this up using other programs (like audacity) just substitute it in these instructions.
- Install pavucontrol (PulseAudio Volume Control) using apt-get or the Ubuntu Software Center.
- Open PulseAudio Volume Control. It should be in the applications menu under Sound and Video.
- Open Sound Recorder and start recording. Playing any sound at this point would be helpful, as your level indicator should react once you have finished.
- Go to the “Recording” tab in the PulseAudio Volume Control window.
- Make sure that “Applications” is selected in the drop down menu on the “Recording” tab.
- Choose “Monitor of Internal Audio Analog Atereo” from the “Record Stream from” menu in the Sound Recorder entry of the application list.
This appears to be persistent so that you will only have to do this once, but you will have to repeat these steps to record in another application.
Record streaming audio from command line
April 28, 2010 by tibor · Leave a Comment
arecord -f cd -t raw | lame -x -r – out.mp3
UUID change from command line
September 17, 2009 by tibor · Leave a Comment
uuidgen |sudo xargs tune2fs /dev/sda3 -U; sudo vol_id /dev/sda3
Compaq Presario 2200 and Xubuntu 9.04
September 1, 2009 by tibor · Leave a Comment
This is a 5 years old laptop. 1.4Ghz Celeron with 226MB RAM. Pretty ancient and slow.
It works perfectly well with Xubuntu 9.04, there is a wireless Broadcom BCM4306 802.11b/g rev 3 wifi card in it. I had to manually enable the restricted driver under, Applications, System, Hardware Drivers and then reboot.
At that point, wifi, sound, suspend and hibernate all worked perfectly.
Font Bonanza on Ubuntu Hardy
September 19, 2008 by tibor · Leave a Comment
To install an amazing amount and quality of fonts execute the following command:
Code:
sudo apt-get install ttf-georgewilliams ttf-sjfonts sun-java6-fonts ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon gnome-specimen
I am reviewing hundreds of fonts to pick the right one for my new IT Care Inc. logo I am designing. I will post the best of them fonts soon.
For now here is an “appetizer“, though:
This font is called Cuomotype in case you wanted to know.
Wordpress Revolution Theme – How do I create a page that doesn’t appear in the navigation
September 18, 2008 by tibor · Comments Off
http://www.revolutiontheme.com/support/viewtopic.php?f=3&t=5847&p=31221&hilit=+menu+link#p31221
Re: How do I create a page that doesn’t appear in the navigation
<div id="navbarleft">
<ul id="nav">
<li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&depth=2&sort_column=menu_order'); ?>
</ul>
</div>
and change it to:
<div id="navbarleft">
<ul id="nav">
<li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
<?php wp_list_pages('exclude=XX&title_li=&depth=2&sort_column=menu_order'); ?>
</ul>
</div>
Replace XX with the ID number of the page to be excluded.
To exclude more than one page, the code looks like this:
Ade
Wordpress REVOLUTION theme tweaks #2
September 16, 2008 by tibor · Leave a Comment
To enable the commenting ability on a static Page post in the REVOLUTION wordpress theme (for example for a Testimony Page)
Insert the following code segment:
<div class="comments"> <h4>Comments</h4> <?php comments_template(); // Get wp-comments.php template ?> </div>
into the theme’s page.php file to make it look like below:
<?php get_header(); ?>
<div id="content">
<div id="contentleft">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php the_content(__('Read more'));?><div style="clear:both;"></div>
<!--
<?php trackback_rdf(); ?>
-->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
<div class="comments">
<h4>Comments</h4>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
</div>
<?php include(TEMPLATEPATH."/sidebar_page.php");?
Wordpress REVOLUTION theme tweaks #1
September 16, 2008 by tibor · Leave a Comment
This is pretty specific to the Wordpress theme I purchased from http://www.revolutionthemes.com/.
The desired outcome is displayed in the following 2 images (click on images to get the full size displayed:
and 
On the default REVOLUTION theme to align text better with the bottom 3 image you need to change 3 sections in the theme’s style.css file.
The 3 sections to look for are:
- #homebottomleft img {
- #homebottommiddle img {
- #homebottomright img {
Change the second px setting on the margin line from 0px to 5px or whatever number of pixels work for you in all 3 instances. Example 1 is displayed below:
BEFORE
#homebottomleft img { float: left; border: 2px solid #999999; margin: 0px 0px 10px 0px; }
AFTER
#homebottomleft img { float: left; border: 2px solid #999999; margin: 0px 5px 10px 0px; }
GLText screensaver – Change displayed text
August 31, 2008 by tibor · Leave a Comment
Edit the /usr/share/applications/screensavers/gltext.desktop file as root.
1. Alt+F2
2. “gksu gedit /usr/share/applications/screensavers/gltext.desktop”
Change the line that currently says Exec=gltext -root to the following line instead:
Exec=gltext -root -front -no-spin -text “Mind is your conditioning\n always seeking expression\n IN THOUGHT\N through NOW!”
3. Save, Exit
4. Set your Screensaver to GLText under System, Preferences, Screensavers
VNC through SSH
May 29, 2008 by tibor · Leave a Comment
INTERNAL: ssh -p10000 -X -L 5900:localhost:5900 user@internalIPaddress
EXTERNAL: ssh -p10000 -X -L 5900:localhost:5900 user@externalIPaddress
vncviewer localhost




