Comments (8)
Thanks for the compliment!
I'll look into this feature.
My understanding is that wmctrl
is an executable that's installed by virtual box tools. When it's executed with your example command, it deactivates virtualbox capturing your inputs and you can control the host again. Is my understanding correct?
I personally use VMware for my VMs and it uses a key combination to return to the host, so I haven't had a need to use kanata for this workflow. Does virtualbox have any way to check for a key combo to leave the VM as a temporary workaround?
Looking this up now while not on my phone; seems my understanding of wmctrl
was incorrect.
from kanata.
I've implemented something that might work for your needs. You can check out the pre-release to try it out:
https://github.com/jtroo/kanata/releases/tag/v1.0.4
Note that I've added conditional compilation for this feature since I consider it to be a bit dangerous. E.g. changing your configuration file is an attack vector for arbitrary code execution.
from kanata.
The command works. Yet In some cases as I run it in terminal after the info message the cursor goes down rapidly without any trigger from my part.
.
One time it opened my image viewer 50 times and I had to shut the terminal.
I tested the executable kanata without cmd and also the cursor is moving fast in the terminal.
from kanata.
The downward cursor movement isn't new; I've noticed it in the past and have been trying to mitigate it for some time. The "catching only releases" message on init is one such mitigation attempt. It seems to have to do with keys being pressed (particularly enter) when the program starts up.
I haven't encountered the behaviour of it opening up any applications though. Maybe you clicked on something or changed the focus and the enter key inputs made the image viewer load up a bunch?
from kanata.
I've added another mitigation for the key repeat issue and updated the pre-release binaries to include the mitigation.
Feel free to try them out.
from kanata.
I have been experimenting with this issue. Interestingly as I wrap it in a bash script there was no problem. That is how I used it before and that is why I could not see the problem before. I will experiment with the mitigation on different distros and will report back.
Really liking the ram usage (3 MB!!!)
from kanata.
The command works as expected but the tilda ~ does not work
ex:
(cmd rm -r ~/tmp/mytempfiles)
will not work. I had to do
(cmd -r /home/13minutes/tmp/tempfiles)
for it to work also $HOME doesn't work either
from kanata.
The command works as expected but the tilda ~ does not work ex:
(cmd rm -r ~/tmp/mytempfiles)
will not work. I had to do(cmd -r /home/13minutes/tmp/tempfiles)
for it to work also $HOME doesn't work either
Yea this is expected behaviour based on the implementation. The program is executed directly (e.g. via the execv syscall) rather than through a shell. You may be able to use ~
or $HOME
using cmd bash -c "your stuff here"
. I'll update this in the config file comments.
from kanata.
Related Issues (20)
- Bug: Invalid quoting in systemd service file shown in docs HOT 3
- Upstream forked keyberon changes? HOT 1
- Feature request: Interception as a seperated OS HOT 10
- Feature request: be able to perform an action when sldr ends unsuccessfully HOT 4
- Bug: remapping arrow keys and sixpack results inn numberpad keys being pressed. HOT 4
- Bug: PrintScreen not triggering HOT 6
- Feature request: RPM SPEC file HOT 2
- Why doesn't `C-S-mlft` (open link in new tab and move to that tab in Chrome) work when mapped to anything? HOT 2
- Feature request: AHK style hotstrings HOT 2
- kanata.service error finding config file HOT 4
- Feature request: Accessible output messages HOT 9
- Feature request: Reverse the release order of (multi) keys
- Bug: unmod-ing modded keys not possible ({, }, !, $, etc.) HOT 3
- [minor] Prefix a new line after some secs idling in the debug log HOT 2
- Bug: "switch" & "not" operator not working HOT 6
- Bug: kanata interception gui executable does not use interception HOT 1
- Bug: Unable to find a keyboard device HOT 2
- Bug: Ctrl Shift W doesnt work in remapper ctrl key. HOT 3
- Bug: Second character of macro disappears when it is used in chord HOT 4
- help: remap fn key nixos-asahi m1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kanata.