Controlling Liferea via DBUS

Liferea provides the following DBUS interfaces which you can use to control the program from other program, scripts or the command line:

Pinging Liferea

Example command line call:

dbus-send --session --dest=org.gnome.feed.Reader \
  --print-reply=literal --type=method_call \
  /org/gnome/feed/Reader \
  org.gnome.feed.Reader.Ping

Adding Subscriptions

Example command line call:

dbus-send --session --dest=org.gnome.feed.Reader \
  /org/gnome/feed/Reader \
  org.gnome.feed.Reader.Subscribe \
  string:http://osnews.com/files/recent.rdf

Changing the Online State

Example command line call:

dbus-send --session --dest=org.gnome.feed.Reader \
  /org/gnome/feed/Reader \
  org.gnome.feed.Reader.SetOnline \
  boolean:false