Creating shortcut to Oracle SQL Developer on desktop

Solution 1:

So, my guess is that it's not set as an executable. Check it's permissions.

From the command line you can run the following to add execute permissions to the file:

chmod +x sqldeveloper.sh

Another method I'd recommend is creating a shortcut would be the following:

cd /usr/share/applications
sudo gedit ./sqldeveloper.desktop

This will open an empty file in Gedit.

In the file, add the following contents:

[Desktop Entry]
Name=SQL Developer
Comment=Oracle SQL Developer
GenericName=SQL Developer for Linux
Exec=/opt/sqldeveloper/sqldeveloper.sh
Type=Application
Categories=Developer;
Icon=/opt/sqldeveloper/icon.png

Save the file.

Now if you use the Search for SQL Developer in your app menu, you'll find SQL Developer and you can run it from there.

Now you can either add that as a favorite of yours or you can drag and drop it to your desktop.

To confirm, I just did this process myself while writing this up.

You can also reference this post for other ways to do what you're looking to do.

How can I create launchers on my desktop?