Disabling kate
federico
ouch.doh at gmail.com
Wed Nov 23 17:36:24 UTC 2005
Hello,
On Tuesday 22 November 2005 13:43, j Mak wrote:
j Mak escribió:
> Thanks for the suggestions. But what I want is to be able to open every
> kind of text documents including the configuration files in leafpad; to do
> this without choosing each case the preferred text editor from the menu.
> There must be a way to change the default text editor settings globally in
> kde .
I don't see a way to change the default editor as you wish.
I think that this setting is used for programs that need a
text editor _inside_ themselves, like kdevelop or quanta.
What you need to do is go to
Control Center->Kde components->File Associations
There, in the tree, under text->plain you will see
that it has the .txt extension and the list of programs
used to open it. Put yours there and make it the top most.
Then every file that is recognized as a plain text file will
be opened by the configured program.
Note that not only the .txt extension is recognized as
plain text.
For example:
------------------------------------------------------------------------
f at morrigan:~/misc$ ll misc\ data
-rwxr-xr-x 1 f f 12891 2005-09-10 11:54 misc data
f at morrigan:~/misc$ file misc\ data
misc data: UTF-8 Unicode English text
f at morrigan:~/misc$
-------------------------------------------------------------------------
f at morrigan:~/WorkShop$ ll calendario.sql
-rw-r--r-- 1 f f 3770567 2005-09-01 17:40 calendario.sql
f at morrigan:~/WorkShop$ file calendario.sql
-------------------------------------------------------------------------
If double-clicked, my kde opens them with ahem! kate as
that is what I commanded.
So anything that the file command "sees" as a text file will
be handled by your preferred editor.
HTH
f
More information about the ubuntu-users
mailing list