LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-23-2010, 08:22 AM   #1
RockyRX
LQ Newbie
 
Registered: Jul 2010
Posts: 7

Rep: Reputation: 0
How to set default application


I have 3 text editors I use. In Linux Mint gedit is the default editor. How do I make another editor the default?

I have two applications that will open .doc files. How do I select which application will open the .doc file when clicked on?

Thanks RockyRX
 
Old 07-23-2010, 10:03 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Hi RockyRX,

You didn't mention your linux distro.

Quote:
I have 3 text editors I use. In Linux Mint gedit is the default editor. How do I make another editor the default?
for redhat, fedora
edit ~/.bash_profile
export EDITOR=your editor

for ubuntu & debina
sudo update-alternatives --config editor

Quote:
I have two applications that will open .doc files. How do I select which application will open the .doc file when clicked on?
right click on file goto properties ->openwith tab

choose your application

HTH
 
Old 07-23-2010, 10:03 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,504

Rep: Reputation: 233Reputation: 233Reputation: 233
It depends on your distro. Debian tends to make a symlink in /etc/alternatives/ with strange names like:
/etc/alternatives/x-www-browser
/etc/alternatives/gnome-www-browser

or for editors:

/etc/alternatives/gnome-text-editor -> /usr/bin/gedit

YMMV and so might your distro. And there's probably a more proper administrative way to change those than rm and ln -s.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
grub-set-default ... get-default? RaduH Linux - General 1 11-21-2007 01:05 PM
default application ashishjen Linux - Newbie 6 01-28-2007 12:21 PM
Ubuntu Default Application tendonut Linux - Software 3 06-09-2006 01:46 PM
How to set an application as default under KDE? ExCIA Linux - Newbie 2 06-07-2005 07:32 AM
Set default application in gnome2.6 kurt.underhay Linux - Software 0 02-24-2005 02:57 AM


All times are GMT -5. The time now is 09:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration