ubuntu 密钥_如何在ubuntu中重新映射您的密钥

ubuntu 密钥

Having broken keys on your keyboard sucks. Especially when you love typing fast . Imagine having one broken key which forces you to use on screen keyboard all the time you want to send messages to your friends or whenever you want to code . Using onscreen keyboards can get really irritating and it also reduces your efficiency. There are keys that we use regularly and there are others that we barely use or there might be two keys doing the same thing and you only need one of them; Right and Left ALT..Right and Left Control.

键盘上的断键很烂。 特别是当您喜欢快速打字时。 想象一下,如果有一个损坏的按键,迫使您一直想在屏幕上使用键盘向您的朋友发送消息,或者每次您想编码时,都要使用它。 使用屏幕键盘会很烦人,而且还会降低您的效率。 有一些我们经常使用的密钥,有一些我们很少使用,或者可能有两个密钥在做相同的事情,而您只需要其中一个即可。 左右ALT ..左右控制。

Let’s say your m key is broken and you don’t think it’s economical replacing a whole keyboard because of that one key . You can map key m with the Right Alt to solve this problem . Remapping the keys means changing the input behavior of your keyboard and making it work as we want, not as it was intended . In this tutorial we will learn how to do that in Ubuntu using “xmodmap” .

假设您的m键已损坏,并且由于一个键而替换整个键盘并不经济。 您可以使用右Alt映射键m来解决此问题。 重新映射键意味着更改键盘的输入行为并使其按我们期望的方式工作,而不是按预期的方式工作。 在本教程中,我们将学习如何在Ubuntu中使用“ xmodmap”来做到这一点。

xmodmap -pk

Type the above command on your terminal.It is used to find the keyCode(number assigned to key)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值