Results 1 to 6 of 6

Thread: Nautilus and .sh files

  1. #1
    Join Date
    Jun 2005
    Location
    England
    Beans
    2,693
    Distro
    Ubuntu 12.04 Precise Pangolin

    Nautilus and .sh files

    Okay so the old behaviour was that if i double click on an executable .sh file it would bring up a box asking if I wanted to edit, run or whatever but now it automatically just opens it in gedit which is really quite annoying.

    Is there a way to get the old behaviour back?

  2. #2
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: Nautilus and .sh files

    I suspect that the .sh files that just open in gedit are not marked as executable. See what happens if you use command
    Code:
    chmod +x /path/to/file.sh
    and then double click it again.

    I suppose this may possibly be a feature and not a bug in nautilus for RR, but it seems unlikely that would be so, though I am prepared to be shot down by someone telling me that is the case.
    DISTRO: Xubuntu 12.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  3. #3
    Join Date
    Jun 2007
    Beans
    12,997

    Re: Nautilus and .sh files

    The default behavior has been changed, set as desired in nautilus preferences
    Attached Images Attached Images

  4. #4
    Join Date
    Jun 2005
    Location
    England
    Beans
    2,693
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nautilus and .sh files

    Quote Originally Posted by ELD View Post
    Okay so the old behaviour was that if i double click on an executable .sh file it would bring up a box asking if I wanted to edit, run or whatever but now it automatically just opens it in gedit which is really quite annoying.

    Is there a way to get the old behaviour back?
    I stated this.

    Quote Originally Posted by mc4man View Post
    The default behavior has been changed, set as desired in nautilus preferences
    Interesting, an annoying change.

  5. #5
    Join Date
    May 2008
    Location
    Moscow, Russia
    Beans
    109
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nautilus and .sh files

    Quote Originally Posted by mc4man View Post
    The default behavior has been changed, set as desired in nautilus preferences
    Thank you, I had exactly the same problem! I've never even looked in Nautilus preferences! Glad it can be solved so easily.

  6. #6
    Join Date
    Jun 2005
    Location
    Where?
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Nautilus and .sh files

    Quote Originally Posted by mc4man View Post
    The default behavior has been changed, set as desired in nautilus preferences
    Thanks!
    Ive been meaning to do a search for this soon.
    Saved me some time

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
  •