Running terminal commands with a double click file [duplicate]












1
















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.










share|improve this question













marked as duplicate by Kulfy, dessert command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

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
















1
















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.










share|improve this question













marked as duplicate by Kulfy, dessert command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

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














1












1








1


1







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.










share|improve this question















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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 2 at 13:49









HeinMin ThantHeinMin Thant

61




61




marked as duplicate by Kulfy, dessert command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

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 command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

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














  • 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










1 Answer
1






active

oldest

votes


















-1














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.






share|improve this answer
































    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    -1














    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.






    share|improve this answer






























      -1














      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.






      share|improve this answer




























        -1












        -1








        -1







        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.






        share|improve this answer















        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 2 at 19:38

























        answered Feb 2 at 13:59









        waltinatorwaltinator

        22.6k74169




        22.6k74169















            Popular posts from this blog

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            File:DeusFollowingSea.jpg