Linux mint remap keys

Linux Mint Forums

Forum rules
There are no such things as «stupid» questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

remapping keyboard key

Post by eagerToLearn » Tue Aug 23, 2016 11:25 am

Hi I’m very new to the linux world, just installed linux mint 18 yesterday and now i’m trying to set everything up as i’m used to, on my windows machine. One thing i couldn’t find an answer for is: How can I change my CAPS LOCK key to any different key. In that specific case to F11.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

all41 Level 18
Posts: 8929 Joined: Tue Dec 31, 2013 9:12 am Location: Computer, Car, Cage

Re: remapping keyboard key

Post by all41 » Tue Aug 23, 2016 12:51 pm

Re: remapping keyboard key

Post by eagerToLearn » Tue Aug 23, 2016 1:28 pm

all41 wrote: There are options in the System Settings/Keyboard/Layout/Options/Caps Lock key behaviour

Thank you for your answer, but in this menu i can’t find an option to assign a different input to the capslock key. any other advise?

all41 Level 18
Posts: 8929 Joined: Tue Dec 31, 2013 9:12 am Location: Computer, Car, Cage

Re: remapping keyboard key

Post by all41 » Tue Aug 23, 2016 1:30 pm

Re: remapping keyboard key

Post by eagerToLearn » Tue Aug 23, 2016 1:33 pm

all41 Level 18
Posts: 8929 Joined: Tue Dec 31, 2013 9:12 am Location: Computer, Car, Cage

Re: remapping keyboard key

Post by all41 » Tue Aug 23, 2016 2:31 pm

Читайте также:  Linux установка драйвера ati radeon

In that menu you can swap the Caps Lock and the Esc key.
Don’t know how to assign it to F11 which is assigned as Fullscreen.

Re: remapping keyboard key

Post by Cosmo. » Tue Aug 23, 2016 4:07 pm

Question: What is the goal of remapping the caps lock key to F11? In other words: what shall a globally assigned F 11 do at all?

Note, that the fullscreen function is not a global function, but a application specific function. Not all applications support it. Those, which do this, use very mostly F 11 for that, this is a kind of unwritten rule. But it is the configuration of the application, which key is actually used. Only if the application supports customizing the keyboard shortcuts (e.g. LibreOffice) you could change it (but I am unsure, if LO would accept caps lock, never tried it and I never would do this).

Out of curiosity: Which key shall after your change toggle caps lock at all?

Re: remapping keyboard key

Post by eagerToLearn » Tue Aug 23, 2016 8:37 pm

Cosmo. wrote: Question: What is the goal of remapping the caps lock key to F11? In other words: what shall a globally assigned F 11 do at all?

The reason behind remapping the Capslock key, is because the key is at a very easy-to-reach postition on the keyboard. But since most programs do not let you use capslock for a custom keybind, I remapped it to F11, which is a key most programs I use, don’t have anything important linked to.

So for example when i write code, I use the (remapped) capslock key to insert code-snippets or when I write HTML I use it to trigger EMMET, which is some kind of textexpander.

I usually don’t need to write everything in capital letters, since I tend to not shout to much at people on the internet But if everything goes wrong it’s set to the right windows key.

edit:
Still looking for someone who can help me with that.

Источник

Linux Mint Forums

[SOLVED] How to mapping any key to another any key?

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

[SOLVED] How to mapping any key to another any key?

Post by tuxtuxtux » Thu Nov 29, 2018 6:35 am

Hello everyone, my laptop keyboard letter «E» it broke and cannot type letter «E» using that (im using virtual keyboard right now )
so what i want to ask. is there any apps that can mapping my letter e to another key (ex: right shift key, i rarely used that one)
and can you provide the tutorial how to do that?
thanks before

Читайте также:  Linux прав 777 chmod

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Re: How to mapping any key to another any key?

Post by xenopeek » Thu Nov 29, 2018 1:15 pm

You could use the xdotool command for this. First, install the xdotool package through Software Manager. Then in Keyboard settings in your menu find the place where you can configure Shortcuts and add a custom shortcut. Give it a name and configure the command as this to type letter ‘e’ (replace e with E to type ‘E’):
xdotool type e
After adding the custom shortcut click on the blank shortcut to the right of it in the list and it should let you press a keyboard combination to bind to your custom shortcut. A keyboard combination will consist of one or more modifier keys (ctrl, alt, shift, super) and a letter, digit or function key. Which to bind it to is a bit of conundrum. Check in the applications which you most frequently use (where you use keyboard shortcuts) that you don’t bind it to a keyboard combination that you need.

