2

On Ubuntu 15.04 Unity, how can I enable the global menu bar for the Qt application RStudio?

I found a 12.04 question, which was not solved and did not contain a clue.

(Due to reputation issues, I could not add the RStudio tag).

setempler
  • 510
  • Both solutions don't seem to work under Ubuntu 16.04 and the recent RStudio Version 0.99.903 any longer. :( Is there a new solution for the actual Version? – YetanotherQuestion Oct 31 '16 at 13:05

2 Answers2

2

edit:

It is reported (see comments), that Ubuntu 16.04 and/or RStudio release 0.99.467 (using Qt5) or later do not support the following solution any more. See also the answer of lyz1990.


I found a solution on the RStudio forum (here). The issue has reported several times (e.g. here and here).

To enable the appmenu-qt for RStudio, link the qt4 menubar to the rstudio library folder. Run the following commands in a terminal:

cd /usr/lib/rstudio/bin/plugins
sudo ln -s /usr/lib/x86_64-linux-gnu/qt4/plugins/menubar

Then (close and) start rstudio. This is how it looks like:

Enable global application menu with RStudio

setempler
  • 510
1

For recent versions of Rstudio with Qt5:

cd /usr/lib/rstudio/bin/plugins/platformthemes
sudo ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libappmenu-qt5.so libappmenu-qt5.so
QwertyChouskie
  • 2,344
  • 1
  • 16
  • 30
lyz1990
  • 11
  • 1