RATSLAP(1)
π RATSLAP(1) β like, the Logitech mouse configurator, bestie π
okay so real quick, this is a User Commands page for ratslap, and honestly? she's iconic. let's get into it β¨
πΈ NAME πΈ
ratslap β the configuration tool for Logitech mice (and rn it only does the G300/G300S, no cap).
π¦ SYNOPSIS π¦
ratslap -h|--help
ratslap -V|--version
ratslap --listkeys
ratslap -s|--select MODE
ratslap -p|--print MODE
ratslap -m|--modify MODIFY_OPTIONS...
β¨ DESCRIPTION β¨
So the whole vibe of RatSlap is: give you a way to configure your configurable Logitech mice from inside Linux. That's it, that's the mission, and she ate π
The Logitech G300/G300s has 3 button modes. And for each one of those modes you can assign an LED colour, a report rate (that's the speed at which the mouse communicates with the computer), DPI setting(s), and button/key combinations. like a whole little personality for each mode, obsessed π
Want the full list of available keys and buttons you can bind each mouse button to? Just run ratslap with the --listkeys option. easy π«Ά
NOTE: You literally cannot remap the scrollwheel. Nope. These generate button 4 (up) and 5 (down) and cannot be changed. that's just the rules, periodt π
Most of the OPTIONS below can be chained together, like this:
ratslap -p F3 -m F4 -c blue -s F4
The above command would print out F3; select F4 for modification and change it's LED colour to blue; then select F4 as the current mode. see how she flows? π
This is most useful when you want to configure more than one mode at once, such as restoring a specific state for the entire mouse. honestly a lifesaver π
π OPTIONS π
RatSlap more or less follows the usual GNU command line syntax, with long options starting with two dashes (-), and short with one. classic, we love a traditional icon β
-h,--helpβ Show summary of options. your little guide bestie π-V,--versionβ Show version of program.--listkeysβ Lists all possible modifiers, buttons and keys for assignment. the full menu, iykyk π-s MODE,--select MODEβ Switches to MODE. Valid *MODE*s are"F3","F4"and"F5"(case insensative). pick your girl π¦-p MODE,--print MODEβ Prints out MODE's current button mapping. show me what you're working with π-m MODE,--modify MODEβ Modifies MODE using MODIFY_OPTIONS (see below). glow-up time β¨
π§ MODIFY_OPTIONS π§
The following options modify the current MODE selected for modification (using -m|--modify, see above). so like, you gotta pick a mode first or these are just floating, bestie π
-r RATE,--rate RATEβ Set the report rate of the mouse to RATE. Valid *RATE*s are"125","250","500","1000", measured in hertz (times per second). speed check π₯-A DPI,--D1 DPIβ Sets the DPI value for sensitivity level 1 to DPI. Valid *DPI*s range from250to4000, at intervals of250.-B DPI,--D2 DPIβ Sets the DPI value for sensitivity level 2 to DPI. Valid *DPI*s range from250to4000, at intervals of250.-C DPI,--D3 DPIβ Sets the DPI value for sensitivity level 3 to DPI. Valid *DPI*s range from250to4000, at intervals of250.-D DPI,--D4 DPIβ Sets the DPI value for sensitivity level 4 to DPI. Valid *DPI*s range from250to4000, at intervals of250.-F LEVEL,--default-dpi LEVELβ Selects which DPI sensitivity level (1β4) is the default. main character level π-S [DPI],--dpishift [DPI]β Enables the DPI shift function. If DPI is specified, also sets the shifted DPI to that value. Valid *DPI*s range from250to4000, at intervals of250.-U,--no-dpishiftβ Disables the DPI shift function. The currently set value is not changed. no take-backs on the number itself π«Ά-c COLOUR,--colour COLOUR,--color COLOURβ Set the colour of the mouse to COLOUR. Valid *COLOUR*s are"BLACK"(off),"RED","GREEN","YELLOW","BLUE","MAGENTA","CYAN"and"WHITE"(case insensative). aesthetic upgrade, periodt π-1 KEYS,--left KEYSβ Binds mouse button 1 (the left mouse button) to KEYS. For a list of valid modifiers, keys and buttons that can be assigned, use the--listkeysoption.-2 KEYS,--right KEYSβ Binds mouse button 2 (the right mouse button) to KEYS. For a list of valid modifiers, keys and buttons that can be assigned, use the--listkeysoption.-3 KEYS,--middle KEYSβ Binds mouse button 3 (the middle mouse button) to KEYS. For a list of valid modifiers, keys and buttons that can be assigned, use the--listkeysoption.-4 KEYS,--G4 KEYSβ Binds mouse button 4 (the G4 mouse button) to KEYS. For a list of valid modifiers, keys and buttons that can be assigned, use the--listkeysoption.-5 KEYS,--G5 KEYSβ Binds mouse button 5 (the G5 mouse button) to KEYS. For a list of valid modifiers, keys and buttons that can be assigned, use the--listkeysoption.-6 KEYS,--G6 KEYSβ Binds mouse button 6 (the G6 mouse button) to KEYS. For a list of valid modifiers, keys and buttons that can be assigned, use the--listkeysoption.-7 KEYS,--G7 KEYSβ Binds mouse button 7 (the G7 mouse button) to KEYS. For a list of valid modifiers, keys and buttons that can be assigned, use the--listkeysoption.-8 KEYS,--G8 KEYSβ Binds mouse button 8 (the G8 mouse button) to KEYS. For a list of valid modifiers, keys and buttons that can be assigned, use the--listkeysoption.-9 KEYS,--G9 KEYSβ Binds mouse button 9 (the G9 mouse button) to KEYS. For a list of valid modifiers, keys and buttons that can be assigned, use the--listkeysoption.
and that's the whole page, bestie!! ππβ¨
okay final sign-off, this is ratslap version 0.4.1, dated August 2020, and that's genuinely the whole manual page. go configure your mouse, she's waiting π
π¦π
π¦ where this page comes from
- nixos 26.05: ratslap 0.4.1
- nixpkgs unstable: ratslap 0.4.1
- Copyright 2014-2020 Todd Harbour <krayon.git@qdnx.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms