beep on suspend hibernate

lately i was wondering why my laptop was beeping when going to hibernate or suspend mode .. it turned out that i decreased the volume pushing the volume-minus button until (i thought) it would be mute …

but you have to push the mute button to mute the laptop .. minimizing the volume does not result in mute (like in windows) but beep sounds …

Remmina Remote Desktop Manager Vnc Rdp

after trying grdesktop, vino and vinagre .. which all worked but you had to use one program for each protocol .. i was looking for something similar to http://remotedesktopmanager.com

finding this blog entry http://blog.computer-tipps.info/2010/12/07/remmina-fernwartung-aus-einer-hand/ showed me that there is a programme to do just what i wanted …

installing remmina as usual

sudo aptitude install remmina

and if you are missing the symbol in the systray you can install the following package …

sudo aptitude install remmina-gnome

to add it to the taskbar right-click on the taskbar, choose “Add to Panel…” and select “Remmina Remote Desktop Client Applet”

Disable Wireless (Wifi) By Default On Startup

booting the machine with the physical wireless switch enabled the wifi was always enabled but the wwan was not …

as i would like to choose whether or not to enable any wireless connection i wanted to disable it by default … i started by disabling the option “Connect automatically” at my wireless connection .. but that would not stop the wireless to start up enabled …

finding this forum post http://forums.linuxmint.com/viewtopic.php?f=53&t=58107#p353685 describing how to enable it .. it was just a matter of switching the boolean

open /etc/rc.local

sudo gedit /etc/rc.local

and add the following line right after the last line starting with a “#” and just before “exit 0”

dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set string:org.freedesktop.NetworkManager string:WirelessEnabled variant:boolean:false

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

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 …