Tag Archives: linux

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

Convert list of manga directories to comic book archive

Suppose you have a list of manga directories i.e folders with images that have numbers as names. Although applications like MComix can read such directories without any problem, you might feel like creating a proper comic book archive using these images. Here is what I do to convert these directories to cbz files.

Continue reading

Leave a comment

Filed under Uncategorized

Using mpv to escape start and end of videos (like in anime, tv shows etc)

Introduction

Sometimes we like to watch cool starting and ends of videos (like the heart touching ending), but after a time those could become repetitive and boring. Also, if you are just starting to watch a series recommended by others, those extra 5 minutes could be saved to watch next video and progress quickly. In this tutorial, I wish to tackle that problem. Since I love mplayer/smplayer for playing most videos, I am not going to deviate from those lines. Therefore, I am going to use mpv (mpv is a fork of mplayer2 and MPlayer) for our purpose.

Continue reading

3 Comments

Filed under Uncategorized

Learning Emacs

Introduction

In this tutorial, I am going to talk about setting up emacs so that it will be easier for new users to get to their programming or editing tasks without much barrier.

Basics

If you don’t know emacs’s basic keys (at least the movement and editing keys), you need to keep a note of some of the most frequently used ones. You can copy the commands using some websites containing the basics (e.g http://mally.stanford.edu/~sr/computing/emacs.html) or use the list from “Movement” section below.

Continue reading

Leave a comment

Filed under Uncategorized

Toggle keyboard keys in Linux using terminal commands

Introduction

It is easier to use GUI tools to setup keyboard shortcuts, but sometimes you need to map certain keys for typical purpose (e.g swapping caps and esc when using vim). In this tutorial I will try to list different linux tools and scripts that you can use to do these tasks (you might have to install them from your distribution’s repository).

Continue reading

2 Comments

Filed under Uncategorized