Results 1 to 5 of 5

Thread: shell script

  1. #1
    Join Date
    Dec 2012
    Beans
    3

    Question shell script

    Can anyone please tell me how to execute a shell script at the start up of desktop.
    I mean what commands are to be included in the shell script so as to get it executed without the user interference.
    thanks in advance

  2. #2
    Join Date
    Dec 2012
    Beans
    3

    Re: shell script

    the shell script i am trying to execute contains a link to a media playlist

  3. #3
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: shell script

    You didn't tell us what version you are using, so I'll assume you are using Ubuntu 12.04 or 12.10. Open a terminal and type the following commands:

    Code:
    cd /etc/xdg/autostart/
    sudo sed --in-place 's/NoDisplay=true/NoDisplay=false/g' *.desktop
    then in the same terminal type:

    Code:
    gnome-session-properties
    you can then add your script to the start-up applications menu.

  4. #4
    Join Date
    Dec 2012
    Beans
    3

    Re: shell script

    Thank you sir i got hold of that script and executing well.
    can you suggest me a online learning page for such script programming.

  5. #5
    Join Date
    Jul 2012
    Location
    Illinois, USA
    Beans
    502
    Distro
    Ubuntu 12.04 Precise Pangolin

    Lightbulb Re: shell script

    Quote Originally Posted by hari7673 View Post
    Thank you sir i got hold of that script and executing well.
    can you suggest me a online learning page for such script programming.
    I really like the Unix Toolbox. It has a lot of command examples, not the most detailed explanations as its intended as a pocket reference, but you could peruse it, and ask Google or the Ubuntu Forums any specific questions you have about new commands you're learning.

    http://cb.vu/unixtoolbox.xhtml

    Obviously you'd want to be looking at Linux commands. (not the FreeBSD ones, etc)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •