Results 1 to 8 of 8

Thread: Using Text Editor as preffered application for scripts

  1. #1
    Join Date
    Oct 2006
    Location
    Dawlish, Devon, UK
    Beans
    672
    Distro
    Kubuntu 22.04 Jammy Jellyfish

    Using Text Editor as preffered application for scripts

    I have some assorted shell scripts and PERL scripts that I sometimes need to edit. When I right click on them within Nautilus, it offers to open them in Notepad. I can select Text Editor and put a tick in the box to 'remember this application', but it doesn't remember and next time I have Notepad again. It's a pain to have to navigate to Text Editor every time I need to open one of these files. Is there any way to make it stick? Help would be much appreciated.

  2. #2
    Join Date
    Oct 2006
    Location
    Dawlish, Devon, UK
    Beans
    672
    Distro
    Kubuntu 22.04 Jammy Jellyfish

    Re: Using Text Editor as preffered application for scripts

    bump...

  3. #3
    Join Date
    Sep 2007
    Location
    Seattle, USA
    Beans
    116
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Using Text Editor as preffered application for scripts

    Yeah, I don't really understand Ubuntu making notepad the default text editor, considering every text editor imaginable, including all of the ones that Linux has standard, would be a better choice.

    But anyway did you try some of the suggestions here? http://ubuntuforums.org/showthread.php?t=299086.
    "I take it from your glum demeanor that your ill-advised foray into time-travel destroyed yet another reality."

  4. #4
    Join Date
    Dec 2009
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Using Text Editor as preffered application for scripts

    I have this in my ~/.bashrc file if that helps:

    EDITOR=gedit

  5. #5
    Join Date
    Oct 2006
    Location
    Dawlish, Devon, UK
    Beans
    672
    Distro
    Kubuntu 22.04 Jammy Jellyfish

    Re: Using Text Editor as preffered application for scripts

    Thanks for this - will try these suggestions out...

  6. #6
    Join Date
    Sep 2009
    Location
    Canada, Montreal QC
    Beans
    1,809
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Using Text Editor as preffered application for scripts

    Ubuntu has no Notepad application. If it had it would get sued by Microsoft for stealing the name!
    I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones.
    Freedom is measured in Stallmans.
    Projects: gEcrit

  7. #7
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Using Text Editor as preffered application for scripts

    Quote Originally Posted by cgroza View Post
    Ubuntu has no Notepad application. If it had it would get sued by Microsoft for stealing the name!
    Are you joking? There is definitely one Notepad, from WINE.

  8. #8
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Using Text Editor as preffered application for scripts

    I can select Text Editor and put a tick in the box to 'remember this application', but it doesn't remember and next time I have Notepad again.
    If you're on maverick then the 'remember...' option would typically change the default. (really shouldn't

    Anyway the more 'proper' way to set a new default for a filetype is -
    right click on a file -> properties -> open with, ect.

Tags for this Thread

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
  •