Recent Posts

Liferea 1.12-rc1 Released



This is a first release candidate for new stable line 1.12

Major changes since 1.10

Changes since 1.11.7

    * Github #348: Added support for downloading content that
      cannot be displayed by HTML widget (e.g. PDFs)
      (Leiaz)
    * Github #355: Migrate to Python3 libpeas loader
      (patch by picsel2)
    * Github #311: Upgrade to WebKit2
      (patch by Leiaz)
    * Github #292: Show new item count in tray icon
      (patch by mozbugbox)
    * Github #297: Minimize to systray on window close
      (patch by Hugo Arregui)
    * Github #325: Auto-fitting, translated license
      (patches by GreenLunar and Adolfo Jayme-Barrientos)

* Fixes Github #73: Problem with favicon update (reported by asl97) * Fixes Github #177, #350: Tray icon not scaled properly (patch by mozbugbox) * Removes GeoIP rendering via OSM to avoid exposing users to remote JS library resources. (reported by Paul Gevers) * Fixes Github #337: Case sensitive sorting (reported by Pi03k) * Fixes Github #361: Show all enclosuers (Leiaz) * Fixes Github #368: Segfault on liferea-feed-add (Leiaz) * Fixes Github #382: Broken Auto-Detect/No Proxy setting (Leiaz) * Fixes Github #383: Per feed don't use proxy setting is broken (reported by Leiaz)

* Github #309: Update of Japanese translation (IWAI, Masaharu) * Github #329: Update of Hebrew translation (GreenLunar) * Github #330: Update of Spanish translation (Adolfo Jayme-Barrientos) * Update of Swedish translation (Andreas Ronnquist)

Download

Get a tarball or checkout the code from Github!

Liferea 1.12 now with Webkit2

Some minutes ago I'v added Leiaz extensive change for switching to Webkit2. This is great news because for quite some time Webkit1 has not seen any security updates anymore and many applications still on Webkit1 expose there users to quite some risk.

What's different in Webkit2?

The most important change is Webkit being multi-process. For applications using Webkit this means they have to talk to the background process to scroll, copy text, get context menues and other stuff. The Webkit2 way to do the talking is to write a Webkit extension that is loaded when the background process starts which allows us to send DBUS commands.

As for performance it seems faster. But you might want to try yourself!

Distro Support

To compile with Webkit2 you need at least the following Linux distribution versions

No Travis CI anymore

