maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Configuring Leafpad as default text editor (https://talk.maemo.org/showthread.php?t=26110)

jgwong 2009-01-09 14:50

Configuring Leafpad as default text editor
 
Hi, I've installed Leafpad but the File Manager opens *.txt files with Notes instead of Leafpad. I've tried the following with no results:

- Edited /usr/share/applications/defaults.list to comment the original tex/plain MIME type and replaced it with:

text/plain=hildon-leafpad.desktop

- I created an /usr/share/mime/packages/leafpad.xml by copying the osso-notes.xml file

When I open a text file on the File Manager I get an error saying "Unable to recognize file type of: Computer.txt Search for an application to open it?" -- where "Computer.txt" is the whole file name.

Any ideas? I tried uninstalling and installing again Leafpad, but it still doesn't work.

tso 2009-01-09 15:22

Re: Configuring Leafpad as default text editor
 
try dbus-switchboard.

jgwong 2009-01-09 15:39

Re: Configuring Leafpad as default text editor
 
That made it, thanks.

TheGogmagog 2009-01-15 03:25

Re: Configuring Leafpad as default text editor
 
Anyone care to explain the solution? GNumeric doesn't associate .xls filenames. I've not worried about it much but would like to resolve it eventually.

iskarion 2009-01-15 11:45

Re: Configuring Leafpad as default text editor
 
Quote:

Originally Posted by TheGogmagog (Post 257716)
Anyone care to explain the solution?

http://www.internettablettalk.com/fo...d.php?p=173560


All times are GMT. The time now is 17:08.

vBulletin® Version 3.8.8