Ubuntu 64 bits notes
I had to install an SAP 2007 ISA central instance on my workstation and that requires a 64 bit OS
So it was time to install Ubuntu hardy heron 64 bits, 64 bits is good but there are a few quirks, i list here all the quirks and tips i had to find to make it behave.
<?xml version="1.0??? ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<edit name="autohint" mode="assign">
Flash 9 in firefox
sudo apt-get install nspluginwrapper flashplugin-nonfree lib32nss-mdns
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox*/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/chromium-browser/plugins/libflashplayer.so
Flash 10 64 bits in Chrome/Firefox
Updated 9/2010 : Adobe finally released a 64 bits linux version
Download the correct installer here:
Then extract it somewhere (say home directory)
cd ~ && tar xzvf flashplayer_square_p1_64bit_linux_091510.tar.gz
and make the plugin executable: chmod +x libflashplayer.so
Copy the plugin to the browser's plugin folder:
Firefox: sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins/libflashplayer.so
Chrome: sudo cp libflashplayer.so /opt/google/chrome/plugins/
Restart the browser and enjoy !
Java webstart and plugin in firefox
sudo apt-get install ia32-sun-java5-bin
#use that to run .jnlp files
this does not seem to work with all .jnlp files (or maybe it's SAP specific).
Java in Chromium
sudo ln -sf /usr/lib/jvm/java-6-sun-184.108.40.206/jre/lib/amd64/libnpjp2.so /usr/lib/chromium-browser/plugins/
sudo rm /usr/lib/chromium-browser/plugins/libjavaplugin_oji.so
NVidia video drivers
Close all opened apps cause otherwise it might go wrong
sudo apt-get install envyng-gtk
Then choose nvidia -> automatic install
reboot or at least restart Xwindows.
(menu or sudo nvidia-settings
Go to x server display config
and choose whatever you want (resolution & refresh rate
) ex: 1280*1024 @ 75Hz
and then press "save to x config. file
and restart X again (Ex: XTRL-ALT-BACKSPACE)
Ubuntu screen resolution chooser will still say 50Hz, you can ignore that, it's not.
Blank java applications windows
Compiz is a cool eye candy window manager add-on for gnome, unfortunately there is a bug and when it's enabled, java applications just show a bank empty useless window.
I need Netbeans and other java apps to work, so i need to disable compiz:
Go to system-preference
: and Select 'None'
After doing this however you won't have any transparency at all, and won't be able to use cool things like avant-window-manager (Apple like dock for Linux), so we enable a lightweight transparency manager which does not have the java issue:
sudo apt-get install xcompmgr
Start it manually for now: xcompmgr &
We need it to start automatically when X starts
Go to preferences
-> startup programs
: name:compmgr command:/usr/bin/xcompmgr
Advance window manager (awn) (OSX like dock for Linux)
I like a nice dock like thing, here is how i installed it:
you need a composition manager for this to work, see above topic for installing xcompmgr
Add apt sources:
deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
sudo apt-get update
sudo apt-get install awn-manager-trunk awn-extras-applets-trunk
Applications -> Accessories -> Avant Window Navigator or just avant-window-navigator &
Run the awn manager: awn-manager
and in the general tab select: "Automatically start AWN on login"
Removing gnome panel:
Right now you will have both gnome menu bars and the dock which is lame, after you had the useful stuff to your dock, you will want to disable gnome-panel:
You will want to kill it killall gnome-panel
, and probably also preventing it from running next time:
Sapgui (platin) only works right using java 32 bits since it needs to call 32 bits libraries (JNI), so created a wrapper like this:
Getlibs to make 32 bits programs start
Lots of programs do not want to work on linux 64 bits(32 bits only) .... however most of those could actually run by using 32 bits libraries, that is where getlibs come in handy, it finds what a given program needs and install 32 bit compat libraries so it can run.
(Nice social media client), Skype.
and install it
(with gdeb or manully: sudo dpkg -i getlibs-all.deb
Install your program, in the case of Yoono, you just have to unzip the folder, but if say it's a 32 bits package (rpm, deb) you might have to 'force' install like this:
sudo dpkg -i --force-all some_app.deb
Now, use getlibs to install the 32 bits dependencies of the program
Call getlib with the program as the parameter
Example1: sudo getlibs ./yoono-desktop
Example2: sudo getlibs /usr/bin/skype
This will install the libraries.
You can now run the program