• You are not logged in.

DreymaR's Big Bag of Keyboard Tricks (Linux/XKB files included)!

  • Started by DreymaR
  • 377 Replies:
  • Reputation: 204
  • From: Viken, Norway
  • Registered: 13-Dec-2006
  • Posts: 5,321

On a side note: The GitHub issues functionality is the best way to report issues with the BigBag files. However, I'll happily answer here too, it's just a bit more messy and harder to find afterwards.

Try updating to the latest commit. I had a wrong scan code for the <BKSP> key in the extend file (it was incorrectly called <BACK>, an artefact of me working cross-platform).

Here's the current Backspace mapping:

    key <BKSP> { symbols[Group1]=[Any       , Any       , Any       , Any       ,   // BackSpace
                    Pause                       , Pause                         ,   // Pause/Break
                    Pause                       , Pause                         ] , // (<BRK> is special)
                 actions[Group1]=[NoAction(), NoAction(), NoAction(), NoAction(),
                    Redirect(key=<PAUS>,clearmods=LevelFive), Redirect(key=<PAUS>,clearmods=LevelFive) ,
                    NoAction()                  , NoAction()                    ] ,
                 repeat=yes     };  // BackSpace

If instead you want to output Ctrl+Backspace, it's doable I think. You'd want to use this I suppose:

    key <BKSP> { symbols[Group1]=[Any       , Any       , Any       , Any       ,   // BackSpace
                    BackSpace                   , BackSpace                   ,   // Ctrl+Backspace (by action)
                    BackSpace                   , BackSpace                   ] , // 
                 actions[Group1]=[NoAction(), NoAction(), NoAction(), NoAction(),
      Redirect(key=<BKSP>,mods=Control,clearmods=LevelFive), Redirect(key=<BKSP>,mods=Shift+Control,clearmods=LevelFive),  // Ctrl+Back
      Redirect(key=<BKSP>,mods=Control,clearmods=LevelFive), Redirect(key=<BKSP>,mods=Shift+Control,clearmods=LevelFive)], // Ctrl+Back
                 repeat=yes     };  // BackSpace

Please let me know if that works!

*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

Online
  • 0
  • Reputation: 0
  • Registered: 27-May-2023
  • Posts: 3

Wow, that works wonderfully! I am greatly appreciative of all your work put into the Big Bag.

I apologize for any inconvenience caused by not using the GitHub Issues, but I'll keep it in mind for future reference. I'm fairly new to this whole programming thing and it just somehow slipped my mind.

Much thanks :)

Offline
  • 0
  • Reputation: 204
  • From: Viken, Norway
  • Registered: 13-Dec-2006
  • Posts: 5,321

Glad it worked! I'll slip this mapping into the symbols/extend file, commented out, so people can use it if they wish to.

*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

Online
  • 0