Package Details: g13-git v1.0.4.r0.g0a8d6e8-1

Git Clone URL: https://aur.archlinux.org/g13.git (read-only, click to copy)
Package Base: g13
Description: Userspace driver for the Logitech G13 Keyboard
Upstream URL: https://github.com/khampf/g13
Licenses: unknown
Submitter: prg
Maintainer: None
Last Packager: khampf
Votes: 6
Popularity: 0.000000
First Submitted: 2015-09-04 03:37 (UTC)
Last Updated: 2020-05-22 21:20 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

bwyazel commented on 2025-03-19 21:21 (UTC)

In case anyone was interested, I forked this project and have been modernizing it and improving it slowly. I've fixed many issues, solved issues with sleep/suspend, modernized the build system, updated the code to C++23, and I have more plans as time permits. I haven't yet uploaded my pkgbuild, as my version is still in development, but it's stable enough for day to day use anyhow. Likewise, I've made some changes to the config syntax from the original, so I've re-branded my fork "g13d" to not cause confusion.

You can find the pkgbuild within the GitHub repo if you wish to install it.

https://github.com/brittyazel/g13d

AzraelsKiss commented on 2022-09-16 20:15 (UTC) (edited on 2022-09-16 20:27 (UTC) by AzraelsKiss)

If anyone is having problems with connection time outs with github.com trying to install this package, you may need to edit PKGBUILD like this:

Change line 14 from:

source=("${pkgname}::git://github.com/khampf/g13" "g13.tmpfiles")

to:

source=("${pkgname}::git+https://github.com/khampf/g13" "g13.tmpfiles")

Good luck!


achilleas commented on 2021-06-05 14:02 (UTC)

@Linux-Gamer89 You'll probably have better luck asking for support upstream [0] instead of here.

That said, you might need to set the stickmode [1].

[0] https://github.com/khampf/g13/issues [1] https://github.com/khampf/g13#stickmode-mode

Linux-Gamer89 commented on 2021-05-30 20:23 (UTC) (edited on 2021-05-31 16:13 (UTC) by Linux-Gamer89)

Hi, been using this driver for a while now and had no problems. I've recently done a fresh install and I can't get it to load the bind file correctly - it only seems to be binding the stick and none of the other buttons.

Output of systemctl status g13

g13.service - Logitech G13 daemon
     Loaded: loaded (/usr/lib/systemd/system/g13.service; static)
     Active: active (running) since Sun 2021-05-30 21:10:50 BST; 7min ago
   Main PID: 1061 (g13d)
      Tasks: 2 (limit: 19131)
     Memory: 780.0K
        CPU: 621ms
     CGroup: /system.slice/g13.service
             └─1061 /usr/bin/g13d --config /etc/g13/default.bind --pipe_in /run/g13d/g13-0 --pipe_out />

May 30 21:10:50 Arch-Zen g13d[1061]: 1622405450 INFO : USB device found during enumeration May 30 21:10:50 Arch-Zen g13d[1061]: 1622405450 INFO : USB device connected May 30 21:10:50 Arch-Zen g13d[1061]: 1622405450 INFO : Setting up device May 30 21:10:50 Arch-Zen g13d[1061]: 1622405450 INFO : Active Stick zones May 30 21:10:50 Arch-Zen g13d[1061]: STICK_UP { 0 x 0.1 / 1 x 0.3 } SEND KEYS: UP May 30 21:10:50 Arch-Zen g13d[1061]: STICK_DOWN { 0 x 0.7 / 1 x 0.9 } SEND KEYS: DOWN May 30 21:10:50 Arch-Zen g13d[1061]: STICK_LEFT { 0 x 0 / 0.2 x 1 } SEND KEYS: LEFT May 30 21:10:50 Arch-Zen g13d[1061]: STICK_RIGHT { 0.8 x 0 / 1 x 1 } SEND KEYS: RIGHT May 30 21:10:50 Arch-Zen g13d[1061]: STICK_PAGEUP { 0 x 0 / 1 x 0.1 } SEND KEYS: PAGEUP May 30 21:10:50 Arch-Zen g13d[1061]: STICK_PAGEDOWN { 0 x 0.9 / 1 x 1 } SEND KEYS: PAGEDOWN

and my default.bind

rgb 35 212 8

bind G1 KEY_1
bind G2 KEY_2
bind G3 KEY_3
bind G4 KEY_4
bind G5 KEY_5
bind G6 KEY_6
bind G7 KEY_7
bind G8 KEY_TAB
bind G9 KEY_F5
bind G10 KEY_Q
bind G11 KEY_W
bind G12 KEY_E
bind G13 KEY_F8
bind G14 KEY_B
bind G15 KEY_LEFTSHIFT
bind G16 KEY_Z
bind G17 KEY_S
bind G18 KEY_F2
bind G19 KEY_9
bind G20 KEY_LEFTCTRL
bind G21 KEY_LEFTALT
bind G22 KEY_SPACE

bind STICK_UP KEY_M
bind STICK_DOWN KEY_O
bind STICK_LEFT KEY_I
bind STICK_RIGHT KEY_Y

The driver seems to load, the LED's go green and I get the GNU/G13 and Linux inside Logo but it binds the stick wrong and doesn't seem to bind any other key. Any help appreciated thanks

The_Snapdragon commented on 2020-08-27 20:29 (UTC)

If the key STICK_UP or STICK_DOWN is pressed longer, the corresponding key is only displayed once instead of continuously. With the key STICK_LEFT or STICK_RIGHT it works.

khampf commented on 2020-05-20 09:33 (UTC)

gmock was only needed for a single test that can be excluded - I will add the dependency later if I get more tests written.

JcNils commented on 2020-05-19 20:18 (UTC)

Nevermind. Sorry for that.

I just saw that I can get that package from AUR as well. I installed it and now g13 finished building.

Are there any way to put the package as requirement?

Thanks

JcNils commented on 2020-05-19 20:14 (UTC) (edited on 2020-05-19 20:15 (UTC) by JcNils)

Hi, I am using manjaro+gnome, and trying to build using the add/remove software.

but I get this gmock error

[ 62%] Building CXX object CMakeFiles/g13d.dir/g13_hotplug.cpp.o
/var/tmp/pamac-build-nils/g13/src/g13-git/testKeys.cpp:14:10: fatal error: gmock/gmock.h: No such file or directory
   14 | #include "gmock/gmock.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.


....

==> ERROR: A failure occurred in build().
    Aborting...

khampf commented on 2020-05-19 16:08 (UTC)

I finally got somewhere, USB-hotplugging is supported (libusb is a strange creature so mileage may wary). Try it out and also - I opened the issues tracker on github so you can report issues there, might be easier than reporting anything in comments here on AUR