Open mt-inside opened 3 years ago
If anyone else lands on this issue, you can get via running with
$ DISABLE_SUDO_PROMPT=1 via
However I would say
via -h
I'm having the same issue on linux mint
This done the trick for me:
setup_keychron_k10_pro() {
cat<<EOF | sudo tee -a /etc/udev/rules.d/92-viia.rules
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666", TAG+="uaccess", TAG+="udev-acl"
EOF
sudo udevadm control --reload
sudo udevadm trigger
}
setup_keychron_k10_pro
Paste that into your shell, go to https://usevia.app and if still does not work, close and reload your browser and if THAT does not work, reboot your machine.
You might also need to load in this, https://github.com/Keychron/qmk_firmware/blob/bluetooth_playground/keyboards/keychron/k10_pro/via_json/k10_pro_iso_rgb.json, file as well. You can do so by clicking the DESIGN
tab then clicking Load
next to Load Draft Definition
.
Good luck, - Bana
I'm trying to run via for the first time. I get a GUI prompt asking me to add a udev rule, and saying it needs sudo.
Clicking "cancel" quits via, rather than just continuing. Clicking "continue" crashes via with
I'm on arch linux so I can well believe I don't have some software from ubuntu that via is assuming. Helpfully the attempted command is printed, so I've added the file it wants manually. However I'm still getting the prompt - would seem that detection of the udev rule being in place is broken?
Either way, I'm confident the rule is in place so I'd like to be able to skip the prompt, however via seems to have no command-line flags at all?
via --help
etc all just run the programme as normal.I've tried running via under sudo so it has the permissions it needs (big trust here), but I get an error