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.
Smooth fonts
See:
gedit ~/.fonts.conf
<?xml version="1.0″ ?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> <edit name="autohint" mode="assign"> <bool>true</bool> </edit> </match> </fontconfig>
Flash 9 in firefox
See:
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-3.0/plugins/
Java webstart and plugin in firefox
See:
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).
NVidia video drivers
See:
See:
Close all opened apps cause otherwise it might go wrong
sudo apt-get install envyng-gtk
start Envyng (Applications menu)
Then choose nvidia -> automatic install
reboot or at least restart Xwindows.
Run nvidia-settings (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-appearance-visual effects: 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 -> sessions -> startup programs
Add: 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
See:
Add apt sources:
gedit /etc/apt/sources.list
deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
Install it:
sudo apt-get update sudo apt-get install awn-manager-trunk awn-extras-applets-trunk
Start it:
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:
See: Preferences -> sessions ...
SAP Gui
Sapgui (platin) only works right using java 32 bits since it needs to call 32 bits libraries (JNI), so created a wrapper like this:
sapgui.sh
export PLATIN_JAVA=/usr/lib/jvm/ia32-java-1.5.0-sun/bin/java ../SAPClients/SAPGUI/bin/guilogon
Getlibs to make 32 bits programs start
To install or upgrade:
http://www.boundlesssupremacy.com/Ca...etlibs-all.deb
Download and double click the file to install.
To install a 32-bit debain package for a program (not a library!) use
Code:
Code:
Then use: Ex: sudo getlibs /usr/bin/skype
Comments:
Add a new Comment
Back to top

