SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-05-06 00:30:13

lolita
Member
Registered: 2012-04-22
Posts: 10

[SOLVED] Turning spacebar into control key

I would like to turn the spacebar into another control key (mostly for use in Emacs), while still retaining its capability as a space key when I press and release the spacebar. I've tried three different methods and have run into trouble with all of them. I am still new to Linux and am having difficulty understanding these methods, so I apologize for any trivial mistakes I might be making.

Method 1: at-home-modifier
I tried to use this link
http://forums.debian.net/viewtopic.php? … 50#p414837
to help me with this method. When I came to step 2, I ran into trouble with the apt-get commands, but when I run apt-get install, I get a message saying that I already have the latest version of xserver-xorg-input-evdev. I moved onto step 3 because of this. Would that be causing me any problems?
In step 3, it asks me to do
cp -r ../xserver-xorg-input-evdev-2.3.2/debian ./
which looks to me like moving the contents of that specific 'debian' folder into the current directory (I'm not sure exactly what it's asking). However, I cannot locate that folder and whereis returns only the folder name. What is this step asking and where is the folder located?

Method 2: Space2Ctrl
I got the contents of
https://github.com/r0adrunner/Space2Ctrl
and followed the instructions in the README file, but nothing seemed to change. Is there anything not written in the instructions that I should be doing?

Method 3: keydouble
I got
https://github.com/baskerville/keydouble
and followed the installation instructions. I then looked at the example configuration file in the example folder but was confused probably misinterpreted it. I then added
keycode 65 = Control_L
into the kdlaunch file, but this didn't seem to have any effect. What am I doing incorrectly?

Any other ways of doing this would also be much appreciated. Thank you in advance!

Last edited by lolita (2012-05-06 04:26:19)

Offline

Be excellent to each other!

#2 2012-05-06 00:47:11

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: [SOLVED] Turning spacebar into control key

Hello,

I think the easiest way is using xmodmap - http://gnu0.org/Switch%20Alt,%20Ctrl,%2 … odmap.html

I haven't tried the instructions for this action, but xmodmap does exactly what you want - without need for additional applications. Take a look at the two examples at the bottom of the screen.

Good luck!


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#3 2012-05-06 04:26:01

lolita
Member
Registered: 2012-04-22
Posts: 10

Re: [SOLVED] Turning spacebar into control key

I was thinking about using xmodmap but wasn't sure how to make the spacebar ctrl and keep the release as space. Fortunately your link gave me another idea which I have now successfully implemented. I would appreciate if anyone could help me with the spacebar issue, because I would prefer that slightly more. However, this way is perfectly fine. Thank you!

Offline

#4 2014-01-18 19:47:28

linuxthail
New Member
Registered: 2014-01-15
Posts: 2

Re: [SOLVED] Turning spacebar into control key

This thread is misleading.  The problem which is offered through the original post, and thread title, is not solved at all.  Closed would be a more appropriate tag, to save people wasting their time reading it thinking they're heading toward a solution to their problem.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo