Skip to main content

How i changed my keyboard's Space key to Space and Ctrl in Ubuntu 14.04

The thing i wanted was to change my keyboard's behavior like this. When i press Space alone it is Space key. If i pressed with some other key, it is Ctrl.
That is Space+X gives Ctrl+X.

Install needed libs

sudo apt-get install libx11-dev libxtst-dev
Get the source
git clone https://github.com/r0adrunner/Space2Ctrl
Install
cd Space2Ctrl
make
sudo make install

How to use?

Start by typing this in a terminal

s2cctl start

And now Stop by

s2cctl stop

How do i use it?

I added it to ~/.bash_login. So when i login to computer it works.

Reference
https://github.com/r0adrunner/Space2Ctrl

Popular posts from this blog

How to install python and configure django on a CentOS 6.7 Linux server with CPanel?

I recently had a chance to play with CentOS 6.7 server. My task was to re-install(reconfigure) run a Django site on it. Actually it was done by my around 2 years before. Then some system admin guy updated the system (especially PHP related stuff), and essentially he screwed up my (ie. I worked tm.) django website. I had lost the track on installing those things. So I would like to share my experience on reaching the point. First of all I tried to locate the apache config file. My initial thoughts were about this file. /etc/apache2/apache.conf I roamed here and there, to get some idea about the system.Here are my commands which I use these sort of tasks. which httpd which apache which apache2 type httpd locate apache.conf locate httpd.conf whatis httpd  Sure, You should use man pages to get more info of these commands like which,type and locate. Try `man man` to know what man is. Anyway, I got some ideas regarding where the conf files lies, especially with the help of loc...

Playing Android Games, Running APK in Windows 7,XP etc.

First you need to install Bluestacks Bluestacks Download After downloading this file you have to run the file to complete the installation process. You need Internet connection to complete the above step After installation is done you can install almost any apps from PlayStore, or 1mobile. Also if you have apk file then you can install by double clicking it (No internet needed). You can access apps from Apps shortcut   in the Desktop.      NB:- You need atleast 2GB to run this app