{"id":1362,"date":"2021-12-16T13:56:53","date_gmt":"2021-12-16T10:56:53","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/08\/23\/how-to-read-hacker-news-on-the-linux-desktop\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/08\/23\/how-to-read-hacker-news-on-the-linux-desktop\/"},"modified":"2021-12-16T13:56:53","modified_gmt":"2021-12-16T10:56:53","slug":"how-to-read-hacker-news-on-the-linux-desktop","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1362-how-to-read-hacker-news-on-the-linux-desktop\/","title":{"rendered":"How to read Hacker News on the Linux desktop"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Hackgregator is a desktop reading application for the news website Hacker News. With Hackgregator, it is possible to read the news from this site on the Linux desktop. Here\u2019s how to set it up on your system.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-406931 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop.png\" alt=\"\" width=\"1200\" height=\"655\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-3.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-4.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-5.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<h2>Installing Hackgregator on Linux<\/h2>\n<p>The Hackgregator is an excellent way of reading the Hacker News website on the Linux desktop. That being said, the program doesn\u2019t come pre-installed on any Linux operating system, so it needs to be manually installed.<\/p>\n<p>There are three ways to install the Hackgregator application on Linux. For Arch Linux and Manjaro, you can set it up through the AUR. It is also possible to install the application from Flathub as a Flatpak and on any Linux distribution by the source code.<\/p>\n<h4>Flatpak<\/h4>\n<p>We highly recommend setting up the Hackgregator via Flathub as a Flatpak. This method is compatible with 99% of Linux distributions. To start, launch a terminal window on the desktop.<\/p>\n<p>You can open up a terminal window on the Linux desktop by pressing <strong>Ctrl + Alt + T<\/strong> on the keyboard. Or, search for \u201cTerminal\u201d in the app menu. When the terminal window is open and ready to use, follow our guide to set up the Flatpak runtime.<\/p>\n<p>After setting up the Flatpak runtime on your computer, use the <strong>flatpak remote-add<\/strong> command to add the Flathub app store to your computer. This app store will help you install Hackgregator.<\/p>\n<pre>\nflatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo\n<\/pre>\n<p>Now that the Flathub app store is configured, you\u2019ll be able to install the Hackgregator application on your system using the <strong>flatpak install<\/strong> command below.<\/p>\n<pre>\nsudo flatpak install flatpak install flathub de.gunibert.Hackgregator\n<\/pre>\n<h4>Arch Linux AUR<\/h4>\n<p>If you\u2019re on Arch Linux, you\u2019ll be able to get the Hackgregator program up and running on your system using the AUR app. Use the <strong>pacman<\/strong> command below to install the \u201cgit\u201d and \u201cbase-devel\u201d packages to start the process.<\/p>\n<pre>\nsudo pacman -S base-devel git\n<\/pre>\n<p>With the two packages configured on your Arch PC, you\u2019ll have to configure the Trizen AUR helper. This program will configure the Hackgregator application from source code much easier than by hand.<\/p>\n<pre>\ngit clone https:\/\/git.archlinux.org\/trizen.git\ncd trizen\/\nmakepkg -sri\n<\/pre>\n<p>Now that the Trizen AUR helper is installed, the Hackgregator application can be installed. Using the <strong>trizen -S<\/strong> installation command down below.<\/p>\n<pre>\ntrizen -S hackgregator\n<\/pre>\n<h4>Source code<\/h4>\n<p>If you do not have Flatpak or Arch Linux or what to set up the Hackgregator app on your Linux PC, the best way to go about it is to download the source code and build it yourself. Here\u2019s how to do it.<\/p>\n<p>First, install the dependencies below on your Linux system.<\/p>\n<ul>\n<li data-sourcepos=\"17:1-17:8\"><code>glib<\/code><\/li>\n<li data-sourcepos=\"18:1-18:7\"><code>gtk<\/code><\/li>\n<li data-sourcepos=\"19:1-19:11\"><code>libsoup<\/code><\/li>\n<li data-sourcepos=\"20:1-20:13\"><code>json-glib<\/code><\/li>\n<li data-sourcepos=\"21:1-22:0\"><code>webkit2gtk4<\/code><\/li>\n<\/ul>\n<p>Now that the dependencies are installed download the code and enter the commands to build and install the software.<\/p>\n<pre>\ngit clone https:\/\/gitlab.com\/gunibert\/hackgregator.git\ncd hackgregator\nmeson build\nninja -C build\nsudo ninja -C build install\n<\/pre>\n<h2>Using Hackgregator<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-406931 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop.png\" alt=\"\" width=\"1200\" height=\"655\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-3.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-4.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-5.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>Hackgregator is a pretty easy-to-use app. By default, it loads up the Hacker News top stories. To read any of the top stories, select the items from the list. When you choose an item from the list, Hackgregator will load up the link directly for you to read.<\/p>\n<h3>Reading comments<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-406929 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-1.png\" alt=\"\" width=\"1200\" height=\"546\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-1.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-6.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-7.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-8.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>One of the most important aspects of Hacker News is the comment section. A lot of conversation goes on there, and it\u2019s where users can chime in with their two cents on any given link submitted.<\/p>\n<p>To view the comments of a particular story in Hackgregator, click on the blue number icon. When you click on the number icon, you\u2019ll be able to see the comments on the Hacker News post.<\/p>\n<h3>Access new stores<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-406928 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-2.png\" alt=\"\" width=\"1200\" height=\"515\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-2.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-9.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-10.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-read-hacker-news-on-the-linux-desktop-11.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>By default, the Hackgregator app will show you the \u201cTop Stories\u201d that are popular on the website. These stories tend to have a lot of comments or are trending on the internet at the moment.<\/p>\n<p>If you want to see brand new stories as they happen in Hackgregator, the \u201cTop News\u201d section, while helpful, isn\u2019t the place to find them. Instead, to see new stories in the app, click on the drop-down menu.<\/p>\n<p>Once inside the drop-down menu, change it from \u201cTop News\u201d to \u201cNew Stories.\u201d When changing the menu to \u201cNew Stories,\u201d the Hackgregator application will load up all-new stories on Hacker News that you can read.<\/p>\n<h3>Refreshing<\/h3>\n<p>Hackgregator doesn\u2019t automatically refresh. So whether you\u2019re reading \u201cTop Stories,\u201d \u201cNew Stories,\u201d or the other choices, you won\u2019t get any automatic updates. Instead, you\u2019ll need to hit the refresh button.<\/p>\n<p>Find the refresh icon in the top-left corner of Hackgregator. Then, select it with the mouse. When you click on this icon, the Hackgregator application will reload and show new stories for the menu selection you\u2019ve chosen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Hackgregator is a desktop reading application for the news website Hacker News. With Hackgregator, it is possible to read the news from this site on the Linux desktop. Here\u2019s how to set it up on your system. Installing Hackgregator on Linux The Hackgregator is an excellent way of reading the Hacker News website &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1363,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21,1],"tags":[33,35],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1362"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1362"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1362\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1363"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}