trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Running kpdf without trinity (and no admin privileges)

From: Nicolas Bercher <nbercher@...>
Date: Mon, 19 Mar 2012 12:06:03 +0100
Hi,

I'd like to run trinity parts, at least kpdf, on a machine where I
have no admin privileges (it is a Debian Squeeze and runs gnome2).  So
far, I've:

  1. downloaded the following packages:

   kpdf-trinity_3.5.13-0debian9+r1258283+pr3~squeeze_amd64.deb
   kdelibs4c2a-trinity_3.5.13-0debian9+r1261449+pr12~squeeze_amd64.deb
   libtqtinterface_3.5.13-0debian9+r1258011+pr2~squeeze_amd64.deb
   libqt3-mt_3.3.8d-0ubuntu0+sr73+pr181~squeeze_amd64.deb

  2. extracted them using =dpkg-deb -x=: this creates ./usr,
     ./opt/trinity, etc.

  3. tryed to run kpdf:

	LD_LIBRARY_PATH=$(find opt/trinity/lib usr/lib -type d | xargs echo | 
sed "s; ;:;g") opt/trinity/bin/kpdf

this sets 
LD_LIBRARY_PATH=opt/trinity/lib:opt/trinity/lib/mime:opt/trinity/lib/mime/packages:opt/trinity/lib/trinity:\
 
opt/trinity/lib/trinity/plugins:opt/trinity/lib/trinity/plugins/styles:\
 
opt/trinity/lib/trinity/plugins/designer:usr/lib:usr/lib/pkgconfig:\
 
usr/lib/qt3:usr/lib/qt3/plugins:usr/lib/qt3/plugins/inputmethods:\
                           usr/lib/qt3/plugins/imageformats

  In the end, kpdf is running but:

  1. I throws many errors a start time:
     1. complains about dcop server being absent: can I skip this?  I
        found nothing relevant in the kpdf man page
     2. could not find mime type "application octet-stream", seems to
        be related to
     3. then says "no mime types installed"

  2. file and edit menus have "No text!" names.  I guess I can figure
     out why because kpdf is missing its files (i.e., there's no
     /opt/trinity/share/apps/kpdfpart/part.rc et al. in the kpdf
     scope), but I don't know how to fix it.  Note that I copied
     ~/.trinity/share/apps/kpdfpart/part.rc.

I'd be glad if someone has the willing to help me polishing this!  I
really miss kpdf at work!

Thank you,
Nicolas


PS: Would it be possible to install and run parts of trinity from a
fakeroot env?