Due to the Ubuntu 16.04 not yet supported by Travis I had to disable the test builds as the fail installing the Webkit2 package :-(

Liferea Trick #9: Skimming Through the Headlines

I'm not sure about how many users are aware of the feature, but I'm certain it is worth to know about as it saves a lot of clicking and pointing with the mouse. If you are a keyboard user it's worth knowing about the hotkey to skim through headlines.

Remember the Hot Key

As this hotkey is configurable check the preference dialog ff you are not sure about the setting. The default setting is <Ctrl>-Space...

How it Works...

By using this hot key you can navigate the article pane and the item list view at the same time. As long as the article pane allow vertical scrolling it scrolls down. Once you reach bottom Liferea jumps to the next unread article.

Using the headline skimming hotkey is like a "Next Unread And Scroll Down" menu option...

Recent Liferea Tricks

Liferea Trick #8: Change Menu Accelerators

When you are not satisfied with the menu key bindings defined by Liferea do not despair it is easy to change them!

Variant #1: Edit ~/.config/liferea/accels

This variant is 100% portable and should work for everyone. Open ~/.config/liferea/accels in your favourite editor. This file is loaded upon startup by Liferea and contains lines like these:
[...]
; (gtk_accel_path "<Actions>/AddActions/NewVFolder" "")
; (gtk_accel_path "<Actions>/GeneralActions/SearchMenu" "")
; (gtk_accel_path "<Actions>/ItemActions/ToggleItemFlag" "<Primary>t")
; (gtk_accel_path "<Actions>/GeneralActions/PrevReadItem" "<Primary><Shift>n")
[...]
Note how only the "ToggleItemFlag" and the "PrevReadItem" line have defined key bindings, while "NewVFolder" and "SearchMenu" don't.

To change a key binding first remove the semicolon at the start of the line and then adapt or clear the key binding field. Choose prefixes like "<Primary>" (for Ctrl), "<Alt>", "$lt;Shift> as needed and append the key after it.

Variant #2: Enable Editable Accelerators with your Linux Distro Settings

This variant is hard to document as different distributions have different setting dialogs. Some expose a setting to enable life editing of key bindings. Once this is enabled you can open a menu hover over a menu option and press the accelerator you want to assign. It should show up instantly.


Recent Liferea Tricks

Liferea Trick #7: Force Read Full Posts

The Problem

When you have subscribed to an interesting feed that does not provide full posts it can be frustrating. Short of using website scraping as described in the latest post there is nothing you can do to enhance the feed content.

There are legitimate reasons for feed publishers to do so. One might be that the site is earning by display ads, another might be that the publisher wants to engage users directly on their own website.

How To Solve It?

So why not follow that wish and simply read the entire website? Liferea allows you to do so by enabling an option in the subscription properties. Just open the subscription properties dialog by right clicking the subscription as selecting "Properties ..." and select the last tab "Advanced":



Here you can enable the second option "Auto-load item link ...". From now own you will read the website directly and see full content!

Recent Liferea Tricks

Liferea Trick #6: Website Scraping

Not every interesting website provides a feed. Some feeds are broken. And some websites do provide summaries only or no content at all. Besides asking the owner of the website to add a feed or provide more details the only choice left might be to "scrape" the website content.

Read about how to scrape websites with Liferea

Recent Liferea Tricks

Liferea Trick #5: Privacy with a SOCKS Proxy

Starting with Liferea 1.10 you can use a SOCKS proxy. This is possible because Liferea uses the libproxy support provided by the libsoup networking library since 1.10.

What is a SOCKS Proxy?

SOCKS stands for "socket secure" it simply means to use an encrypted connection for whatever you do. Configuring a SOCKS proxy in your desktop environment means that you want all applications to do internet access via an encrypted connection to a safe server you have access to.

Why Use a SOCKS Proxy for Feed Reading?

Well, this of course is useful if you are in an environment were you do not want others to see what you are reading. Be it political blogs or private but unencrypted feeds. Also you simply might not want for your employer to know what servers you are polling news feeds from anyway. There are many good and bad reasons.

How To Use SOCKS Proxy with Liferea and GNOME?

First please note that Liferea supports using a SOCKS proxy only via the GNOME network preferences. Actually it relies on libsoup using the SOCKS settings from there.

Requirements

  1. Liferea 1.10+ with GNOME desktop
  2. You have a private server to use as a proxy
  3. You can connect via SSH to this server

Step 1: Connecting the SOCKS Proxy

There are many ways to do this and many online tutorials. The easiest way is to use SSH like this
ssh -D 8080 <user>@<private server>

Step 2: Client Proxy Configuration

So the first thing to do is to configure Liferea to use the GNOME network settings:



Ensure to set the preferences to proxy auto-detect as shown in the screenshot above. Next go to the GNOME preferences and configure a SOCKS proxy on "localhost" and port "8080" or whatever port you used when you ran the SSH command.

That's it! Try to update feeds in Liferea and watch out for errors in the status line.

What About Older Liferea Versions?

If you are running an older version of Liferea have a look at this post about a SOCKS proxy workaround using the tool redsocks.

Recent Liferea Tricks

Liferea Trick #4: Full Screen Mode

Are you using a netbook and have not much screen real estate? Then wether it is a mail client or web browser or news aggregator using it in full screen mode gets you more content visible. Less space is wasted for menu elements and window decoration.

In Liferea press F11 or select "View" -> "Fullscreen" to enable full screen mode.

If you want to save even more vertical space consider hiding the toolbar by enabling the option in the preferences dialog.

Recent Liferea Tricks

Liferea Trick #3: Use Feed Auto Discovery

This is an easy one: Don't bother entering the exact feed URL when subscribing!

These days it is standard for websites to support feed auto discovery. Many blogs and websites actually do not add feed subscription icons and links anymore. The feed link is just included in the HTML markup and every aggregator can extract it. No need for you to look for it.

To make it even simpler combine with trick #2 and use drag&drop! On every websites whose feed you want to add just drag the favicon from the browser location bar into Liferea. Most browsers do interpret this as dragging the location. Do not even bother copying the URL.

Be lazy :-)

Recent Liferea Tricks

Liferea Trick #2: Drag and Drop URLs

Maybe it is obvious, but you can of course use Drag&Drop to add feed subscriptions to Liferea.

You can drag

and Liferea will create a new subscription.

You can also Drag&Drop any web sites URL and Liferea will try to auto-discover the feed URL from it.

Note that dragging URLs into the item browser pane or a browser tab will just launch the URL in the internal browser.

Recent Liferea Tricks

Liferea Trick #1: Middle Mouse Button Clicking

For all the readers of this development blog I want to share same hidden usability things in Liferea. Today I want to start with using the 3rd mouse button.

Place Where To Use Middle Click

  1. Subscription List: Click on any subscription or folder to mark everything in the subscription or folder as read.
  2. Item List (on flag column): Click on the flag column to toggle the flag for an item without selecting it.
  3. Item Lists (except flag column): Click everwhere beside the flag column and you toggle the read status of the item even without selecting it.
  4. Browser View: In any browser view, be it a browser tab or the item view pane middle click any link to open it in a new browser tab within Liferea.

Recent Liferea Tricks

Liferea Trick #10: Custom CSS for Article Rendering

Liferea renders articles as HTML content using Webkit (the Safari rendering engine) with colors adapted to the active GTK theme in a somewhat neutral and mail like style. If you dislike it you might want to change aspects of the CSS used to render the articles.

How it Works

