hawck
GokuRakuJoudo
hawck | GokuRakuJoudo | |
---|---|---|
8 | 14 | |
521 | 1,101 | |
- | - | |
3.5 | 4.5 | |
4 months ago | 4 months ago | |
C++ | Clojure | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hawck
-
Unpacking Elixir: Syntax
That is actually very smart and helpful, thanks! :) My only gripe with autokey is that it's the only thing holding me back from wayland. Hawck is supposed to work with wayland but I never got it to work, was a while ago I though
https://github.com/snyball/Hawck
-
Curious to know what are your general experiences on using keyboard and mouse input automations on Wayland...
Autokey does not work yet, but there is Hawck and Espanso that you could play around with. And there is ydotool if all you need is simulating basic input (as in ydotool mousemove -x -10 -y -10, ydotool type 'Hello world!' and so on).
- Hawck – Linux AutoKey alternative that also works in Wayland
- Looking for a program similar to AHK on windows
-
Are they any good multi-key keyboard shortcut remapping daemons?
Hawck?
-
Linux Touchpad Like MacBook Update: Touchpad Gestures Now Shipping
>Creating a "standardized experience" like Windows usually means that configurability goes right out the window. It's how you get abominations like dconf or the GNOME music player
I don't understand how you connected these dots and I'd suggest against calling things abominations. You don't have to use dconf or the GNOME music player, those aren't standardized. If someone does like them I think they're perfectly fine, they do exactly what they're advertised to do. It's also fine if you don't like them, they're just two options from the many configuration databases and media players that you can choose from.
>But why shouldn't I be able to run xbindkeys or sxhkd or whatever hotkey dameon I want?
In some ways you actually can but it depends on the hotkey daemon and how it's implemented. The reason for that is technical, those are implemented with X grabs which have a number of usability and security issues. There are a few key rebinding daemons that use evdev directly so they work with Wayland:
https://github.com/samvel1024/kbct
https://github.com/snyball/Hawck
But these also do have similar security issues to X key grabs, in that they effectively operate as keyloggers. If you're looking for an API that works purely within Wayland and lets unprivileged clients request key rebinding, that doesn't exist yet. Somebody would need to specify what that API looks like and figure out a good way to make it secure. What would the end goal of the API be, and how could the system (and by extension, the user) tell the difference between a legitimate hotkey daemon and a malicious keylogger? And would it actually be any better than the approach of snooping evdev? I don't know the answer to these questions but you may have more experience with this than I do.
- Key Remapping in Linux — 2021 Edition
GokuRakuJoudo
-
Unpacking Elixir: Syntax
I am on macOS and I had to install Karabiner and goku (https://github.com/yqrashawn/GokuRakuJoudo) to get the french accented letters. Now right-alt+e gives me é, right-shift-alt+e gives me è, etc.
-
My Goku file to generate the Karabiner-Elements configuration
Looks related to this: https://github.com/yqrashawn/GokuRakuJoudo
-
Question for mac users about control key
An alternative for esc is to map the combo jk to it with karabiner. So basically j and k pressed together within an interval of 50ms or so. It can be ver comfortable as your fingers are almost always already there. Also, to get the full power of karabiner, suggest to use https://github.com/yqrashawn/GokuRakuJoudo
-
You're using function keys wrong
Karabiner has already been mentioned here but I'll add that goku (https://github.com/yqrashawn/GokuRakuJoudo) is THE way to setup Karabiner and it can be hard to overcome the extremely verbose and unergonomic default json config of Karabiner otherwise. Goku also makes it trivial to add shortcuts which are activated by quickly pressing one key while another is held. I use this for the kind of launch mode described in the OP. eg. w + e = editor (Intellij), w + r = chrome, w + f = firefox.. The drawback to these shortcuts is that they can unintentionally be activated when regularly typing since we don't always release a key before pressing the next. That's only happened seldomly for me though since "w" isn't a frequently used letter and I've set the shortcut activation window pretty low so the w + key has to be pressed essentially immediately after w.
Similarly, I use q + w for previous tab, q + e for next tab, and s+d to open the clipboard history from Alfred
-
Function Key Pro - Use a single function key to launch apps/use media features/simulate complex hotkeys
You can use Karabiner-Elements for all of these things. This would be a simple example for Goku:
-
The keyboard Bill Joy was using when he wrote vi
Once you're more familiar with it you can also use https://github.com/yqrashawn/GokuRakuJoudo to generate configs - where the rule for the above would be:
-
How do I change a keybinding from Caps + W to Caps only?
Maybe one day, you would like to try GoKu configuration if your config becomes more complicated. GoKu is an easy way to config the rule, simpler, more maintainable, and better. The configuration above can simplify like this: ``` :main [{:des "WASD Mode" :rules [:wasd-mode [:w :up_arrow] [:a :left_arrow] [:s :down_arrow] [:d :right_arrow] [:q :home] [:e :end] [:r :page_up] [:f :page_down]]}
- Programming on 34 Keys
-
Graphical tool for editing Karabiner layouts
Is there a third-party GUI tool for creating, editing, and visualizing Karabiner layouts, like a combination of Goku and Keyboard Layout Editor?
-
All* my macOS keyboard shortcuts
If you're using Karabiner, I HIGHLY recommend putting the time in to learn how to use Goku[1]. I initially found it when trying to find an easier way to express the extremely verbose Karabiner config json but was turned off by the unfamiliar clojure-like EDN data format and the somewhat lacking documentation. A couple years later I had the right combination of free time and frustration from managing my Karabiner config that I actually took the time to setup Goku. I've found it not only drastically simplified the setup I already had, but made it so much easier to extend it and really take advantage of Karabiner.
It mostly provides more convenient syntax for what you do in Karabiner, but it also provides new abstractions that it converts into the appropriate rules. "simlayers" for example are keyboard layers entered by pressing the trigger key and quickly pressing a layer key within a short timeout window. I've used this to set shortcuts like w+e to open IntelliJ, w+r to open chrome, s+d to open Alfred's clipboard history, etc.. Caveat being that there's a slight delay on your simlayer trigger keys entering their actual character since the layer timeout must be hit before the default keydown behavior of inserting a character is used. Also it's common to occasionally press a second key before releasing a first key while just typing naturally, so best to avoid using keys that you often roll into others while typing as trigger keys..
[1] https://github.com/yqrashawn/GokuRakuJoudo
What are some alternatives?
sddm - QML based X11 and Wayland display manager
kmonad - An advanced keyboard manager
keymapper - A cross-platform context-aware key remapper.
kmonad - An advanced keyboard manager
compute-runtime - Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver
keyd - A key remapping daemon for linux.
gtkplatform - Run Qt applications using gtk+ as a windowing system.
slate - A window management application (replacement for Divvy/SizeUp/ShiftIt)
therubyracer - Embed the V8 Javascript Interpreter into Ruby
xmonad-conf - Nakal's Xmonad (plus desktop) configuration
Waybar - Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
Capslock - Make Capslock Great Again!