Create a Menu Item

Hi All

I finally got IntelliJ to work in Xubuntu, but instead of using the terminal, i'd prefer to create a menu shortcut.  This is what i tried, but it did not work

[Desktop Entry]
Name=IntelliJ IDEA
Comment=Java Integrated Development Environment
Exec=/opt/idea-IU-95.429/bin/idea.sh
Icon=/opt/idea-IU-95.429/bin/idea32.png
Terminal=true
X-MultipleArgs=false
Type=Application
Categories=Development;
Encoding=UTF-8
StartupNotify=true



Any suggestions please ?

Many thanks
5 comments

Hello,

Try this change:

'Exec=/opt/idea-IU-95.429/bin/idea.sh' -> 'Exec=/bin/sh -c "/opt/idea-IU-95.429/bin/idea.sh"'

Regards, Denis

0

Hi Denis

I made the change

[Desktop Entry]
Name=IntelliJ IDEA
Comment=Java Integrated Development Environment
Exec=Exec=/bin/sh -c "/opt/idea-IU-95.429/bin/idea.sh"
Icon=/opt/idea-IU-95.429/bin/idea32.png
Terminal=true
X-MultipleArgs=false
Type=Application
Categories=Development;
Encoding=UTF-8
StartupNotify=true



And i just get an empty terminal open up and thats all

Many thanks
0

Exec=Exec=/bin/sh -c "/opt/idea-IU-95.429/bin/idea.sh"


Are you sure you have two "Exec=" at the beginning of the line?

Tom

0

Hi tom

Yes you were right, however it still will not boot.  Only starts from the terminal sadly

:O

Julian

0

Please sign in to leave a comment.