Mar 23, 2017

Code Editor `Brackets` 1.9 Released, Available In PPA

Brackets is a free, open source code editor focused on front-end web development (HTML, CSS and JavaScript).

The application, which was originally developed by Adobe, is available for Linux, Windows and MacOS.

Brackets editor Linux

Since I haven't written about Brackets in a while, here's a quick list of its main features:
  • live preview: see your changes in real time in a web browser (by default, this only supports Google Chrome, but there's also experimental support for other browsers - you can enable it from the Brackets File menu);
  • inline editor: simply put your mouse cursor on a CSS ID, press Ctrl + E and Brackets displays the CSS selectors inline;
  • supports extensions and comes with a built-in extension manager, with hundreds of themes and extensions available to install.

Brackets extension manager

Changes in Brackets 1.9 include:
  • reverse inspect in Live Preview (clicking an element in Live Preview highlights the corresponding tag in the source code);
  • the application now supports "Replace All" in Find & Replace along with batch operation;
  • the Extension Manager now displays the download count for listed extension, and it allows sorting based on download count or published date. Thanks to this, you can easily find the most popular and the latest extensions;
  • focus can now be swapped between panes using a keyboard shortcut (Alt + w);
  • language mode can now be changed for untitled documents (and code coloringand code hints are now supported for such documents);
  • GitHub organizations can now own Brackets extensions and update them.

A complete changelog is available HERE.

Important! There are two issues with Brackets on Linux.

The first is that to close the application, you must click the close button twice.

And the second issue is that the official Brackets Debian / Ubuntu debs depend on libgcrypt11, which is not available in Ubuntu versions newer than 14.10.

This last issue is fixed if you install libgcrypt11 from an older Ubuntu version, if you upgraded from Ubuntu versions older than 15.04 (so libgcrypt11 is still installed on your system), or if use the WebUpd8 Brackets PPA (there are also direct PPA deb download links below), which should work in any Debian-based Linux distribution, including Ubuntu, Linux Mint and so on.

For more about Brackets, check out its website and wiki.

Download Brackets

(32bit and 64bit debs - only work with Ubuntu 14.10 or older unless you install libgcrypt11 manually or use the PPA -, MacOS and Windows binaries)

To install the latest Brackets in Ubuntu 17.04, 16.10, 16.04 or 14.04 / Linux Mint 18.x or 17.x / Debian 8+ (see how to add a PPA in Debian HERE) by using the WebUpd8 Brackets PPA, run the following commands:
sudo add-apt-repository ppa:webupd8team/brackets
sudo apt update
sudo apt install brackets
Alternatively, download the WebUpd8 Brackets PPA debs from HERE.

Fedora users can install Brackets by using an unofficial copr repository (not yet updated to version 1.9 at the time I'm posting this article).

Arch Linux users can install Brackets from AUR (not yet updated to version 1.9 at the time I'm posting this article).

via Web Upd8 - Ubuntu / Linux blog

Mar 22, 2017

GNOME 3.24 Released, See What`s New

GNOME 3.24 desktop

After being in development for six months, GNOME 3.24 was released today, bringing improvements such as Night Light, weather information in the date / time indicator, along with updates to its applications, and more.

Changes in GNOME 3.24

GNOME 3.24 desktop

One of the most interesting changes in the latest GNOME 3.24 is the addition of Night Light, a feature that is aimed at preventing eye strain.

With the Night Light option enabled, the color of the display changes based on the time of day, making the screen color warmer in the evening. It is is set to automatically follow the sunset and sunrise times for your location, but there's also an option to customize it.

The option to enable Night Light can be found in Settings > Displays:

GNOME 3.24 night light settings

With GNOME 3.24, the GNOME Shell notifications area (date time indicator) was improved, featuring a cleaner layout. Furthermore, Weather information for the current day is now displayed in the notifications area:

GNOME 3.24 weather information

Note that the weather information gets its location from the Weather app. The location can be set to automatically follow your location, or you can specify it manually.

Another fairly important change in the latest GNOME 3.24 is the revamped user interface for Online Accounts, Printers and Users settings. More Settings improvements are planned for the future.

Here are the new Printers (image via GNOME 3.24 release notes because I don't currently have a printer to try it) and Settings:

GNOME 3.24 printers

GNOME 3.24 user accounts

Other changes include:
  • on machines with two graphics cards, you can now select the GPU to use when launching an application (via right clicking the app / game in the Activities). Under the hood, this uses vga_switcheroo with the switcheroo-control package and it only works with open source drivers. Note that switcheroo-control is not available in Ubuntu 17.04, at least for now, but is available in the GNOME 3 Staging PPA;
  • icon theme (Adwaita) updates: improved various device, file type and application icons, including document and folder icons. The high resolution icons are now 512x512px (up from 256x256px);
  • Wacom settings are now compatible with Wayland. Furthermore, Stylus configuration was improved, allowing styli to be configured independently;
  • Flatpak now supports downloading URIs as a part of application installation. This allows applications like Spotify and Skype to be supported;
  • toggle between power-off / suspend button on long-press;
  • the mouse cursor size can now be changed (this should be available in Settings > Universal Access according to the changelog, however, it's not there in Ubuntu 17.04 for some reason, which does have gnome-control-center 3.24.0, but it's still available via Dconf: org > gnome > desktop > interface > cursor-size).

Here are a few of the updated Adwaita icons (the blue icon is the new Nautilus / Files icon and it's shipped with Nautilus, and not the icon theme):

GNOME 3.24 applications

Recipes is a new application added with GNOME 3.24:

GNOME Recipes

GNOME Recipes

The application includes recipes contributed by the GNOME community members and it allows adding and editing recipes, exporting and printing shopping lists, configurable quantities based on the number of servings, notes, as well as a hands-free cooking instructions mode.

GNOME Games, a game manager app that was available as a preview for a while, is now considered stable, and it gained support for Libretro games.

While not available in Ubuntu 17.04 Zesty Zapus yet, GNOME Games is available in the GNOME Staging PPA, however, it doesn't work properly on my system (no games are displayed, not even the default GNOME games), so here's a screenshot from the GNOME 3.24 release notes:

GNOME 3.24 games

The application includes extensions for Game Boy, Nintendo 64 and DS, and even Steam:

For more about GNOME Games, check out THIS page.

GNOME 3.24 nautilus

Files (Nautilus):
  • can now automatically asks for a password if additional permissions are required to open a file or folder (e.g. a system folder where only root has access). There's no context menu to open files or folders as root - for that, see THIS article;
  • F2 can now toggle between selection modes, full file name or only file name without extension;
  • Recent files are now always files that only the user used, rather than any program/daemon like Dropbox updating the access time.

GNOME 3.24 photos

  • improved overview with bigger thumbnails that automatically resize to fill the available space;
  • includes new exposure and blacks editing tools;
  • can now display GPS information.

GNOME 3.24 web epiphany

GNOME 3.24 web epiphany

Web (default GNOME web browser):
  • new address bar which is now visible at all time, except in web app mode;
  • redesigned user interface for bookmarks management. Smart bookmarks support was removed;
  • new popover that displays a list of open tabs;
  • a more visible warning is displayed when accessing insecure password forms;
  • Web now includes EasyList filters;
  • added a new personal data dialog allows viewing and clearing tracking data;
  • added a new search engine dialog along with support for search engine bangs;
  • experimental HTTPS Everywhere support. This is disabled by default and needs to be enabled at build time;
  • experimental support for bookmarks sync between Web (Epiphany) browsers via Firefox Sync (it cannot sync with Firefox). This is disabled by default and needs to be enabled at build time.

GNOME 3.24 software

  • it can now handle apt and snap URLs;
  • new icons that indicate when applications are installed;
  • updated presentation for user ratings;
  • it now displays the disk space an application is using in the installed view;
  • added a setting for downloading updates on metered connections (available via Dconf under org > gnome > software > refresh-when-metered).

GNOME 3.24 polari

  • a new popover is displayed when clicking on a username, allowing you to start a conversation if the user is online, or request a notification when an offline user comes online;
  • spell checking;
  • can now run in the background.

Other GNOME applications changes include:
  • Builder includes ehanced support for various build systems, including Flatpak, Cmake, Meson and Rust. The app can now install and update SDKs and toolchains for Flatpak or Rust;
  • Calendar now includes a week view.

Getting GNOME 3.24

Ubuntu GNOME 17.04 (currently in beta, to be released in April; it will ship with most of GNOME 3.24, but with some older packages as well) and Fedora 26 (alpha release expected at the end of March) are among the Linux distributions that will ship with GNOME 3.24.

openSUSE Tumbleweed and Arch Linux should get the GNOME 3.24 update fairly soon.

In Debian, GNOME 3.24 is 53% ready in unstable and 51% in testing. See THIS page for more information.

For more information about GNOME 3.24, check out the official release notes.

via Web Upd8 - Ubuntu / Linux blog

Mar 21, 2017

Qt5 Quick Launcher `Albert` 0.10 Adds New MPRIS And SSH Extensions, More

Albert, a Qt5 quick launcher, was updated to version 0.10.0 (and then 0.10.1 to fix some issues), introducing completion using the Tab key, two new extensions, and more.

Albert quick launcher

The latest Albert 0.10 ships with two new extensions: MPRIS and SSH. 

The MPRIS extension allows controlling MPRIS-capable media players, like Rhythmbox, VLC, Audacious and so on. It currently supports play, pause, next, previous and stop.

Note: the MPRIS extension is disabled by default so you'll need to enable it in the Albert Settings > Plugins.

To use it, a MPRIS-capable media player needs to be running, then simply type one of the supported commands in Albert, like pause:

Albert quick launcher

The SSH extension makes ssh hosts from /etc/ssh/config and ~/.ssh/config accessible by Albert. To use it, make sure the Secure Shell extension is enabled in Albert, then type the trigger (ssh) and Albert should list available ssh hosts, allowing you to connect to them.

Other changes in Albert 0.10 include:
  • tab completion using the Tab key. E.g., type 2+2, then select the calculator item, press Tab and Albert will display the result. Alternative actions have been moved to the Alt key (you need to hold Alt to show alternative actions);
  • scrolling using the mouse wheel in the Albert input box now allows navigating through history;
  • the files extension now allows browsing through paths not index by Albert - simply start your query with either / or ~, and Albert will assume it's a path. Thanks to the new tab completion, this makes it easy to navigate the filesystem;
  • the application extension has a new option that allows ignoring OnlyShowIn and NotShowIn keys from desktop files (so you can access applications that are set not to be displayed in your current desktop environment)
  • a new group of themes was added, called Spotlight (there are 3 themes available: Bright, Dark and Space);
  • the terminal extension now supports aliases.

Install Albert in Ubuntu or Linux Mint via PPA

To install Albert in Ubuntu (in all supported versions, including the latest 17.04) or Linux Mint, you can use the main WebUpd8 PPA. Add the PPA and install Albert by using the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install albert
Alternatively, you can download the Albert deb from HERE.

To use Albert, you'll have to assign it a keyboard shortcut, such as Ctrl + Space (make sure it's not already in use!) to invoke it. Also, Albert doesn't start automatically on login, so you'll have to add it to your startup applications manually.

For installing Albert in other Linux distributions, how to use it, etc., see its documentation. If you encounter bugs, report them @ GitHub.

You may also want to check out Kupfer quick lauuncher, a similar application that was recently ported to Python 3 and GTK 3 after 4 years of inactivity.

via Web Upd8 - Ubuntu / Linux blog