<div id="RTEContent">      <!-- ======================================================= --><!-- Created by AbiWord, a free, Open Source wordprocessor.  --><!-- For more information visit http://www.abisource.com.    --><!-- ======================================================= --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><title></title>                  <style type="text/css">    <!-- @media print, projection, embossed {  body {   padding-top:1in;   padding-bottom:1in;   padding-left:1in;   padding-right:1in;  } } body {  text-indent:0in;  text-align:left;  font-variant:normal;  text-decoration:none;  font-weight:normal;  color:#000000;  font-size:12pt;  font-style:normal;  widows:2;  font-family:'Times New Roman'; } table { } td {  border-collapse:collapse;  text-align:left;  vertical-align:top; }      -->   </style>     <div>    <div>Thanks for the suggestion. It worked.<br> </div> <div>J. Mak<br>  </div>    </div>  <br><br><b><i>federico
 <ouch.doh@gmail.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hello,<br><br>On Tuesday 22 November 2005 13:43, j Mak wrote: <br>j Mak escribió:<br>> Thanks for the suggestions. But what I want is to be able to open every<br>> kind of text documents including the configuration files in leafpad; to do<br>> this without choosing each case the preferred text editor from the menu.<br>> There must be a way to change the default text editor settings globally in<br>> kde .<br><br>I don't see a way to change the default editor as you wish.<br>I think that this setting is used for programs that need a <br>text editor _inside_  themselves, like kdevelop or quanta.<br><br>What you need to do is go to <br>Control Center->Kde components->File Associations<br>There, in the tree,  under text->plain you will see <br>that it has the .txt extension and the list of programs <br>used to
 open it. Put yours there and make it the top most.<br><br>Then every file that is recognized as a plain text file will <br>be opened by the configured program.<br>Note that not only the .txt extension is recognized as<br>plain text.<br><br>For example:<br>------------------------------------------------------------------------<br>f@morrigan:~/misc$ ll misc\ data<br>-rwxr-xr-x  1 f f 12891 2005-09-10 11:54 misc data<br>f@morrigan:~/misc$ file misc\ data<br>misc data: UTF-8 Unicode English text<br>f@morrigan:~/misc$<br>-------------------------------------------------------------------------<br>f@morrigan:~/WorkShop$ ll calendario.sql<br>-rw-r--r--  1 f f 3770567 2005-09-01 17:40 calendario.sql<br>f@morrigan:~/WorkShop$ file calendario.sql<br>-------------------------------------------------------------------------<br><br>If double-clicked, my kde opens them with ahem! kate as<br>that is what I commanded.<br><br>So anything that the file command "sees" as a text file will <br>be
 handled by your preferred editor.<br><br>HTH<br><br>f<br><br><br><br><br>--<br>ubuntu-users mailing list<br>ubuntu-users@lists.ubuntu.com<br>http://lists.ubuntu.com/mailman/listinfo/ubuntu-users<br></blockquote><br></div><p>
                <hr size=1>Find your next car at <a href="http://autos.yahoo.ca"><b>Yahoo! Canada Autos</b></a>