Creating shortcut to Oracle SQL Developer on desktop
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 |
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 |
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
SoloSolo
3482717
3482717
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
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 |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 |
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 |
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
OdinsonOdinson
965
965
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.
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