How can I remap my keyboard to type a pipe symbol on Linux?

0
60
Asked By GuitarHero88 On

I'm having a bit of a challenge here. On Windows, I can type the pipe symbol by pressing Alt + 124, but that doesn't work on Linux. Using Shift + Ctrl + U followed by the code isn't practical for me either. I'm trying to use a tool called Keyd for this, but I'm running into a problem because my physical keyboard is US standard, while my system is set to the Brazilian layout. This means I don't have direct access to the pipe and backslash keys for remapping. Does anyone have solutions for how I can get around this mismatch between the physical and software keyboard layouts?

3 Answers

Answered By LayoutMaster21 On

If you're looking at your keyboard drivers, you might find that the bar symbol should still be accessible with Shift and backslash on a standard setup.

Answered By QuickCoder99 On

Keyd operates independently of the keyboard layout, so all keys should still be available. However, remember that the pipe symbol isn't directly referenced as "pipe" in Keyd. Instead, you can just use the actual symbol | in your configuration file like this: `home = |`. If you’re looking for an alternative that doesn't require Keyd running all the time, consider setting up a compose key. You could type the pipe symbol by pressing followed by V and L in sequence. Plus, you can even customize your compose sequences!

TechGuru12 -

I tried using `home = |`, but it just remaps to } on my BR layout. It seems the layout really does matter here. Also, I'm not clear on how to set up a compose key. I’ve attempted it with my left Alt as the compose key, but nothing happens when I try the sequence.

Answered By TypoFixer76 On

That's interesting—you must have a very unusual keyboard if it doesn't have the | key and it’s labeled US layout. Typically, that key is right above the ENTER key on standard US keyboards, regardless of whether you have a number pad or not.

KeyboardWizard45 -

I think you misunderstood. I do have the physical key since it's a US keyboard, but I'm using the ABNT2 layout for Portuguese (Brazil), which changes the function of that key to `}` instead.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.