Setting Leafpad as default application for document download

Using applications, configuring, problems
Post Reply
Message
Author
Browny
Posts: 59
Joined: Tue 13 Feb 2007, 03:41

Setting Leafpad as default application for document download

#1 Post by Browny »

Dear all,

I am using puppy 2.17. I am downloading a document from my mail. Open it with default application will open this in defaulttexteditor which is geany in this puppy. I have attached the screen shot for this.


What i have to do to change the default application for example what to do to set online office or atleast the leafpad as default application for text files

Thanks in advance,

Browny
Attachments
file.png
(46.12 KiB) Downloaded 430 times

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post by muggins »

if you open, in a text editor, the file /usr/local/bin/defaulttexteditor, then you should have something like this:

#!/bin/sh
exec geany "$@"

you can replace geany with the name of the executable of whatever other text editor you want to use, e.g. leafpad

(browny: your post will probably be moved as this section is for posting "how to" solutions, not questionsImage )

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#3 Post by rarsa »

In the browser preferences replace the default application to be "rox" instead of "defaultexteditor"

If you execute rox, it will use the default MIME definitions in puppy. This is, it will use the same applicaition that it would use if you clicked on the document using Rox.

I haven't used 2.17 so I don't know what browser it's using or where the default application is defined. Search the properties and you'll find it maybe under "downloaded content handler" or something like that.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

Post Reply