Mar 312010
 

http://andreas.scherbaum.la/blog/archives/557-Papierformat-A4-oder-Letter-in-einer-Ubuntu-Installation.html
To change the paper format from or to letter resp. a4 for the Ubuntu installation do:

sudo dpkg-reconfigure libpaper1
sudo /etc/init.d/cups restart
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Mar 292010
 

On startup the system hung because the root UUID was not found. http://ubuntuforums.org/showthread.php?p=9020811#post9020811

So when I ran sudo blkid — executed from a live cd — it didn’t show the root partition (all other partitions UUIDs were listed).

But tune2fs showed me its UUID

sudo tune2fs -l /dev/sda2

So I tried to set a new UUID:

uuidgen
# with uuidgen's result:
sudo tune2fs /dev/sda2 -U a72d5565-b5fd-4e15-bfa8-8067e6bdfbc8

This didn’t help.

What helped

… was to set linux [...] root=/dev/sdaX [...] in the grub2 settings.

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

http://wiki.ubuntuusers.de/OPERA
http://www.opera.com/support/kb/view/841/
https://help.ubuntu.com/community/OperaBrowser

installation

install Opera https://help.ubuntu.com/community/OperaBrowser

sudo -i
echo "deb http://deb.opera.com/opera/ stable non-free"  >> /etc/apt/sources.list
wget -q http://deb.opera.com/archive.key -O- | sudo apt-key add -
aptitude update
aptitude install opera
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Mar 262010
 

http://wiki.ubuntuusers.de/Kernel
http://wiki.ubuntuusers.de/Baustelle/Kernel/Kompilierung
https://wiki.ubuntu.com/KernelTeam/KernelGitGuide

To recompile the Ubuntu kernel start with:

git clone git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git

change config

Depending on the libraries that you will need, do configure the kernel using one of the following:

using ncurses (sudo aptitude install libncurses5-dev)

make menuconfig

using GTK (sudo aptitude install libgtk2.0-dev libglib2.0-dev libglade2-dev)

make gconfig

using **Qt8* (sudo aptitude install libqt3-mt-dev)

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

https://launchpad.net/chromium-project

To add the gpg key and the ppa repository at once (works with Ubuntu>=9.10), do:

sudo add-apt-repository ppa:chromium-daily

This is for the daily builds. If you want the beta versions instead, use:

sudo add-apt-repository ppa:chromium-daily/beta

Then install:

sudo aptitude install chromium-browser-l10n
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Mar 232010
 

An easier solution just by setting a line in the configuration of the ssd daemon can be found in the blog post Chroot SFTP users.

http://forum.ubuntuusers.de/post/1884322/
http://manpages.ubuntu.com/manpages/karmic/man1/scponly.1.
http://wiki.ubuntuusers.de/scponly
http://sublimation.org/scponly/wiki/index.php/Main_Page

sudo aptitude install scponly

configuration:

sudo -s
cd /usr/share/doc/scponly/setup_chroot
gunzip setup_chroot.sh.gz
chmod +x setup_chroot.sh
./setup_chroot.sh

this adds the user etc…

sudo chmod u+s /usr/sbin/scponlyc

to not display the message of the day (motd) for raxo when logging in via shell and allow other users to put files in the incoming folder:

sudo -s
cd /home/scpuser
touch .hushlogin
chmod 777 incoming
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Mar 222010
 

http://wiki.ubuntuusers.de/apt-get#Zuordnung-von-Paketen-und-Dateien
http://www.debian.org/doc/manuals/apt-howto/ch-search.de.html#s-apt-file

dpkg -S

Find out the files that belong to an installed package.

dpkg -S packagename

apt-file

sudo apt-file update
apt-file search filename

Works like dpkg -S but also shows not installed packages that contain the file.

apt-file list packagename
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Mar 202010
 

http://wiki.ubuntuusers.de/Grub_2#GRUB-2-wiederherstellen
After an installation of Windows 7, Grub2 would not start any more as Windows overwrote the boot loader section. So i did the following:

  1. Boot the Ubuntu Live CD.
  2. Find out correct disc and mount the root partition:

    sudo fdisk -l
    sudo mount /dev/sda2 /mnt
    
  3. If you have a separate boot partition you must also mount it:

    sudo mount /dev/sda3 /mnt/boot
    
  4. Mount chroot environment

    sudo mount -o bind /dev /mnt/dev 
    sudo mount -t proc /proc /mnt/proc 
    sudo mount -o bind /sys /mnt/sys
    sudo chroot /mnt /bin/bash
    
Mar 192010
 

http://www.oooninja.com/2008/01/calibri-linux-vista-fonts-download.html
http://embraceubuntu.com/2007/09/16/installing-vista-fonts-in-ubuntu

MS Vista/ Office 2007 Windows 95-XP era Linux OpenOffice.org
Calibri Arial/Arial Black DejaVu Sans Serif Bitstream Vera Sans
Cambria Times New Roman/Georgia/Impact/Lucida Bold(?) DejaVu Serif (Bold) Bitstream Vera Serif
Candara Trebuchet MS
Consolas Lucida Console/Courier New DejaVu Bitstream Vera Mono
Constantia Book Antiqua/Palatino Linotype/Tahoma
Corbel Trebuchet MS(?)/Verdana
sudo aptitude install cabextract
cd "/raid/downloads/fonts/4 Microsoft Fonts/Office 2007 (extracted from Powerpoint Viewer 2007)"
wget http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe
cabextract -F ppviewer.cab PowerPointViewer.exe
sudo mkdir /usr/share/fonts/vista
sudo cabextract -F '*.TT?' -d /usr/share/fonts/vista ppviewer.cab
fc-cache -fv

Tip: You may substitute /usr/share/fonts by ~/.fonts for local, single-user installation which does not require root access.