Full gide is here. Short:
1. Download Notes 8.5.1 for debian platforms and extract the files.
2. sudo apt-get install ia32-libs
3. install getlibs from http://frozenfox.freehostia.com/cappy/
4. issue the following command:
> sudo getlibs -p libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-2 libeel2-2 libgnome2-0 libgnomecanvas2-0 libgnome-keyring0 libgnome-menu2 libgnomeprint2.2-0 libgnomeprintui2.2-0 libgnomeui-0 libgnomevfs2-0 libgsf-1-114 libgsf-1-dev librsvg2-2 librsvg2-common libselinux1 libsepol1 libstartup-notification0 libxkbfile1 gtk2-engines-ubuntulooks gtk2-engines-murrine
5. install the Notes Deb files:
sudo dpkg -i –force-architecture ibm-lotus-notes-8.5.1.i586.deb
6. sudo apt-get install ttf-xfree86-nonfree
7. replace some libaries from:
http://linux-aha.de/wordpress/wp-content/uploads/2009/10/notes_libs_karmic.tgz in /opt/ibm/lotus/notes with the ones from the link above . Make sure they are owned by root and that they are executable. Set the permissons like the ones of the other libraries in /opt/ibm/lotus/notes
VMWare (server 2.0.2) is as always bringing a lot of surprises…
Now it would not even install without:
1. Change to vmware-server-distrib
2.vwget http://www.ubuntugeek.com/images/vmware-server.2.0.1_x64-modules-2.6.30.4-fix.tgz
3. tar xvzf vmware-server.2.0.1_x64-modules-2.6.30.4-fix.tgz
4. sh vmware-server.2.0.1_x64-modules-2.6.30.4-fix.sh
Full description is found here
Then a mouse fix is still needed:
gedit /etc/fstab file for bind USB devices by adding next rows:
usbfs /proc/bus/usb usbfs auto 0 0
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0
Another problem is in weired mouse behavior which is fixed by adding those two lines:
export VMWARE_USE_SHIPPED_GTK=force
export GDK_NATIVE_WINDOWS=true
to:
/usr/bin/firefox
Resume from suspend is broken. HUGE post here. Solution for my laptop is to blacklist cardreader:
/etc/modprobe.d/blacklist.conf:’# Blacklists ricoh_mmc to allow resume from suspend
blacklist ricoh_mmc’
By default on HP elitebook 6930p built-in speaker do not work, while jack perfectly outputs sound. To fix it:
add options snd-hda-intel model=laptop to /etc/modprobe.d/alsa-base.conf
After looking for a solution for a while I’ve found a way to powerdown external USB harddrive:
sudo sdparm –command=stop /dev/sdb
Full script for Jaunty:
sudo udevadm control –stop-exec-queue
sudo sdparm -6 -f –command=stop $1
read -p “Unplug the media and press any key to continue”
sudo udevadm control –start-exec-queue
Suddenly after about half a year I wasn’t able to use my numeric keyboard anymore. And I use it. A lot. So, thanks to google and Nanci (http://nancib.wordpress.com/2008/03/17/fixing-the-borked-numeric-keypad-in-ubuntu-hardy/):
“Go into the Keyboard Preferences (System >Preferences > Keyboard) and go to the Mouse Keys tab. Simply uncheck the box for Allow to control the pointer using the keyboard.”
Not to forget to do:
cd ~/.wine/dosdevices
rm d:
ln -s /media/cdrom d:
Later versions of wine, like the one shipped in Dapper Drake (0.9.9) ignore settings in ~/.wine/config
You have to use the “winecfg” program to set windows version to NT 4.0 (thanks to Phil B. July 2006)
Change wine to Windows NT 4.0 version
Thanks to mtron from ubuntu forums:
#! /bin/sh
# wma to mp3 script by mtron
zenity --info \
--text="this script converts all wma files in the current folder
to mp3s and puts them in the folder output
all lame command line options can be set in the next step.
usage:
lame -m s: for stereo mp3 output
lame -m s V 3-4-5: for stereo mp3 output with VBR"
# Dialog box to choose output quality
FORMAT=`zenity --list --title="Choose mp3 output quality" --radiolist --column="Check" --column="Quality (editable)" --editable "" "lame -m s" "" "lame -m s -V 3" "" "lame -m s -V " "" "lame -m s -V 5"`
if [ $FORMAT -eq ""]; then
zenity --error --text="mp3 output quality not defined or no wma file found
usage:
lame -m s: for stereo mp3 output
lame -m s V 3-4-5: for stereo mp3 output with VBR
type: lame --longhelp
for all command line options "
exit 1
fi
mkdir -p output
cp *.wma output
cd output
# How many files to make the progress bar
PROGRESS=0
NUMBER_OF_FILES=`find -iname "*.wma"`
let "INCREMENT=100/$NUMBER_OF_FILES"
#remove spaces
(for i in *.wma; do mv "$i" `echo $i | tr ' ' '_'`; done
#remove uppercase
for i in *.[Ww][Mm][Aa]; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done
#Rip with Mplayer / encode with LAME
for i in *.wma ; do
echo "$PROGRESS";
echo "# Re-Coding $i";
mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader $i && $FORMAT audiodump.wav -o $i;
let "PROGRESS+=$INCREMENT"
done
#convert file names
for i in *.wma; do mv "$i" "`basename "$i" .wma`.mp3";
done
rm audiodump.wav
let "PROGRESS+=$INCREMENT"
) | zenity --progress --title "$Recoding...encoding..." --percentage=0
I’ve created a large file in gimp (compilation of several well logs if anyone is interested) which I wanted to print out on several sheets of A3 size. To do this I saved the file in ps format and used a little command line tool:
poster -v -mA3 -p4×1A3 infile.ps > outfile.ps
man poster gives detailed overview of the command.
As a result outfile.ps contains 4 pages of A3 size with peaces of long image in it – ready to print and glue or to be reopened in gimp.
I have a “simulation server” with same Hardy 64bit LTS as my laptop running WinXP 64bit under vmware.. After a while trying to bit XP would cause enormous I/O activity on harddisk effectively bringing the whole system almost to a complete stop.
Thanks to cyberred on http://communities.vmware.com/thread/106917 adding
mainMem.useNamedFile = “FALSE”
sched.mem.pshare.enable = “FALSE”
MemTrimRate = “0″
to Virtual machine vmx file completely solved the problem