Category Archives: Uncategorized

Build a console google tech news reader in Java

I sometimes like to read text in console. It is lot convenient to open a new tmux instance and quickly check few things online. One of such applications is ‘googler’. I can search text in google from command line and open them using the id next to the text.

In this post, I want to talk about similar application I wrote for reading google tech news. It is a very basic application that does similar thing for google tech news. It displays text and id next to it. User can open the associated link (in the default browser) by typing the id.

Continue reading

Leave a comment

Filed under Uncategorized

Play Youtube in Linux with style with QMPlay2

Introduction

Is it just me or do most people spend most of their time in Youtube (after Facebook, I guess) ? May be I am just a minority, but that doesn’t make playing Youtube videos with a Desktop application less interesting. There are quite some distinct benefits playing youtube videos with a dedicated application. However each tool brings their own set of features, that some like and some don’t. Previously, I introduced Minitube as such an application. Minitube is basically a TV replacement, because you can subscribe to channels without having to login to Youtube. When new vidoes are uploaded in your subscribed channels, you get notifications that lets you watch all the videos that you missed.

Another feature I want from a dedicated youtube application is the ability to create playlists. I want to add my favorite songs and play them on repeat mode in the background, while I am doing other things. QMPlay2 provides just that feature.

Continue reading

Leave a comment

Filed under Uncategorized

Play Dota 2 on Intel HD 3000 or above on Linux

If you use Linux and wanted to play Dota 2 but have been discouraged by the limited graphics performance of integrated Intel HD graphics card, this post is for you. Intel HD 3000 is an integrated graphics card that came with Sandybridge processors. By default it is barely able to run Dota 2. With following settings, you should be able to play Dota 2 at an average speed of 30 FPS or above. The trick is to lower the graphics settings to make the game run faster. If you have newer processors you should get even better performance.

Continue reading

2 Comments

Filed under Uncategorized

Run steam games using radeon open source driver on Linux

If you have dual graphics cards (intel + amd) and if you have been unable to start steam games using the radeon open source driver, this guide is for you. If you have been using catalyst driver, see this guide.

1. If you don’t have catalyst driver installed, you have to autostart “xrandr –setprovideroffloadsink radeon Intel” command before using DRI_PRIME. In my case, I have a desktop file (driprimestarter.desktop) inside ~/.config/autostart that has following text.

[Desktop Entry]
Type=Application
Name=Dri prime starter
Exec=/home/username/bin/radeon.sh

Continue reading

2 Comments

Filed under Uncategorized

Run a simple webpage using docker

Docker is a container technology that helps easier application deployment by providing an abstraction over Linux OS. In this tutorial, I will go through creating a simple (simplest) docker container and deploy a very basic web-page that runs on port 3000.

To install docker run sudo apt-get install docker.io (in ubuntu). You might have to restart the OS after the installation.

Continue reading

Leave a comment

Filed under Uncategorized

Use sddm display manager with custom lock screen to replace gdm

Introduction

In Linux, I like to experiment with different user interfaces for the desktop experience. However, sometimes, certain components become blockade for enabling such environments. In the end, either I have to completely give up on the application, or live up with half baked application. One such component happens to be the display manager.
Continue reading

Leave a comment

Filed under Uncategorized

Create an offline personal wiki to organize your work

Introduction

There are times where you need to showcase your work. Public blogging websites are very good for that, but there are times when you may want to organize your work (say while you are learning) that you don’t want to share with others. E.g., You might be reading a new book about a programming language. There will be a lot of new concepts that you might not have heard before, and similarly there will be a lot of repeating concepts that you are familiar with. Therefore, you may want to only make notes of the new concepts, while trimming down already familiar concepts. Personal offline wiki is a great place to keep track of these kinds of work. With the help of links, text formatting, images, videos you can organize your work, so that it becomes a great learning resource for your personal use, that you can re-visit whenever you need to review the material. In this tutorial, I want to encourage you to install a wiki software (I will be showing few features of dokuwiki as an example, but you can install any) to manage your personal work on your own computer.

home

Continue reading

2 Comments

Filed under Uncategorized