Источник

Linux Mint Forums

Easy way to permanently remap two keyboard keys

Forum rules
There are no such things as «stupid» questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Easy way to permanently remap two keyboard keys

Post by franksr » Thu May 16, 2019 3:19 pm

Hi. I’m new to the forum and new to Linux Mint. I’m hoping someone can help me with a simple solution on how to permanently remap the Right Shift key to the Up Arrow key and the Up Arrow key to the Right Shift key. Lenovo in their infinite wisdom totally messed up the keyboard design by placing the Right Shift key to the right of the Up Arrow key on my Yoga 910 making usage of the Right Shift key counterintuitive. This wasn’t a problem under Windows 10 because I physically swapped the key caps to where they should have been in the first place. I then used a keyboard GUI remapping application to remap the keys. This worked fine until I decided to install Linux Mint. The problem is all my research on how to remap the keys under Linux is way, repeat way, above my head. I can’t find an application with a GUI to allow me to accomplish this. Can someone please provide me with SIMPLE instructions on how to permanently reverse the two keys mappings? Alternatively, is there a way to force Linux to access the Windows mappings which are on the same drive? Thanks in advance for a solution.

Читайте также:  Processes in linux operating system

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

kukamuumuka Level 16
Posts: 6705 Joined: Tue Sep 03, 2013 4:51 am Location: Finland Contact:

Re: Easy way to permanently remap two keyboard keys

Post by kukamuumuka » Fri May 17, 2019 1:12 am

Keyboard > Layouts > Options
[SOLVED] How to mapping any key to another any key? ->
viewtopic.php?t=282482#p1559702

Re: Easy way to permanently remap two keyboard keys

Post by magnus7 » Fri May 17, 2019 8:50 am

sudo sed -i \ -e '29s|.*|key;|' \ -e '83s|.*|key;|' \ /usr/share/X11/xkb/symbols/pc \ && sudo dpkg-reconfigure xkb-data

Re: Easy way to permanently remap two keyboard keys

Post by franksr » Fri May 17, 2019 6:32 pm

magnus7, Thank you very much for your help! I wasn’t sure of the spacing in the commands but it worked first time. I had spent hours scouring the Internet, to no avail. Thanks again!

  • Important Notices
  • ↳ Rules & Notices
  • ↳ Releases & Announcements
  • ↳ Main Edition Support
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Graphics Cards & Monitors
  • ↳ Printers & Scanners
  • ↳ Storage
  • ↳ Sound
  • ↳ Networking
  • ↳ Virtual Machines
  • ↳ Desktop & Window Managers
  • ↳ Cinnamon
  • ↳ MATE
  • ↳ Xfce
  • ↳ Other topics
  • ↳ Non-technical Questions
  • ↳ Tutorials
  • Debian Edition Support
  • ↳ LMDE Forums
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Networking
  • ↳ Tutorials
  • ↳ Other Topics & Open Discussion
  • ↳ LMDE Archive
  • Interests
  • ↳ Gaming
  • ↳ Scripts & Bash
  • ↳ Programming & Development
  • Customization
  • ↳ Themes, Icons & Wallpaper
  • ↳ Compiz, Conky, Docks & Widgets
  • ↳ Screenshots
  • ↳ Your Artwork
  • Chat
  • ↳ Introduce Yourself
  • ↳ Chat about Linux Mint
  • ↳ Chat about Linux
  • ↳ Open Chat
  • ↳ Suggestions & Feedback
  • International
  • ↳ Translations
  • ↳ Deutsch — German
  • ↳ Español — Spanish
  • ↳ Français — French
  • ↳ Italiano — Italian
  • ↳ Nederlands — Dutch
  • ↳ Português — Portuguese
  • ↳ Русский — Russian
  • ↳ Suomi — Finnish
  • ↳ Other Languages
  • ↳ Čeština-Slovenčina — Czech-Slovak
  • ↳ Magyar — Hungarian
  • ↳ 日本語 — Japanese
  • ↳ Polski — Polish
  • ↳ Svenska — Swedish
  • ↳ Українська — Ukrainian

Powered by phpBB® Forum Software © phpBB Limited

Источник

Оцените статью
Adblock
detector