# Gcode to open a lcd menu

**URL:** <https://klipper.discourse.group/t/gcode-to-open-a-lcd-menu/540>\
**Category:** Features\
**Created:** [July 10, 2021, 5:01pm UTC](https://klipper.discourse.group/t/gcode-to-open-a-lcd-menu/540 "2021-07-10T17:01:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nonchip](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/nonchip/32/254_2.png) [@nonchip](https://klipper.discourse.group/u/nonchip)\
**Post date:** [July 10, 2021, 5:01pm UTC](https://klipper.discourse.group/t/gcode-to-open-a-lcd-menu/540/1 "2021-07-10T17:01:08Z")

</div>

I’m pretty sure this is a feature request, because asking around on the discord and glancing over the code with my rather rusty understanding of python I don’t think this is currently possible:

I’m looking for a way of opening a lcd menu from gcode (a gcode macro specifically). kinda like `SET_DISPLAY_GROUP` but for menus and (preferably) without actually _changing_ the menu root reached by clicking the knob, and directly sending the user to a specific page.

this would be very useful for dialogue style things, like a gcode\_macro for `M600` could pause the print, maybe beep or something, and then send the user to a screen that looks like this:

```auto
Please change filament now!
> [unload]
  [load]
  [continue print]

```

could also be used for stuff like a filament runout sensor etc, without having to then manually navigate various menus or open a web interface to do the task.

the closest _current_ feature i can imagine would be to `M117 Please double click the knob` and then have the first entry in the menu root conditionally be a “situation-aware page” (by putting multiple right at the start of the menu that only get enabled by a certain variable set from the gcode macro) but that just feels really weird.

---

<div class="post-metadata">

**Author:** ![BrT](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@BrT](https://klipper.discourse.group/u/BrT)\
**Post date:** [September 26, 2021, 12:32pm UTC](https://klipper.discourse.group/t/gcode-to-open-a-lcd-menu/540/2 "2021-09-26T12:32:17Z")

</div>

Yeah, it would be great to have GOTO\_MENU implemented.

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [March 16, 2025, 1:31pm UTC](https://klipper.discourse.group/t/gcode-to-open-a-lcd-menu/540/3 "2025-03-16T13:31:03Z")

</div>


