Newsroom – Linux Client to Get Your Favorite News


In today's world, staying informed about the latest news is an essential part of our daily lives. However, the sheer volume of news available can be overwhelming, making it difficult to keep up. Fortunately, there are several news readers available that can help us navigate the vast amount of information out there.

In this article, we'll explore more everything about the Newsroom, a lightweight and open-source newsreader specifically designed for Linux users. We'll delve into the installation process and the necessary requirements for setting up Newsroom, and we'll provide examples and outputs to guide you through the entire setup. Whether you're someone who wants to stay informed or a news enthusiast, Newsroom can make it easy for you to access your preferred news sources on your Linux device.

Requirements

  • Linux operating system âˆ’ Newsroom is a Linux application, so you need a Linux operating system to use it. Newsroom has been tested on a number of different Linux distributions, including Ubuntu, Debian, Fedora, and Arch Linux, so it should work on most Linux systems without any issues.

  • Internet connection âˆ’ To use Newsroom and read news articles from your subscribed feeds, it is required to have an active internet connection. In the absence of an internet connection, Newsroom won't be able to fetch news articles, and you won't be able to access the news content.

  • GTK3 runtime libraries âˆ’ GTK3 is a software development toolkit utilized to construct graphical user interfaces. Newsroom employs this toolkit to generate its own user interface. To execute Newsroom, you must ensure that the GTK3 runtime libraries are installed on your system. While most Linux systems have these libraries pre-installed, you may need to install them separately if you're running a customized or minimal Linux installation.

To install the GTK3 runtime libraries on Ubuntu or Debian, you can use the command "sudo apt-get install libgtk-3-dev". On other Linux distributions, the command may be slightly different - you should consult your distribution documentation or package manager for more information.

By ensuring you have all of these requirements met, you can ensure that you can run Newsroom successfully on your Linux system.

Installation Method

  • Open a terminal on your Linux distribution âˆ’ The first step is to open a terminal on your Linux distribution. This can typically be done by pressing the Ctrl+Alt+T keys together, or by opening the Applications menu and searching for "Terminal" or "Konsole".

  • Add the Newsroom client repository to your system âˆ’ Once you have a terminal open, you'll need to add the Newsroom client repository to your system.

Example

sudo add-apt-repository ppa:oguzhaninan/stable

This command will add the PPA (Personal Package Archive) for the stable version of the Newsroom client to your system. It will prompt you to enter your administrator password, which you should do to authorize the addition of the PPA.

  • Update your system's package lists âˆ’ After adding the Newsroom client repository, you'll need to update your system's package lists.

Example

sudo apt-get update

This command will refresh the list of packages available in the PPA and ensure that your system is up-to-date.

  • Install the Newsroom client âˆ’ With the Newsroom client repository added and your system's package lists updated, you're now ready to install the Newsroom client itself.

Example

sudo apt-get install newsroom

This command will install the Newsroom client and any necessary dependencies. It will prompt you to confirm the installation by pressing "y", and then begin downloading and installing the client.

  • Launch Newsroom âˆ’ After the installation is complete, you can launch the Newsroom client from the Applications menu on your Linux distribution. Simply search for "Newsroom" and click on the icon to open the client.

With these given steps, you should be able to install and launch the Newsroom client on your Linux system. From there, you can add your favorite news sources and start reading the latest articles.

Using Newsroom

  • Launching Newsroom âˆ’ To launch Newsroom, open your Linux terminal and type newsroom and press Enter. This will launch the Newsroom CLI tool.

  • Selecting a News Source − Once Newsroom is launched, it will display a list of available news sources. Each news source is numbered, and you can select a news source by typing the corresponding number and pressing Enter.

    If you don't see the news source you're looking for, you can type the name of the news source and press Enter. The newsroom will search for news sources matching your query and display a list of matching sources.

  • Searching for News Articles âˆ’ If you want to search for specific news articles, type the keywords or phrases you're interested in and press Enter. The newsroom will search for articles matching your query and display a list of matching articles.

  • Viewing News Headlines âˆ’ Once you have selected a news source or searched for articles, Newsroom will display a list of headlines. Each headline is numbered, and you can view a headline by typing the corresponding number and pressing Enter.

  • Viewing Full News Articles âˆ’ To view the full article, select the headline you're interested in. The newsroom will display the full article in the terminal. If the article is longer than the terminal window, you can scroll through it using the arrow keys.

Customizing Newsroom

  • Changing the default number of articles displayed âˆ’ By default, Newsroom displays five articles for each news source or search term. However, users can change this number by editing the "limit" setting in the Newsroom configuration file.

  • newsroom config âˆ’ This will open the configuration file in a text editor. Locate the "limit" setting and change the value to the desired number of articles. Save the file and exit the editor.

  • Setting a default news source âˆ’ Users can specify a default news source to be automatically selected when they launch Newsroom. To do so, edit the "default_source" setting in the configuration file. Set the value to the name of the news source you want to use as the default. For example, if you want CNN to be the default source, the setting should look like this −

default_source = cnn
  • Specifying the language and country of news sources − The Newsroom platform enables access to news sources from multiple countries and languages. Users have the option to select their preferred news sources by editing the "sources" setting in the configuration file, where they can input a list of dictionaries that contain details about each news source. To designate the desired language and country, users simply add a key-value pair for "language" and "country" in the respective dictionary.

For example âˆ’

{
    "name": "CNN",
    "url": "https://www.cnn.com/rss/edition.rss",
    "language": "en",
    "country": "US"
}

This example specifies that the CNN news source is in English and from the United States.

If you want to, you can add or remove news sources from the "sources" list. If you want to add a news source, all you need to do is create a new dictionary with the required information and add it to the list. Conversely, if you want to get rid of a news source, you can just delete the dictionary that matches it from the list.

Conclusion

In conclusion, the Linux client "Newsroom" provides a simple and efficient way to keep up with your favorite news sources. With its customizable "sources" list, users have the freedom to add or delete news sources as they, please. By utilizing Newsroom, Linux users can stay informed on current events without having to navigate through multiple websites or applications. With its user-friendly interface and flexibility, Newsroom is a valuable tool for anyone looking to streamline their news consumption on Linux.

Updated on: 28-Jul-2023

36 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements