Hacker Newsnew | past | comments | ask | show | jobs | submit | ra1n's commentslogin

I have swapped Caps Lock and Escape on my Linux personal laptop and I have grown used to it. So when I dual booted Windows on my machine, I used Powertoys[1] to achieve the same.

At work, I have no option to install Powertoys or Uncap[2] for that matter. AutoHotKey is the only way, but I'm unable to get it to work. I used this StackOverflow[3] answer, but with this, both Caps Lock and Escape send both of the keys. So I'm stuck occasionally messing up my Teams messages :)

[1]: https://github.com/microsoft/PowerToys [2]: https://github.com/susam/uncap [3]: https://stackoverflow.com/questions/38558376/how-to-map-caps...


Kanata[0] is amazing. It support both Linux and Windows. But I'm yet to try it on windows because my majority work is on linux.

[0] https://github.com/jtroo/kanata


> I have swapped Caps Lock and Escape on my Linux personal laptop and I have grown used to it.

I'd also suggest "home row modifier keys" (or "home row mods").

The idea is to have the key behave the same when tapped, but differently if held. (e.g. https://github.com/evilC/TapHoldManager implements this for AHK)

With home row modifiers, Shift/Ctrl/Win/Alt are put underneath fdsa (and jkl;). -- This reduces the need to use pinky fingers for these keys, & the fingers get to remain on home row more.


I've been using AHK to swap these keys for years, this script works (it's different than your linked StackOverflow answers):

    CapsLock::Esc
    Esc::CapsLock
I wrote about a number of other AHK quick wins, such as launching programs with global hotkeys here: https://nickjanetakis.com/blog/remap-and-set-global-hotkeys-...


Did you try scancode map registry[1]? I use it to swap Ctrl/CapsLock and it works well even with RDP softwares and run-as-admin apps which PowerToys couldn't handle.

[1] https://superuser.com/questions/550679/where-can-i-find-wind...


I was stuck on the same struggles, but eventually managed to bodge something together:

https://github.com/hwalinga/dotfiles/blob/master/CapsLockCtr...

It also implements the double feature functionality of CapsLock that now functions as Ctrl when pressed with another key, and just Esc when tapped.


Can’t give an AHK answer but what about Sharpkeys?


These are the types of applications that I really love. It stores the data in a cloud service that already has enough free capacity for say a notes app. It's like how we can store pass(1) passwords on a git repository (Sync it with Github) and use that as the destination of Android Password Store[1], and you have a easy password manager that syncs across devices.

[1] https://github.com/android-password-store/Android-Password-S...


I have been wondering about using a set of *nix tools backed by a git repository as a planner/diary. This tool seems to be an interesting addition for the presentation front.


How do you automatically remove UTM tracking parts of the URLs by default ? Is there a browser extension ?


UTM tracking is probably the least of your concerns - all it does is aid in campaign analytics for the website you're visiting, it would do nothing to the third-party behavior and activity trackers that you're likely trying to avoid.


UTM is Google Analytics and also helps Google do ad targeting even if they don't want to admit it.


UTM tags in that sense are collected on the client side by tag manager or google analytics, which would be blocked by an ad-blocking extension anyways. UTM tags can/often are collected by the website themselves to do first-party near-100% confidence campaign analytics.


So what you're saying is that there is plenty of other spyware (some of it server-side) that freeloads off those UTM query params? Sounds like another good reason to strip them?


That may be the case for blog sites, but big companies just directly ingest it into their application or internal analytics platform for a dashboard of which sources were the biggest contributors.

For example - a company sends out a newsletter with a link to a blog post goes out to 20k subscribers with UTM params, but those UTM params end up getting 100k clicks, 80k with a referer of "news.ycombinator.com". This means that someone posted it on HN with those UTM params, which indicates that they should continue to prioritize that newsletter, since the audience is likely to cause a snowball effect of traffic and thus growth.

Is that a bad thing? Knowing that traffic came from x source so that they can properly route future resources to the those high-impact sources?


I wonder what would happen, if a significant number of internet users starts faking these. Either with random data, or "poisoned" data/referrers.



The send to bottom button making the dialog go down slowly was so hilarious !


that got me too. The very slow speed of it


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: