Apr 292010
 
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian lucid non-free"
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
apt-get update
apt-get install virtualbox-3.1

solve problems with package signature

when running sudo apt-get update I got the following error:

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://download.virtualbox.org lucid Release: The following signatures were invalid: BADSIG 54422A4B98AB5139 Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>

To solve this I did (as found here):

sudo su
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Apr 292010
 

http://wiki.ubuntuusers.de/picasa
http://picasa.google.com/intl/de/linux/download.html#picasa30
http://www.google.com/linuxrepositories/testrepo.html
http://www.google.com/linuxrepositories/apt.html

add the following entry to /etc/apt/sources.list

# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free main

or if you want to access newer software use the following lines ( http://www.google.com/linuxrepositories/testrepo.html ) :

# Google repository
deb http://dl.google.com/linux/deb/ stable non-free
# Google testing repository
deb http://dl.google.com/linux/deb/ testing non-free


wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo aptitude update
sudo aptitude install picasa
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Apr 272010
 

http://wiki.ubuntuusers.de/Shell/pwgen

sudo aptitude install pwgen

pwgen can generate safe passwords for you. It is a command line tool and can be used like this:

pwgen -s -y 8 1

-s means create a secure password, -y means it should contain at least one special character, 8 means it should be 8 characters long, and 1 means generate only one password. The output is (as an example):

nH6<^q*X
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Apr 252010
 

digiKam is a great software to manage your digital photographs. I like it especially because it does not depend that much on a database / proprietary ways to store information about the photos as it saves most information directly to the files.

sudo aptitude install digikam digikam-doc

To install it on Mac OS X using the Macports system as found here:

sudo port install digikam

resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Apr 252010
 

set window operating buttons back to the right side

http://wiki.ubuntuusers.de/lucid_lynx#Design

gconftool-2 -s /apps/metacity/general/button_layout --type=string "menu:minimize,maximize,close"

upgrade problems on Samsung Q25

http://www.ubuntu.com/getubuntu/releasenotes/1004#Working%20around%20bugs%20in%20the%20new%20kernel%20video%20architecture

but seems to be rather this issue: http://www.ubuntu.com/getubuntu/releasenotes/1004#Intel%208xx%20X%20freezes/crashes

https://wiki.ubuntu.com/X/Bugs/Lucidi8xxFreezes

boot with the -vesa video driver

other choice: use a newer Intel Video driver 2.11git:

upgrade xserver-xorg-video-intel to 2.11git

http://ubuntuforums.org/showthread.php?t=1464239
https://launchpad.net/~glasen/+archive/intel-driver

sudo add-apt-repository ppa:glasen/libdrm && sudo apt-get update && sudo apt-get upgrade
sudo add-apt-repository ppa:glasen/intel-driver && sudo apt-get update && sudo apt-get upgrade

to downgrade (if you want to try your luck with the official lucid driver again): Have a look at http://packages.ubuntu.com/lucid/xserver-xorg-video-intel for the version number and check the changelog: aptitude changelog xserver-xorg-video-intel. (Then remove the PPAs – maybe this is not needed or good…). Now downgrade:

Apr 242010
 

This blog post describes how to mount the T-Online Mediencenter via WebDAV on Ubuntu Linux and on Windows 7 (64bit).

Resources

How To for Mac OS X

  1. Open Finder.
  2. Press [⌘]-[k].
  3. Connect to https://webdav.mediencenter.t-online.de
  4. Enter email address and password.

How To for Ubuntu Linux

First, install the required package davfs2:

sudo apt-get install davfs2

SUID bit for mount.davfs to be able to mount as non-root user and add your user to the group davfs2:

Apr 222010
 

Warning: my experience with gmailfs was not excellent! It was a bit slow and you always risk to lose data you stored on that account.


based on IMAP: http://sr71.net/projects/gmailfs/
(it used to be http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html but this was based on the Webinterface and that changed often)

gmailfs works with FUSE. So make sure Fuse is installed and works: http://wiki.ubuntuusers.de/fuse

Add user philipp to group fuse, install the python-fuse Ubuntu package and get the gmailfs code:

sudo usermod -aG fuse philipp
sudo aptitude install python-fuse
cd ~/Downloads
git clone git://git.sr71.net/gmailfs.git

you also need lgconstants.py from libgmail. See http://libgmail.cvs.sourceforge.net/viewvc/libgmail/libgmail/

Apr 212010
 

http://wiki.ubuntuusers.de/POV-ray

installation of povray itself:

sudo aptitude install povray povray-includes povray-examples povray-doc

as well as the graphical modeler:

sudo aptitude install kpovmodeler

usage

A file created by POV-Ray: http://de.wikipedia.org/wiki/Datei:Mug_and_Torus_morph.gif
http://gist.github.com/376217

General command line to render a scene (still has to be adopted for the file in question):

povray Width=800 Height=600 +V +Iscene.pov +Oscene.png +P +SP4 +Q9 +A0.2
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)