emilio@kiko:/opt/bin$ cat liferea
#!/bin/sh
# This script should be used to start Liferea
# to ensure a running DBUS session.
# default dist dir to <install root>/bin
dist_bin=/opt//bin
# autodetect alternate location when $0 provides information
if [ "`basename $0`" != "$0" ]; then
dist_bin=`dirname $0`
fi
params="$@"
LD_LIBRARY_PATH=/usr/lib/firefox:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval `dbus-launch`
export DBUS_SESSION_BUS_ADDRESS
fi
exec "$dist_bin/liferea-bin" $params
emilio@kiko:/opt/bin$