Creating shortcut to Oracle SQL Developer on desktop
up vote
1
down vote
favorite
To start Oracle SQL Developer I have to write
cd /opt/sqldeveloper/
./sqldeveloper.sh
I tried to make a shortcut to the sqldeveloper.sh file on my desktop, but when I run the shortcut I only see the script in gedit. It doesnt run it.
How can I make the script run when I click my desktop shortcut?
16.04
add a comment |
up vote
1
down vote
favorite
To start Oracle SQL Developer I have to write
cd /opt/sqldeveloper/
./sqldeveloper.sh
I tried to make a shortcut to the sqldeveloper.sh file on my desktop, but when I run the shortcut I only see the script in gedit. It doesnt run it.
How can I make the script run when I click my desktop shortcut?
16.04
Welcome to askubuntu.SE! Please take the tour, have a look around, and read through the help center, in particular How do I ask a good question? and What topics can I ask about here?. - did you set theexecutable
flag using 'chamod'?
– Timothy Truckle
Aug 21 '17 at 14:38
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
To start Oracle SQL Developer I have to write
cd /opt/sqldeveloper/
./sqldeveloper.sh
I tried to make a shortcut to the sqldeveloper.sh file on my desktop, but when I run the shortcut I only see the script in gedit. It doesnt run it.
How can I make the script run when I click my desktop shortcut?
16.04
To start Oracle SQL Developer I have to write
cd /opt/sqldeveloper/
./sqldeveloper.sh
I tried to make a shortcut to the sqldeveloper.sh file on my desktop, but when I run the shortcut I only see the script in gedit. It doesnt run it.
How can I make the script run when I click my desktop shortcut?
16.04
16.04
asked Aug 21 '17 at 13:45
Solo
3431716
3431716
Welcome to askubuntu.SE! Please take the tour, have a look around, and read through the help center, in particular How do I ask a good question? and What topics can I ask about here?. - did you set theexecutable
flag using 'chamod'?
– Timothy Truckle
Aug 21 '17 at 14:38
add a comment |
Welcome to askubuntu.SE! Please take the tour, have a look around, and read through the help center, in particular How do I ask a good question? and What topics can I ask about here?. - did you set theexecutable
flag using 'chamod'?
– Timothy Truckle
Aug 21 '17 at 14:38
Welcome to askubuntu.SE! Please take the tour, have a look around, and read through the help center, in particular How do I ask a good question? and What topics can I ask about here?. - did you set the
executable
flag using 'chamod'?– Timothy Truckle
Aug 21 '17 at 14:38
Welcome to askubuntu.SE! Please take the tour, have a look around, and read through the help center, in particular How do I ask a good question? and What topics can I ask about here?. - did you set the
executable
flag using 'chamod'?– Timothy Truckle
Aug 21 '17 at 14:38
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
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;
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?
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
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;
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?
add a comment |
up vote
1
down vote
accepted
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;
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?
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
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;
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?
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;
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?
answered Dec 22 '17 at 18:55
Odinson
764
764
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f948347%2fcreating-shortcut-to-oracle-sql-developer-on-desktop%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to askubuntu.SE! Please take the tour, have a look around, and read through the help center, in particular How do I ask a good question? and What topics can I ask about here?. - did you set the
executable
flag using 'chamod'?– Timothy Truckle
Aug 21 '17 at 14:38