FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.)
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.