stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remapped keys don't function?


From: Russell Adams
Subject: Remapped keys don't function?
Date: Mon, 17 Aug 2020 18:53:52 +0200

Using stumpwm-20200715-git from Quicklisp with SBCL 1.4.9.

I've tried to remap the keys for Firefox to be more Emacs
friendly. I'm basing my configuration on the example in the
documentation.

  ;; Fix awful Firefox keybindings
  (define-remapped-keys
    '(("Firefox"
       ("M-w"   . "C-c")
       ("C-y"   . "C-v")
       ("M-<"   . "Home")
       ("M->"   . "End")
       ("C-s"   . "F3")
       ("C-r"   . "S-F3")
       ("C-g"   . "Escape")
       ("M-."   . "C-Tab")
       ("M-,"   . "C-S-Tab"))))

Unfortunately none of the remapped keys are working. Firefox
stubbornly stays with the defaults. I believe I had this working before.

I've connected with SLIME and been able to determine that the key
mappings are present and match the Firefox window.

STUMPWM> (all-windows)
(#S(TILE-WINDOW "emacs@maokai" #x2400023) #S(TILE-WINDOW "0:0.0 zsh" #x1400007)
 #S(TILE-WINDOW "adamsrl@:~" #x1600007)
 #S(TILE-WINDOW "conky (maokai)" #x1000001)
 #S(TILE-WINDOW 
"adamsrl@:~/.quicklisp/dists/quicklisp/software/stumpwm-20200715-git" #x2200007)
 #S(TILE-WINDOW "adamsrl@:~" #x2000007)
 #S(TILE-WINDOW "firefox x-grabkey at DuckDuckGo - Mozilla Firefox" #x1A00003)
 #S(TILE-WINDOW "root@maokai:/etc/portage" #x2600007)
 #S(TILE-WINDOW "adamsrl@:~" #x2800007)
 #S(TILE-WINDOW "Mumble -- 1.3.1" #x2A00006))

STUMPWM> (mapcar #'find-remap-keys-by-window (all-windows))
(NIL NIL NIL NIL NIL NIL
 ("Firefox"
  ("M-w"
   #S(KEY
      :KEYSYM 99
      :SHIFT NIL
      :CONTROL T
      :META NIL
      :ALT NIL
      :HYPER NIL
      :SUPER NIL))
      ....... skipping
  ("M-,"
   #S(KEY
      :KEYSYM 65289
      :SHIFT T
      :CONTROL T
      :META NIL
      :ALT NIL
      :HYPER NIL
      :SUPER NIL)))
      NIL NIL NIL)

Can someone provide some guidance on how to determine why they aren't
being passed on?

Thanks.

------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3



reply via email to

[Prev in Thread] Current Thread [Next in Thread]