abiword for Debian
------------------
AbiWord on Debian FAQ
Q: Well, I could install abiword-gtk and abiword-gnome simultaneously,
but how can I change the default binary?
A: You should use update-alternatives. Try the following:
# update-alternatives --config AbiWord_d
There are 2 programs which provide AbiWord_d'.
Selection Command
-----------------------------------------------
+ 1 /usr/bin/AbiWord_d.gnome
* 2 /usr/bin/AbiWord_d.gtk
Enter to keep the default[*], or type selection number:
Then you can choose your favorite one.
Q: I'm merely a normal user, and my sysadmin won't change his/her default
choice!
A: You can set an environment variable "ABIWORD_BINARY" to change your
default. Yes, this is a debian-only dirty hack, but it works.
Set it to:
ABIWORD_BINARY=AbiWord_d.gtk - for GTK version
ABIWORD_BINARY=AbiWord_d.gnome - for GNOME version
Q: I want to run AbiWord on a remote X server. How can I do that?
A: Follow the steps below:
0) Install xfs on your remote server.
1) Add "/usr/share/AbiSuite/fonts" at the end of /etc/X11/fs/config on your
remote server.
2) Remove or comment out "no-listen = tcp" from the same file.
3) Add "tcp:<the name of remote server>:7100" into the FontPath
section of your local /etc/XF86Config-4
4) Restart X.
But opening TCP port can be a big security risk, so you should know what
you are doing.
Q: Would you tell me which configure options you set?
A: For GTK build:
--disable-gnome --disable-debug --with-pspell
--with-libjpeg --with-expat --enable-scripting --enable-bidi
--enable-extra-optimization
For GNOME build:
--enable-gnome --disable-debug --with-pspell
--with-libjpeg --with-expat --enable-scripting --enable-bidi
--enable-extra-optimization
Debianized gnome-print uses libxml1, so if we link AbiWord with libxml2,
all kind of weird things show up(e.g. freeze, segv, etc.). That's why I
explictly use expat for now.
Q: Man, AbiWord can't handle HTML file!
A: Install abiword-plugins. Make sure "HTML Importer" plugin is enabled.
(UPDATE: For some reason, now HTML plugin is disabled at build time, so you
can't import HTML for the time being).
-- Masayuki Hatta <mhatta@debian.org>, Wed, 13 Mar 2002 13:39:04 +0900