Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 May 2013, 00:53
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Change default word processor and default spreadsheet?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
snowy


Joined: 16 Nov 2007
Posts: 59

PostPosted: Mon 11 Jun 2012, 01:32    Post subject:  Change default word processor and default spreadsheet?  

How can I change the default word processor and default spread sheet to Libre Office (installed)?
Back to top
View user's profile Send private message 
Makoto


Joined: 03 Sep 2009
Posts: 1367
Location: Out wandering... maybe.

PostPosted: Mon 11 Jun 2012, 02:07    Post subject:  

Which version of Puppy?

Try this: Go to /usr/local/bin/. If they exist, open defaultspreadsheet and defaultwordprocessor as text, changing the exec lines to point to whatever program you'd rather use. Smile (If you'd rather create a backup of the existing exec lines before doing this, copy the line and place a # before the original.)

You might also be able to use Defaults Chooser or Default Apps Changer (CLI).

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6179
Location: Auckland, New Zealand

PostPosted: Mon 11 Jun 2012, 03:32    Post subject:  

You might want to edit /etc/mailcap or whatever it is, too.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 1711
Location: Burghaslach, Germany

PostPosted: Mon 11 Jun 2012, 04:02    Post subject: Change default word processor and default spreadsheet?
Subject description: Default Applications Chooser
 

You can use
Default Applications Chooser
if you have it on your puppy.

Or even simpler if you like to edit some files:

/usr/share/applications/defaulttexteditor.desktop .... Cool
Back to top
View user's profile Send private message 
bones01

Joined: 11 Aug 2008
Posts: 363
Location: Melbourne, Aus

PostPosted: Mon 11 Jun 2012, 06:50    Post subject: Re: Change default word processor and default spreadsheet?  

snowy wrote:
How can I change the default word processor and default spread sheet to Libre Office (installed)?


Have a look here http://www.murga-linux.com/puppy/viewtopic.php?search_id=765716981&t=77163

Make sure you add "3.5" (without the ") when you change default to Libreoffice.

Good luck.

_________________
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again)
Precise Puppy 5.4 live DVD
Back to top
View user's profile Send private message 
snowy


Joined: 16 Nov 2007
Posts: 59

PostPosted: Mon 11 Jun 2012, 17:42    Post subject:  

I found how to edit usr/local/bin/defaultwordprocessor to open LibreOffice, but I don't know how to get it to open Writer directly.
Back to top
View user's profile Send private message 
davec51

Joined: 13 Apr 2006
Posts: 474
Location: Virginia

PostPosted: Mon 11 Jun 2012, 20:42    Post subject: Default Wordprocessor  

When you open the "defaultwordprocessor" as text, change "soffice" to "swriter." Then you should open to the writer.
Back to top
View user's profile Send private message 
bones01

Joined: 11 Aug 2008
Posts: 363
Location: Melbourne, Aus

PostPosted: Mon 11 Jun 2012, 20:57    Post subject:  

snowy wrote:
I found how to edit usr/local/bin/defaultwordprocessor to open LibreOffice, but I don't know how to get it to open Writer directly.


That's odd. My default is Libreoffice 3.5 and it opens directly to Writer. I wish I could offer more suggestions, but that worked for me.

Let us know if Davec51's suggestion makes the difference for you.

Bones

_________________
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again)
Precise Puppy 5.4 live DVD
Back to top
View user's profile Send private message 
Makoto


Joined: 03 Sep 2009
Posts: 1367
Location: Out wandering... maybe.

PostPosted: Mon 11 Jun 2012, 21:59    Post subject:  

As an example, my OpenOffice Writer program is stored at:
/opt/openoffice.org3/program/swriter

...so, if I wanted to use it as my default word processor, the contents of my defaultwordprocessor file would probably look like this:

Code:
#!/bin/sh
exec /opt/openoffice.org3/program/swriter "$@"


Have you tried using any of the default-program changers listed above?

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
snowy


Joined: 16 Nov 2007
Posts: 59

PostPosted: Tue 12 Jun 2012, 09:24    Post subject:  

I tried a GUI default changer (can't remember which) without success.

I've got it now. I didn't know LibreOffice was in /opt. I'd been messing around in /usr/share/applications.

I just entered the full path "/usr/opt/libreoffice3.4/program/swriter" in place of the original "abiword" and it worked.

Thanks, all.

For info, I'm running a full installation of Lucid.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0505s ][ Queries: 12 (0.0042s) ][ GZIP on ]