donniebreve / touchcursor-linux

TouchCursor style keyboard remapping for Linux.
GNU General Public License v2.0
133 stars 28 forks source link

Service unrecognized on Ubuntu 20.04 #25

Closed vanadu closed 3 years ago

vanadu commented 3 years ago

This is a fresh 20.04 install. touchcursor install files are from the zip in the current repo. 'make install' was run from the Downloads folder. All the install files are where they are supposed to be:

/usr/bin/touchcursor /home/van/.config/touchcursor /home/van/.config/systemd/user

touchcursor ran fine on Ubuntu 19.04, even with this non-standard split keyboard. Now:

systemctl --user status touchcursor.service ● touchcursor.service - Touch Cursor Service Loaded: loaded (/home/van/.config/systemd/user/touchcursor.service; enable> Active: active (running) since Mon 2020-10-05 10:12:40 EDT; 11s ago Main PID: 51231 (touchcursor) CGroup: /user.slice/user-1000.slice/user@1000.service/touchcursor.service └─51231 /usr/bin/touchcursor

But using the spacebar just repeats the space character.

Here is the device info about the keyboard from /proc/bin/devices. Maybe I'm making some bonehead error but been trying to track this down for hours - I totally depend on touchcursor to stay sane while keyboarding. Any help appreciated.

Here is my config, it is default except for the keyboard name:

Touch Cursor Linux configuration file

Find this line using 'cat /proc/bus/input/devices | less' and copy the full Name="" line here

If there are multiple devices with the same name, you may add :# to the string (ex: Name="Your Keyboard":2)

[Device] Name="Kinesis Freestyle Edge Keyboard"

Hyper key

[Hyper] HYPER1=KEY_SPACE

KEY_1=KEY_2

https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h

[Bindings]

Default bindings for IJKLHNUOMPY

KEY_I=KEY_UP KEY_J=KEY_LEFT KEY_K=KEY_DOWN KEY_L=KEY_RIGHT KEY_H=KEY_PAGEUP KEY_N=KEY_PAGEDOWN KEY_U=KEY_HOME KEY_O=KEY_END KEY_M=KEY_DELETE KEY_P=KEY_BACKSPACE KEY_Y=KEY_INSERT

Default bindings from SpaceFN: https://geekhack.org/index.php?topic=51069

KEY_E=KEY_ESC KEY_B=KEY_SPACE KEY_1=KEY_F1 KEY_2=KEY_F2 KEY_3=KEY_F3 KEY_4=KEY_F4 KEY_5=KEY_F5 KEY_6=KEY_F6 KEY_7=KEY_F7 KEY_8=KEY_F8 KEY_9=KEY_F9 KEY_0=KEY_F10 KEY_MINUS=KEY_F11 KEY_EQUAL=KEY_F12 KEY_SLASH=KEY_MENU

KEY_RIGHTBRACE=KEY_PAUSE

KEY_BACKSLASH=KEY_INSERT

KEY_BACKSPACE=KEY_DELETE

Moved over one key

KEY_COMMA=KEY_GRAVE

This is not currently possible

KEY_DOT=KEY_TILDE

Keyboard Info:

Bus=0003 Vendor=29ea Product=0102 Version=0111 N: Name="Kinesis Freestyle Edge Keyboard" P: Phys=usb-0000:00:1d.0-2/input0 S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:29EA:0102.0004/input/input6 U: Uniq=223606797749 H: Handlers=mouse0 event3 B: PROP=0 B: EV=17 B: KEY=1f0000 0 0 0 0 B: REL=903 B: MSC=10

I: Bus=0003 Vendor=29ea Product=0102 Version=0111 N: Name="Kinesis Freestyle Edge Keyboard" P: Phys=usb-0000:00:1d.0-2/input1 S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.1/0003:29EA:0102.0005/input/input11 U: Uniq=223606797749 H: Handlers=sysrq kbd event7 leds B: PROP=0 B: EV=120013 B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe B: MSC=10 B: LED=1f

I: Bus=0003 Vendor=29ea Product=0102 Version=0111 N: Name="Kinesis Freestyle Edge Keyboard Consumer Control" P: Phys=usb-0000:00:1d.0-2/input2 S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.2/0003:29EA:0102.0006/input/input12 U: Uniq=223606797749 H: Handlers=kbd event2 B: PROP=0 B: EV=13 B: KEY=7800001000 e000000000000 0 B: MSC=10

I: Bus=0003 Vendor=29ea Product=0102 Version=0111 N: Name="Kinesis Freestyle Edge Keyboard System Control" P: Phys=usb-0000:00:1d.0-2/input2 S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.2/0003:29EA:0102.0006/input/input13 U: Uniq=223606797749 H: Handlers=kbd event8 B: PROP=0 B: EV=13 B: KEY=10000000000000 0 B: MSC=10

vanadu commented 3 years ago

Sorry, didn't see this line in the config file:

If there are multiple devices with the same name, you may add :# to the string (ex: Name="Your Keyboard":2)

My bad. Issue closed. Works now.