GrumpyScreen Macros¶
The Macros tab provides one-touch buttons for Klipper G-code macros. It is available from the Console screen when Klipper is connected. Selecting a button sends its macro command and returns to the Console tab so that its response is visible.
Add a macro¶
Edit the GrumpyScreen configuration file and add one section for each button:
The value in the section header is the G-code command sent to Klipper. display_name is optional; when omitted, the command itself is shown. icon is optional and defaults to refresh.
For example, a macro with parameters can be added exactly as it would be entered in the Console:
Restart GrumpyScreen after saving the configuration. Macros can also be placed in the GrumpyScreen override configuration; this is useful for machine-specific buttons.
Icon reference¶
Use the value in the first column as icon: <value>. If an unknown value is supplied, GrumpyScreen uses the refresh icon.
| Icon value | Preview | Meaning |
|---|---|---|
arrow_down |
Down arrow | |
arrow_left |
Left arrow | |
arrow_right |
Right arrow | |
arrow_up |
Up arrow | |
back |
Back or return | |
bed |
Heated bed or bed mesh | |
cancel |
Cancel or stop current action | |
clock |
Time or timer | |
cooldown |
Cool down heaters | |
delete |
Delete or clear | |
emergency |
Emergency stop | |
extrude |
Extrude filament | |
extruder |
Extruder or hotend | |
factory_reset |
Factory reset | |
fan |
Fan control | |
fan_off |
Turn a fan off | |
fan_on |
Turn a fan on | |
fine_tune |
Fine tuning | |
firmware |
Firmware action | |
flow |
Flow adjustment | |
flow_up |
Increase flow | |
gui |
Screen or GUI action | |
heater |
Heater control | |
home |
Home printer axes | |
home_z |
Home Z axis | |
hourglass |
Waiting or in progress | |
infinity |
Continuous or unlimited action | |
info |
Information | |
layers |
Print layers | |
light |
Turn a light on | |
light_off |
Turn a light off | |
load_filament |
Load filament | |
motor_off |
Disable motors | |
move |
Move printer axes | |
pa_plus |
Increase pressure advance | |
pause |
Pause a print | |
print |
Print action | |
refresh |
Refresh or rerun | |
restart |
Restart | |
resume |
Resume a print | |
retract |
Retract filament | |
sd |
SD card or files | |
shutdown |
Shut down host | |
speed_up |
Increase speed | |
spoolman |
Spoolman or spool management | |
support_zip |
Create a support archive | |
switch_stock |
Switch to stock firmware | |
unload_filament |
Unload filament | |
update |
Update software or firmware | |
z_closer |
Move Z closer to the bed | |
z_farther |
Move Z farther from the bed |