LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-07-2005, 09:19 PM   #1
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Choosing my own Text Editor in Gnome


As a default test editor gEdit is worlds ahead of Notepad on the other OS, but it's hopeless for editing very large files,

Long ago, I replaced Notepad on Windoze with EditPadLite, freeware. What a great program that is. I recently discovered that there is now a Linux version. Hallelujah!

Now my question. I went into Preferences / More Preferences / Preferred Aplications and told Gnome that I wanted a Custom Editor instead of the defaults it preferred to offer me. The information appeared to be accepted, but when I double clicked on a .txt file, it still opened in gEdit. Went back to Preferred Applications and repeated my effort ... several times. No luck. When I close the Preferred Applications window, everything goes back to the default.

Is there a place I can go from a terminal window to change my Text Editor default?
 
Old 03-07-2005, 09:34 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Right click on a text file, properties>open with>add

With your method, did you check the box that says to open the files with that app in the file manager?

(I'm only doing one of my periodic playing-with-knome things before I get pissed off again and delete them, so if it's more complicated than that, I dunno.)
 
Old 03-07-2005, 10:04 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
Right click on a text file, properties>open with>add

I can do that, but, I want .txt files to open by default (double click) in my preferred editor. 'Open with...' takes a few extra clicks, and I have to type in the app name.

With your method, did you check the box that says to open the files with that app in the file manager?

Yes
 
Old 03-07-2005, 11:09 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by rickh
Right click on a text file, properties>open with>add

I can do that, but, I want .txt files to open by default (double click) in my preferred editor. 'Open with...' takes a few extra clicks, and I have to type in the app name.
Well, that should set the default so that, after doing that, you can just double-click. May have to select the sort of radio button to specify the default.

Quote:
With your method, did you check the box that says to open the files with that app in the file manager?

Yes [/B]
Hm. That should work. We are talking nautilus, either from the desktop or inside the filer pane, right? Any other file manager (like rox) would require its own configuration. This is not specific help but, when I was trying to turn the menu into something sensible, some of my changes weren't taking effect. Turns out some of these 'desktop' files were only in the system-wide directory and, amazingly, some in $HOME were owned by me, yet had *read-only* permission. So copying the desktop files and chmodding them all made my menu changes stick. File associations are handled differently, but that may give you a starting place: track down the relevant file and make sure it's writable by you. GUI config editors are almost always broken and text files - *plain* text files - are so much easier, sensible, and effective, but that's the way knome does stuff.
 
Old 03-07-2005, 11:45 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
Sorry. You are correct. I didn't understand what you were telling me to do. Now it works splendidly. Changing the properties for one file applies to all others of that type.

FTR: 1. Right click on a plain text file.
2. Select 'Properties'
3. Select 'Add' & 'Browse to' or type the command for the new default.
4. Make sure the radio button for you preferred application is selected.

The Preferred Applications dialog does NOT work, as near as I can tell.

Last edited by rickh; 03-07-2005 at 11:53 PM.
 
Old 03-07-2005, 11:53 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Ah, cool. Nothing worse than getting an editor you don't want.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 11:28 AM
gui, non-kde, non-gnome text editor & file manager jaakkop Linux - Software 2 07-25-2005 11:09 PM
x text editor monohouse Linux - Software 8 11-08-2004 06:09 AM
Best Text Editor? Ekim Gram Linux - Software 4 05-24-2003 12:36 PM
vi text editor keevitaja Linux - Newbie 4 08-23-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration