Running script on ubuntu startup to launch Mycroft AIScript not running at startupMycroft on Desktop. How?How do I install the Mycroft extension in GNOME Shell?Script not running at startup using crontabRunning script on startup

Do any languages mark social distinctions other than gender and status?

What is an idiom, phrase or expression for situation such as "throw a pigeon among cats"

In this scene from the novel, 'The Martian', by Andy Weir, how does Mark Watney store hydrogen made from water in the tank?

How to write Gaussian reduction?

Does using an img title attribute in addition to the alt attribute help image SEO?

Are there any known problems or attacks for using SHA1(AES_key) as the HMAC key?

Diagnosing instant circuit breaker tripping, with nothing connected

Make a list of Fibonacci numbers less than 1000, whose index is in the form 3m+1. Verify that all these numbers are odd

Is the EU Settlement Scheme legal?

Which person is telling the truth?

Why didn't Aboriginal Australians discover agriculture?

What's the safest shape for homemade hard-candy

Visualize a large int

What is the white square near the viewfinder of the Fujica GW690?

Can every type of linear filter be modelled by a convolution?

Automatically creating table with borders

Why the service --status-all is not listing this working service?

When and why did the House rules change to permit an inquiry without a vote?

Is this really played by 2200+ players?

The use of SlotSequence in If[#1 > #2, ##] &

Blender GUI error after install

Do temporary hit points from the Heroism spell keep a troll alive?

Why not 1.d4 Nf6 2.d5?

QGIS 3.6.1 problems with CRS



Running script on ubuntu startup to launch Mycroft AI


Script not running at startupMycroft on Desktop. How?How do I install the Mycroft extension in GNOME Shell?Script not running at startup using crontabRunning script on startup






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I'm trying out Mycroft AI on Ubuntu 18.10 and am liking it so far.



I would like to launch Mycroft on PC startup.



There is a .sh script provided to launch Mycroft:



It's start-mycroft.sh in the mycroft-core diretory within the home directory.



I've had a brief look on Askubuntu and found it rather confusing, I'd appreciate someone giving me a bit of a shove in the right direction.
Thanks










share|improve this question


























  • On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you creat an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.

    – jpezz
    May 27 at 12:38











  • Hadn't thought about this, thanks, I think I'll look at the gui startup app to have it launch on login.

    – Moyners
    May 27 at 14:46











  • Just managed to add the script in the startup app - my user account logs in automatically and then the script runs happily. Thank you, jpezz.

    – Moyners
    May 27 at 14:57

















0

















I'm trying out Mycroft AI on Ubuntu 18.10 and am liking it so far.



I would like to launch Mycroft on PC startup.



There is a .sh script provided to launch Mycroft:



It's start-mycroft.sh in the mycroft-core diretory within the home directory.



I've had a brief look on Askubuntu and found it rather confusing, I'd appreciate someone giving me a bit of a shove in the right direction.
Thanks










share|improve this question


























  • On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you creat an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.

    – jpezz
    May 27 at 12:38











  • Hadn't thought about this, thanks, I think I'll look at the gui startup app to have it launch on login.

    – Moyners
    May 27 at 14:46











  • Just managed to add the script in the startup app - my user account logs in automatically and then the script runs happily. Thank you, jpezz.

    – Moyners
    May 27 at 14:57













0












0








0








I'm trying out Mycroft AI on Ubuntu 18.10 and am liking it so far.



I would like to launch Mycroft on PC startup.



There is a .sh script provided to launch Mycroft:



It's start-mycroft.sh in the mycroft-core diretory within the home directory.



I've had a brief look on Askubuntu and found it rather confusing, I'd appreciate someone giving me a bit of a shove in the right direction.
Thanks










share|improve this question















I'm trying out Mycroft AI on Ubuntu 18.10 and am liking it so far.



I would like to launch Mycroft on PC startup.



There is a .sh script provided to launch Mycroft:



It's start-mycroft.sh in the mycroft-core diretory within the home directory.



I've had a brief look on Askubuntu and found it rather confusing, I'd appreciate someone giving me a bit of a shove in the right direction.
Thanks







scripts mycroft






share|improve this question














share|improve this question











share|improve this question




share|improve this question










asked May 27 at 11:55









MoynersMoyners

11 bronze badge




11 bronze badge















  • On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you creat an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.

    – jpezz
    May 27 at 12:38











  • Hadn't thought about this, thanks, I think I'll look at the gui startup app to have it launch on login.

    – Moyners
    May 27 at 14:46











  • Just managed to add the script in the startup app - my user account logs in automatically and then the script runs happily. Thank you, jpezz.

    – Moyners
    May 27 at 14:57

















  • On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you creat an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.

    – jpezz
    May 27 at 12:38











  • Hadn't thought about this, thanks, I think I'll look at the gui startup app to have it launch on login.

    – Moyners
    May 27 at 14:46











  • Just managed to add the script in the startup app - my user account logs in automatically and then the script runs happily. Thank you, jpezz.

    – Moyners
    May 27 at 14:57
















On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you creat an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.

– jpezz
May 27 at 12:38





On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you creat an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.

– jpezz
May 27 at 12:38













Hadn't thought about this, thanks, I think I'll look at the gui startup app to have it launch on login.

– Moyners
May 27 at 14:46





Hadn't thought about this, thanks, I think I'll look at the gui startup app to have it launch on login.

– Moyners
May 27 at 14:46













Just managed to add the script in the startup app - my user account logs in automatically and then the script runs happily. Thank you, jpezz.

– Moyners
May 27 at 14:57





Just managed to add the script in the startup app - my user account logs in automatically and then the script runs happily. Thank you, jpezz.

– Moyners
May 27 at 14:57










1 Answer
1






active

oldest

votes


















0


















On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you create an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.



To find the Startup application, Select "Show Applications" then in search box, you put "Startup". It should have a "rocket" icon. Select the application, then use the "Add" button to fill in the fields. When you logon, that application runs. It can be a program or an executable script.



For scripts or programs you want to run as root at bootup, create /etc/rc.local as root (or edit it if it exists). Then add your program or script. Remember to redirect output and error to a file and/or run it with "nohup" in background so it doesn't hang your system if there is an issue. Note, best to use full pathnames for all objects. Scripts should be in "root-protected" directories like /root and not be even readable by users. Commands in scripts should have full path names for security. Using nohup insures that when the rc.local script finishes, the program or script is not terminated.



Ex:



nohup /root/myscript >/root.myscript.out 2>&1 & # so program has its own error file

nohup /bin/ps -ef & # Output goes to nohup.out.





share|improve this answer



























    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/4.0/"u003ecc by-sa 4.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
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1146534%2frunning-script-on-ubuntu-startup-to-launch-mycroft-ai%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









    0


















    On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you create an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.



    To find the Startup application, Select "Show Applications" then in search box, you put "Startup". It should have a "rocket" icon. Select the application, then use the "Add" button to fill in the fields. When you logon, that application runs. It can be a program or an executable script.



    For scripts or programs you want to run as root at bootup, create /etc/rc.local as root (or edit it if it exists). Then add your program or script. Remember to redirect output and error to a file and/or run it with "nohup" in background so it doesn't hang your system if there is an issue. Note, best to use full pathnames for all objects. Scripts should be in "root-protected" directories like /root and not be even readable by users. Commands in scripts should have full path names for security. Using nohup insures that when the rc.local script finishes, the program or script is not terminated.



    Ex:



    nohup /root/myscript >/root.myscript.out 2>&1 & # so program has its own error file

    nohup /bin/ps -ef & # Output goes to nohup.out.





    share|improve this answer






























      0


















      On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you create an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.



      To find the Startup application, Select "Show Applications" then in search box, you put "Startup". It should have a "rocket" icon. Select the application, then use the "Add" button to fill in the fields. When you logon, that application runs. It can be a program or an executable script.



      For scripts or programs you want to run as root at bootup, create /etc/rc.local as root (or edit it if it exists). Then add your program or script. Remember to redirect output and error to a file and/or run it with "nohup" in background so it doesn't hang your system if there is an issue. Note, best to use full pathnames for all objects. Scripts should be in "root-protected" directories like /root and not be even readable by users. Commands in scripts should have full path names for security. Using nohup insures that when the rc.local script finishes, the program or script is not terminated.



      Ex:



      nohup /root/myscript >/root.myscript.out 2>&1 & # so program has its own error file

      nohup /bin/ps -ef & # Output goes to nohup.out.





      share|improve this answer




























        0














        0










        0









        On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you create an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.



        To find the Startup application, Select "Show Applications" then in search box, you put "Startup". It should have a "rocket" icon. Select the application, then use the "Add" button to fill in the fields. When you logon, that application runs. It can be a program or an executable script.



        For scripts or programs you want to run as root at bootup, create /etc/rc.local as root (or edit it if it exists). Then add your program or script. Remember to redirect output and error to a file and/or run it with "nohup" in background so it doesn't hang your system if there is an issue. Note, best to use full pathnames for all objects. Scripts should be in "root-protected" directories like /root and not be even readable by users. Commands in scripts should have full path names for security. Using nohup insures that when the rc.local script finishes, the program or script is not terminated.



        Ex:



        nohup /root/myscript >/root.myscript.out 2>&1 & # so program has its own error file

        nohup /bin/ps -ef & # Output goes to nohup.out.





        share|improve this answer














        On bootup? Are you sure? Or just when you logon. Different answers for each so you might want to expand on your need. Generally, for bootup, you create an init.d script or run it from /etc/rc.local. For login, there is a gui startup app where you can put the Mycroft script so it starts every time you login.



        To find the Startup application, Select "Show Applications" then in search box, you put "Startup". It should have a "rocket" icon. Select the application, then use the "Add" button to fill in the fields. When you logon, that application runs. It can be a program or an executable script.



        For scripts or programs you want to run as root at bootup, create /etc/rc.local as root (or edit it if it exists). Then add your program or script. Remember to redirect output and error to a file and/or run it with "nohup" in background so it doesn't hang your system if there is an issue. Note, best to use full pathnames for all objects. Scripts should be in "root-protected" directories like /root and not be even readable by users. Commands in scripts should have full path names for security. Using nohup insures that when the rc.local script finishes, the program or script is not terminated.



        Ex:



        nohup /root/myscript >/root.myscript.out 2>&1 & # so program has its own error file

        nohup /bin/ps -ef & # Output goes to nohup.out.






        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered May 28 at 21:21









        jpezzjpezz

        8303 silver badges13 bronze badges




        8303 silver badges13 bronze badges































            draft saved

            draft discarded















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1146534%2frunning-script-on-ubuntu-startup-to-launch-mycroft-ai%23new-answer', 'question_page');

            );

            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









            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?