Tag Archives: linux

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

X86 disassembly

Introduction

In this tutorial I will list some techniques to understand a basic Linux program. I will use a simple assembly program that uses nasm syntax. Common program format in Linux uses GNU assembler syntax. Therefore, this tutorial does not cover understanding that syntax (which I might do in future). Lets get started.

Continue reading

Leave a comment

Filed under Uncategorized

Minimal Linux setup for kernel development

Introduction

This example can be used to setup a minimal Linux installation for any task. In this tutorial however I am going to use kernel development as an example. Since the process I have used in the past have been from sporadic sources, I wanted to consolidate the information for my own need. This tutorial is the result of that effort. So that next time if I feel like doing something kernel related, I don’t have to start over again.

install

We are going to setup a minimal ubuntu installation (no GUI) for kernel development. Install ubuntu minimal from this link. For this tutorial I will use Ubuntu 12.04 LTS version in virtualbox with 17 GB space. Make sure the architecture (32-bit, 64-bit) matches that supported by virtualbox. In virtualbox select at least 2 cpu and half of system RAM (keep everything under the green line). Since we are going to install necessary package later on, you don’t have to install any special packages during the installation. Skip the package installation step and complete the installation.

Continue reading

Leave a comment

Filed under Uncategorized

Install SteamOS in virtualbox

Introduction

In this tutorial, I will talk about installing steamos in virtualbox. The reason, I wanted to do this was to play around and see how they have put together a debian distribution. One thing, I noticed from my installation was, despite valve’s suggestion in their FAQ, I would not recommend executing ~/post_logon.sh after installation, because it removed dkms and necessary drivers, that were necessary to boot the OS. I guess, this step was the step to make steamos boot directly into big picture mode. In our case, you will have to select SteamOS from login manager and login into user account named steam to login to the big picture mode. If you want to run above script anyway, at least make a copy of the vdi file, after you have updated the steam client. File size is no more than 4G, if you have selected dynamically expanding disk in virtualbox. Also, as suggested by some posts, there was no need for me to remove nvidia binaries after installation.

bigpicture

Continue reading

5 Comments

Filed under Uncategorized

Install and debug AMD catalyst graphics driver in Elementary OS / Ubuntu 12.04

Most modern laptops with intel processors after sandy bridge, comes with its own graphics card (or graphics memory). If you happen to purchase such laptop with discrete graphics card from AMD or Nvidia, your configuration becomes a hybrid graphics setup. Hybrid graphics cards have long and painful history under Linux. Therefore, if you don’t follow the usual channel (your operating system provided) of installing it, you might run into lots of problems because of inconsistencies between Xorg/mesa, graphics vendor drivers and the kernel. In this tutorial, I will talk about different approaches I take while installing the driver. This tutorial is valid for Elementary OS/Ubuntu and other ubuntu derivatives as well.

Continue reading

21 Comments

Filed under Uncategorized

Artha – simple but powerful offline dictionary

1. Introduction

Dictionary is one of the tools many people need on a computer, specially offline dictionary. In this tutorial, I will talk about such a software called Artha. According to its man page “Artha is cross-platform thesaurus based on WordNet“.

Continue reading

Leave a comment

Filed under Uncategorized

Minitube – A better way to watch youtube videos

Introduction

One of the software, I have been very fond of recently is minitube. It is a software that lets you watch youtube videos.

What makes minitube different from say a browser, is its ability to subscribe to channels without having to login. Also, it fetches metadata of new videos from your subscriptions, that you haven’t yet watched.

Continue reading

1 Comment

Filed under Uncategorized

Install catalyst driver in ubuntu 12.04.2

Introduction

In this tutorial, I will try to explain how to install catalyst driver, fix switching problems (specially opengl part on intel cards) and some steam bugs. One reason to do this tutorial was because catalyst 13 series was not very good on my hardware in Ubuntu 13.04 or Mint 15. So, lets get started

Continue reading

4 Comments

Filed under Uncategorized

Playing with desktop files aka application launchers in Linux

Introduction

Desktop files are text files, with .desktop extension, that launches applications. In this tutorial, I wish to explore different ways you can use desktop files to run range of applications.

Continue reading

3 Comments

Filed under Uncategorized

AMD graphics cards, Linux basic power management

Introduction

If you buy a new laptop with Intel processors and AMD graphics cards, you by default run into this long running dual, hybrid graphics problem under Linux. This post is targeted towards new Linux users, who haven’t dealt with such kinds of problems before.

Continue reading

Leave a comment

Filed under Uncategorized