博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
如何禁用或重新分配Windows密钥?
阅读量:2509 次
发布时间:2019-05-11

本文共 4000 字,大约阅读时间需要 13 分钟。

If you’re not sold on the functionality of the now ubiquitous Windows key, can you reassign it to a more useful task? Read on to see how.

如果您不喜欢现在无处不在的Windows键的功能,可以将它重新分配给更有用的任务吗? 继续阅读以了解操作方法。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

问题 (The Question)

SuperUser reader Auron wants to know:

超级用户读者Auron想知道:

Between Ctrl and Alt, modern keyboards have an abominable key: the ‘Windows’ key :P

CtrlAlt之间 ,现代键盘具有可恶的键:“ Windows”键:P

By default, when this key is pressed alone it opens the Start menu. Many applications and a great number of games work in fullscreen mode, and if you press this key accidentally, most of times because you wanted to press the Ctrl or Alt keys, the application usually freezes for a while and minimizes itself. If you are lucky, your videogame will pause, but sometimes it continues even when it is minimized.

默认情况下,当单独按下此键时,它将打开“开始”菜单。 许多应用程序和大量游戏都在全屏模式下工作,如果您不小心按此键(通常是因为要按CtrlAlt键),则该应用程序通常会冻结一段时间并将其最小化。 如果幸运的话,您的视频游戏会暂停,但有时即使最小化也会继续。

Is it possible to disable the ‘Windows’ key?

是否可以禁用“ Windows”键?

It would be possible to show the Start menu with another combination of keys? I would like to keep combinations that use the Windows key working, like Windows+L, which leaves current session.

是否可以使用其他组合键显示“开始”菜单? 我想保持使用Windows键的组合正常工作,例如Windows + L ,这会保留当前会话。

What can Auron do?

奥龙能做什么?

答案 (The Answer)

Several SuperUser contributors all pitched some great ideas for helping Auron. Phoshi suggests:

几位SuperUser贡献者都提出了一些帮助Auron的好主意。 Phoshi建议:

Autohotkey?

自动热键?

That can do a lot more, too.

这也可以做得更多。

LWin::Return
LWin::Return

disables it, but

禁用它,但是

#F::Run firefox.exe

would tell Win&F to run firefox. You could even set the winkey to only be disabled ingame, or require a double-press to fire, or have to hold it down before it triggers, and more!

会告诉Win&F运行firefox。 您甚至可以将Winkey设置为仅在游戏中被禁用,或者需要双击以触发,或者必须在触发之前将其按住,等等!

If you’ve never used AutoHotkey before, we’d strongly suggest checking out some of our articles on the handy little program including: , , and .

如果您以前从未使用过AutoHotkey,我们强烈建议您查看有关便捷小程序的一些文章,包括: , 和 。

Another contributor, Junior Mayhé, offers this suggestion:

另一个贡献者JuniorMayhé提供了以下建议:

You can download SharpKeys! It saved my life, especially when I want to press ESC and accidentally press F1.

您可以下载SharpKeys! 它挽救了我的生命,尤其是当我想按ESC并不小心按F1时。

SharpKeys is free. You can download it from 

SharpKeys是免费的。 您可以从下载

  • When installed, click on Add button,

    安装后,点击添加按钮,
  • on Map this key (from key) section click on Type key button. Type F1.

    在“ 映射此键(从键)”部分,单击“ 类型键”按钮。 键入F1。

  • on the To this key (to key) section, select Turn Key off item.

    在“ 转到此键(转到键)”部分,选择“关闭键”项。

Confirm with OK, reboot your Windows (because registry got changed). You’re done!

单击确定确认,重新启动Windows(因为注册表已更改)。 你完成了!

Finally, MiffTheFox offers a solution that simply disables the Windows key altogether so there is no accidental key presses when using the left ALT and CTRL keys:

最后,MiffTheFox提供了一种解决方案,可以完全禁用Windows键,因此在使用左ALT和CTRL键时不会意外按下键:

You can add a certain value to the Registry to disable it. 

您可以将某个值添加到注册表以将其禁用。

However, this will disable the key entirely, as in no WinKey shortcuts. However, what I do is that I disable only the left Windows key, and use the right one to enter shortcuts. It’s a sacrifice, but it means that I don’t minimize anything fullscreen by accident.

但是,这将完全禁用该密钥,就像没有WinKey快捷方式一样。 但是,我要做的是仅禁用左Windows键,并使用右键输入快捷方式。 这是一种牺牲,但这意味着我不会偶然将全屏显示最小化。

Thanks to their contributions we have two perfectly serviceable solutions to help remap the Windows (or any) key to a new function and one way to outright disable it.

归功于他们的贡献,我们提供了两种非常实用的解决方案,可帮助将Windows(或任何)键重新映射为新功能,以及一种完全禁用它的方法。



Have something to add to the explanation? Sound off in the the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the .

有什么补充说明吗? 在评论中听起来不对。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 查看 。

翻译自:

转载地址:http://tvkwd.baihongyu.com/

你可能感兴趣的文章
数据结构-栈 C和C++的实现
查看>>
MySQL基本命令和常用数据库对象
查看>>
poj 1222 EXTENDED LIGHTS OUT(位运算+枚举)
查看>>
进程和线程概念及原理
查看>>
Lucene、ES好文章
查看>>
android 生命周期
查看>>
jquery--this
查看>>
MySQL 5.1参考手册
查看>>
TensorFlow安装流程(GPU加速)
查看>>
OpenStack的容器服务体验
查看>>
【BZOJ 4059】 (分治暴力|扫描线+线段树)
查看>>
BZOJ 1066 蜥蜴(网络流)
查看>>
提高批量插入数据的方法
查看>>
Linux重启Mysql命令
查看>>
前端模块化:RequireJS(转)
查看>>
linux 内核的优化
查看>>
近端梯度算法(Proximal Gradient Descent)
查看>>
DRM-内容数据版权加密保护技术学习(中):License预发放实现 (转)
查看>>
TCP与UDP协议
查看>>
php上传文件如何保证上传文件不被改变或者乱码
查看>>