Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use an extremely old retro-keyboard.... " TVS 101.PC-XT"
This keyboard has only 101 keys (AlphaNumeric, NumPad, FunctionKeys); And I don't intent to change it for I am very comfortable with it !

Since this keyboard doesn't have a super key (windows Key), I am looking for some way out that I can emulate this.
I am looking for a shortcut key combination like Ctrl+Shift+SysRQ
which might behave as the windows logo key Key when used in combination altogether?



NOTE: I've already gone through this, however this in not the workout in my case since I don't use gnome (no chance for Gnome settings).. I am on Ubuntu minimal + cinnamon.. I am also unable to locate the xmodmap commands to achieve this !

share|improve this question
    
Please add the output of xmodmap -pke | less. Maybe I can find the right keys :) –  Seth Jan 24 '13 at 18:12
add comment

1 Answer

up vote 3 down vote accepted

Here is how I would do it without xmodmap. I'm not sure if I can emulate the SysRQ key this way, but it should work for other keys.

Step One

Install xbindkeys and xte:

sudo apt-get install xbindkeys xautomation 

Now we need to find the bindings of the keys you want to use as Super.
Run xbindkeys -k and press the keys you want. The output should look something like this:

    m:0x15 + c:110
Control+Shift+Mod2 + Home  

(I used Home because I can't use SysRQ on this computer since it requires FN to access it).

Step Two

Create the xbindkeys configuration file:

xbindkeys --defaults > $HOME/.xbindkeysrc  

Now open the file so we can edit it:

gedit .xbindkeysrc

Add this to the bottom of the file:

"xte 'key Super_L'"
 m:0x15 + c:110
Control+Shift+Mod2 + Home  

Save the file.

NOTE: The default xindkeys config file comes with some default settings for other keys. You might want to remove these.

Step Three

We need to have xbindkeys load on startup so our keys will be emulated.

  1. Open "Startup Applications" from the dash (or Cinnamons menu).

  2. Click "Add".

  3. In the "Command" field add: usr/bin/xbindkeys. The "Name" and "Comment" fields are optional.

enter image description here

4: Click "Add".

Restart the computer. The keys you chose earlier should now act as Super when you press them.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.