Font Bonanza on Ubuntu Hardy
September 19, 2008 by tibor
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
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
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
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
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
INTERNAL: ssh -p10000 -X -L 5900:localhost:5900 user@internalIPaddress
EXTERNAL: ssh -p10000 -X -L 5900:localhost:5900 user@externalIPaddress
vncviewer localhost
Firefox 2 on Hardy cannot install extensions/addons
May 24, 2008 by tibor
The error message in the Firefox 2 error console says: “installlocation has no properties”
Solution: Close firefox, delete extensions.rdf file in your firefox path, restart firefox
Fix Flash audio not playing in Ubuntu Hardy under PulseAudio
May 23, 2008 by tibor
sudo apt-get install –reinstall pulseaudio libflashsupport
Flyback on Ubuntu Hardy 8.04 LTS
May 22, 2008 by tibor
Original code homepage: http://code.google.com/p/flyback/
$sudo apt-get install python python-glade2 python-gnome2 python-pysqlite2 python-gconf rsync gnome-schedule
$ mkdir ~/Applications
$ cd ~/Applications
$ wget http://flyback.googlecode.com/files/flyback_0.4.0.tar.gz
$ tar -zxvf flyback_0.4.0.tar.gz
$ cd flyback
$ cp GPL.txt ~
$ ln -s flyback.py ~/flyback.py #it expects flyback to be installed to yourhome directory, ie the cron line is looking for the file /home/user/flyback.py
$ python flyback.py
Create a custom application launcher in Gnome Panel to create an icon:
python /home/t/Applications/flyback/flyback.py
Turn off X on Ubuntu 7.04 Feisty server
May 7, 2008 by tibor
$ cd /etc/rc2.d/
$ sudo mv S13gdm K87gdm
$ sudo reboot
This way the server stays at the console login prompt instead of booting into X (GDM)




