Replacing Openoffice With Libreoffice

when i saw the article http://drupal.txwikinger.me.uk/content/libreoffice-now-available-ppa-ubuntu-1010-and-1004 i followed the steps to

remove openoffice

sudo apt-get remove "openoffice*.*"

add the new repository and update

sudo add-apt-repository ppa:libreoffice/ppa
sudo aptitude update

installing libreoffice and the gnome-package

sudo aptitude install libreoffice
sudo aptitude install libreoffice-gnome

Iphone Installation To Sync Music With Rhythmbox And Enable Tethering

<note>
i experienced an issue that the iphone won’t tether when i connect it the first time …
i have to plug it in ..
wait for it beeing mounted ..
remove the usb cable ..
and plug it in again …
that way tethering works …
</note>

installing the needed packages for sync and tether

to install iphone drivers you first have to add a new repository and update all by typing

sudo add-apt-repository ppa:pmcenery/ppa
sudo aptitude update

then install the following packages

sudo aptitude install gvfs ipheth-dkms ipheth-utils libimobiledevice-dev libimobiledevice-utils

tethering with usb

connect the iphone with tethering enabled you will get a new device eth1

syncing music

to sync music i use rhythmbox

problem of dissappearing device

when i first started rhythmbox with the iphone connected it showed the iphone listed under “devices” for like 2 seconds and then it disappeared

to fix that do the following else continue to “preparing to sync”

  • close rhythmbox
  • open your home folder and show hidden folders/files by pressing “CTRL + H”
  • navigate to .gconf/apps/rhythmbox/state/ipod and delete the file “%gconf.xml”
  • start rhythmbox

preparing to sync

  • created a new playlist “iPhoneSync”
  • added all the music i want onto my iphone and then
  • rightclick the iphone-symbol in rhythmbox listed under “devices” and select “properties”
  • select the tab “sync” and the playlist i just created

close that window and you may now sync the iphone by right-clicking it and select “sync with library”

Installing Zend Server Ce

when trying to install zend server ce i got the following result:

sudo aptitude install zend-ce
The following NEW packages will be installed:
  apache2-mpm-prefork{a} apache2-utils{a} apache2.2-bin{a} apache2.2-common{a} libaio1{a}
  libapache2-mod-php5-zend-ce{a} libapr1{a} libaprutil1{a} libaprutil1-dbd-sqlite3{a}
  libaprutil1-ldap{a} libframework1-zend-ce{a} libicu36{a} libmcrypt4{a} libmhash2{a}
  liboci-zend{a} libpng3{a} libpq4{ab} libsqlite0{a} lighttpd-zend-ce{a}
  php-bcmath-zend-ce{a} php-bz2-zend-ce{a} php-calendar-zend-ce{a} php-ctype-zend-ce{a}
  php-curl-zend-ce{a} php-data-cache-zend-ce{a} php-debugger-zend-ce{a} php-dev-zend-ce{a}
  php-exif-zend-ce{a} php-fcgi-zend-ce{a} php-ftp-zend-ce{a} php-gd-zend-ce{a}
  php-gettext-zend-ce{a} php-imap-zend-ce{ab} php-intl-zend-ce{a} php-json-zend-ce{a}
  php-ldap-zend-ce{a} php-mbstring-zend-ce{a} php-mcrypt-zend-ce{a} php-mhash-zend-ce{a}
  php-mime-magic-zend-ce{a} php-mysql-zend-ce{ab} php-mysqli-zend-ce{ab}
  php-oci8-zend-ce{a} php-optimizer-plus-zend-ce{a} php-pdo-mysql-zend-ce{ab}
  php-pdo-oci-zend-ce{a} php-pdo-pgsql-zend-ce{a} php-pgsql-zend-ce{a} php-posix-zend-ce{a}
  php-soap-zend-ce{a} php-sockets-zend-ce{a} php-sqlite-zend-ce{a} php-tidy-zend-ce{a}
  php-tokenizer-zend-ce{a} php-xmlreader-zend-ce{a} php-xmlwriter-zend-ce{a}
  php-xsl-zend-ce{a} php-zem-zend-ce{a} php-zendutils-zend-ce{a} php-zip-zend-ce{a}
  php5-common-extensions-zend-ce{a} sqlite{a} zend-base-ce{a} zend-ce zend-ce-doc{a}
  zend-extensions-ce{a} zend-framework-ce{a} zend-gui-ce{a}
0 packages upgraded, 68 newly installed, 0 to remove and 9 not upgraded.
Need to get 55.1MB of archives. After unpacking 209MB will be used.
The following packages have unmet dependencies:
  php-pdo-mysql-zend-ce: Depends: libmysqlclient15off (>= 5.0.27-1) which is a virtual package.
  php-mysql-zend-ce: Depends: libmysqlclient15off (>= 5.0.27-1) which is a virtual package.
  libpq4: Depends: libkrb53 (>= 1.4.2) which is a virtual package.
  php-imap-zend-ce: Depends: libkrb53 (>= 1.4.2) which is a virtual package.
  php-mysqli-zend-ce: Depends: libmysqlclient15off (>= 5.0.27-1) which is a virtual package.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libpq4 [Not Installed]
2)     php-imap-zend-ce [Not Installed]
3)     php-mysql-zend-ce [Not Installed]
4)     php-mysqli-zend-ce [Not Installed]
5)     php-pdo-mysql-zend-ce [Not Installed]
6)     php-pdo-pgsql-zend-ce [Not Installed]
7)     php-pgsql-zend-ce [Not Installed]
8)     php5-common-extensions-zend-ce [Not Installed]
9)     zend-ce [Not Installed]                            

Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
here

meaning that the packages libmysqlclient15off and libkrb53 where missing …
finding the solutions on the web (http://ubuntuforums.org/showthread.php?t=1459359 and http://forums.zend.com/viewtopic.php?f=44&t=4062#p14253) i had to do the following to make zend server ce install:

get the specific package and install libmysqlclient15off manually

wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/m/mysql-dfsg-5.0/libmysqlclient15off_5.1.30really5.0.83-0ubuntu3_amd64.deb
sudo dpkg -i libmysqlclient15off_5.1.30really5.0.83-0ubuntu3_amd64.deb

install equivs for later usage

sudo aptitude install equivs

create a file named libkrb53_fake.txt and enter the following in the txt-file

Package: libkrb53
Version: 1.6.dfsg.2+fake1
Depends: libkrb5-3, libgssapi-krb5-2, libk5crypto3, libkrb5support0

then build the package with equivs and install it

sudo equivs-build libkrb53_fake.txt
sudo dpkg -i libkrb53_1.6.dfsg.2+fake1_all.deb

after that the zend server could be installed successfully

sudo aptitude install zend-c

Change The Clock Date Applet In The Taskbar To Show A Custom Format

i did not like the default date time format

to make it more readable like so

i enabled all options in the general tab of the clocks preferences

started up gnome configuration editor by running

gconf-editor

there navigated to

/apps/panel/applets/clock/prefs

and changed the key format to

custom

and entered the following into the key custom_format

%Y-%m-%d %H:%M:%S

Trackpoint Horizontal And Vertical Scrolling

first thing after installation was getting the trackpoint scroll button working
therefore created the file .xsessionrc in the home-directory with the following content

xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 8 200
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 8 6 7 4 5
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Timeout" 8 50

after logging off and on again the trackpoint scolling works …