To facilitate this Liferea loads 2 CSS definitionsBoth stylesheets are loaded so that the one in your home directory overrules the predefined one. And the documentation should help you to find the selectors you want to overwrite. Just have a look at ~/.config/liferea/liferea.css and try to change stuff. It is really easy.

Some example lines from ~/.config/liferea/liferea.css :
/* Header table fields to different item metadata */
// .author, .categories, .source { }
// .date { }

/* Item/feed description */ // div.content { }

/* Comment rendering */ // div.comment { } // div.comment_body { } // div.comment_title { }

Recent Liferea Tricks

How to use Liferea with Pocket

Github ticket #199 is a feature request for Pocket integration for Liferea. Pocket is now more widely used due to the tight integration in Firefox. So as a Firefox user you might have an account that you might want to reuse for Liferea.

Given the way how the current bookmarking function works, Liferea only supports websites with the capability to pass bookmark infos (link, title) via HTTP URI. This is not the case for Pocket which is why it cannot be easily implemented.

How to Workaround

Some days ago user mathew42 suggested a solution for this in the ticket. I repost his suggestion here for everyone who might want to use it.

I was able to implement this feature by:
  • Downloading the pocket-cli python script
  • Run the script to configure oauth
  • In preferences changing the External Browser Settings to Manual
  • Set the "Manual:" text field to
    python /python-cli.py -a %s
Obviously the drawback of the approach is that you cannot view the article in an external browser, but I find the internal browser adequate the majority of the time.

Liferea 1.11.7 Released

This is a bugfix release in the unstable line.

ChangeLog

    * Github #287: Add support for media:group.
      (patch by Leiaz)
    * Github #287: Fixes issues with media:content.
      (patch by Leiaz)
    * Fixes Github #283: Bad .desktop categories definition
      (reported by Wuzzy2)
    * Fixes Github #279: Fixes rules no visible in searchdialog
      (patch by Leiaz)
    * Fixes Github #278: No "Download" tab in Tools/Preferences
      (docs error, reported by Anders Jonsson)
    * Fixes Github #83: Segfault when sorting feeds in folder
      (patch by Leiaz)
    * Fixes French translation
      (patch by polo2ro)
    * Github #300: Updated manpage
      (patch by GreenLunar)

Download

You can download the release on Github: https://github.com/lwindolf/liferea/releases/tag/v1.11.7

Liferea 1.10.18 Released

This is a maintenance release that brings the following changes.

ChangeLog

    * Fixes #287: media:content support broken
      (patch by Leiaz)
    * Fixes #279: Rules not visible in searchdialog
      (patch by Leiaz)
    * Fixes #83: Segfault when sorting feeds in folder
      (patch by Leiaz)
    * Fixes #302: Broken compilation with --disable-notify
      (reported by vostorga)
Please upgrade in case you have compilation issues when disabling libnotify.

Download

You can download the release on Github: https://github.com/lwindolf/liferea/releases/tag/v1.10.18

Why doesnt Liferea start anymore

Since many distributions switched to newer desktops like GNOME shell or Ubuntu Unity that do not feature system tray areas, where application tray icons can be shown, there are many user reports that Liferea seemingly doesn't start anymore.

This is very often because previously Liferea was started minimized to the tray icon and you clicked on the tray icon to raise the application Liferea window.

Different Desktop Behaviours

Ubuntu Unity

Well Ubuntu Unity just got rid of the system tray and tries to adapt applications to libindicate. When Liferea is compiled with libindicate support everything should be fine. If not it might "disappear" when "Start minimized to Tray" is enabled.

GNOME Shell

GNOME shell got rid of the system tray, but tries to be backwards compatible by displaying tray icons in the notifications area. In the default configuration the notifications can be shown by moving the mouse to the lower screen edge. When Liferea starts minimzed to tray you will find the tray icon there and can click it to raise Liferea.

Long Term Solution

The long term solution is a sad one: to remove tray icon support (starting with 1.11). But for the brave power users there will be an optional plugin to enable to restore simple tray support.

Safe Workaround

This workaround fixes the startup in all cases. Just run:
liferea -w shown
and Liferea will permanently start non-minimized.

Dependency Problem on Debian Jessie and Ubuntu Wily

A problem with using Liferea under Debian Jessie and Ubuntu Wily has been reported: Installing Liferea pulls a lot of KDE packages even if you not a KDE user.

What Happened?

With Debian Jessie (which Ubuntu Wily is built upon) the download manager "steadyflow" was dropped, because it is not maintained anymore.

Now the Debian "liferea" package having two package recommends with one now being not satisfied anymore the other one "kget", a KDE download manager, wins. And "kget" pulls all KDE base packages.

How to Workaround?

Uninstalling the unintended KDE packages can be achieved by:
sudo apt-get purge kget
sudo apt-get autoremove

Long Term Solution

With "steadyflow" (which worked perfectly IMO) dropped we need another GTK-based download manager and luckily there is still one left "uget". And it is already supported in the 1.11 preferences.

How to Manually Install uget

Simply run
sudo apt-get install uget
and change the download manager in the preferences dialog to "uget".