Running terminal commands with a double click file [duplicate]
This question already has an answer here:
How can I create launchers on my desktop?
18 answers
I have a program that I have to run by going into the terminal and typing "./filename". I want make an executable file that types this automatically for me.
command-line scripts
marked as duplicate by Kulfy, dessert
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Feb 2 at 14:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How can I create launchers on my desktop?
18 answers
I have a program that I have to run by going into the terminal and typing "./filename". I want make an executable file that types this automatically for me.
command-line scripts
marked as duplicate by Kulfy, dessert
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Feb 2 at 14:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
Please elaborate a bit. Does the application need to be run from its own directory and do you just need the command to be run, or you want or need it to be run from a terminal? (What is the application?)
– Jacob Vlijm
Feb 2 at 14:04
add a comment |
This question already has an answer here:
How can I create launchers on my desktop?
18 answers
I have a program that I have to run by going into the terminal and typing "./filename". I want make an executable file that types this automatically for me.
command-line scripts
This question already has an answer here:
How can I create launchers on my desktop?
18 answers
I have a program that I have to run by going into the terminal and typing "./filename". I want make an executable file that types this automatically for me.
This question already has an answer here:
How can I create launchers on my desktop?
18 answers
command-line scripts
command-line scripts
asked Feb 2 at 13:49
HeinMin ThantHeinMin Thant
61
61
marked as duplicate by Kulfy, dessert
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Feb 2 at 14:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Kulfy, dessert
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Feb 2 at 14:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
Please elaborate a bit. Does the application need to be run from its own directory and do you just need the command to be run, or you want or need it to be run from a terminal? (What is the application?)
– Jacob Vlijm
Feb 2 at 14:04
add a comment |
2
Please elaborate a bit. Does the application need to be run from its own directory and do you just need the command to be run, or you want or need it to be run from a terminal? (What is the application?)
– Jacob Vlijm
Feb 2 at 14:04
2
2
Please elaborate a bit. Does the application need to be run from its own directory and do you just need the command to be run, or you want or need it to be run from a terminal? (What is the application?)
– Jacob Vlijm
Feb 2 at 14:04
Please elaborate a bit. Does the application need to be run from its own directory and do you just need the command to be run, or you want or need it to be run from a terminal? (What is the application?)
– Jacob Vlijm
Feb 2 at 14:04
add a comment |
1 Answer
1
active
oldest
votes
You need to create a .desktop
file to start your filename
. See How to Create a .desktop and The Gnome page.
Also read man desktop-file-validate;man desktop-file-install
.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to create a .desktop
file to start your filename
. See How to Create a .desktop and The Gnome page.
Also read man desktop-file-validate;man desktop-file-install
.
add a comment |
You need to create a .desktop
file to start your filename
. See How to Create a .desktop and The Gnome page.
Also read man desktop-file-validate;man desktop-file-install
.
add a comment |
You need to create a .desktop
file to start your filename
. See How to Create a .desktop and The Gnome page.
Also read man desktop-file-validate;man desktop-file-install
.
You need to create a .desktop
file to start your filename
. See How to Create a .desktop and The Gnome page.
Also read man desktop-file-validate;man desktop-file-install
.
edited Feb 2 at 19:38
answered Feb 2 at 13:59
waltinatorwaltinator
22.6k74169
22.6k74169
add a comment |
add a comment |
2
Please elaborate a bit. Does the application need to be run from its own directory and do you just need the command to be run, or you want or need it to be run from a terminal? (What is the application?)
– Jacob Vlijm
Feb 2 at 14:04