News for hackers. Stuff that matters.
Re:Some Excel users pop F1 off their keyboards (2012) by jabot on Friday September 22, 2017 @08:29AM (#15311521)
This should really be solved in software...

However, I remember trying to map capslock to control on windows a few years back. It involved becoming an administrator and entering an opaque hexadecimal key into the registry.

Simply popping off the key is probably easier.

Oh, on linux it boils down to "setxkbmap -option ctrl:nocaps", which doesn't require root...

Re:Some Excel users pop F1 off their keyboards (2012) by slezyr on Friday September 22, 2017 @08:41AM (#15311601)
Or even better solution: programmable keyboards. It's sad that just few keyboards have opensource firmware and allow to remap keys.

One of them Ergodox EZ ~$350 https://ergodox-ez.com/

Re:Some Excel users pop F1 off their keyboards (2012) by mannykannot on Friday September 22, 2017 @09:37AM (#15312024)
In at least one finance company I know of, alternative keyboards are not permitted without getting security's permission. They might not do a very thorough examination, but I can imagine they might disallow a programmable keyboard on the basis of it being too complex to analyze the risks.
Re:Some Excel users pop F1 off their keyboards (2012) by jabot on Friday September 22, 2017 @08:44AM (#15311614)
I have an atreus keyboard, and I have changed the layout :-)

However, 350$ seems like a lot of money for a problem that should really be solvable at no cost in software...

Re:Some Excel users pop F1 off their keyboards (2012) by slezyr on Friday September 22, 2017 @08:53AM (#15311691)
The biggest problem with software (on OS side) is than you can't use your custom layout in BIOS, LiveCDs or when you need to type password if your hardware is encrypted.

Another problem is games. I use dvorak and all games use qwerty bindings so you need either to remap keys for each game or start game with QWERTY layout. If you forgot to start it with qwerty you need to restart the game, which is was really frustrating for me. It's even more problematical with online games like League of legends and etc.

I see no problem for this feature to be present on even cheapest keyboards. I picked ergodox just for an examle.

Re:Some Excel users pop F1 off their keyboards (2012) by jabot on Friday September 22, 2017 @09:03AM (#15311759)
Fair point.

In the context of the article we're talking about a highly specialized office environment, where bios/live boot environments etc. do not happen often. There, a software solution is useful and cheap.

In the more general case, and for those people that do not mind carrying their own keyboard everywhere, you are right. Especially since a keyboard that expensive probably lasts for a long enough time...

Re:Some Excel users pop F1 off their keyboards (2012) by dmitriid on Friday September 22, 2017 @09:04AM (#15311768)
> This should really be solved in software

And this software is called "Excel". This should really be solved in software called "Excel". As in: remove functionality from F1

Re:Some Excel users pop F1 off their keyboards (2012) by woodrowbarlow on Friday September 22, 2017 @12:24PM (#15313554)
the problem cited in the article is performance. a "help" dialog shouldn't take several seconds to open, it shouldn't take foreground control, and you shouldn't have to wait for it to finish opening in order to close it. and you definitely shouldn't have to move your hand to the mouse to close something that was opened by an accidental keystroke.

if the view doesn't get obstructed and you could simply tap F1 a second time (or Esc) and instantly be back to what you were doing, i think the UX problem would be solved.

in firefox, i sometimes hit F12 on accident -- but i can just tap it again to close the dev tools, even if it hasn't finished loading. that's decent UX.

Re:Some Excel users pop F1 off their keyboards (2012) by dmitriid on Sunday September 24, 2017 @03:44AM (#15323770)
No.. The problem cited in the article is: a common operation that is invoked hundreds of times a day is bound to F2. An uncommon operation that breaks the user's flow is bound to F1. Users keep hitting F1 by accident.

The only proper and decent UX in this case is to remove the source of the error. You do that by removing the binding of F1

Re:Some Excel users pop F1 off their keyboards (2012) by woodrowbarlow on Monday September 25, 2017 @09:44AM (#15330381)
> that breaks the user's flow

this is the problem. and it breaks the user's flow because it obscures the work area and can't be instantly dismissed.

there's nothing wrong with putting relatively uncommon actions next to common actions on the keyboard as long as the actions don't break the user's flow.

Re:Some Excel users pop F1 off their keyboards (2012) by dmitriid on Monday September 25, 2017 @03:33PM (#15333333)
> as long as the actions don't break the user's flow.

This. Yet you propose to keep the action that breaks the user flow even if it's often triggered by mistake ;)

I propose to remove the action that breaks the user flow.

Re:Some Excel users pop F1 off their keyboards (2012) by yread on Friday September 22, 2017 @09:42AM (#15312064)
You could setup an AutoHotkey to "silence" it

https://superuser.com/questions/291018/consume-keystroke-in-...

Re:Some Excel users pop F1 off their keyboards (2012) by Lorkki on Friday September 22, 2017 @08:40AM (#15311592)
An official keymap editor exists for Windows, but it's not terribly well supported, and I can see how using it would be a hassle especially if you're not technically inclined: https://answers.microsoft.com/en-us/windows/forum/windows_10...
Re:Some Excel users pop F1 off their keyboards (2012) by jabot on Friday September 22, 2017 @08:48AM (#15311653)
I did not know that tool. Also, apparently it cannot map control keys...

https://superuser.com/questions/413384/how-to-remap-control-...

Re:Some Excel users pop F1 off their keyboards (2012) by WorldMaker on Friday September 22, 2017 @12:22PM (#15313533)
SharpKeys [1] is the tool I've kept in my toolbelt to do this for several years now. (Though I swap capslock for an extra backspace or escape depending on mood and amount of Vim in my life at the time.)

[1] https://github.com/randyrants/sharpkeys

Re:Some Excel users pop F1 off their keyboards (2012) by SwellJoe on Friday September 22, 2017 @08:54AM (#15311707)
On Linux with Gnome you can use Tweak Tool. It's under Typing->Caps Lock Behavior.
Re:Some Excel users pop F1 off their keyboards (2012) by cooper12 on Friday September 22, 2017 @08:49AM (#15311664)
On MacOS it Just Works (at least for modifier keys) :) https://i.imgur.com/Bt1X7Nq.png
Re:Some Excel users pop F1 off their keyboards (2012) by LambdaComplex on Friday September 22, 2017 @10:15AM (#15312336)
My keyboard (Ducky Shine 3) actually has a dip switch on the back that swaps capslock and control. Not sure if any other companies do that though
Re:Some Excel users pop F1 off their keyboards (2012) by joejev on Friday September 22, 2017 @06:46PM (#15316597)
Filco also has this.