Skip to content
/ gHub-GUI Public

Manage your logitech device on Linux using GUI. Lightweight and user-friendly. (not yet)

License

Notifications You must be signed in to change notification settings

ysph/gHub-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gHub-GUI

Manage your logitech device on Linux using GUI. The program is lightweight and user-friendly.

Dependencies

Ubuntu:

sudo apt-get install libusb-1.0-0-dev libx11-dev libgl-dev

Fedora (38):

sudo dnf install libusb1-devel libx11-devel mesa-libGL-devel

Compile

make all

Usage

Run as root:

sudo ./ghub-gui

Cleaning up

make clean

TroubleShooting

The mouse stopped working after execution

The problem is that the OS has failed to attach driver (see "can't add hid device" in dmesg)
To solve that, either try to execute program again or switch the port.
It may also help in future if you add udev rules listed in the case below.

Can I run the program without root privileges?

create a rule in /etc/udev/rules.d/:

printf 'KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="plugdev"\nSUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c083", GROUP="ubuntu", MODE="066"\nSUBSYSTEM=="usb_DEVICE", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c083", GROUP="ubuntu", MODE="066"' | sudo tee /etc/udev/rules.d/99-hidraw-permission.rules

If rules fail to reload automatically:

sudo udevadm control --reload

To manually force udev to trigger your rules:

sudo udevadm trigger

Reboot may also be needed.

Links regarding udev rules:
udev homepage
Debian's udev overview
Arch's udev overview
Writing udev rules
Ask about udev on the forum

My device is UNIDENTIFIED, what could that be?

Some logitech devices use the same id for bluetooth receiver.
However, the Linux kernel since version of 5.2 may recognize IDs properly.
Possible solution for debian-based distributions would be:

sudo apt-get upgrade

Miscellaneous

The program is not complete yet. It also requires root privileges.

Completed features

  • Set the static LED colour for the primary or logo

Missing features

  • Set custom LED colours
  • Set the cycle or breathing
  • Set the colour for logo or primary
  • Set DPI
  • Set report rate
  • Battery level report
  • Comprehensive GUI

About

Manage your logitech device on Linux using GUI. Lightweight and user-friendly. (not yet)

Topics

Resources

License

Stars

Watchers

Forks