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
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
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
Firefox 2 on Hardy cannot install extensions/addons
May 24, 2008 by tibor · Leave a Comment
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 · Leave a Comment
sudo apt-get install –reinstall pulseaudio libflashsupport
Flyback on Ubuntu Hardy 8.04 LTS
May 22, 2008 by tibor · Leave a Comment
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 · Leave a Comment
$ 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)
FreeNX server setup on Debian Lenny Sid Server
April 24, 2008 by tibor · Leave a Comment
Create folder for freenx packages:
$cd ~
$mkdir freenxpkg
Download all packages manually (one by one) from http://krnl.nl/freenx/ to ~/freenxpkg/
Add the following line listed below to your /etc/apt/source.list:
$su -
#nano -w /etc/apt/sources.list
Type the following line at the bottom of the sources.list file “deb file:/home/username/freenxpkg/ ./” (without the quotes)
#apt-get update
#apt-get install freenx
Optional Configuration
Changing SSH port Number
By default, nxserver uses port 22 for communicating over SSH. On some machines or networks, port 22 may be blocked. For example, some providers block port 22. To make the SSH server listen on port 8888, you can do the following:
Edit the file /etc/ssh/sshd_config
#nano -w /etc/ssh/sshd_config
Find Port 22 and change it to Port 8888
You then need to restart SSHD. Try
#/etc/init.d/ssh restart
Edit the file /etc/nxserver/node.conf
#nano -w /etc/nxserver/node.conf
Find # The port number where local ’sshd’ is listening.
#SSHD_PORT=22 and change it to:
# The port number where local ’sshd’ is listening.
SSHD_PORT=8888
That is, change the port number to the one that sshd is listening to, and uncomment the line.
P.S.: You can also download all the freenx files as one zipped up package from: http://www.milehighlinux.com/freenx.zip
Convert MPEG video to Flash
April 18, 2008 by tibor · Leave a Comment
Source: http://www.tsewdry.net/wordpress/?p=27
Excerpt:
“After quite a bit of toying around, I got the following to work to convert an MPEG Video to Flash format. The original video(s) were off my digital camera, and uploaded in AVI format. I used kino to edit the videos and created one output in mpeg format.
ffmpeg -i input.mpeg -ab 64 -ar 44100 -acodec pcm_s16le output.flv
Then run:
flvtool2 -U output.flv
To add duration information, etc.”


