<p>Based on your hardware configuration and the firmware setup of your Configuration.h, the LED menu will be made available through the <a href="https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/lcd/menu/menu_led.cpp" rel="nofollow noreferrer">menu_led.cpp</a> sources. Apparently, this work for you already considering you see too many entries.</p>
<p>To disable entries, you need to disable these in the afore mentioned code file.</p>
<p>To find where this menu is added to the configuration of the LCD menu structure you could search (<em>the GitHub.com website provides a powerful search tool to search within the sources of projects</em>) for the &quot;Custom Lights&quot; menu caption in the Marlin sources to find this caption is used by constant <code>MSG_CUSTOM_LEDS</code>, see the language translation file <a href="https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/lcd/language/language_en.h" rel="nofollow noreferrer">language_en.h</a></p>
<pre><code>LSTR MSG_CUSTOM_LEDS                    = _UxGT(&quot;Custom Lights&quot;);
</code></pre>
<p>Now searching for the <code>MSG_CUSTOM_LEDS</code> constant will lead you to the file <a href="https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/lcd/menu/menu_led.cpp" rel="nofollow noreferrer">menu_led.cpp</a>; more specific, <a href="https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/lcd/menu/menu_led.cpp#L154" rel="nofollow noreferrer">this line</a>:</p>
<pre><code>SUBMENU(MSG_CUSTOM_LEDS, menu_led_custom);
</code></pre>
<p>If you disable this line, recompile the firmware and upload it to your controller board you would see that the submenu has disappeared.</p>

CC BY-SA 4.0
2022-04-03T12:26:41.783Z
2022-04-03T12:26:41.783Z
0scar
<p>I'm using a Velleman K8400 with a Velleman LED strips. The strips aren't able to adjust luminosity only color, so the Custom Lights menu item is irrelevant to my printer. How do I remove the menu item? I can see how to easily add menus and items, but not much reference as to how to remove them.</p>

<marlin>
Remove irrelevant menu from Marlin 2.0
Glen Hoffman
# Remove irrelevant menu from Marlin 2.0

(Asked by: username_0 on 2022-04-02)

I'm using a Velleman K8400 with a Velleman LED strips. The strips aren't able to adjust luminosity only color, so the Custom Lights menu item is irrelevant to my printer. How do I remove the menu item? I can see how to easily add menus and items, but not much reference as to how to remove them.

**Tags:** marlin


---

## 1 answers

### Answer by username_1 on 2022-04-03. Score: 2

Based on your hardware configuration and the firmware setup of your Configuration.h, the LED menu will be made available through the [menu\_led.cpp](https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/lcd/menu/menu_led.cpp) sources. Apparently, this work for you already considering you see too many entries.

To disable entries, you need to disable these in the afore mentioned code file.

To find where this menu is added to the configuration of the LCD menu structure you could search (*the GitHub.com website provides a powerful search tool to search within the sources of projects*) for the "Custom Lights" menu caption in the Marlin sources to find this caption is used by constant `MSG_CUSTOM_LEDS`, see the language translation file [language\_en.h](https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/lcd/language/language_en.h)

```
LSTR MSG_CUSTOM_LEDS                    = _UxGT("Custom Lights");

```

Now searching for the `MSG_CUSTOM_LEDS` constant will lead you to the file [menu\_led.cpp](https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/lcd/menu/menu_led.cpp); more specific, [this line](https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/lcd/menu/menu_led.cpp#L154):

```
SUBMENU(MSG_CUSTOM_LEDS, menu_led_custom);

```

If you disable this line, recompile the firmware and upload it to your controller board you would see that the submenu has disappeared.


---

