lcncgui simple web based linuxcnc GUI

More
20 Jul 2026 18:08 #347883 by klopp
Hey,

I’ve been building a new GUI for LinuxCNC called lcncgui (mainly for my own use) and figured I’d throw it out here. It's a browser based, more "modern" looking UI.

Why browser?

Qt and the classic GUI stuff work fine, but design-wise a browser UI just gives you a lot more room — layouts, touch stuff, dialogs, etc. feel way less constrained (and I'm also not really proficient with qt).

On older PCs this might be an issue, but anyone something somewhat modern like a raspberry pi will be fine.

How it works

Python backend talks to LinuxCNC, frontend talks to the backend over WebSockets. Same role as gmoccapy — set `DISPLAY = lcncgui` and you’re good.

Because it’s network-based, you could also open and control it on another device, e.g. an iPad on the same network.

Control

It’s mainly meant for external buttons / hotkeys (and HAL panel inputs). Softkeys, keyboard, and physical buttons all do the same things.

If you don’t have a panel, there’s a virtual button sidebar so you can still run everything from the screen.

Things that are different from the classic linuxcnc GUI

- Macros — stack operations in a queue (drill, helical bore, face mill, patterns, …), hit go, gets turned into real G-code and opened in the program editor
- G/M-code tooltips — hover/click a code and you get a short explanation instead of digging through the manual
- Tool table — more info than the usual `.tbl` stuff, plus cut presets (RPM, feeds, etc.) so you can set cutting data quickly
- Shutdown — close the GUI, or close it and shut down the PC cleanly afterward

Plus the usual jog/home, DRO, program editor, MDI, overrides, etc.

Still WIP

Some things are missing or half-done (no machine visualization yet, not every macro tile actually generates G-code yet, etc.). Expect rough edges. Also coding was assisted a lot by AI.

Looking for feedback — what feels useful, what’s annoying, what’s missing for real use.

Repo: github.com/salomom/lcncgui  
Install via release tarball + `install.sh`, no Node needed on the machine.
If you're running on an older machine, consider installing chromium as your default browser, as it's a bit more performative.

Happy to answer questions.

Cheers,  
Tim

The following user(s) said Thank You: tommylight, MX_Master

Please Log in or Create an account to join the conversation.

More
20 Jul 2026 18:24 #347884 by tuxcnc
Replied by tuxcnc on topic lcncgui simple web based linuxcnc GUI
One more little gray text on a gray background...
No, thank you.

Please Log in or Create an account to join the conversation.

  • rhscdn
  • Away
  • Senior Member
  • Senior Member
More
21 Jul 2026 01:54 #347896 by rhscdn
Replied by rhscdn on topic lcncgui simple web based linuxcnc GUI
Looks interesting! I'm always keen to see new UIs being built.

My only comment is regarding your implementation of what you are calling 'macros'. I assume these are different than calling o-call macros or python-based macros. Just remember that the modal nature of gcode/LinuxCNC makes all macros trickier than it seems at first.

Please Log in or Create an account to join the conversation.

Time to create page: 0.526 seconds
Powered by Kunena Forum