Netbeans doesn't show up after being installed as root
This is how to create desktop shortcut. You can copy this content but you have to correct paths, especially version of Netbeans
create file netbeans.desktop in your Desktop directory
cd ~/Desktop; touch netbeans.desktop
insert this content to that file but correct paths
#!/usr/bin/env xdg-open [Desktop Entry] Encoding=UTF-8 Name=NetBeans IDE 7.1.1 Comment=The Smarter Way to Code Exec=/bin/sh "/usr/local/netbeans-7.1.1/bin/netbeans" Icon=/usr/local/netbeans-7.1.1/nb/netbeans.png Categories=Application;Development;Java;IDE Version=1.0 Type=Application Terminal=0
You can run for example this command gedit netbeans.desktop
. That should work
Related videos on Youtube
sammyukavi
Updated on September 18, 2022Comments
-
sammyukavi over 1 year
I installed netbeans in Ubuntu Linux 11.04 as root.
It installed completely but after logging out as root and logging in as a normal administrator, Netbeans doesn't show in applications and neither does it show on the desktop using a shortcut.
However when I try to reinstall the application says its already installed. What should I do to make it show in the applications panel of a normal user or even create a shortcut?
-
nafizul azim about 12 yearsDon't forget to make the desktop file executable, otherwise cautious-laucnher won't run it.