This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to make kate default editor?

Tags: None
(comma "," separated)
Dan0
Registered Member
Posts
8
Karma
0

How to make kate default editor?

Thu Apr 08, 2010 10:20 pm
Currently, when text, java, python, perl, etc. files are doubled clicked gedit opens. Anyone know how to make kate the default editor? Thanks.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: How to make kate default editor?

Thu Apr 08, 2010 10:28 pm
If you are using KDE, you will need to alter the appropriate File Assocations in System Settings > Advanced > File Assocations.

You can use the command "file --mime-type <file>" to determine what mime type your various files are in order to change the needed associations.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
2handband
Registered Member
Posts
304
Karma
0
OS

Re: How to make kate default editor?

Thu Apr 08, 2010 10:56 pm
You can do it within specific apps as well; Konqueror has it's own file associations dialog.


airdrik
Registered Member
Posts
1854
Karma
5
OS
The fact that you have gedit as the default indicates that you probably have Gnome installed. Is that the environment you are running? If so you have to look for Gnome's file associations (which may be tucked away in a corner of gconf or something). Otherwise it may depend on which file manager you are using to locate the files (e.g. dolphin, konqueror, nautilus, thunar, etc.), and you will need to do some digging around that filemover's settings and documentation to see where that is configured.


airdrik, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]