Qtmoko v35 & FBreader

Radek Polak psonek2 at seznam.cz
Wed Jun 8 10:22:53 CEST 2011


On Wednesday 08 June 2011 00:23:35 Francesco De Vita wrote:

> can you tell us what is the complete command you used? export
> LD_LIBRARY_PATH=...?

There is nothing after the =. It means that it deletes this environment 
variable.

If you copy-paste this to FR shell you'll be able to use "Favourites" and 
there will be new icon for "E-book reader QX" which will launch FBReader 
correctly:

cat > /usr/share/applications/FBReaderQX.desktop <<__END__
[Desktop Entry]
Name=E-book reader QX
GenericName=E-book reader
Comment=E-book reader
TryExec=fbreader.sh
Exec=fbreader.sh %F
StartupNotify=true
Terminal=false
Type=Application
Icon=FBReader.png
Categories=Office;Viewer;Literature;
__END__

cat > /usr/bin/fbreader.sh <<__END__
#!/bin/sh
export LD_LIBRARY_PATH=
FBReader
__END__

chmod +x /usr/bin/fbreader.sh


Hope this helped

Regards

Radek



More information about the community mailing list