ApexCtl
ApexCtl copied to clipboard
make install wont work on ubuntu
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
$ udevadm --version
175
First error:
$ sudo make install
[ -f apexctl ]
[ -f dist/build/apexctl/apexctl ]
[[ `whoami` = "root" ]]
/bin/sh: 1: [[: not found
make: *** [check-root] Fehler 127
After removing the check-root rule I get:
$ sudo udevadm hwdb --update
missing or unknown command
Usage: udevadm [--help] [--version] [--debug] COMMAND [COMMAND OPTIONS]
info query sysfs or the udev database
trigger request events from the kernel
settle wait for the event queue to finish
control control the udev daemon
monitor listen to kernel and udev events
test test an event run
test-builtin test a built-in command
When i just remove the check-root and run the command i looked into the makefile and i saw the only commands left are the udevadm commands. The seconds udevadm worked and xev recognize the key presses. However all of the mx1 to mx10 are mapped to multi media. Hope i get it to something unused, so i can map it fresh.
yeah, looks like udevadm is old:
$ udevadm --version
208
Re: the other error, I think I have the solution.
2100515574a1c9cd288fecc604f7982dcd243fcd should fix the bash-specifix stuff. Try checking out my master to test it.
So about the multimedia keys, I had the same problem. For me I had to update systemd for it to recognize the hwdb file, but I'm pretty sure ubuntu doesn't have systemd, so idk you should do.
systemd directly isn't necessary, however udev is and Ubuntu happens to use udev. The reason you don't need udev in fedora is because udev has been merged into systemd, so everything should be ok with Ubuntu and it's variants.
So the mx keys being multimedia keys should be fixed by applying the xmodmap and/or updating udev?
Yes.