| Author |
Message |
snowy

Joined: 16 Nov 2007 Posts: 59
|
Posted: 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
|
|
 |
Makoto

Joined: 03 Sep 2009 Posts: 1368 Location: Out wandering... maybe.
|
Posted: 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. (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
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6179 Location: Auckland, New Zealand
|
Posted: 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
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1708 Location: Burghaslach, Germany
|
Posted: 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 ....
|
|
Back to top
|
|
 |
bones01
Joined: 11 Aug 2008 Posts: 363 Location: Melbourne, Aus
|
Posted: 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
|
|
 |
snowy

Joined: 16 Nov 2007 Posts: 59
|
Posted: 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
|
|
 |
davec51
Joined: 13 Apr 2006 Posts: 474 Location: Virginia
|
Posted: 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
|
|
 |
bones01
Joined: 11 Aug 2008 Posts: 363 Location: Melbourne, Aus
|
Posted: 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
|
|
 |
Makoto

Joined: 03 Sep 2009 Posts: 1368 Location: Out wandering... maybe.
|
Posted: 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
|
|
 |
snowy

Joined: 16 Nov 2007 Posts: 59
|
Posted: 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
|
|
 |
|