Install Adobe Air Linux 1.5 on 64-bit Ubuntu

No Comments

Install Adobe AIR Linux 1.5 on 64-bit Linux distributions
Summary :

  1. Uninstall any previous version of air installer (Applications > Accessories > Adobe Air Uninstaller)
  2. Install getlibs
  3. Download AdobeAIRInstaller and cd to the download directory
  4. sudo getlibs ./AdobeAIRInstaller.bin
    $ sudo getlibs -l libgnome-keyring.so
    $ sudo getlibs -l libgnome-keyring.so.0
    $ sudo getlibs -l libgnome-keyring.so.0.1.1
  5. Download libnss3 32b : http://mirrors.kernel.org/ubuntu/pool/main/n/nss/libnss3-1d_3.12.0~beta3-0ubuntu1_i386.deb
  6. Download libnspr4 32 : http://mirrors.kernel.org/ubuntu/pool/main/n/nspr/libnspr4-0d_4.7.1~beta2-0ubuntu1_i386.deb
  7. <code>Extract libnss $ sudo file-roller ./libnss3-1d_3.12.0~beta3-0ubuntu1_i386.deb</code>
  8. Double click data.tar.gz (choose open with file-roller if you are asked)
  9. select these files in ./usr/lib folder :
    libnss3.so.1d<br />libnssutil3.so.1d<br />libsmime3.so.1d<br />libssl3.so.1d
  10. Extract to /usr/lib32 and close file-roller
  11. Enter :
    $ sudo ln -s /usr/lib32/libnss3.so.1d /usr/lib32/libnss3.so
    $ sudo ln -s /usr/lib32/libssl3.so.1d /usr/lib32/libssl3.so
    $ sudo ln -s /usr/lib32/libnspr4.so.0d /usr/lib32/libnspr4.so
  12. Then :
    <code>$ ./AdobeAIRIntaller.bin</code>
  13. <code>sudo cp /usr/lib/libadobecertstore.so /usr/lib32</code>
  14. sudo apt-get install lib32nss-mdns

Done !
Accept any update on first launch

Share

Enable flash in Google Chrome

No Comments


sudo mkdir /opt/google/chrome/plugins
sudo cp /usr/lib/firefox-3.5.5/plugins/npwrapper.libflashplayer.so /opt/google/chrome/plugins/

