News for hackers. Stuff that matters.
Re:macOS 13.5 no longer allows setting system wide ulimits by hotnfresh on Wednesday August 23, 2023 @10:13AM (#37236224)
And if you do it in the kernel, then any other users on the machine are stuck with your choice. The MacOS setting is per-user, but affects very nearly everything, except the recovery environment and I guess the login screen, for good reasons.
Re:macOS 13.5 no longer allows setting system wide ulimits by jwells89 on Wednesday August 23, 2023 @10:38AM (#37236709)
It makes me wonder, how exactly would one go about implementing Linux remapping that works on everything on a per-user basis? Is there a way to hook into the USB HID implementation and change what it reports to X, Wayland, etc and flip it on/off based on user preferences?
Re:macOS 13.5 no longer allows setting system wide ulimits by bombcar on Wednesday August 23, 2023 @10:53AM (#37236966)
You'd likely need to have the kernel be able to switch "keymaps" at anytime (and this is likely to be privileged and need to be done by root).

I know there was a way to load different keyboard layouts, but the problem with those mechanisms is they often cannot remap modifier keys, of which capslock is a special case of.