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.
Category Archives: Uncategorized
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
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.
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.
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.
You may want to build your vocabulary on some domain specific words e.g languages, definitions etc. However, you get bored (get nowhere) if you sit there and start reading the whole list. A fun way to read the words can be by using desktop popups that goes through the list one line at a time. In linux, you can use few tools to achieve that. In this tutorial, we will build a custom script that will help you build such list.
We often use i3-msg to open applications in new workspaces. However to type all the name of our custom workspaces is tiresome. I created a simple (very simple) script to use just the number to specify the workspace and open the application in that workspace. This is a python script, which you can put inside a bin directory and execute it with the number of the workspace and the application you want to execute in that workspace. For this to work, change the custom workspace names that matches the names you have defined for your workspaces in i3. Save the following file as i3openit.sh.