Ubuntu

I've been running Ubuntu since early 2007. Had a few teething problems with sound cards at the start but worked around them by using OSS. Happily the necessary drivers were updated in the latest releases. Below are tricks picked up over the years of using Ubuntu.

RubyMine setup and launch application as root

I have openjdk installed as well as sun jdk, so when I ran rubymine I was getting a warning message about using openjdk. So to fix this the below line was added to the rubymine.sh file:

export JDK_HOME=/usr/lib/jvm/java-6-sun-1.6.0.22

Next I wanted to set up a launcher for RubyMine, here's what I did.

Right click and select "Add to Panel", select "Custom Application Launcher", select "Add". For Type select "Application in Terminal", choose a name, the command should start with gksudo followed by the location of rubymine.sh. So full command is something like:

gksudo /path/to/rubymine.sh

blog comments powered by Disqus