I have an Apple keyboard with a cmd key which I\'m trying to swap with the control key.
From googleing the problem and searching across the forum I came with a several s
Here's what I sometimes use to swap the control and caps-lock keys. It sounds like you've already tried similar things, but maybe you can hack this into something that will work.
To use this, you'd need to know xmodmap's name for the command key. The xev
command, if you have it, might be useful for figuring this out.
#!/bin/sh
xmodmap - <