Thanks Radek. Now my FR used for 100 pct without the tedious
procedure of running through qx xterm %)

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



_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to