Skip to content

Utility program for binding actions to keys on the Logitech G600 gaming mouse. Supports 16 keys and the G-shift button for a total of 32 fast shortcuts.

License

Notifications You must be signed in to change notification settings

ywngr/logitech-g600-linux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logitech G600 on Linux

Utility program for binding actions to keys on the Logitech G600 gaming mouse. Supports 16 keys and the G-shift button for a total of 32 fast shortcuts.

Before running this program open the Logitech Gaming Software on a Windows or Mac OS machine. Assign the three basic mouse buttons to their standard functions. The G-shift button should be assigned to the G-shift function. All the remaining buttons (scroll left, scroll right, G7, ... G20) should be set to emulate (unique) keyboard keys (but not modifier keys).

Usage

  1. Clone this repository.
  2. Open g600.c and fill in the commands for the keys.
  3. Compile with gcc g600.c -o g600.
  4. Run with sudo ./g600.

For command ideas you can look at programs like xdotool, xdo, pulseaudio-ctl, xclip, i3-msg. You can also run your own scripts.

The program needs privileges to communicate with G600 so typically it'll be started with sudo. Alternatively (works on Ubuntu 18.04) you can force the program to run as the input group with:

sudo chown .input g600
sudo chmod g+xs g600

Systemd

  1. Copy .service file to ~/.config/systemd/user/mouse-g600.service
  2. systemctl --user enable mouse-g600.service
  3. systemctl --user daemon-reload

About

Utility program for binding actions to keys on the Logitech G600 gaming mouse. Supports 16 keys and the G-shift button for a total of 32 fast shortcuts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%