VectorLinux
October 24, 2014, 10:32:18 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Change Default editor  (Read 1860 times)
carl
Guest
« on: June 03, 2007, 11:17:16 am »

In Debian Etch you can  change the default with this comand

[carl@drone~]$ update-alternatives --config editor

What about VectorLinux, is there a simler comand for VectorLinux
Logged
lagagnon
Global Moderator
Vectorian
*****
Posts: 1922



WWW
« Reply #1 on: June 03, 2007, 04:09:02 pm »

You did not state which desktop environment you are using - that makes a difference. If xfce go to Settings Manager and somewhere there you can choose default applications. In Thunar (the xfce File Manager) you can also force it to load a specific editor for .txt files,  or other files with suffixes that are obviously text.

If using KDE, use Control Center, KDE Components, Component Chooser (set things up there) and then File Associations and set up text file associations there.

For command line editor settings check what it is with "echo $EDITOR". You can change it to whatever text mode editor you like by changing the $EDITOR environment variable in your ~/.bashrc file.
Logged

"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #2 on: June 03, 2007, 08:43:06 pm »

AFAIK, all the Debian command does is change $EDITOR:

http://www.debianadmin.com/howto-change-default-editor-in-debian-etch.html

It varies from one application to the next of course.
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
carl
Guest
« Reply #3 on: June 04, 2007, 10:38:39 am »

Oki doki Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!