Creating a new Alternative on RHEL3?
Hi,
I use KDE as my desktop. Whenever I double click on any text file, the file gets opened in KWrite. But, I want that the file should open in GEdit. So, I did the following to set up a new alternative and associate it with these two programs :- ln -s /usr/bin/kwrite /etc/alternatives/editor alternatives --install /etc/alternatives/editor guieditor /usr/bin/kwrite alternatives --install /etc/alternatives/editor guieditor /usr/bin/gedit Then, I typed the command as follows :- alternatives --config guieditor it shows me both kwrite and gedit. even if i configure the guieditor alternative to gedit, it still opens the file in kwrite only. Can some one help? |
how about u right click on the text file -> Open With -> Other -> select gedit
and tick on the "Remember application association for this type of file" |
well that will definitely work. unfortunately i happen to be a trainer :-))). and there is a topic on alternatives. they have just given some commands on usage of alternatives but not how to set it up. that is why i need this howto. Please see if you can help
|
All times are GMT -5. The time now is 07:57 PM. |