Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

.desktop file for a gnome favorite shortcut, netbeans...

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
metalfan
Posts: 79
Joined: 2011-02-04 14:30

.desktop file for a gnome favorite shortcut, netbeans...

#1 Post by metalfan »

hi,


the official netbeans installer installs a netbeans-8.2.desktop file to:

Code: Select all

~/.local/share/applications
which is the right place, it contains:

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=NetBeans IDE 8.2
Comment=The Smarter Way to Code
Exec=/bin/sh "/home/julius/netbeans-8.2/bin/netbeans"
Icon=/home/julius/netbeans-8.2/nb/netbeans.png
Categories=Application;Development;Java;IDE
Version=1.0
Type=Application
Terminal=0


it can be started trough the "gnome input bar", the thing when all windows are minimized at the top of the screen in the middle.
but i can not add it as favorite in the left launcher when it is running...why is that?

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: .desktop file for a gnome favorite shortcut, netbeans...

#2 Post by pylkko »

I have never had any problems with this, even with programs I wrote (i.e the one single GTK program that I have ever written). But I don't know if you are doing it in a different way. What has worked for me is to run the program and then the icon appears in the bar. Once it does, left click it and choose "add to favorites". Is that what you tried, but it did not work?

Post Reply