Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I noticed that there are some applications (e.g., RubyMine) that are not integrated with the Global Menu.

For LibreOffice I've seen that there already are fixes.

How do you make an app like RubyMine integrate well with the Global Menu? If there is no current solution, what do you have to do to fix this (and give it back to the community)?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

The problem is with Java Applications and Unity.

https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/768966

One option is to follow this:

Does Unity support disabling the global application menu?

share|improve this answer

There is a java library that tries force global menu in Java Swing applications. It's called jayatana.

It creates Global Menu for Swing applications, like NetBeans IDE, Jetbrains IDEs (like PHPStorm, RubyMine, etc), IntelliJ IDEA, Android Studio, etc.

For 12.04

See this tutorial and follow the OpenJDK or OracleJDK method: http://hanynowsky.wordpress.com/2012/05/12/integration-of-java-swing-applications-with-unity-global-menu-in-ubuntu-12-04/

For 13.10, 14.04 and 14.10

On Trusty, Jayatana has it's own PPA:

sudo add-apt-repository ppa:danjaredg/jayatana
sudo apt-get update
sudo apt-get install jayatana

Restart the IDE.

share|improve this answer
1  
Seems like a nice solution, but it didn't work with 14.10, any ideas ? (Note: i'm using Oracle's JDK) –  MhdSyrwan Dec 23 '14 at 9:05
    
@MhdSyrwan Probably authors just didn't update yet to support 14.10. I saw just now, and the package was published to 14.10. Can you try again? –  Rael Gugelmin Cunha Dec 23 '14 at 12:21
    
I can find the package jayatana, but nothing happens after installing it and restarting rubymine –  MhdSyrwan Dec 23 '14 at 15:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.