4

Using the ratpoison window manager, how could I remap the "power key" (which is by default Ctrl-T) to something like the Windows button?

I have created a configuration file already (~/.ratpoisonrc) and just need to know how to bind a different key.

slm
  • 363,520
  • 117
  • 767
  • 871
ArchGoon
  • 41
  • 2
  • Where did you hear it is called the "power key"? I think you're talking about what is called the "escape key". – Mikel May 25 '14 at 17:42
  • The name escaped me for a moment, so I just called it that because it is basically a precursor for any action carried out in the wm. – ArchGoon May 25 '14 at 18:01

2 Answers2

4

Based on the ChangeEscapeKeyHOWTO and Enjoying More Screen Space with Ratpoison, I think putting

escape Super_L

in your ~/.ratpoisonrc should do the trick.

Mikel
  • 56,387
  • 13
  • 130
  • 149
  • I added that under `exec bindkeys` but to no avail. I rebooted, and the key was not changed. Then, I added `bind` before `escape Super_L` but it also was not changed. – ArchGoon May 25 '14 at 17:56
2

Question is old, but for anyone reading it:

escape grave

definekey top Insert readkey root

definekey root Insert link grave

This will effectively change C-t to the grave key. I don't know what the windows key is called.

Don't remember where I got this, but it works.

Lauer
  • 21
  • 1