Edit Google Chrome Menu item : Right click on “Applications” > Edit menus, and replace “/opt/google/chrome/google-chrome %U” by “/opt/google/chrome/google-chrome  –enable-plugins %U” (do the same if you placed this launcher on your panel or on your desktop.

N.B. If you don’t know where is your flash player :

sudo updatedb
sudo locate libflashplayer.so

Share

Install Google Chrome on Ubuntu (dev channel)

No Comments

You can install a “developper only” version of Google Chrome on Linux (a .deb package).

  1. Go to the Early Access Release Channels
  2. Install either the 32 bit or 64 version (which ever will match your architecture.)
Share

Zend Studio 7 GUI Problems in Ubuntu 9.10 “Karmic Koala”

No Comments

On Ubuntu Karmic, there are some GUI bugs in Zend Studio. Some buttons are not working, no action follows a click.
Here is the official Zend explanation and workAround : http://kb.zend.com/index.php?View=entry&EntryID=435
Here is an easier step by step :

  1. Open terminal
  2. Enter “gedit .ZendStudioFixed.sh”
  3. Cut and paste the script you’ll find below (if necessary, adapt the path to ZendStudio).
  4. Save and close
  5. “chmod u+x .ZendStudioFixed.sh”
  6. Right click on you ZendStudio launcher in control panel (if you created one) or in System > Preferences > Main Menu > Programming. In “Properties” replace “/usr/local/Zend/ZendStudio-7.0.2/ZendStudio” by “./.ZendStudioFixed.sh”

The script (from kb.zend.com) :

[BEGINNING]

#!/bin/bash
export GDK_NATIVE_WINDOWS=1
/usr/local/Zend/ZendStudio-7.0.2/ZendStudio '$@'

[END]

Share

Google docs integration in ubuntu

No Comments

Upload To Google Docs Via Nautilus :

Found with some explanations here : http://d0od.blogspot.com/2009/08/google-doc-integration-ubuntu-linux.html

  1. http://code.google.com/p/nautilus-gdoc/
  2. Copy the script in {home}/.gnome2/nautilus-scripts
  3. Re-launch nautilus

Issues :

  1. Unable to upload (at least) pdf and .odp (Ooo presentation)

nautilus-gdoc error on pdf

Google Doc OpenOffice Extension

You can import and export documents to and from your Google Doc’s account through OpenOffice Writer thanks to the ooo2gd extension. But no synchronization (you must re-upload after changes)…

Share

Medibuntu (not included for license reasons in default ubuntu)

No Comments

Medibuntu allows to install non included packages like skype, codecs, etc.
  1. https://help.ubuntu.com/community/Medibuntu
  2. sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list –output-document=/etc/apt/sources.list.d/medibuntu.list
  3. sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
Share

Save power on sony vaio z41

No Comments

First of all : https://launchpad.net/~sony-vaio-z-series

Bluetooth :

  • Disable bluetooth : System > Administration > Services > uncheck “bluetooth device management”.
  • Or for once : sudo /etc/init.d/bluetooth stop.
  • Better  : http://blueman-project.org/ (It allows one to shutoff bluetooth completely from the gui, and device browsing and tethering is also much improved. 1) Add Source deb http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main and 2) sudo apt-get install blueman. (I’ve uninstalled the gnome bluetooth manager before to install blueman)
  • turn off background programs
  • turn off  any cpufreq daemon running

THIS IS OBSOLETE SINCE UBUNTU 10.04 (we must use the sony-VGN-Zseries-janitor script)

Sony-laptop from Eva Brucherseifer and Matthias Welwarsky :

  • I followed to the letter the tutorial Installation-sony-vaio and it works :
  • intel / nvidia switching ok (“speed” or “stamina”, the switching requires a reboot).
  • fn keys (including light that was broken)
  • If you want to use nvidia-settings (command-line or System > Administration > nvidia x server settings), you have to save the xorg.conf generated under /etc/X11/xorg.conf.NVIDIA (if you followed the tutorial and name the files as they recommend). On reboot (or logout) with “speed” option selected, your xorg.conf file is allways replaced by xorg.conf.NVIDIA.

Brightness applet : add “acpi_backlight=vendor” to kernel options, so we read noow :

# kopt=root=UUID=fb4858fa-e615-47ea-9cb1-65f22a9935fb ro acpi_osi="!Windows 2006" acpi_backlight=vendor
Share

java plugin for firefox 64 bit (for logmein,etc.)

No Comments

Solution 1 (OK !) :  java 6 version 1.8+ 64 bit early access
64 bit early access : https://jdk6.dev.java.net/6uNea.html (http://download.java.net/jdk6/index.html)
http://ubuntuforums.org/showthread.php?t=1011899
cd /opt
sudo sh ~/jre-6u18-ea-bin-b01-linux-amd64-20_aug_2009.bin
So you wind up with /opt/jre1.6.0_18
cd /usr/lib/mozilla/plugins
sudo ln -s /opt/jre1.6.0_18/lib/amd64/libnpjp2.so
(restart firefox)
Tools > add-ons > Plugins > enable the plugin if not enabled

Solution 2 : icedTea (seems to not work on all sites, especially logmein)
http://ubuntuforums.org/showthread.php?t=774956
(Install of 1.4.1 64 bit java plugin)
The easiest way to download OpenJDK and Icedtead (the plugin) is Applications > Add/Remove > Change the Show box to either “All OpenSource Applications” or “All Available Applications” (The former is also known as Universe and contains free (as in speech) applications, while the latter is also known as Multiverse and contains proprietary appliations.) > Search: Icedtea > click on the boxes next to OpenJDK and Icedtea > apply changes > apply > close.
——


Solution 3 ??? install java 32 (just for archive) (complete instructions : http://www.java.com/en/download/help/5000010500.xml)

  1. Download : http://www.java.com/en/download/linux_manual.jsp -> linux self-extracting ( jre-1_6_0_02-linux-i586.bin)
  2. sudo -i (to install in a system-wide location)
  3. cd For example, cd /usr/java/ (or /opt/java or a home subdir)
  4. Change the permission of the file you downloaded to be executable. Type:
    chmod a+x jre-6u-linux-i586.bin
  5. Verify that you have permission to execute the file. Type:
    ls -l

Make sure the installation file has executable permission

  1. Start the installation process.Type:
    ./jre-6u-linux-i586.bin

This displays a binary license agreement. Read through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.

type YES to agree to the license agreement

  1. Java is installed into its own directory. In this example, it is installed in the /usr/java/jre1.6.0_ directory. When the installation has completed, you will see the word Done.

The installation completes

  1. Java is installed in jre1.6.0_ sub-directory under the current directory. In this case, Java is installed in the /usr/java/jre1.6.0_ directory. Verify that the jre1.6.0_ sub-directory is listed under the current directory. Type:
    ls

Verify the installation filename


The installation is now complete. Skip to the Enable and Configure section.

Enable and configure

Share

Vpn with to a windows box with pptp (from ubuntu)

1 Comment

  1. Install network-manager-pptp package
  2. Network Connections > tab “VPN” > add > choose “PPTP”
  3. VPN tab : ip in Gateway
  4. Advanced
    1. Let only MSCHAPv2
    2. check “Use Point-to-Point encryption (MPPE)
    3. Let other options untouched

  5. Reboot and select your just set vpn
Share

How to Determine Which Graphics Card You Have on Ubuntu

No Comments

  1. Step 1 :  lspci | grep VGA in order to find “VGA compatible controller” lines ( lspci | grep Display in order to find secondary controller.)
  2. If for some reason you see “unknown” devices, then type update-pciids which should update the devices. Then type lspci again.
Share

Older Entries Newer Entries