KrISS feed 8 - Un simple et superbe (ou stupide) lecteur de flux. Par Tontof
  • Thursday 13 April 2017 - 14:09
    Ubuntu 17.04 Zesty Zapus

    Ubuntu 17.04 has been released.

    The new version brings updated applications and various under-the-hood improvements, along with bug fixes. As expected, Compiz and Unity have only received minor improvements and bug fixes.

    On the other hand, Ubuntu 17.04 includes the GNOME 3.24 stack for the most part (GTK3 along with Totem, Disks, Calendar, and so on). There are some missing bits, but this is still pretty important, as Ubuntu didn't use the latest GNOME since around Ubuntu 11.10 / GNOME 3.2.

    Unity and Compiz in Ubuntu 17.04

    As you probably know, Ubuntu will switch to GNOME (Shell) by default starting with Ubuntu 18.04 (to be released in April, 2018).

    However, even before this announcement, Unity 7 was in maintenance mode, with the focus being Unity 8. It did receive some features, like the option to move the launcher to the bottom in Ubuntu 16.04, but only bug fixes for the most part.

    Ubuntu 17.04 (Zesty Zapus) is no different. Both Unity and Compiz only had some minor changes and bug fixes, such as:
    • keep the screen locked if autologin or nopasswdlogin is enabled;
    • if scale-factor is not set, find and set right scale for HiDPI displays;
    • dropped click scope from the default list of favourites;
    • fixed lock screen not covering the entire desktop on HiDPI display with draw-user-backgrounds unchecked;
    • fixed issue that made it impossible to exit screensaver if a menu or application grabs the screen;
    • fixed bug preventing switching to the copy / move dialog;
    • fixed bug that caused users to be asked to unlock the screen twice after closing the guest session;
    • Compiz Move plugin: add options for only showing the window shape (outline, rectangle);
    • Compiz: added option to disable blend in grid plugin.

    Complete changelogs for Unity and Compiz.

    I should also mention that while Mark Shuttleworth, the founder of Ubuntu and Canonical, has recently said that Canonical is ending their "investment in Unity8", Ubuntu 17.04 ships with an experimental Unity 8 session by default, just like Ubuntu 16.10.

    Here's a Unity 8 screenshot I took under Ubuntu 17.04 (by the way, Unity 8 now works in VirtualBox):

    Unity 8 Ubuntu 17.04

    Defaults and other changes

    Ubuntu Software 17.04

    Ubuntu 17.04 Zesty Zapus ships with GTK 3.24 and GNOME 3.24 applications for the most part.

    Not all the bits were updated to version 3.24 though. The exceptions are Nautilus (3.20), Terminal (3.20), Gedit (3.22), Software (3.22) and Evolution (3.22).

    Besides the applications mentioned above, Ubuntu 17.04 ships with Firefox 52.0.1, Thunderbird 45.8.0, LibreOffice 5.3.1, Transmission 2.92, Shotwell 0.22+git, Rhythmbox 3.4.1, Totem 3.24.0, GNOME Disks 3.24.0, GNOME Calendar 3.24, GNOME System Monitor 3.24 and Evince 3.24, on top of Unity 7.5.0 (+17.04.20170407) and Compiz (+17.04.20170109).

    Under the hood, Ubuntu 17.04 (Zesty Zapus) ships with Xorg server 1.19.3, Mesa 17.0.3, Ubuntu Linux Kernel 4.10.0-19.21 based on the upstream 4.10 Linux Kernel, PulseAudio 10.0, and systemd 232.

    Here's a quick list of changes in the Linux Kernel since the version used in the previous Ubuntu release (Linux 4.8 for Ubuntu 16.10):
    • Linux 4.9 (more information: Kernel Newbies | Phoronix):
      • AMDGPU virtual display support;
      • better AMDGPU GPU reset support;
      • shared data extents and copy-on-write support for XFS;
      • support for new ARM machines, including Raspberry Pi Zero and LG Nexus 5;
    • Linux 4.10 (more information: Kernel Newbies | Phoronix):
      • initial Intel Graphics Virtualization Technology support;
      • improved writeback management;
      • Nouveau Boost support, which allows new graphics cards to go up to their "boost" frequencies, and not just the highest standard frequency;
      • support for Intel Turbo Boost Max 3.0 and Intel Cache Allocation Technology.

    Other changes in Ubuntu 17.04:
    • Ubuntu now includes support for printing without printer-specific drivers. Among the supported printers are IPP Everywhere and Apple AirPrint printers, but also some PDF, Postscript, and PCL printers;
    • the default DNS resolver is now systemd-resolved;
    • for new installs, a swap file will be used instead of a swap partition;
    • gconf is no longer installed by default;
    • this release does not include 32bit powerpc.

    Download Ubuntu 17.04 (Zesty Zapus)

    Download Ubuntu 17.04 | official release notes
    (includes instructions for upgrading from older Ubuntu versions)

    Important: all non-LTS Ubuntu versions are only supported for 9 months. Ubuntu 17.04 will be supported until January 2018.

    Official release notes and download links for the Ubuntu 17.04 desktop flavors:
  • Thursday 13 April 2017 - 10:17
    Pithos 1.3.0 was released recently and is now available in its official PPA, for Ubuntu 17.04, 16.10 and 16.04. The new version brings support for MPRIS playlist and tracklist interfaces, improved accessibility UI, and more.


    Pithos is a Pandora Radio (only available in Australia, New Zealand and the United States) client that supports Pandora features such as love / ban / tired, allows creating, editing and switching between stations, and more.

    The application integrates tightly with the desktop, providing notifications, MPRIS v2 support (it integrates with the Ubuntu Sound Menu / GNOME Shell, etc. ), media keys, can inhibit the screensaver and so on.

    Pithos 1.3.0 includes a complete MPRIS implementation thanks to the addition of playlist and tracklist MPRIS interfaces.

    With the GNOME Shell Media Player Indicator extension, Pithos exposes the current playlist and station list in the indicator (these need to be enabled in the extension settings):



    This feature does not work with the Ubuntu Sound Menu due to an upstream bug.

    Another change in Pithos 1.3.0 is the addition of a new plugin that allows controlling the systemd logging level (or completely disabling it) for Pithos. The logs since last reboot can be printed by running Pithos with the "--last-logs" command line argument.

    Other changes in Pithos 1.3.0 include:
    • added dynamic rating and cover icons based upon theme colors;
    • added symbolic icon;
    • added man page;
    • improved handling playlist expiration;
    • improved search in stations list;
    • improved UI accessibility;
    • improved libsecret support;
    • removed libnotify dependency in favor of a custom notification implementation (the reason for this is that libnotify does blocking I/O);
    • fixed disabling keybindings plugin when using keybinder;
    • fixed notification icon trying to load on Wayland;
    • fixed failure to reconnect on login expiration;
    • fixed some plugins not being enabled by default;
    • fixed handling error on MPRIS plugin failure.

    Also, compared to the Pithos version available in the official Ubuntu / Linux Mint repositories (1.1.2 for Ubuntu 17.04 and 1.1.1 for Ubuntu 16.04 / Linux Mint 18), the application has received quite a few improvements, including a keyboard shortcuts window, more quality options, the password is now stored with libsecret, along with bug fixes. 

    The UI was also updated to use header bars and the stations dropdown now uses a popover.

    Pithos currently has only 2 contributors and it could use more devs. If you can help, see its GitHub page.

    Install Pithos in Ubuntu 17.04, 16.10 or 16.04 / Linux Mint 18.x

    An older Pithos version is available in the official Ubuntu repositories. To install it, simply use the following command:
    sudo apt install pithos

    Ubuntu 16.04, 16.10 or 17.04 / Linux Mint 18 users can install the latest Pithos by using its official PPA. To add the PPA and install Pithos, use the following commands:
    sudo add-apt-repository ppa:pithos/ppa
    sudo apt update
    sudo apt install pithos
    If you don't want to add the PPA, you can grab the deb from HERE.

    For installing Pithos in other Linux distributions (including Flatpak), see the install section on its homepage.

    Report any bugs you may want @ GitHub.
  • Friday 07 April 2017 - 12:40
    The KDE Connect Indicator (fork) PPA maintainer is not available any more, and I was asked to create a new PPA. 

    KDE Connect Indicator

    Since I'm a KDE Connect Indicator user myself, I couldn't say no, so I created a new KDE Connect Indicator PPA, which provides packages for Ubuntu 17.04, 16.10 and 16.04 / Linux Mint 18.x.

    I didn't upload packages for Ubuntu 14.04 / Linux Mint 17.x because I couldn't build the latest KDE Connect for this Ubuntu version due to newer dependencies, and Ubuntu 14.04 has a pretty old KDE Connect version.

    The KDE Connect Indicator (fork) developer is also looking for someone that can create and maintain Flatpack and Snap packages. If you can help, see THIS bug report.

    In case you're not familiar with KDE Connect Indicator, this is an indicator / tray for KDE Connect. Using KDE Connect, you can mirror Android notifications on the desktop, easily send and receive files from an Android device to your desktop (and the other way around), control desktop media players from Android, share the clipboard between your Android device and desktop, and more.

    Check out our KDE Connect Indicator fork article for more information.

    Install KDE Connect Indicator fork in Ubuntu or Linux Mint via new PPA

    As a reminder, KDE Connect depends on quite a few KDE packages. You may want to save the KDE package list that's installed to make it easier to remove in the future, in case you want to remove them ("apt autoremove" won't remove all of them, at least in Ubuntu).

    To add the new KDE Connect Indicator fork PPA and install the app in Ubuntu 17.04, 16.10 or 16.04 / Linux Mint 18.x, use the following commands:
    sudo add-apt-repository ppa:webupd8team/indicator-kdeconnect
    sudo apt update
    sudo apt install indicator-kdeconnect

    You can also download the latest KDE Connect Indicator deb from GitHub, but you won't receive updates through your system's update manager. For Ubuntu 16.04 and 16.10 / Linux Mint 18, you'll also need a newer KDE Connect version for the indicator to work. KDE Connect 1.0.3 is available for Ubuntu 16.04 / Linux Mint 18 and Ubuntu 16.10 in the PPA.

    If you encounter bugs, report them @ GitHub.
  • Thursday 06 April 2017 - 14:02
    Developed by Tony George, who's also behind other fairly popular applications such as Selene Media Converter, TimeShift backup tool, and more, Polo is only available for users who donate for now. The stable release will be available for all users, however, those who donate will get a few extra features.

    Polo File Manager

    Polo is a new file manager that aims at providing features that are missing from popular file managers. The application is currently in beta, and it lacks some feature, but it already looks very promising.

    For example, the developer wants to include built-in support for multiple cloud storage services like Dropbox, Google Drive and others, using rclone as a backend.

    Another feature that's missing in many graphical file managers is being able to browse archives as if they were folders. This is another feature that Polo should get before its first stable release. There should also be a built-in GUI for creating archives, similar to the one used by 7zip in Windows.

    These two features are currently not available in Polo.

    The current Polo beta 3 already includes quite a few interesting features though. The file manager supports tabs, along with multiple panes. You can use 2 panes, either vertical or horizontal, and even 4 panes:

    Polo File Manager

    There are context menu items to easily copy files or folders from one pane to another, as well as a middle toolbar that provides these, along with other options.

    Another cool feature available in the Polo Beta 3 version I tested is session support. Polo remembers the last session and it reloads it the next time it runs. It restores not only open tabs and the pane layout, but also open directories.

    The Polo toolbar and pathbar are highly configurable, allowing you to enable or disable various buttons:

    Polo File Manager

    You can also configure the toolbar to display large icons, show only labels, labels beside icons, and use a dark background.

    Polo File Manager
    Polo file properties - audio info

    Polo File Manager
    Polo bookmarks

    Other Polo features worth mentioning:
    • multiple views: list, icons, tiles and media;
    • easily open folders as root (with pkexec support);
    • extended details when replacing existing files;
    • statusbar that displays the number of files, folders (including hidden), along with available disk space and a disk space indicator, and the filesystem type;
    • bookmarks support (web browser-like: a star is displayed at the right of the pathbar);
    • media view: when Polo detects you're browsing a folder containing photos or videos, it switches to a 256x256 size icon view to make it easier to browse through items;
    • media info in the file properties dialog, which displays EXIF tags (such as exposure, iso, camera model and much more) and audio info (artist, album, track name, along with audio format, bit rate, etc.), PDF metadata, etc.
    • tabs can be renamed;
    • keyboard shortcuts;
    • toolbar button and context menu to open current folder in a terminal.

    Work in progress

    Besides built-in cloud service and archive support, the developer also wants to add support for Nemo extensions in the future. 

    The audio preview feature that was available in Nautilus 2, which allowed hovering over audio files to preview them, might be implemented as well.

    One feature that won't be implemented is desktop handling (drawing the wallpaper / desktop icons).

    I should also mention that in its current state, Polo is not suitable for daily use.

    While in my test, I only encountered two major bugs (very slow copying folders with a large number of files and the app crashes when entering a folder with a large number of images), there are a few major features that are missing, like support for drag'n'drop and trash, along with many missing bits and pieces (like type-ahead). And, of course, there are some bugs as well. But that's to be expected since Polo is beta software.

    The next beta version is expected to be released on April 15 (initially it was April 8, but it was delayed).

    Getting Polo file manager

    Like I mentioned in the beginning of the article, Polo is currently only available for users who donate. The stable version will be available for all, with some extra features for donors.

    Check out the Polo tag on Tony George's website for how to donate, along with more information about Polo, including completed and pending feature status.
  • Thursday 06 April 2017 - 11:28
    Ubuntu logo

    Ubuntu 18.04 LTS will go back to using GNOME as the default desktop environment, instead of Unity.

    In what comes as a big surprise for many, Mark Shuttleworh, the founder of Ubuntu and Canonical, explains on the Ubuntu Insights website that Canonical is ending their "investment in Unity8, the phone and convergence shell".

    Existing LTS releases will continue to be maintained, so Unity 7 should still see some bug fixes in the future. However, with Ubuntu 18.04 LTS (to be released in April, 2018), the default desktop environment will be GNOME.

    While Mark doesn't explicitly says "GNOME Shell", I assume that's what he means, especially since Unity 7 has been in maintenance mode for quite a few Ubuntu releases.

    "I took the view that, if convergence was the future and we could deliver it as free software, that would be widely appreciated both in the free software community and in the technology industry, where there is substantial frustration with the existing, closed, alternatives available to manufacturers. I was wrong on both counts.
    In the community, our efforts were seen fragmentation not innovation. And industry has not rallied to the possibility, instead taking a ‘better the devil you know’ approach to those form factors, or investing in home-grown platforms. What the Unity8 team has delivered so far is beautiful, usable and solid, but I respect that markets, and community, ultimately decide which products grow and which disappear".

    - Mark Shuttleworth

    Check out the complete article HERE.

    What do you think?
  • Wednesday 05 April 2017 - 15:20
    Streamlink 0.5.0 was released yesterday, bringing support for streaming videos from Google Drive / Google Docs, along with other improvements.


    Forked from Livestreamer, which is no longer maintained, Streamlink is a command line tool (and API) that can be used to stream videos from various streaming services, such as Twitch, YouTube Live and many more, and play them using your favorite video player, be it VLC, mpv, and more.

    It is is available for Linux, Windows, and Mac OS.

    Changes in Streamlink 0.5.0 include:
    • added support for streaming videos stored on Google Drive / Google Docs;
    • added support for BBC iPlayer live and VOD, along with support for HLS streams;
    • add support for Beam VOD and HLS streams for live;
    • added support for;
    • added new plugin: canlitv;
    • added new plugin: garena;
    • Aliez plugin now accepts any TLD;
    • added support for avi/mov VOD streams for rtve;
    • removed dead plugins such as,,, and more.

    Since our initial article about Streamlink, the tool has seen quite a few improvements, including support to use FFmpeg to mux separate video and audio streams, along with new plugins and much more. Check out the Streamlink GitHub releases page for a complete changelog.

    For a complete list of supported streaming services, see THIS page.

    Using the Streamlink command line interface is very simple. Here's an example using a Google Drive video. The first thing you need to do is run Streamlink with the link you want to stream, to see the available streams:
    This should list the available formats:
    [cli][info] Found matching plugin googledrive for URL
    Available streams: 360p_alt, 480p_alt, 360p (worst), 480p, 720p, 1080p (best)
    Next, simply add one of the available streams at the end of the command, and Streamlink will start streaming:
    streamlink 1080p
    By default, Streamlink uses VLC to play the stream, but you can specify a different video player by using the "--player" argument, e.g. "--player mpv" to use mpv instead.

    For more about using the Streamlink command line interface, check out THIS page.

    Install Streamlink

    Ubuntu / Linux Mint users can install Streamlink by using the main WebUpd8 PPA. To add the PPA and install Streamlink, use the following commands:
    sudo add-apt-repository ppa:nilarimogard/webupd8
    sudo apt update
    sudo apt install streamlink

    I didn't add a direct deb download link because the PPA provides quite a few dependencies required to install Streamlink.

    For how to install Streamlink in other Linux distributions, Windows or Mac OS, see THIS page.

    Report any bugs you may find @ GitHub.
  • Wednesday 05 April 2017 - 14:53
    Polychromatic, an unofficial GUI and tray applet for configuring Razer peripherals on Linux, was updated to version 0.3.8 today, bringing a completely overhauled tray / AppIndicator applet which only shows options relevant to your device(s), along with other changes.

    Polychromatic Razer configuration tool

    Polychromatic uses Razer Drivers (unofficial) under the hood, which supports quite a few Razer peripherals, including:
    • keyboards: BlackWidow Chroma and Chroma v2, BlackWidow Ultimate 2013 and 2016, BlackWidow Classic, BlackWidow X Ultimate, Ornata, DeathStalker Chroma;
    • mice and mousemats: DeathAdder Chroma, DeathAdder Elite, Firefly, Mamba, Mamba Tournament Edition, Naga Hex and Hex v2, Razer Ouroboros 2012;
    • other devices: Blade Pro, Blade Stealth, Kraken 7.1 Chroma and v2, Razer Core.

    For a complete list of supported Razer peripherals, check out THIS page.

    Using Polychromatic, you can change effects, brightness and color modes, and create application profiles, though this doesn't seem to be supported for mice - or at least I don't have this option for my Razer Ouroboros mouse.

    From the Polychromatic tray applet, you can quickly set effects, brightness and modes, change application profiles and DPI on the fly, and more.

    Polychromatic tray applet running in Linux Mint 18.1 (Cinnamon)

    Changes in Polychromatic 0.3.8 include:
    • overhauled tray applet / AppIndicator:
      • only show options relevant to the selected device;
      • you can now use it to change the mouse DPI;
      • mproved support for devices that have separate logo/scroll lighting options;
      • displays the current status for effects, brightness, DPI and color;
      • displays saved colors and allows switching between them;
      • a new option was added which allows restarting the Razer Drivers daemon;
    • controller:
      • improved selection for changing icons;
      • macros, game modes and profiles only show if the device supports them;
      • ultimate (non-RGB) keyboards present shades of green;
      • UI improvements and various under the hood fixes.

    Two features were temporarily dropped with Polychromatic 0.3.8. Startup Settings is no longer available because it was unreliable, though this should come back with the next major release. The second feature that was temporarily dropped is the daemon options, because the latest daemon version doesn't read them.

    Furthermore, with this release, there are Polychromatic packages available for Fedora and openSUSE.

    Note that the new option to change the mouse DPI from the tray applet doesn't seem to have an option to configure the DPI values. For my Razer Ouroboros mouse, it lists 5 scan resolutions, which I suspect are what the mouse provides by default.

    Also, in my test under Ubuntu 17.04, when changing the DPI from the Polychromatic tray applet, the current DPI value it displays is "0" instead of the actual value. This didn't occur in my test under Linux Mint 18.1 though.

    For an alternative to Polychromatic for mice only, that doesn't use Razer Drivers under the hood (useful if Razer Drivers doesn't support your device or if you're having issues with it), you may want to take a look at RazerCfg.

    Install Polychromatic (and Razer Drivers) in Ubuntu or Linux Mint

    Before installing Polychromatic, you'll need to install Razer Drivers from its official PPA. Note that to be able to install Razer Drivers, you'll need to make sure the "universe" repository is enabled (via Software & Updates)!

    To add the PPA and install Razer Drivers in Ubuntu 17.04, 16.10 or 16.04 / Linux Mint 18, use the following commands:
    sudo add-apt-repository ppa:terrz/razerutils
    sudo apt update
    sudo apt install python3-razer razer-kernel-modules-dkms razer-daemon razer-doc
    sudo modprobe razerkbd

    Note: the Razer Drivers PPA provides packages for Ubuntu 14.04 / Linux Mint 17, but Polychromatic doesn't work with this Ubuntu version because it depends on webkit2gtk, which is not available for Ubuntu 14.04.

    Now you can install Polychromatic, by using its official PPA. To add the PPA and install it in Ubuntu 17.04, 16.10 or 14.04 / Linux Mint 18, use the following commands:
    sudo add-apt-repository ppa:lah7/polychromatic
    sudo apt update
    sudo apt install polychromatic
    If you don't want to add the Polychromatic PPA, you can download the deb from its GitHub releases page.

    The Polychromatic Tray Applet and Controller are available as separate items in the menu / Unity Dash, so you'll have to launch them separately.

    If your Razer device is listed in the supported peripherals list but is not detected by Polychromatic, try restarting the daemon, either from Polychromatic Controller (on the Daemon tab > Daemon Service > Restart) or the tray (Advanced > Restart Daemon) and / or try restarting your computer.

    For installing Razer Drivers and Polychromatic in other Linux distributions, see the following pages:

    Report any bugs you may find on GitHub: Polychromatic | Razer Drivers.
  • Tuesday 04 April 2017 - 17:21
    PB For Desktop 5.0.0 was released today, bringing some important enhancements and fixes, like support for SMS mirroring, improved reconnection (in case the network gets disconnected), and more.

    PB For Desktop

    In case you're not familiar with PB For Desktop, this is an unofficial desktop application for Pushbullet, a service somewhat similar to KDE Connect (but with no KDE dependencies).

    Using it, you can mirror Android notifications on your desktop, send and receive SMS using your Android devices from the desktop, with autocomplete for contacts, and more.

    I wrote more about PB For Desktop HERE, so check out our previous article for more about both PB For Desktop and Pushbullet.

    PB For Desktop SMS notification

    The most important change in the latest PB For Desktop 5.0.0 is the addition of SMS notification mirroring (Android) and rich application pushes. Previously, mirroring notifications from Android to the desktop worked for most applications, but it didn't work for SMSs.

    Another important change is the addition of a more advanced automatic reconnect feature along with connectivity handling. This should fix issues with PB For Desktop not reconnecting automatically after Internet / network gets disconnected (including when resuming from suspend) in some cases.

    If this still fails for some reason, there's a PB For Desktop tray / indicator menu entry that allows you to reconnect it manually (this was available in previous versions), but hopefully that's no longer needed. Furthermore, an offline state tray icon was added so you can easily see if the app is not online.

    Other changes in PB For Desktop 5.0.0 include:
    • improved memory & CPU resource usage;
    • added interface font size control;
    • reduced download and application size by 1/3;
    • fixed application name and title of mirrored pushes;
    • fixed title and body for API url pushes;
    • fixed an issue related to snooze mode.

    Also, with this release, the ARM package was removed due to an upstream issue.

    Download PB For Desktop

    Note that using PB For Desktop requires a Pushbullet account (free or pro). You'll also need to install the Pushbullet mobile application on your Android or iOS (notification mirroring is not supported for iOS unless you use a MacOS device) device.

    (binaries available for Linux: deb, rpm and AppImage, Mac and Windows, as well as the source)

    Report any bugs you may find @ GitHub.

    Fix PB For Desktop AppIndicator not being displayed in Ubuntu 17.04

    Like I mentioned in the previous article on WebUpd8, AppIndicators doesn't work for Electron applications (and PB For Desktop is an Electron app) in Ubuntu 17.04. To fix this manually, see our previous article or follow these instructions to fix it for PB For Desktop:

    A. Fix the menu entry:

    mkdir -p ~/.local/share/applications/
    cp /usr/share/applications/pb-for-desktop.desktop ~/.local/share/applications/
    sed -i 's/^Exec.*/Exec=env XDG_CURRENT_DESKTOP=Unity \"\/opt\/PB for Desktop\/pb-for-desktop\"/' ~/.local/share/applications/pb-for-desktop.desktop

    B. Fix the autostart file.

    To proceed, fix the application menu entry (see above), then make sure PB For Desktop is not already running. Next, start the application from Unity Dash - the PB For Desktop indicator should be working now. From the indicator menu, enable it to autostart on login.

    Since PB For Desktop overwrites the the autostart file, we'll make a copy and use that instead of the original file:
    cp ~/.config/autostart/pb-for-desktop.desktop ~/.config/autostart/pb-for-desktop-fixed.desktop
    sed -i 's/^Exec.*/Exec=env XDG_CURRENT_DESKTOP=Unity \"\/opt\/PB for Desktop\/pb-for-desktop\"/' ~/.config/autostart/pb-for-desktop-fixed.desktop
    And finally, disable PB For Desktop from starting automatically on login from its indicator menu (it will still start automatically, using the newly created autostart file).
  • Tuesday 04 April 2017 - 16:54
    Skype For Linux Indicator Ubuntu 17.04 Zesty Zapus

    [Quick update] It looks like Dropbox isn't the only AppIndicator that doesn't work in Ubuntu 17.04 Zesty Zapus (under Unity) due to the change of XDG_CURRENT_DESKTOP from "Unity" to "Unity:Unity7".

    Update (thanks Martin): the Dropbox AppIndicator no longer has this issue.

    Electron applications (such as the new Skype For Linux, WMail, PB For Desktop and many others) are affected as well, but in a different way. For Electron applications, the indicator is not displayed at all in Ubuntu 17.04 Zesty Zapus under Unity.

    The fix is similar to the one applied to the Dropbox indicator. Simply run the application with "env XDG_CURRENT_DESKTOP=Unity". For example, to start Skype For Linux, you would use:
    env XDG_CURRENT_DESKTOP=Unity skypeforlinux

    To make the fix permanent, copy the application desktop file from /usr/share/applications/ to ~/.local/share/applications/, then edit the file and change the "Exec" line by adding "env XDG_CURRENT_DESKTOP=Unity" (without the quotes) immediately after "Exec=".

    Some applications are set to start automatically and in that case, you'll have to edit the desktop file from ~/.config/autostart/ in the same way.

    Note that some applications overwrite any changes made to their autostart files, located in ~/.config/autostart/. A way around this is to rename the autostart file, then in the application settings, set the application not to start on login. This way, the modified autostart file will be used (which has a different name and contains the workaround).
  • Tuesday 04 April 2017 - 13:22
    GNOME Twitch (not an official GNOME app) 0.4.0 was released recently, bringing improved chat moving and resizing, re-enabled notifications, along with improved stability and more.

    GNOME Twitch

    The application was updated 3 days ago, but there was a bug that prevented it from building in Ubuntu 16.10, so I preferred to wait until it's fixed so I could update the PPA.

    GNOME Twitch is an application to watch Twitch streams on your desktop, without using Flash or a web browser. It requires GTK 3.20 or newer so it only works in fairly new Linux distributions, e.g. Ubuntu 16.10 and newer.

    Using it, you can easily search for channels and games, follow streams with or without a Twitch account (it supports logging in to your Twitch account) and more. The application supports 4 player backends (GStreamer Cairo, OpenGL and Clutter, as well mpv) and it ships with a customizable chat.

    GNOME Twitch

    Changes in GNOME Twitch 0.4.0 include:
    • the chat can now be easily moved and resized when it's undocked (see screenshot above). To do this, select "Move & resize chat" (which will add a red outline around the chat), then drag / resize the chat using your mouse;
    • the notifications are enabled again - you can click them to start playing a channel (in Unity, a GTK dialog box is displayed as a notification so you can click it to open the stream - that's because Unity's notifications don't support click actions);
    • you can now filter channels by language. To do this, you'll need to select a language in the Language filter drop-down, available in the GNOME Twitch settings;
    • the application now supports searching for offline channels - this can be done by clicking on the drop-down at the right of the search bar;
    • display all stream qualities, including special ones like 720p60;
    • display all chat badges, including temporary ones;
    • dynamic loading of items in containers, which speeds up the startup and refresh times;
    • the notification bar can now queue notifications and it can also display errors now;
    • the viewer count is now displayed for games (just like channels, this is displayed on hover);
    • improved build system.

    Even though it includes quite a few enhancements, the latest GNOME Twitch 0.4.0 release is mainly focused on stability and better error handling and reporting. Even so, according to the release notes, there are still bugs and crashes, "but hopefully there will be a significant decrease in both".

    Install GNOME Twitch 0.4.0 in Ubuntu 16.10 or 17.04

    GNOME Twitch is available in the official Ubuntu 16.04 and newer repositories, but it's an older version (0.1.0 for Ubuntu 16.04, 0.2.1 for Ubuntu 16.10 and 0.3.1 for Ubuntu 17.04). To install the version from the official repositories, use the following command:
    sudo apt install gnome-twitch

    To install the latest GNOME Twitch in Ubuntu 16.10 or 17.04, you can use the main WebUpd8 PPA. To add the PPA and install it, use the commands below:
    sudo add-apt-repository ppa:nilarimogard/webupd8
    sudo apt update
    sudo apt install gnome-twitch
    If you don't want to add the PPA, you can grab the deb from HERE (note: you'll need GNOME Twitch as well as at least one player backend - make sure both are the latest version).

    By default, installing GNOME Twitch should also install the GStreamer Cairo backend. If you want to install the other player backends as well (you can remove those that you don't plan on using), use the following command:
    sudo apt install gnome-twitch-player-backend-mpv-opengl gnome-twitch-player-backend-gstreamer-clutter gnome-twitch-player-backend-gstreamer-opengl

    Note that no player backend is selected by default and enabling one is required to play a stream. To enable a player backend, open the GNOME Twitch Settings and on the Players tab, select a backend:

    GNOME Twitch

    For other Linux distributions, see the GNOME Twitch package section @ GitHub.

    Report any bugs you may encounter @ GitHub.