Compare commits

..
1081 Commits
Author SHA1 Message Date
Alfredo Monclus 6b6b8e0dfe fix: use custom combobox to workaround self-closing issues 2026-04-21 21:23:06 -03:00
Alfredo Monclus 6f38e7db08 refactor: simplify the spoolman title checks and timer 2026-04-21 19:32:16 -03:00
locki-czandAlfredo Monclus 2c693ddf16 feat: Add an option to add the remaining spool weight to the title-bar (fixed) (#1662)
---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2026-04-19 15:01:41 -03:00
Alfredo Monclus 0568319100 Revert "feat: Add an option to add the remaining spool weight to the title-bar (#1662)"
This reverts commit 0293a63ed3.

it will be on a special branch for now, until some more testing
2026-04-05 09:38:39 -03:00
locki-czandAlfredo Monclus 0293a63ed3 feat: Add an option to add the remaining spool weight to the title-bar (#1662)
* Add configurable Spoolman titlebar status

* Render Spoolman titlebar item with heaters

* Prioritize explicit titlebar items including Spoolman

* Tighten Spoolman titlebar icon spacing

* Color Spoolman titlebar icon from active filament

* Make low spool alert icon fully red

* Color all spool icon fills for low alert

* Show placeholder weight when spool data is unavailable

* Rename spool titlebar config aliases

* Make spool titlebar config names explicit

* Fix pycodestyle line length issue

* Use black fallback for missing spool color

* Refetch active spool on missing spool id event

* Differentiate null and missing spool ids

* Respect titlebar limits, simplify spool alert, and document Spoolman dependency

* fix issues with implementation

* rework spoolman label spacing and style

* Fix spool icon pixbuf sizing

* Improve spool titlebar icon rendering

* Revert "Improve spool titlebar icon rendering"

This reverts commit 3039df0c7cd8a60c1b3e5e3df59bbe06cacd6829.

* Align spool titlebar rendering with tested layout

* set a low limit equal to the one in the docs

* spoolman_low use warning instead of error due to high usage warning causing low visibility, it also improves contrast overall

* remove usage or regular expressions

reason is performance overhead and maintanability concerns

---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2026-04-03 20:06:24 -03:00
Daniel Mach 2004592568 Fix typo in sudo_fix 2026-03-23 12:14:17 -03:00
Daniel Mach 573d021126 Fix possible command injection in os.system() 2026-03-23 12:14:17 -03:00
Daniel Mach e26e1bebfe Fix possible command injection in subprocess.run(..., shell=True) 2026-03-23 12:14:17 -03:00
Kayz C b621deec1c Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Kayz C <kayzed.x@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hant/
Translation: KlipperScreen/KlipperScreen
2026-03-23 12:03:19 -03:00
vjurka a84056046b Translated using Weblate (Lithuanian)
Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen
2026-03-18 22:01:04 -03:00
Alfredo Monclus 7f8cb474d7 chore: update changelog 2026-03-08 15:06:42 -03:00
Alfredo Monclus 52e7c28f7e docs: restyling 2026-03-08 15:03:46 -03:00
Alfredo Monclus 543dc823cc fix: network: update iface name on connect 2026-03-08 12:13:51 -03:00
Alfredo Monclus 78b02ef026 feat: network show iface from ip if it's different than selected 2026-03-08 12:13:51 -03:00
Alfredo Monclus 0182c30c4b refactor: lower level of popup on network disconnect 2026-03-08 12:13:51 -03:00
Alfredo Monclus a9aa507436 refactor: give clear feedback on unmanaged network interface situations 2026-03-08 12:13:51 -03:00
Alfredo Monclus 9cdc4b66b7 refactor: cleanup network info
if the net is known it will have a special button, no need to write it down
2026-03-08 12:13:51 -03:00
Alfredo Monclus 3af69a8144 refactor: network list performance optimization 2026-03-08 12:13:51 -03:00
Alfredo Monclus 30113405fb refactor: nm get wireless intefaces 2026-03-08 12:13:51 -03:00
Alfredo Monclus 60d35799b0 fix: network: do not call scan when unavailable 2026-03-08 12:13:51 -03:00
Alfredo Monclus f29d48bf5b refactor: wireless connecting info 2026-03-08 12:13:51 -03:00
Alfredo Monclus ee0b5f00e6 feat: wireless network interface selector 2026-03-08 12:13:51 -03:00
Alfredo Monclus 33c11992f0 fix: missing space lint error 2026-03-06 15:19:54 -03:00
Alfredo Monclus 70a5bc81a1 refactor: move print notification menu into the proper location 2026-03-05 11:39:02 -03:00
Alfredo Monclus 40da8d11f1 refactor: config parsing
fixes issues with use_default_menu=false not working
2026-03-05 11:23:11 -03:00
Alfredo Monclus 4fb43ff6b8 fix: styles for keyboard navigaton 2026-02-28 14:06:22 -03:00
Alfredo Monclus f07ad59d9f chore: update changelog 2026-02-28 11:49:10 -03:00
Alfredo Monclus ab4a48e5c5 feat: allow keyboard navigation (disabled by default)
superseed and close #1626
2026-02-28 11:49:10 -03:00
Alfredo Monclus fbaa1e1fd8 feat: Add power_devices to the power screen close #1475 2026-02-28 11:49:10 -03:00
Alfredo Monclus e0675137fc docs: provide fixes and alternatives to close #862 2026-02-28 11:49:10 -03:00
Alfredo Monclus 78ce66314f feat: allow starting in a locked state 2026-02-28 11:49:10 -03:00
ttwoti 78c7ed7014 fix: heatergraph not using style for background (#1655) 2026-02-28 11:40:56 -03:00
chris-redandAlfredo Monclus 2a63116679 feat: Auto timeout for lockscreen (#1653)
Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2026-02-28 11:26:22 -03:00
Alfredo Monclus 5a5ae38203 docs: clarify that the example is for a particular screen 2026-02-17 14:14:54 -03:00
Alfredo Monclus 239107ba85 docs: identifier of xrandr is not always correct for kernel cmdline, change it
add info about adding a rotation parameter in a dtoverlay
2026-02-17 14:07:48 -03:00
Alfredo Monclus e988375d18 chore: update changelog 2026-02-17 08:38:50 -03:00
Alfredo Monclus 46a198fe50 chore: add more explanation on custom commands 2026-02-17 08:26:45 -03:00
Alfredo Monclus e5293fec4c fix: wifi toggle could get stretched on some layouts 2026-02-17 08:17:08 -03:00
Alfredo Monclus c8edbe149e refactor: tweak vertical size of combobox to be more slim 2026-02-17 08:15:09 -03:00
Alfredo Monclus 3a3fea96d8 refactor: change default value for side shortcut to false
new users can find it overwhelming, and even some very experienced users i've talked to never touch this

for those reasons disabled by default make sense
2026-02-17 08:15:09 -03:00
Alfredo Monclus 35c26ba4d4 fix: missing lockscreen option during printing 2026-02-04 14:08:02 -03:00
Alfredo Monclus 66192b6936 chore: cleanup networkinfo
remove max-bitrate it's sometimes miscalculated by nm and is not meaningful beacause it's not the actual link speed
2026-02-04 07:22:40 -03:00
Alfredo Monclus d038ca6ae4 fix: move not loading if if printercfg is not loaded yet fixes #1642 2026-01-29 19:16:36 -03:00
Alfredo Monclus 4f880b833b fix: rotate move buttons according to screw_rotation fixes #1566 2026-01-28 20:31:28 -03:00
Alfredo Monclus 25fd11dcd6 fix: if bssid not in the dict it can result in empty list until refresh 2026-01-28 20:31:28 -03:00
Alfredo Monclus f123c0ae1e fix: do not flip the UI on RTL languages 2026-01-28 18:24:28 -03:00
Alfredo Monclus 92b56f039b fix: skip unsupported commands on Wayland 2026-01-27 10:23:45 -03:00
Alfredo Monclus cb9f266a76 docs: clarify DPMS setting only works on X 2026-01-27 10:22:33 -03:00
Alfredo Monclus f580242e31 fix: menu 4th row showing scrollbar in some common configs
large or extra-large font on 800x480 where exhibiting this issue
2026-01-24 08:04:02 -03:00
Weblate (bot)andJoe 3fb5a031a4 chore(locales): Translations update from Hosted Weblate
Currently translated at 100.0% (325 of 325 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ar/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Joe <alawadhi3000@hotmail.com>
2026-01-17 15:41:57 -03:00
Alfredo Monclus 2a5259cad0 docs: fix typo in req file 2026-01-16 10:21:46 -03:00
Thijs Triemstra 426ffaac98 ci: update dependencies (#1637)
* Update checkout action version in workflow

* Update CodeQL actions to v4

CodeQL Action major versions v1 and v2 have been deprecated. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/

* update deps

* Upgrade github-script action to version 8
2026-01-05 20:32:00 -03:00
Thijs Triemstra 5a9d3cf39c fix :label formatting for IP address (#1636) 2026-01-05 16:29:12 -03:00
Alfredo Monclus b59b59becd Revert "layout: spoolman fixes for vertical mode"
This reverts commit 7ce3e0a88a.

fixes #1632
2025-12-31 21:24:21 -03:00
Alfredo Monclus 6e32df1ad0 fix: dotstar not working fixes #1630 2025-12-31 21:12:33 -03:00
Adrian Paschkowski 0747a7a150 Fix: vertical mode not updating properly on screen size change (#1631) 2025-12-26 18:19:13 -03:00
Alfredo Monclus 39eaa27eb3 fix: bed_level not updating this fixes #1629 2025-12-16 17:13:52 -03:00
cuihuir 61f7afd1e2 fix: handle invalid UTF-8 characters in WiFi SSID (#1621)
Add error handling for WiFi SSID encoding/decoding to prevent
  crashes when encountering SSIDs with invalid UTF-8 characters.
  Use 'ignore' error handler to skip malformed bytes.
2025-11-28 17:23:11 -03:00
Alfredo Monclus c2187163d8 fix: do not show bed level when max_deviation is set (#1625) 2025-11-28 17:22:48 -03:00
Alfredo Monclus b4e335bf00 fix: filament sensor toggles back when switched from external UI while showing the extrude panel (#1624) 2025-11-28 17:22:30 -03:00
Alfredo Monclus 537dab55b6 docs: fix req file default name 2025-11-28 11:06:23 -03:00
0b9695c124 chore(locales): Translations update from Hosted Weblate (#1620)
* Added translation using Weblate (Persian)

Co-authored-by: Julia 🌸🏳️‍⚧️ <juliazero2@gmail.com>

* Translated using Weblate (Persian)

Currently translated at 22.1% (72 of 325 strings)

Co-authored-by: Pouriya Zolghadry <merdasss@yahoo.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fa/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Julia 🌸🏳️‍⚧️ <juliazero2@gmail.com>
Co-authored-by: Pouriya Zolghadry <merdasss@yahoo.com>
2025-11-27 12:23:26 -03:00
Alfredo Monclus b3115f9b9b refactor: less logging when on battery 2025-09-11 20:28:56 -06:00
Weblate (bot)andPavol Vrba 6b6f63b663 chore(locales): Translations update from Hosted Weblate (Slovak) (#1608)
Currently translated at 100.0% (325 of 325 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sk/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Pavol Vrba <pvrba2000@gmail.com>
2025-08-17 08:48:12 -06:00
Andrew Sun 50cb22f51c feat: Add caching for keyboard widgets (#1610) 2025-08-17 08:46:46 -06:00
Alfredo Monclus e03a6149b2 fix: warn when no monitor is detected
close #1598
2025-08-17 08:36:45 -06:00
Andrew Sun d287e762c6 feat: Add caching for icons and pixbufs (#1609) 2025-08-17 08:14:00 -06:00
Pavol Vrba c8a3a15c02 chore(locales): slovak translation (#1607)
Thanks to Flyer05
2025-08-03 13:57:58 -06:00
30b8795a6a chore(locales): Translations update from Hosted Weblate (#1600)
* Translated using Weblate (Danish)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Simon B <simon.buro@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/da/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Russian)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Владимир Чернояров <s3mpau@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Czech)

Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Marek Dvorný <lupickatec@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Czech)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Simon B <simon.buro@hotmail.com>
Co-authored-by: Владимир Чернояров <s3mpau@gmail.com>
Co-authored-by: Marek Dvorný <lupickatec@outlook.com>
Co-authored-by: Miloslav Kos <kos.m@post.cz>
2025-08-03 06:44:32 -06:00
Thijs Triemstra 234ab979f8 fix typos (#1604) 2025-07-24 17:11:21 -06:00
Alfredo Monclus bdb4e93709 refactor: requirements install: add prefer-binary to the retry path
should help if the system can't build succesfully for whatever reason
2025-07-06 07:06:04 -06:00
Alfredo Monclus b05aadc4f5 chore: fix typo 2025-07-03 10:10:09 -06:00
Alfredo Monclus 7709fb25dd fix(deps): bookworm doesnt have girepository2.0 so require pygobject less than 3.51 2025-07-03 10:08:39 -06:00
Alfredo Monclus 5bfa8370c4 docs: add info about power_devices turn off on shutdown 2025-07-02 12:37:37 -06:00
Alfredo Monclus a04af7cb79 chore: update changelog 2025-07-02 12:23:13 -06:00
Weblate (bot)andkr 1b3e9a4ffd chore(locales): Translated using Weblate (Japanese) (#1593)
Currently translated at 87.0% (283 of 325 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ja/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: kr <Tlake_ichi_ni_san_shi@yahoo.co.jp>
2025-07-02 12:10:56 -06:00
Alfredo Monclus c520390fe4 deps: update requirement file 2025-07-02 11:50:21 -06:00
Thomas Witt 454f7c6d12 installer: fix polkit rule file (#1592)
Since 40ce34f (the removal of the try-catch block in the polkit rule
file), there is one extra `}` character that leads to polkitd logging a
syntax error and ignoring the rule.
2025-06-22 23:18:13 -06:00
Ruslan Sayfutdinov 87f70fa96b feat: Add current date and time to system panel (#1584) 2025-06-15 22:12:20 -06:00
dependabot[bot] 5ba4a1ff13 chore(deps): bump python-mpv from 1.0.7 to 1.0.8 (#1576)
Bumps [python-mpv](https://github.com/jaseg/python-mpv) from 1.0.7 to 1.0.8.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.7...v1.0.8)

---
updated-dependencies:
- dependency-name: python-mpv
  dependency-version: 1.0.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-15 09:06:46 -06:00
Weblate (bot)andJuverley Junior e509e4a0c1 Translated using Weblate (Portuguese) (#1587)
Currently translated at 96.0% (312 of 325 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Juverley Junior <juverley@gmail.com>
2025-06-15 08:38:49 -06:00
Alfredo Monclus 44565e97bc docs: add troubleshooting info for unauthorized
the install doc already covers this, but in case the user missed this add extra help
close #1583
2025-06-15 08:38:00 -06:00
Alfredo Monclus 3b96f69701 Fix: keyboard not popping up on mouse click after wayland fix 2025-06-05 20:08:38 -06:00
Andrew Bruce e2dca7dc2b Fix: keyboard not popup in Wayland/Cage (#1580)
Inside Cage, focus-in-event doesn't appear to be triggered when touching
an item, whereas touch-event does.
2025-06-05 20:08:03 -06:00
Alfredo Monclus 2397a44ae3 refactor: use one parameter per line 2025-05-25 06:53:17 -06:00
15e14aaaea chore(locales): Translations update from Hosted Weblate (#1579)
* Translated using Weblate (Russian)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Yurt Page <yurtpage@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (French)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Jean-Yves Leduc <leduc.jy@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Yurt Page <yurtpage@gmail.com>
Co-authored-by: Jean-Yves Leduc <leduc.jy@gmail.com>
2025-05-25 06:50:48 -06:00
Andrew Bruce 0aa2dcc2d2 Revert "refactor: simplify the windowed flag" (#1581)
This reverts commit e01acf8edc.

Fixes https://github.com/KlipperScreen/KlipperScreen/issues/1564
2025-05-25 06:50:27 -06:00
Jack_up e1aeaa6f23 Refactor: allow pre-setting variables before execution in install script (#1578)
* refactor: improve readability and structure of installation prompts in KlipperScreen-install.sh

* refactor: streamline user prompt and normalize input for NetworkManager installation
2025-05-25 06:50:07 -06:00
8aa2fcc019 chore(locales): Translations update from Hosted Weblate (#1577)
* Translated using Weblate (German)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Otis Mohr <mail@otismohr.de>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Dutch)

Currently translated at 99.6% (324 of 325 strings)

Co-authored-by: Themechanic1987 <Nigel_andreas@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Otis Mohr <mail@otismohr.de>
Co-authored-by: Themechanic1987 <Nigel_andreas@hotmail.com>
2025-05-15 08:50:48 -06:00
Weblate (bot)andGiadej 2916c9f35c chore: update translated strings using Weblate (Italian) (#1563)
Currently translated at 100.0% (325 of 325 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
2025-03-31 11:42:43 -03:00
Alfredo Monclus f5c504dd97 refactor: close keypad/numpad when setting a temperature (#1568) 2025-03-25 20:47:33 -03:00
Alfredo Monclus bd44c03a8b job_status: fix estimate close #1567 2025-03-25 20:46:52 -03:00
dependabot[bot] 5a27f6b1f7 chore(deps): bump jinja2 from 3.1.5 to 3.1.6 in /scripts (#1558)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-22 07:31:38 -03:00
Matt Coleman 4395424fb0 fix(systemd): enable stopping with systemctl stop (#1557)
Prior to this commit, `systemctl stop KlipperScreen` would result in
only KlipperScreen-start.sh being killed, leaving the graphical session
running as an abandoned process.

Launching the GUI process with `exec` lets systemd manage it.
2025-03-02 23:28:29 -03:00
Alfredo Monclus 68fe1b0e0d fix: turn on power_devices associated with screen on startup (#1556)
if the screen was off and KS restarted it would have remained off, this should fix this issue
2025-02-25 11:22:00 -03:00
Alfredo Monclus 4eb7a475cb fix: call set_dpms to always set it explicitly (#1555) 2025-02-25 11:07:29 -03:00
Alfredo Monclus e71fe75520 fix: when disabling dpms set timer to 0 too (#1544) 2025-02-17 13:19:38 -03:00
Russell Cloran 38348720f0 fix: Start PAM session in service to allow Wayland start at boot (#1551)
https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#PAMName=

Fixes #1548
2025-02-16 14:00:33 -03:00
Alfredo Monclus 347e821d39 feat: add save z to save dialog (#1545) 2025-02-16 14:00:11 -03:00
Paul Gendolla 86d26c33d7 Fix heater graph not rendering by skipping data points that are None (#1542)
* Fix heater graph not rendering by skipping data points that are None

* Remove whitespace

* Fix graph fill to only cover the x interval where data is vaild
2025-02-16 13:59:41 -03:00
Alfredo Monclus c10f9b8838 Fix Blanking (#1546)
* fix: always disable blanking

* fix: explicitly disable dpms when set to false
2025-02-16 13:58:50 -03:00
Alfredo Monclus 8ec1b91be5 chore: update jinja req 2025-02-12 07:36:59 -03:00
Alfredo Monclus 7e258353c2 chore: update changelog 2025-02-12 07:35:32 -03:00
Alfredo Monclus ff35d67175 screen: add an extra check for lost connections during init 2025-02-12 07:30:35 -03:00
57b1749d00 chore(locales): Translations update from Hosted Weblate (#1532)
* Translated using Weblate (Dutch)

Currently translated at 99.6% (324 of 325 strings)

Co-authored-by: Jelle van Campen <jellevcampen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Eduard Iten <edi@clawfinger.ch>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.0% (322 of 325 strings)

Co-authored-by: Erick Andrade <andrade.erick1987@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt_BR/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Russian)

Currently translated at 99.6% (324 of 325 strings)

Co-authored-by: gfbdrgng <hnaofegnp@hldrive.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Jelle van Campen <jellevcampen@gmail.com>
Co-authored-by: Eduard Iten <edi@clawfinger.ch>
Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Co-authored-by: Erick Andrade <andrade.erick1987@gmail.com>
Co-authored-by: gfbdrgng <hnaofegnp@hldrive.com>
2025-02-04 17:44:34 -03:00
Alfredo Monclus 08a9421d21 refactor: dpms timeout and set (#1529)
refactor: check xset return when setting dpms
2025-02-04 17:43:54 -03:00
Alfredo Monclus 7ed39038ce fix(prompts): call screensaver now wake 2025-01-08 13:25:10 -03:00
Alfredo Monclus acae6a291d chore(docs): update remote methods 2025-01-04 15:17:14 -03:00
Weblate (bot)andNiolay Danov 3d064a3517 Translated using Weblate (Bulgarian) (#1525)
Currently translated at 100.0% (325 of 325 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/bg/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Niolay Danov <nikdan@abv.bg>
2024-12-29 19:21:04 -03:00
Alfredo Monclus ef9781626e feat: add fine-tune to More 2024-12-21 14:11:14 -03:00
Alfredo Monclus ac4ab738aa fix(job_status): filename initial state 2024-12-21 14:11:14 -03:00
Alfredo Monclus 370657952c chore: docs update how to revert 2024-12-21 14:10:08 -03:00
Alfredo Monclus 14fdbc2f4c chore: docs updates 2024-12-15 16:16:11 -03:00
Alfredo Monclus 0c067399c7 fix(leds): button previews getting overriden
fixes #1522
2024-12-15 15:25:35 -03:00
Alfredo Monclus ecfc97c43e chore: update changelog 2024-12-15 15:20:36 -03:00
Alfredo Monclus 4d6c5a35a0 fix: set dev requirements to gtk3 2024-12-15 15:15:22 -03:00
Alfredo Monclus 36c413f148 refactor: allow setting stats internally
this should better reflect user requested temp while waiting for temp

as a negative other frontends will not reflect the same value during the wait, nor will ks if it's restarted
2024-12-15 15:15:22 -03:00
23248af10c chore(locales): Translations update from Hosted Weblate (#1521)
* Translated using Weblate (Polish)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Julia <daviteusz0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Exp3rt <jannik.homberg@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Julia <daviteusz0@gmail.com>
Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Co-authored-by: Exp3rt <jannik.homberg@gmail.com>
2024-12-15 15:15:06 -03:00
Alfredo Monclus 5df1fd9de3 docs: add calibration info for evdev
closes #1517
2024-12-06 18:51:59 -03:00
Andrii 1513570be7 chore(locales): Ukrainian localization update (#1516)
Ukrainian localization update
2024-12-06 18:26:21 -03:00
6839301f7c chore(locales): Translations update from Hosted Weblate (#1515)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Czech)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Michal Bitala <yzeroy14@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Sun Zheng <123456789sunzheng@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hant/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Zs.Antal <antonio092130@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Italian)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Radiotbo <santiago@esolva.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Russian)

Currently translated at 97.5% (317 of 325 strings)

Co-authored-by: Eugen Fleischhauer <fleischhauereugen@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Michal Bitala <yzeroy14@gmail.com>
Co-authored-by: Sun Zheng <123456789sunzheng@gmail.com>
Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Co-authored-by: Zs.Antal <antonio092130@icloud.com>
Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Co-authored-by: Radiotbo <santiago@esolva.com>
Co-authored-by: Eugen Fleischhauer <fleischhauereugen@googlemail.com>
Co-authored-by: vjurka <v@jurka.lt>
2024-12-06 18:24:58 -03:00
Alfredo Monclus d0faec9c93 Revert "feat: Menu active status (#1482)"
This reverts commit 4172d59dbe.

due to a bug that needs to be investigated

closes #1519
2024-12-06 18:16:45 -03:00
Alfredo Monclus 7431ad82b8 chore(locales): update translation base 2024-11-26 12:32:10 -03:00
GloughtandGlought f187d73838 feat(spoolman): Add Comment to Spools (#1511)
Co-authored-by: Glought <663343+Glought@users.noreply.github.com>
2024-11-26 12:00:56 -03:00
Alfredo Monclus a92be75c48 refactor: optimize imports 2024-11-26 11:57:43 -03:00
Alfredo Monclusandnikdan 48fcfbf353 chore(locales): update bulgarian
Co-authored-by: nikdan <nikdan67@users.noreply.github.com>

close #1513
2024-11-25 14:15:05 -03:00
Alfredo Monclus 3a372b74d3 refactor: thumb log message cut decimals 2024-11-25 14:15:05 -03:00
Alfredo Monclus e2ac3f1ef1 fix: dialog confirm not being cleared
close #1508
2024-11-25 14:14:51 -03:00
Alfredo Monclus b9eaaf6a92 fix(exclude): current object 2024-11-25 12:07:05 -03:00
Alfredo Monclus 48aa50332e refactor: add and use available commands for z_tilt and quad_level
close #1512
2024-11-25 12:07:05 -03:00
Alfredo Monclus 02d791f4d1 fix: heatergraph exception 2024-11-25 12:07:05 -03:00
6d79b31f56 chore(locales): Translations update from Hosted Weblate (#1509)
* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (322 of 322 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Kayz C <kayzed.x@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hant/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Kayz C <kayzed.x@gmail.com>
Co-authored-by: vjurka <v@jurka.lt>
2024-11-25 10:23:20 -03:00
Alfredo Monclus 8e4f859b09 feat: turn off power devices that are associated to the turn on button when shutting down printer 2024-11-17 12:09:38 -03:00
Alfredo Monclus 301514f436 fix: screensaver issues when using dpms
close #1505
2024-11-17 12:09:38 -03:00
114dbdec0c chore(locales): Translations update from Hosted Weblate (#1503)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Italian)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Russian)

Currently translated at 97.5% (314 of 322 strings)

Co-authored-by: Владимир Чернояров <s3mpau@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 99.3% (320 of 322 strings)

Co-authored-by: Kayz C <kayzed.x@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hant/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Co-authored-by: Владимир Чернояров <s3mpau@gmail.com>
Co-authored-by: Kayz C <kayzed.x@gmail.com>
2024-11-17 12:04:37 -03:00
Axel Pirek c79ba16ff7 fix: screen not staying off (#1506)
When the screensaver is active and the screen is turned off due to DPMS
the unconditional call to self.screensaver.show wakes the screen up
again.
The check whether the screensaver is already active got lost in the
refactor.

Fixes #1504
2024-11-17 12:04:13 -03:00
Alfredo Monclus 43ad9fc6ae chore: update changelog 2024-11-12 16:45:47 -03:00
Alfredo Monclus 4172d59dbe feat: Menu active status (#1482)
* feat: menu active status, now used to show if homed and leveled

* style: menu_active class
2024-11-12 16:45:35 -03:00
Alfredo Monclus f4c6801a8c refactor: extract screensaver 2024-11-12 11:33:07 -03:00
Alfredo Monclus 9a6aeaa43e feat: lockscreen closes #1490 2024-11-12 11:33:07 -03:00
Weblate (bot)andWill Zhai 0d0715de19 Translated using Weblate (Chinese (Simplified Han script)) (#1495)
Currently translated at 100.0% (322 of 322 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Will Zhai <willzhai55@gmail.com>
2024-11-12 11:32:20 -03:00
Alfredo Monclus e74e9515bf network: eap fixes 2024-11-12 11:29:21 -03:00
Alfredo Monclus 8d78778c5b network: make a workaround for missbehaving comboboxes 2024-11-10 12:39:57 -03:00
Alfredo Monclus 7127b5d624 fix: matchbox kbd 2024-10-29 10:04:42 -03:00
Alfredo Monclus ce420aea94 refactor: screen switch comparison to the right 2024-10-28 12:19:04 -03:00
Alfredo Monclus e01acf8edc refactor: simplify the windowed flag
do not declare multiple variables in the same line
2024-10-28 12:16:39 -03:00
Alfredo Monclus 6ec9c3a934 chore: update changelog and tag 0.4.5 2024-10-28 05:52:36 -03:00
8d21b3deb8 chore(locales): Translations update from Hosted Weblate (#1487)
* Translated using Weblate (Japanese)

Currently translated at 87.8% (283 of 322 strings)

Co-authored-by: Hideki Matsunobu <maznobu@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ja/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 77.9% (251 of 322 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: China-Mr-Hou <kaixinowen@163.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hant/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Hideki Matsunobu <maznobu@gmail.com>
Co-authored-by: China-Mr-Hou <kaixinowen@163.com>
2024-10-28 05:45:36 -03:00
Alfredo Monclus ecc32647ed refactor: make psutil optional 2024-10-23 21:55:29 -03:00
Alfredo Monclus 7ea3122908 feat(ks_actions): ability to show specific panels or custom menus defined in runtime (#1418) 2024-10-18 11:33:29 -03:00
Alfredo Monclus 56089e68d0 fix(camera): log other levels fixes indentation 2024-10-18 11:31:45 -03:00
Alfredo Monclus d4035e9495 refactor(camera): filters and logging 2024-10-18 11:28:45 -03:00
Vasily Khoruzhick c670a2bdc8 fix(camera): don't use scale filter if angle is zero (#1485)
scale filter seems to be expensive even with angle=0. On my CB1 having
vf=rotate:0.0 in mpv arguments results in KlipperScreen using 100% of a
single core vs 30% when it's omitted.
2024-10-18 11:03:27 -03:00
Andrii 25a3f8293e Ukrainian localisation (#1483)
Ukrainian localisation update
2024-10-18 11:02:17 -03:00
Weblate (bot)andZs.Antal 7ae6ce067d Translated using Weblate (Hungarian) (#1486)
Currently translated at 100.0% (322 of 322 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Zs.Antal <antonio092130@icloud.com>
2024-10-18 11:01:59 -03:00
Alfredo Monclus a7b8c4cfeb chore(deps): update pygobject and pycairo dependencies 2024-10-13 13:57:13 -03:00
Alfredo Monclus 87e18ed6d4 refactor(camera): logging 2024-10-13 13:53:29 -03:00
Alfredo Monclus 9fb17ee17f fix(camera): do not log ffmpeg app field decode errors, close #1480 2024-10-13 13:41:48 -03:00
Alfredo Monclus bdfdac9fb6 fix(shutdown): simple accept not working after 21a269edd2 2024-10-13 13:41:48 -03:00
Thijs Triemstra 18b502c2a8 doc: fix sponsor img links (#1478) 2024-10-13 13:41:24 -03:00
704fbf42da chore(locales): Translations update from Hosted Weblate (#1476)
* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Czech)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Dutch)

Currently translated at 93.1% (300 of 322 strings)

Co-authored-by: Thijs Triemstra <info@collab.nl>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Polish)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Daviteusz <daviteusz0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Thijs Triemstra <info@collab.nl>
Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Co-authored-by: Daviteusz <daviteusz0@gmail.com>
2024-10-13 13:40:55 -03:00
Alfredo Monclus e145933782 chore(locales): update base 2024-10-09 18:12:41 -03:00
Alfredo Monclus b3b097fbe3 fix(job_status): restart sometimes not responding 2024-10-09 17:45:28 -03:00
Alfredo Monclus ab308e23f7 feat(bed_mesh): do z_tilt or quad_level if not done before 2024-10-09 17:45:28 -03:00
Alfredo Monclus 1872b40d9f fix(base_panel): remove printer name from printer_select and fix initial not connected error 2024-10-09 17:45:28 -03:00
Alfredo Monclus 0c9884bc85 fix: misplaced logging error in 71eef9e 2024-10-09 17:45:28 -03:00
Alfredo MonclusandMrTylerjet 5ae4e475b6 feat: battery status (#1457)
* Initial commit, added psutil for getting tablet/laptop battery percentage, initial code for getting the values and displaying the icon

* add battery svgs for light theme

* added light styled battery svgs for dark themes

* update icon based on battery percentage and if device is charging

* indentation fix, and forgot to add battery plugged checks for 33% and 66% battery levels

* move battery polling to its own timer now that i understand how to add an additional timer, checks every 30 seconds. check for if show battery is on or off

* add toggle to config for settings

* show battery callback as screen.restart_ks instead of just reloading panels

* move self.battery_percentage() to end of reload_icons this ensures that when a theme is changed the icon is updated instead of waiting for the timeout to update the icon again

* remove left over commented out code

* only call self.battery_percentage when config is true

* adjust tooltip message

* split creatation of elements from updating elements

* change print to logging.debug, handle rouding for percentage in the f-string

* remove code that was moved to `attery_init()`, only destroy icon element when updating icons/percentage text, remove redundant calls to `.pack_start` (just call it once after setting the icon).

* only create battery_update timer if config setting is true

* new material icons remove old icons

* `self.battery_init() in `__init__` def

* fix: lint

* refactors

* style: update icons to follow themes

* refactor: remove config, make the show/hide automatic

* style: bigger battery icons for z-bolt and colorized

---------

Co-authored-by: MrTylerjet <MrTylerjet@gmail.com>
2024-10-09 17:34:33 -03:00
7b7b7c54e1 chore(locales): Translations update from Hosted Weblate (#1471)
* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Neko.vecter <Vecterfang@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Portuguese)

Currently translated at 91.5% (291 of 318 strings)

Co-authored-by: Paulo Henrique <pauloh.programador@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Co-authored-by: Neko.vecter <Vecterfang@icloud.com>
Co-authored-by: Paulo Henrique <pauloh.programador@gmail.com>
2024-10-09 16:41:02 -03:00
Alfredo Monclus 71eef9ee1f fix(base_panel): handle pixbuf is None, this would happen if the theme was incomplete and didn't load 2024-10-01 19:55:06 -03:00
Alfredo Monclus 40b5fbf2cf fix(job_status): animation timeout 2024-09-28 13:20:46 -03:00
Alfredo Monclus ac5e7ae065 refactor(job_status): initialize vars separately 2024-09-28 01:41:09 -03:00
Alfredo Monclus 4596c48297 docs: add how to do multi instances on the same host 2024-09-26 20:07:43 -03:00
Alfredo Monclus 66e8a09a66 fix: wait for moonraker if present, this will aid those slow system to not fail the connection on startup and having to retry 2024-09-24 16:52:21 -03:00
Alfredo Monclus 832a86ed6e fix: shutdown not working when not connected 2024-09-23 21:12:25 -03:00
Alfredo Monclus 8cda8b62a6 chore: update changelog 2024-09-21 06:40:57 -03:00
Alfredo Monclus c20d0a2f84 fix: keyboard getting doubled if switching entry via the input switch icon
got mistakenly removed in previous commit 585f477e51
2024-09-21 05:28:21 -03:00
Alfredo Monclus 585f477e51 fix: keyboard not switching entry 2024-09-20 19:16:21 -03:00
Alfredo Monclus a262247a2a feat: make the osk keypad smaller while landscape 2024-09-20 19:16:21 -03:00
Alfredo Monclus 274fc2b263 feat: add float option to the keypad 2024-09-20 19:16:21 -03:00
Alfredo Monclus 7b857ff991 fix: autoscroll now works if the entry is at the very bottom of the scroll
the delay is needed because the osk will change the scrolledwindow adjustment, and it's only possible to scroll down more after the keyboard has been shown
2024-09-20 19:16:21 -03:00
Alfredo Monclus 5d806a82da feat: add auto alpha to keypad switching if hinted the type in the params 2024-09-20 19:16:21 -03:00
Alfredo Monclus 550d955adc refactor: rename digital to digits 2024-09-20 19:16:21 -03:00
Alfredo Monclus 822f5400cf feat: add keyboard to keypad switchs to macro panel 2024-09-20 19:16:21 -03:00
Bobby Graese f045393dc3 feat: Add InputPupose DIGITS support to keyboard (#1463)
Adds support for InputPurpose.DIGITS to the on-screen keyboard.  This
can be used in places where a number-only input is appropriate, but
there may not be a desire to use the large keypad widgets.
2024-09-20 19:14:04 -03:00
Alfredo Monclus d8479220f3 fix(network): detection of some security types 2024-09-20 16:32:16 -03:00
Alfredo Monclus 688ada6c4e fix: use environment display on xset
fixes #1467
2024-09-20 11:45:38 -03:00
Alfredo Monclus 768bbcd285 fix(job_status): close fullscren dialog automatically on state changes
fixes #1455
2024-09-20 11:01:51 -03:00
Alfredo Monclus 9854cc99cc fix(job_status): format of object height on metadata updates
fixes #1458
2024-09-20 11:01:47 -03:00
Alfredo Monclus bdf03e8d6f chore: update changelog 0.4.4 2024-09-16 19:09:34 -03:00
alfrix 765ef1b3f6 style: change the treeview back to a check
it takes less space and the previous implementation looks bad on some systems where the sizes are not respected
2024-09-15 15:08:28 -03:00
alfrix 3a3287145e fix: spoolman date parsing 2024-09-15 09:55:08 -03:00
24d7851091 chore(locales): Translations update from Hosted Weblate (#1466)
* Translated using Weblate (German (de_FORMAL))

Currently translated at 86.4% (275 of 318 strings)

Translated using Weblate (German)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Leart Dukaj <premtimdukaj@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German (de_FORMAL))

Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (German (de_FORMAL))

Currently translated at 95.2% (303 of 318 strings)

Translated using Weblate (German (de_FORMAL))

Currently translated at 86.4% (275 of 318 strings)

Co-authored-by: Flo082002 <flos6323@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German (de_FORMAL))

Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (German)

Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (German (de_FORMAL))

Currently translated at 95.2% (303 of 318 strings)

Co-authored-by: Leart Dukaj <premtimdukaj@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Leart Dukaj <premtimdukaj@hotmail.com>
Co-authored-by: Flo082002 <flos6323@gmail.com>
2024-09-13 18:03:45 -03:00
andrewmvandAlfredo Monclus 21a269edd2 feat: Moonraker route prefix support (#1464)
* Added config directives to specify moonraker route prefix, and
explicitly specify SSL

* Added newly-implemented options to documentation

* Fixed boolean handling

* Cleanup

* Fixed trailing whitespace

* refactor: simplifications and lint fixes

---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2024-09-13 18:02:12 -03:00
Alfredo Monclus 7fd759d5fc feat: show the cursor toggle and allow switching on the fly 2024-09-04 12:52:46 -03:00
Scott Mikutsky d99048d29f Only calls BED_MESH_CLEAR if bed_mesh enabled (#1460) 2024-09-04 12:45:39 -03:00
Weblate (bot)andNackophilz 844eaba1ee Translated using Weblate (French) (#1459)
Currently translated at 100.0% (318 of 318 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Nackophilz <zrv4flra@anonaddy.me>
2024-09-04 12:45:18 -03:00
Alfredo Monclus 7d75d39c0e chore: update changelog 2024-08-25 01:41:22 -03:00
Alfredo Monclus d53f03dce4 fix: move z speed config
fixes #1450
2024-08-25 01:27:31 -03:00
Alfredo Monclus c6fca4f0f9 fix: pid_calibrate error for heater_generic
fixes #1452
2024-08-25 01:27:23 -03:00
VLGBT 7fd2fed947 chore(locales): Update russian 2024-08-25 00:56:46 -03:00
Alfredo Monclus fca09e6004 feat(wifi): wpa-eap support (#1449) 2024-08-25 00:38:20 -03:00
c9af4fc3c3 chore(locales): Translations update from Hosted Weblate (#1453)
* Translated using Weblate (Portuguese)

Currently translated at 84.5% (269 of 318 strings)

Co-authored-by: Matheus Mösken Diegues <dmosken2015@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Vietnamese)

Currently translated at 89.9% (286 of 318 strings)

Co-authored-by: Hiep Nguyen <tanhiep26@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/vi/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Arabic)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Rashid Al Haqbany <haqbany@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ar/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Matheus Mösken Diegues <dmosken2015@gmail.com>
Co-authored-by: Hiep Nguyen <tanhiep26@gmail.com>
Co-authored-by: Rashid Al Haqbany <haqbany@gmail.com>
2024-08-25 00:19:47 -03:00
Maksym Pyrozhok 8e91576470 chore(locales): Update Ukrainian locale messages (#1444)
* Update Ukrainian locale messages.

* Fix plural forms.
2024-08-06 14:56:07 -03:00
Weblate (bot)andBenedikt Fuchs aff7aadfa5 Translated using Weblate (German) (#1445)
Currently translated at 99.3% (316 of 318 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Benedikt Fuchs <fuchs.bene@gmx.de>
2024-08-06 14:55:43 -03:00
c1035fed6f chore(locales): Translations update from Hosted Weblate (#1440)
* Translated using Weblate (Arabic)

Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (Arabic)

Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (Arabic)

Currently translated at 32.0% (102 of 318 strings)

Co-authored-by: Rashid Al Haqbany <haqbany@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ar/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Dutch)

Currently translated at 87.7% (279 of 318 strings)

Co-authored-by: Thijs Triemstra <info@collab.nl>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Estonian)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Jegert Uusküla <jegertuuskula@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/et/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Rashid Al Haqbany <haqbany@gmail.com>
Co-authored-by: Thijs Triemstra <info@collab.nl>
Co-authored-by: Jegert Uusküla <jegertuuskula@gmail.com>
Co-authored-by: Will Zhai <willzhai55@gmail.com>

close https://github.com/KlipperScreen/KlipperScreen/issues/1442
2024-08-01 19:36:30 -03:00
Alfredo Monclus 2c3e0f6c90 refactor(extrude): only open temp panel after sending the command and checking failed
this should allow people to handle the situation without creating an extra setting
close #1434
2024-08-01 15:59:11 -03:00
Alfredo Monclus c2325f2295 fix(printer_select): do not execute status changes 2024-07-30 15:42:19 -03:00
Alfredo Monclus ab6c7aca47 fix(gcodes): handling of long strings in print confirm
close #1436
2024-07-28 15:43:43 -03:00
Alfredo Monclus 99f62a05ad fix: tempstore retry issue
close #1441
2024-07-28 15:43:38 -03:00
Alfredo Monclus 4a55dab8ec feat(docs): add GPIO 3.5 Type B 2024-07-21 12:47:53 -03:00
Alfredo Monclus 6eed79d9ec refactor(docs): update quicktips and thumbnails
close #1433
2024-07-21 11:28:39 -03:00
Alfredo Monclus 8a5f8ee2ef fix(wifi): open networks
discussion at #1435
2024-07-20 18:35:04 -03:00
95d13a484b chore(locales): Translations update from Hosted Weblate (#1432)
* Translated using Weblate (Polish)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Marcin Laber <marcin@laber.pl>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: BIGTREETECH <bigtreetech@sexycyborg.net>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen

* Added translation using Weblate (Arabic)

Co-authored-by: Daviteusz <daviteusz0@gmail.com>

---------

Co-authored-by: Marcin Laber <marcin@laber.pl>
Co-authored-by: BIGTREETECH <bigtreetech@sexycyborg.net>
Co-authored-by: vjurka <v@jurka.lt>
Co-authored-by: Daviteusz <daviteusz0@gmail.com>
2024-07-20 17:05:02 -03:00
Alfredo Monclus cc0bc3bc89 fix(wifi): wpa-owe
close #1435
2024-07-20 16:37:30 -03:00
Alfredo Monclus f4992e1146 fix(job_status): slicer time in extra info not being updated 2024-07-14 23:43:41 -03:00
Alfredo Monclus a17ab8e10e style(job_status): set hexpand to button thumbnail as otherwise sometimes will not grows to the proper size 2024-07-14 18:51:57 -03:00
Alfredo Monclus a4f45f3718 style(job_status): add unit to height if there is enough space 2024-07-14 18:47:01 -03:00
Alfredo Monclus b58471c505 fix(job_status): deprecate calculation of layers from height
if adaptive layers or any other technique like non-planar is used,
this would be completely wrong, so i would prefer not to show up wrong information,
so it's up to the user to provide the correct info, in the docs there is the needed setup

close #1426 close #1415
2024-07-14 18:24:20 -03:00
Alfredo Monclus 97f005759b chore: update changelog 2024-07-14 17:54:00 -03:00
Alfredo Monclus 98c6181d09 style: change the color of the junction to be equal to bg 2024-07-14 16:30:01 -03:00
96bf76f143 chore(locales): Translations update from Hosted Weblate (#1431)
* Translated using Weblate (German (de_FORMAL))

Currently translated at 83.9% (267 of 318 strings)

Translated using Weblate (German)

Currently translated at 94.0% (299 of 318 strings)

Co-authored-by: Flo082002 <flos6323@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Radiotbo <santiago@esolva.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Flo082002 <flos6323@gmail.com>
Co-authored-by: Radiotbo <santiago@esolva.com>
2024-07-14 14:17:09 -03:00
Alfredo Monclus cee185e21e fix(installer): platforms that don't have dep binaries available may need to build sdbus from source
close #1430
2024-07-13 16:26:08 -03:00
Alfredo Monclus c183e870ba refactor(network): import sdbus as the doc example 2024-07-10 12:01:54 -03:00
Alfredo Monclus 1b13f61709 fix(base_panel): do not show printer select if only 1 is configured
close #1429
2024-07-10 10:16:16 -03:00
Alfredo Monclus 184d20ef98 refactor(job_status): return early if the filename has not changed 2024-07-09 20:18:30 -03:00
Alfredo Monclus 8210a15e4b refactor(job_status): time estimation
Even if we are very confident in the estimate, such as when there is previous historic data,
variables like speed factor and possible excluded objects can impact the accuracy.
Taking these cases into account seems to be tricky.
To address this, I revised the  weightings of my previous formula based on practical considerations and observations.
2024-07-09 20:18:30 -03:00
Alfredo Monclus 05bbe4cdd3 refactor(installer): add an additional check to env removal in case an invalid external variable was set
https://github.com/dw-0/kiauh/issues/488
2024-07-09 16:56:59 -03:00
Alfredo Monclus 243e67609b refactor: remove min width of heater-list temp
it's not needed since the rewrite of update_temp
2024-07-07 14:41:41 -03:00
Alfredo Monclus f9392e674f fix(extrude): fixes if no min_extrude defined #1416 2024-07-07 13:25:30 -03:00
Alfredo Monclus fc2a44d833 style: dropdown better fit for default command on zcalibrate 2024-07-07 12:04:11 -03:00
Alfredo Monclus 7bf4e5baed feat(extrude): wait for temp or open temp panel automatically close #1416 2024-07-06 16:58:07 -03:00
ElectricalBoy 3f0ae26009 Update Korean translation (#1425) 2024-07-06 16:21:25 -03:00
14d070290b chore(locales): Translations update from Hosted Weblate (#1424)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (318 of 318 strings)

Deleted translation using Weblate (Gujarati)

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Zs.Antal <antonio092130@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Co-authored-by: Zs.Antal <antonio092130@icloud.com>
Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
2024-07-06 16:21:02 -03:00
Alfredo Monclus 1f2bd4cf72 refactor(dialogs): make button padding smaller and hexpand prompt buttons 2024-07-06 16:14:35 -03:00
Alfredo Monclus 599753859c fix(colorized): dialog-warning wrong color 2024-07-06 15:07:24 -03:00
Alfredo Monclus 8820059895 fix(screen): wrong logging size when resized 2024-07-06 14:57:56 -03:00
Alfredo Monclus b952130fb6 refactor(layout): reduce some elements to better fit vertical layout 2024-07-06 14:57:56 -03:00
Alfredo Monclus c53b0e27a4 feat(extrude): show more filament sensors (up to 9)
removes the enable switch if there are too many sensors, to at least show them
2024-07-06 14:57:40 -03:00
Alfredo Monclus 7aa6e06ed4 fix(temperature): improved and fixed auto select 2024-07-06 11:15:50 -03:00
Alfredo Monclus 52139326a9 feat(notifications): change icon if warnings were issued 2024-07-06 11:15:50 -03:00
Alfredo Monclus fde41e85dd feat(notifications): add clear close #1178 2024-07-06 11:15:50 -03:00
Alfredo Monclus 115dba8c88 feat(notifications): klipper config warnings 2024-07-06 11:15:50 -03:00
Alfredo Monclus 2036512064 fix(base_panel): printer select button shouldn't be sensitive when showing as current 2024-07-06 11:08:17 -03:00
Alfredo Monclus 80e153da2b refactor(graph): use max_temp 2024-07-06 11:08:17 -03:00
Alfredo Monclus af6e798be6 style(gcodes): tweak margin and paddings of the thumbnail view, use up to 3 lines 2024-07-06 11:08:17 -03:00
Alfredo Monclus 6b1e43333b refactor(docs): add changelog update some troubleshooting pages 2024-07-06 11:08:17 -03:00
dependabot[bot] a559b817bd build(deps): bump python-mpv from 1.0.6 to 1.0.7 (#1411)
Bumps [python-mpv](https://github.com/jaseg/python-mpv) from 1.0.6 to 1.0.7.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.6...v1.0.7)

---
updated-dependencies:
- dependency-name: python-mpv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 20:58:54 -03:00
dependabot[bot] b4921cd295 build(deps): bump pycairo from 1.26.0 to 1.26.1 (#1412)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.26.0 to 1.26.1.
- [Release notes](https://github.com/pygobject/pycairo/releases)
- [Changelog](https://github.com/pygobject/pycairo/blob/main/NEWS)
- [Commits](https://github.com/pygobject/pycairo/compare/v1.26.0...v1.26.1)

---
updated-dependencies:
- dependency-name: pycairo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 20:58:38 -03:00
Marcus Wu 317bf0483c fix(extrude): update only filament sensors within the limit (#1421) 2024-07-05 20:57:06 -03:00
b155635bad chore(locales): Translations update from Hosted Weblate (#1417)
* Translated using Weblate (Czech)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 93.3% (297 of 318 strings)

Co-authored-by: Jérôme Pirotte <jp353239@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Danish)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: srbjessen <srbjessen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/da/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Haktan Altın <hpro2734@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Polish)

Currently translated at 81.4% (259 of 318 strings)

Co-authored-by: Daviteusz <daviteusz0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Russian)

Currently translated at 80.1% (255 of 318 strings)

Co-authored-by: Артем <gaz70rus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Co-authored-by: Will Zhai <willzhai55@gmail.com>
Co-authored-by: Jérôme Pirotte <jp353239@gmail.com>
Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Co-authored-by: srbjessen <srbjessen@gmail.com>
Co-authored-by: Haktan Altın <hpro2734@gmail.com>
Co-authored-by: Daviteusz <daviteusz0@gmail.com>
Co-authored-by: Артем <gaz70rus@gmail.com>
2024-07-05 20:55:41 -03:00
Alfredo Monclus 03a3837336 chore: create a changelog 2024-06-29 12:25:21 -03:00
Alfredo Monclus e6462337ef feat(prompts): add regular buttons and groups 2024-06-29 12:00:20 -03:00
Alfredo Monclus fd0ccfdbab refactor: completely ignore gcode responses with temps:
i can't think of a reason to show this messages
2024-06-29 12:00:11 -03:00
Alfredo Monclus b8f48afb51 style(gcodes): on vertical while low res, save space by removing folder icon, and merging thumb and print button 2024-06-29 12:00:11 -03:00
Alfredo Monclus e39885dfe9 feat(keypad): support floating point temp 2024-06-29 00:47:23 -03:00
Alfredo Monclus d4ec08902f chore(locales): update base translation files 2024-06-27 18:25:32 -03:00
4a09672751 Translations update from Hosted Weblate (#1409)
* Added translation using Weblate (Gujarati)

Co-authored-by: Vivek Soni <vhd.vivek@gmail.com>

* Translated using Weblate (Turkish)

Currently translated at 100.0% (311 of 311 strings)

Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Vivek Soni <vhd.vivek@gmail.com>
Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
2024-06-27 18:23:42 -03:00
Alfredo Monclus 2d6c3d7d8b fix(system): re-request if no info is available, show message if fails 2024-06-27 15:04:56 -03:00
Alfredo Monclus 5602d72ff5 refactor(job_status): split metadata update into smaller methods 2024-06-27 13:31:22 -03:00
Alfredo Monclus 733cda93ea style(job_status): if there is no lcd_message center the filename 2024-06-24 21:47:35 -03:00
Alfredo Monclus cd0b519833 style: hide the printer name is it's just the default Printer 2024-06-24 21:30:08 -03:00
Alfredo Monclus ff61242856 style: slightly increase padding left on heater list 2024-06-24 19:31:05 -03:00
Alfredo Monclus c9f4f3b066 gcodes: add extra info to confirm print 2024-06-23 16:01:40 -03:00
Alfredo Monclus f7a882e6a8 job_status: double check job_id 2024-06-22 13:18:38 -03:00
Alfredo Monclus 3d75372161 network: catch errors when calling scan 2024-06-21 17:43:32 -03:00
Alfredo Monclus 8e32ba2f83 zcalibrate: workaround for dropdown closing too fast
this happens on the printer and not always
2024-06-21 17:10:14 -03:00
Alfredo Monclus 5076c5f4a4 zcalibrate: fix logging line 2024-06-21 15:42:25 -03:00
Alfredo Monclus f8b31ece5a zcalibrate: always init mesh vars 2024-06-21 15:35:58 -03:00
Alfredo Monclus c41b95d610 format_time: add non breakable spaces 2024-06-21 14:57:45 -03:00
Alfredo Monclus 6ea64739bd add stub for quieter linting with gettext 2024-06-21 14:38:28 -03:00
Alfredo Monclus 9a1e1bafa1 zcalibrate: split init to organize and cleanup 2024-06-21 14:38:28 -03:00
Alfredo Monclus 85cbbdd240 printer: probe add initial eddy support
gets the offsets

remove dockable since it's not on mainline, custom modules should use custom command settings if needed
2024-06-21 13:54:34 -03:00
Alfredo Monclus b11e18fd59 zcalibrate: add a dropdown with the function name to select
now bed_mesh_calibrate method=manual will always be there if a bed_mesh section is defined in klipper

add possibility to add custom functions

close #1350
related #1050 #1403
2024-06-21 13:40:56 -03:00
Alfredo Monclus 64e86040c9 job_status: improve save z message 2024-06-21 08:59:08 -03:00
Alfredo Monclus d4a0bef188 popups better throtle ws messages 2024-06-21 08:34:50 -03:00
Alfredo Monclus 18ec115ebc bed_mesh: lint fix 2024-06-20 23:54:06 -03:00
Alfredo Monclus 468901d99b bed_mesh and zcalibrate remove easy manual transition when no probe due to raising use unknwown probe commands, and always show what is the default if there is only 1 command in zcal close #1403 2024-06-20 23:23:50 -03:00
Alfredo Monclus 8ef5ff7289 job_status: auto-estimated time: use last print time if available 2024-06-20 23:02:08 -03:00
Alfredo Monclus 464ef04186 style: reduce the padding of the comboboxes add border radius 2024-06-20 23:02:08 -03:00
Alfredo Monclus aab42eef39 layout: fix indent when using word_char wrap 2024-06-20 23:02:08 -03:00
Alfredo Monclus 8e429a30c9 gcodes: add option to delete in the confirm, this is for users of the thumbnail mode 2024-06-20 23:02:08 -03:00
Alfredo Monclus 9279bd82b0 extrude: always add degrees 2024-06-20 23:02:08 -03:00
breakheart 0ef9021e82 change sh to bash (#1404)
'[[' used in line 14 is not supported by sh
2024-06-20 23:01:37 -03:00
16b4c78d8b Translations update from Hosted Weblate (#1399)
* Translated using Weblate (Hungarian)

Currently translated at 100.0% (311 of 311 strings)

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (311 of 311 strings)

Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (311 of 311 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (311 of 311 strings)

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Danish)

Currently translated at 99.6% (310 of 311 strings)

Co-authored-by: Hector Foss <hectorfoss@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/da/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Co-authored-by: Will Zhai <willzhai55@gmail.com>
Co-authored-by: Hector Foss <hectorfoss@gmail.com>
2024-06-20 23:00:28 -03:00
Alfredo Monclus 98c6ca5dfa job_status: make the animation smoother and overscroll a bit 2024-06-13 23:09:42 -03:00
Alfredo Monclus 629c86d95f shutdown: add space to restart 2024-06-12 21:57:26 -03:00
Alfredo Monclus c232e37b9b bedmap: dinamically determine if the number fits 2024-06-12 13:27:53 -03:00
Alfredo Monclus 036a09a4f0 Revert "kgtk: button avoid extra if"
This reverts commit 1ab8be5304.
2024-06-12 13:14:38 -03:00
Alfredo Monclus 1ab8be5304 kgtk: button avoid extra if 2024-06-12 13:10:35 -03:00
Alfredo Monclus b6d1bc73a8 update docs close #1398 2024-06-12 11:22:18 -03:00
Alfredo Monclus f6dca04b5e make the scroll a custom class 2024-06-12 11:22:18 -03:00
Alfredo Monclus f3588bb3b9 layout: reduce heater list button left padding
this should maintain alignment when disbling the graph view
2024-06-12 11:22:18 -03:00
Alfredo Monclus 81333830fb screen_panel: cleanup the update temp func 2024-06-12 11:22:18 -03:00
Alfredo Monclus be2a3f664e extrude: use a custom temp update func 2024-06-12 11:22:18 -03:00
Alfredo Monclus e4dd0c4843 dialogs: reduce margins 2024-06-12 11:22:18 -03:00
Alfredo Monclus ef81bb4769 layout: various tweaks
increase font-size

job_status improved auto-sized thumb

prioritize data over names in main and temp
2024-06-11 00:51:47 -03:00
Alfredo Monclus e8e046469b network: fix not returning with back if panel was not initialized 2024-06-10 19:59:00 -03:00
Alfredo Monclus 861b617ddb styles: base: tweak paddings to better center labels 2024-06-10 16:08:35 -03:00
Alfredo Monclus d262dfe0b2 style: material darker more centered labels 2024-06-10 16:07:45 -03:00
Alfredo Monclus 4060d6ef18 job_status: remove the status message and use the titlebar for that 2024-06-10 15:07:53 -03:00
Alfredo Monclus c0477be5cb screen: fixup reload of main 2024-06-10 14:24:18 -03:00
Alfredo Monclus c898c8afea styles: material updates 2024-06-10 14:12:41 -03:00
Alfredo Monclus 8e735bfd5d screen: refactor to fix #1397
only auto-close dialogs when changing menu struct
only remove_all when changing menu
2024-06-10 12:58:05 -03:00
Alfredo Monclus e3174c4929 fix small leaks with timers
50kb over 1200 iterations doesn't seem much, but anyway
2024-06-08 14:06:06 -03:00
Alfredo Monclus d51c82a68c functions: log the version without the extra letter 2024-06-07 15:41:14 -03:00
Alfredo Monclus ccd8fd9fcc functions: improve error handling while loading DPMS 2024-06-07 15:41:14 -03:00
Alfredo Monclus e8cc5cd591 functions: cleanup unused funcs 2024-06-07 15:41:14 -03:00
Weblate (bot)andgallegonovato 55526347a0 Translated using Weblate (Spanish) (#1392)
Currently translated at 99.6% (310 of 311 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-06-07 12:05:20 -03:00
Alfredo Monclus e7ca0ff2af docs: update theming to add more details 2024-06-07 12:04:02 -03:00
Alfredo Monclus 10bf5bdb34 docs: update network troubleshooting 2024-06-07 11:25:11 -03:00
Alfredo Monclus abdbd5aa12 installer: clarify the reconnect to the user 2024-06-07 10:04:38 -03:00
Alfredo Monclus a68a1d3b91 docs update 2024-06-07 09:50:49 -03:00
Alfredo Monclus 78465fa564 screen: add gc call when cleaning up panels 2024-06-04 18:07:41 -03:00
Alfredo Monclus 83d38a77dc change sys.exit to os._exit for pypy 2024-06-04 18:06:28 -03:00
Alfredo Monclus 4bca9ff028 shutdown: add restart ks 2024-06-04 18:06:28 -03:00
db4ebfe140 Translations update from Hosted Weblate (#1390)
* Translated using Weblate (Czech)

Currently translated at 100.0% (310 of 310 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (310 of 310 strings)

Co-authored-by: Selim <selim_guner2000@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified))

Currently translated at 94.5% (293 of 310 strings)

Co-authored-by: wsj20050623 <2129426599@qq.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (310 of 310 strings)

Co-authored-by: Vidmantas Jurka <vjurka@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Co-authored-by: Selim <selim_guner2000@hotmail.com>
Co-authored-by: wsj20050623 <2129426599@qq.com>
Co-authored-by: Vidmantas Jurka <vjurka@gmail.com>
2024-06-04 17:43:58 -03:00
Alfredo Monclus 40ce34f93b installer: fix for nm 2024-06-04 17:24:44 -03:00
Alfredo Monclus ac6f34acb0 extrude: move firmware retraction into the panel, add pressure advance control closes #724 2024-06-04 14:51:27 -03:00
Alfredo Monclus 3d542465e8 main and temp fix list color after cb014a850b 2024-06-04 14:51:27 -03:00
Alfredo Monclus 2d2e80c3fd panels: allow to call them without name 2024-06-04 11:16:50 -03:00
Alfredo Monclus 4334535783 add dev requirements 2024-06-04 09:45:39 -03:00
Alfredo Monclus ad0562fc60 retraction: fix issue with infinite scale 2024-06-03 17:54:11 -03:00
Alfredo Monclus 792fcb80c5 fix dialogs sometimes getting larger than desired 2024-06-03 17:24:46 -03:00
Alfredo Monclus e112786c02 installer: fix typos 2024-06-03 14:27:33 -03:00
Alfredo Monclus a3bfcc4f44 fix screensaver not properly resetting if the blanking is different when printing 2024-06-03 14:27:33 -03:00
dependabot[bot] 50481f6dc1 build(deps): bump requests from 2.32.2 to 2.32.3 (#1388)
Bumps [requests](https://github.com/psf/requests) from 2.32.2 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.2...v2.32.3)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 09:58:28 -03:00
Alfredo Monclus b90a6f6037 installer: to be more effective disable dhcpd and reboot when installing nm 2024-06-03 08:44:14 -03:00
Alfredo Monclus 5abfb6f226 screen: theme doesn't need a restart anymore 2024-06-03 08:22:48 -03:00
Alfredo Monclus a37cb967a1 screen: refactor theme load to allow on the fly switching 2024-06-02 12:36:53 -03:00
Alfredo Monclus cb014a850b screen: refactor theme load into separated methods 2024-06-02 10:05:58 -03:00
Alfredo Monclus 1d09d69aa1 update base translations 2024-06-02 08:39:03 -03:00
Alfredo Monclus 30d6ccd187 update translations 2024-06-02 08:32:13 -03:00
Alfredo Monclus 7ce29ab539 make the installer start nm 2024-06-02 07:02:41 -03:00
Alfredo Monclus 18853a7371 splash: show the message when klipper is shutdown 2024-06-02 06:48:11 -03:00
Alfredo Monclus fa39cb681a rename print panel to gcodes
if there are no extruders name it gcodes else print
rename print time to estimated time
use a generic icon there are no extruders
2024-06-02 06:48:11 -03:00
Alfredo Monclus 07497b8ea2 Update license info
to my knoledge we don't have any octoscreen code, so this was oversight
2024-06-02 06:48:11 -03:00
Alfredo Monclus 0254925fe4 add .venv to gitignore 2024-06-02 06:48:11 -03:00
Alfredo Monclus 08bbe9b6f1 network: offer a solution to insufficient priviledges
i do not like this but nothing else i've tried has worked so far
2024-06-02 06:48:11 -03:00
Alfredo Monclus e09a4d8d43 network: more info in the message 2024-06-02 06:48:11 -03:00
Alfredo Monclus a06d880f17 installer: cleaner questions, split default statement 2024-06-02 06:48:11 -03:00
Alfredo Monclus 06e69a71f3 installer: ask for network-manager 2024-06-02 06:48:11 -03:00
Alfredo Monclus 67767e3742 deps: cleanup 2024-06-02 06:48:11 -03:00
Alfredo Monclus 9c13468e66 network: improve message, fix deactivate error 2024-06-02 06:48:11 -03:00
Alfredo Monclus f530d36ae1 network: wep key type should be type uint
wep should not be used at this point in time
2024-06-02 06:48:11 -03:00
6ad8920b3f Translations update from Hosted Weblate (#1382)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (292 of 292 strings)

Co-authored-by: Selim <selim_guner2000@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 97.6% (285 of 292 strings)

Co-authored-by: Techsider <yannikschirm@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 100.0% (292 of 292 strings)

Co-authored-by: Niklas Tecklenborg <niklas.tecklenborg@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 99.6% (291 of 292 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (292 of 292 strings)

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Traditional))

Currently translated at 88.3% (258 of 292 strings)

Co-authored-by: 峻瑜哥 <a728728728@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hant/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Selim <selim_guner2000@hotmail.com>
Co-authored-by: Techsider <yannikschirm@gmail.com>
Co-authored-by: Niklas Tecklenborg <niklas.tecklenborg@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Co-authored-by: 峻瑜哥 <a728728728@gmail.com>
2024-06-02 06:47:57 -03:00
Bruno d0e9dd0352 KlipperScreen Install Fix (#1385)
Fixed Syntax Error from line 154 when running install script.
2024-05-31 07:45:59 -03:00
Alfredo Monclus 9a4c3879fd docs: add py3.7 to the breaking changes 2024-05-30 09:04:48 -03:00
Alfredo Monclus 1578665b71 installer: always cleanup old env 2024-05-30 09:01:16 -03:00
Alfredo Monclus 4dc364a5c6 network: support more encryptions methods 2024-05-30 02:01:59 -03:00
Alfredo Monclus d9eeec3cba network: changes to monitoring 2024-05-29 23:49:46 -03:00
Alfredo Monclus 1e944726ce network: format with black 2024-05-29 22:50:40 -03:00
Alfredo Monclus 5619a77d6e changes to make ks start and give the no support error in python 3.7 2024-05-29 22:27:52 -03:00
Alfredo Monclus 3fd370eafc printer: add pwm tool count to init 2024-05-29 14:29:11 -03:00
Alfredo Monclus 9889f551cc Revert "printer: add pwm tool count to init"
This reverts commit 6aad788018.
2024-05-29 14:28:42 -03:00
Alfredo Monclus 6aad788018 printer: add pwm tool count to init 2024-05-29 14:27:25 -03:00
Alfredo Monclus af075cdf65 bed_mesh: change how profiles with points instead of matrix are handled 2024-05-29 13:59:24 -03:00
Alfredo Monclus b91566c718 network: call an update inmediately 2024-05-28 10:37:05 -03:00
Alfredo Monclus 2091863895 network: better handling of network delete 2024-05-28 10:29:21 -03:00
Alfredo Monclus 632b10e7c0 network: hide the icon until info is available 2024-05-28 10:28:55 -03:00
Alfredo Monclus 7d6260d3ed job_status: fix layout break due to too long temps
having 3 heaters with power enabled is too long and breaks the interface, return to no extra digit in the job-status page
2024-05-27 23:19:12 -03:00
Alfredo Monclus bb8031ce89 job_status: add extra info to print list and dialog 2024-05-27 22:34:04 -03:00
Alfredo Monclus e39c286f00 deps: requests 2.32 doesn't support 3.7 2024-05-27 22:34:04 -03:00
7df2471960 Translations update from Hosted Weblate (#1375)
* Translated using Weblate (Spanish)

Currently translated at 99.3% (290 of 292 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Czech)

Currently translated at 100.0% (292 of 292 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (292 of 292 strings)

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Miloslav Kos <kos.m@post.cz>
Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
2024-05-27 22:32:53 -03:00
Alfredo Monclus 1d9e9e8d65 network: rescan after connect 2024-05-26 15:02:46 -03:00
Alfredo Monclus d88dad1e8d network: fixes for connection handling mainly delete 2024-05-26 14:30:07 -03:00
Alfredo Monclus 3c71f67f53 network: fix properly detect network type 2024-05-26 12:15:44 -03:00
Alfredo Monclus f07f77eaa6 temperature: fix inverted preheat/delta #1377 2024-05-26 09:22:25 -03:00
Alfredo Monclus 954042691d temperature: fix pre-selection close #1377 2024-05-26 08:21:23 -03:00
Alfredo Monclus 6815e9cabc network: improvements in error handling 2024-05-25 23:56:07 -03:00
Alfredo Monclus 4bea02db4e network: provide a message when failining initialization 2024-05-25 18:27:43 -03:00
Alfredo Monclus fe8b1e9d70 screen: rework panel clear 2024-05-25 17:00:42 -03:00
Alfredo Monclus 3b010e6901 job_status: add check to label animate 2024-05-25 15:15:19 -03:00
Alfredo Monclus 9bc75729d6 network: do not ask psk for open networks 2024-05-25 15:07:12 -03:00
Alfredo Monclus b9f51d39db network: do not close the psk entry if the password is invalid
also not it differentiates invalid property from other errors
2024-05-25 14:23:37 -03:00
Alfredo Monclus 36b6ce3092 printer: refactor to simplify 2024-05-25 01:55:26 -03:00
Alfredo Monclus 5dcbcea292 printer: count pwm tools 2024-05-25 01:21:17 -03:00
Alfredo Monclus a19962fb02 reduce logging 2024-05-25 00:50:25 -03:00
Alfredo Monclus bc822eebef layout: reduce some paddings
dropdowns
print items of thumbnail view
2024-05-24 23:17:13 -03:00
dependabot[bot] bf4d361403 build(deps): bump requests from 2.31.0 to 2.32.2 in /scripts (#1374)
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-24 19:17:48 -03:00
Alfredo Monclus a80b881015 network: new NetworkManager backend using sdbus (#1269)
* network: new NetworkManager backend using sdbus

drop support for old methods

* rescan changes

* add wifi on-off
2024-05-24 19:13:35 -03:00
Alfredo Monclus 524aa0e7dc drop python 3.7 support (#1271)
* drop python 3.7 support

start using  PEP 572 assignment expressions

Update FAQ

improve how unsupported versions are informed

this should be clearer on why we refuse to continue

* add more asign-expressions
2024-05-24 19:13:19 -03:00
Alfredo Monclus 462d134b1e vertical layout: increase font size
the current version of klipperscreen can have little bit more without breaking the ui in my tests
2024-05-24 16:42:25 -03:00
Alfredo Monclus 5eb268b220 main and temp: fix keypad with the new vertical layout 2024-05-24 15:42:14 -03:00
Alfredo Monclus 564db518da update translation files 2024-05-23 23:38:47 -03:00
Alfredo Monclus 3fee9cbb70 main_menu and temp: change layout to accomodate a bigger graph and list in vertical mode
close #1372
2024-05-23 23:22:15 -03:00
Alfredo Monclus 32ba2099cb job_status: use full words for remaining and allow translations 2024-05-23 23:21:24 -03:00
Alfredo Monclus bdc48d37a8 pins: add pwm_tool 2024-05-23 23:21:24 -03:00
Alfredo Monclus fc7f12b24d config: give a better description for menu errors 2024-05-23 23:18:57 -03:00
2e9308cb52 Translations update from Hosted Weblate (#1367)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: Sida Liu <liul8258@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (French)

Currently translated at 92.3% (264 of 286 strings)

Translated using Weblate (Danish)

Currently translated at 92.6% (265 of 286 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/da/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Sida Liu <liul8258@gmail.com>
Co-authored-by: Miloslav Kos <kos.m@post.cz>
2024-05-23 22:44:05 -03:00
Alfredo Monclus b9e16ec453 menu: add pins panel access while printing 2024-05-19 10:44:02 -03:00
Alfredo Monclus fe9d4257f2 main temp: fix issue with names with special characters
using special characters in names it's still not recommended!!!
2024-05-17 23:01:33 -03:00
alfrix d24c8f078a job_status: change thumb request fixes #1366 2024-05-13 18:36:16 -03:00
alfrix 7dd62decaf refactor reinit
should fix an issue when the user presses retry before the websocket fully disconnects
2024-05-13 11:55:21 -03:00
alfrix 19c083b286 splash: reformat 2024-05-13 09:40:52 -03:00
alfrix 796e4f3dee system: add labels dict 2024-05-12 15:56:17 -03:00
alfrix 1afc67b354 panels: simplificate panel sub-menu system 2024-05-12 15:53:45 -03:00
Andriy dc61787960 Ukrainian translation update (#1365)
* Ukrainian localisation update

Ukrainian localisation update

* Correcting definitions Ukrainian language

Correcting definitions

* Updated translation
2024-05-12 14:51:34 -03:00
alfrix 7d97f003c4 temperature: use long-press gesture for the popup, allow right-click
allow clicking the name to switch device when showing numpad
deprecates timeout
remove select/deselect from popup, it's redundant and conflicts with the numpad
reformat
2024-05-12 14:13:47 -03:00
alfrix 4d72330761 updater: use more descriptive names and reformat 2024-05-12 10:45:27 -03:00
alfrix e2f2023d55 zcalibrate: do not rely in self.labels 2024-05-12 10:45:04 -03:00
Selim 138c1dd4fa Translations update Turkish (#1364)
TR-Update_may
2024-05-10 10:05:16 -03:00
alfrix c9c6eb2258 config: remove printers from theme list fixes #1363 2024-05-09 15:28:32 -03:00
alfrix 03a99ded92 config: fix language not saving fixes 1362#
also adds system_lang back to the list it was missing since the switch from dropdown to menu
2024-05-09 15:23:19 -03:00
alfrix da92242ce9 move: add tooltip to invert-z 2024-05-09 13:29:05 -03:00
alfrix f6a0ca2f41 menu: fix config location 2024-05-09 13:14:09 -03:00
alfrix 2d42e0fcea move and zcalibrate: changes in z invert
now invert z will swap the button position in both panels
2024-05-09 11:59:30 -03:00
alfrix b90cfefa24 move: add tooltips 2024-05-09 11:33:02 -03:00
alfrix 6f15d51aa0 move: reformat with black 2024-05-09 11:33:02 -03:00
alfrix 312f56a6a0 system: add cpu and memory usage tracking 2024-05-09 11:33:02 -03:00
alfrix ef184ceed3 add system info panel 2024-05-09 11:33:02 -03:00
alfrix ef68ff0c11 updater: add distro name 2024-05-09 11:33:02 -03:00
alfrix 3a7bccca69 screenpanel: improve update_temp 2024-05-09 11:33:02 -03:00
alfrix 99cecc151e printer: completely remove self.devices 2024-05-09 11:33:02 -03:00
alfrix f704c56ae8 config: create a generic button type 2024-05-09 11:33:02 -03:00
alfrix 0287e68afb config: reorganization 2024-05-09 11:33:02 -03:00
alfrix ac6acd1ccf menu: rename system to update
system will be a different panel
2024-05-09 11:33:02 -03:00
dependabot[bot] b4507aef62 build(deps): bump python-mpv from 1.0.5 to 1.0.6 (#1354)
Bumps [python-mpv](https://github.com/jaseg/python-mpv) from 1.0.5 to 1.0.6.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.5...v1.0.6)

---
updated-dependencies:
- dependency-name: python-mpv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 06:17:15 -03:00
d25aa7dbfb Translations update from Hosted Weblate (#1357)
* Translated using Weblate (Czech)

Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 94.7% (271 of 286 strings)

Co-authored-by: Makers Lab <makerslab.tr@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: Rui Menezes <ruizivo.menezes@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt_BR/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Co-authored-by: Makers Lab <makerslab.tr@gmail.com>
Co-authored-by: Rui Menezes <ruizivo.menezes@gmail.com>
2024-05-08 06:15:50 -03:00
dependabot[bot] 2ab8d3f985 build(deps): bump jinja2 from 3.1.3 to 3.1.4 (#1356)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 06:14:33 -03:00
alfrix 32d0af4679 fix screen is blank after update under certain configs 2024-05-05 09:31:20 -03:00
alfrix b31a866cf7 fix issue with temp_fan that broke if show_power was True 2024-05-05 09:22:05 -03:00
2e23081914 Translations update from Hosted Weblate (#1351)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (286 of 286 strings)

Translated using Weblate (German)

Currently translated at 98.2% (281 of 286 strings)

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 98.2% (281 of 286 strings)

Co-authored-by: Sascha <saschbuerger@web.de>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Co-authored-by: Sascha <saschbuerger@web.de>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-05-04 18:05:13 -03:00
alfrix ab658e58f7 installer: fix a dep issue 2024-05-04 18:04:14 -03:00
林玮 (Jade Lin) 7e94c68993 printer: tempstore fixup (#1353)
temp from get_stat could be {} if the device is not available
2024-05-04 15:11:59 -03:00
alfrix 925dbe99ae zcalibrate: fix layout break due to long translation 2024-05-03 22:48:29 -03:00
alfrix 52754a61a8 rework websocket disconnect fixes #1352
used a solution closer to the webscocket-client docs
2024-05-03 22:03:25 -03:00
alfrix 5f70492e98 fixup for connection refactor: do not try to reconnect if on printer_select 2024-05-03 14:32:30 -03:00
alfrix 4b9295de76 heatergraph: clean press callback and connect to screensaver 2024-05-03 13:48:44 -03:00
alfrix 4c72ade658 screensaver: simplify the timer logic
i've seen some issues with the timing handling this should fix them
2024-05-03 13:44:45 -03:00
alfrix 3468988572 ws: fix wrong message in the logfile 2024-05-03 11:42:52 -03:00
alfrix 616574ed3b drop set_dev_stat and get_dev_stat
this creates a parallel set of data that could become desynced
2024-05-02 19:01:39 -03:00
alfrix 80668faa3e Optimize: update temp avoid extra casting 2024-05-02 16:34:53 -03:00
alfrix 8c9e2fd4c6 process configfile updates 2024-05-02 14:16:17 -03:00
dependabot[bot] c873ebe261 build(deps): bump websocket-client from 1.6.1 to 1.8.0 (#1349)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.6.1 to 1.8.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.6.1...v1.8.0)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 15:43:47 -03:00
alfrix 2205fa1955 update docs 2024-05-01 15:37:16 -03:00
alfrix 135e1858a8 websocket: identify the client to moonraker 2024-04-30 14:47:32 -03:00
alfrix ad2df873d3 refactor printer initialization and connection handling
removes the lag while trying to connect
cleaner code, seems faster
2024-04-30 14:27:14 -03:00
alfrix 032760e118 kgtk: do not log if printer icon missing 2024-04-30 07:26:12 -03:00
alfrix 81560ca006 refactor: combine printer query items 2024-04-30 06:32:43 -03:00
e1e3118789 Translations update from Hosted Weblate (#1348)
* Translated using Weblate (Spanish)

Currently translated at 98.2% (281 of 286 strings)

Translated using Weblate (Spanish)

Currently translated at 97.9% (280 of 286 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
2024-04-28 23:20:27 -03:00
alfrix 9a56026612 installer: explain the options a bit more 2024-04-28 22:37:09 -03:00
alfrix 750a7ee0b5 allow 2 different screen timeouts, one while printing the other if not
closes #311
2024-04-27 15:23:57 -03:00
alfrix 629ca41b88 Update base translation files 2024-04-26 23:36:20 -03:00
alfrix 8b861cd039 deps: drop python3-distutils fixes #1345, also drop virtualenv
distutils was needed previous to the switch to pygobject, now the gobject library marks that package as needed if necessary, so there is no need for adding it explicitly

virtualenv is faster to install packages it was particularly notorious on numpy, but since i've dropped numpy and matplotlib, it doesn't make much difference and adds unnecesary dependencies
2024-04-26 22:58:41 -03:00
f21a1e8acf Translations update from Hosted Weblate (#1340)
* Translated using Weblate (Portuguese)

Currently translated at 99.6% (271 of 272 strings)

Co-authored-by: Matheus Mösken Diegues <dmosken2015@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Szilárd Szabó <szilasz1975@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Italian)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Matheus Mösken Diegues <dmosken2015@gmail.com>
Co-authored-by: Szilárd Szabó <szilasz1975@gmail.com>
Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
2024-04-26 22:40:42 -03:00
ZoZo dc2165fee4 Screen Panel: Fixed emergency stop confirmation process (#1346)
Emergency stop was always proceeding without waiting for confirmation, despite the fact that user configured KlipperScreen to confirm emergency stops.
fixes #1344
2024-04-26 22:35:20 -03:00
alfrix e31ca9d09a keyboard: shift loop cleanup 2024-04-26 20:34:43 -03:00
alfrix 7474c124c3 flowboxchild: Replace if statement with if expression 2024-04-26 20:34:43 -03:00
alfrix 4dd489575e remove unused imports 2024-04-26 20:34:43 -03:00
alfrix 0f0d35af57 settings: Add tooltips 2024-04-26 20:34:43 -03:00
alfrix 3d241cecb4 printer_select: support custom icons #1240 2024-04-26 07:36:52 -03:00
alfrix 4588ed537a theme: change icon name from print to printer 2024-04-26 07:36:52 -03:00
alfrix e677e4a951 docs: add orcaslicer thumbnail guide 2024-04-25 10:21:09 -03:00
alfrix 7e5886427d bed_mesh: fix round bed not loading fixes #1343 2024-04-21 19:47:35 -03:00
alfrix 17c65f7916 job_status: overscrolling fix #1339 2024-04-21 14:55:33 -03:00
alfrix 1debee7b58 bed_mesh: show round bed without padded values 2024-04-21 14:42:48 -03:00
alfrix c75ba990c8 macros: send gcode style (G/M) macros without = 2024-04-19 21:32:19 -03:00
alfrix 574066d95c bed_mesh: deduplicate some code 2024-04-18 20:05:56 -03:00
alfrix 102b500166 bed_mesh: draw axis on round beds too 2024-04-18 19:35:31 -03:00
alfrix 11631a2f58 move: also reinit bed_mesh when inverting 2024-04-18 12:13:04 -03:00
Alfredo Monclus f22f7574b3 bed_level: support inversion and fix screws_rotation of 3/6 screws (#1335)
* bed_level: major rework

deprecate screw positions, we will be auto-detecting from now on

support rotating the layout (previously only rotated the button actions)

invert support, inverting axis in KS will invert the layout

* move: mark bed_level to reinit after invert

* bed_level: rotate with a shift function

* bed_level: rotation show popup if misconfigured

* bed_level: message for screw configurations not supportted in a more informative way

* docs: update bed_level docs
2024-04-18 12:10:58 -03:00
Weblate (bot)andF1CU 6f28f39f0e Translated using Weblate (Polish) (#1338)
Currently translated at 99.2% (270 of 272 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: F1CU <ficu1234@gmail.com>
2024-04-18 12:10:31 -03:00
alfrix 6a1e444f38 bed_mesh: bedmap draw axis 2024-04-17 20:16:20 -03:00
alfrix d23ca4557a zcalibrate: add support for axis twist compensation 2024-04-16 14:02:03 -03:00
alfrix 761548f96e zcalibrate: add confirmation for abort close #1326 2024-04-16 13:54:50 -03:00
alfrix 31f88d2ffd docs: explain in more detail the z calibrate postition 2024-04-16 10:46:47 -03:00
alfrix 6ab7160d51 docs: explain the power on button feature #1336 2024-04-16 09:16:54 -03:00
alfrix 6117b6e10d screen_panel: integrate add_option to deduplicate code 2024-04-16 09:16:38 -03:00
alfrixandSelim 198cdfcc11 Translations update Turkish
close #1327

Co-authored-by: Selim <selim_guner2000@hotmail.com>
2024-04-14 12:27:15 -03:00
Weblate (bot) 8508c5ef9a Translations update from Hosted Weblate (#1334) 2024-04-14 12:18:21 -03:00
Weblate (bot)andDr_Perry_Coke 2d8f0b201b Translations update from Hosted Weblate (#1333)
* Translated using Weblate (Chinese (Traditional))

Currently translated at 86.7% (236 of 272 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 98.5% (268 of 272 strings)

Translated using Weblate (Ukrainian)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (272 of 272 strings)

Translated using Weblate (Swedish)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Russian)

Currently translated at 95.5% (260 of 272 strings)

Translated using Weblate (Portuguese)

Currently translated at 94.1% (256 of 272 strings)

Translated using Weblate (Polish)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Dutch)

Currently translated at 98.5% (268 of 272 strings)

Translated using Weblate (Korean)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sv/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/uk/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hant/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Russian)

Currently translated at 95.5% (260 of 272 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
2024-04-14 01:22:13 -03:00
Weblate (bot)andDr_Perry_Coke 708c7c1925 Translations update from Hosted Weblate (#1332)
* Translated using Weblate (Chinese (Traditional))

Currently translated at 86.7% (236 of 272 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 98.5% (268 of 272 strings)

Translated using Weblate (Ukrainian)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (272 of 272 strings)

Translated using Weblate (Swedish)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Russian)

Currently translated at 95.5% (260 of 272 strings)

Translated using Weblate (Portuguese)

Currently translated at 94.1% (256 of 272 strings)

Translated using Weblate (Polish)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Dutch)

Currently translated at 98.5% (268 of 272 strings)

Translated using Weblate (Korean)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sv/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/uk/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hant/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Russian)

Currently translated at 95.5% (260 of 272 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
2024-04-14 01:21:40 -03:00
5d77eb94aa Translations update from Hosted Weblate (#1331)
* Translated using Weblate (German)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Niklas Tecklenborg <niklas.tecklenborg@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Korean)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: 방영웅 <bangyeongung20@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Traditional))

Currently translated at 86.7% (236 of 272 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 98.5% (268 of 272 strings)

Translated using Weblate (Ukrainian)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (272 of 272 strings)

Translated using Weblate (Swedish)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Russian)

Currently translated at 95.5% (260 of 272 strings)

Translated using Weblate (Portuguese)

Currently translated at 94.1% (256 of 272 strings)

Translated using Weblate (Polish)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Dutch)

Currently translated at 98.5% (268 of 272 strings)

Translated using Weblate (Korean)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sv/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/uk/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hant/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Russian)

Currently translated at 95.5% (260 of 272 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Niklas Tecklenborg <niklas.tecklenborg@gmail.com>
Co-authored-by: 방영웅 <bangyeongung20@gmail.com>
Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
2024-04-14 01:20:46 -03:00
+32 86a83684c9 Translations update from Hosted Weblate (#1330)
* Translated using Weblate (Czech)

Currently translated at 96.3% (262 of 272 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Czech)

Currently translated at 96.3% (262 of 272 strings)

Co-authored-by: Mick#6366 <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Czech)

Currently translated at 96.3% (262 of 272 strings)

Co-authored-by: Michal Bitala <bitala.michal@seznam.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Danish)

Currently translated at 98.5% (268 of 272 strings)

Co-authored-by: srbjessen <srbjessen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/da/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Danish)

Currently translated at 98.5% (268 of 272 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/da/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Niklas Tecklenborg <niklas.tecklenborg@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 99.6% (271 of 272 strings)

Translated using Weblate (German (de_FORMAL))

Currently translated at 91.5% (249 of 272 strings)

Translated using Weblate (German)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Mike Zweifel <mike@mikezweifel.ch>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Sascha <saschbuerger@web.de>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: criscrafter <criscrafter80@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German (de_FORMAL))

Currently translated at 91.5% (249 of 272 strings)

Translated using Weblate (German)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: bbraeu <braeu.bernhard@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German (de_FORMAL))

Currently translated at 91.5% (249 of 272 strings)

Co-authored-by: Sucuk4mylife <civandenizsevin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 99.6% (271 of 272 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 99.6% (271 of 272 strings)

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (French)

Currently translated at 98.1% (267 of 272 strings)

Co-authored-by: samuel fradette <fradette20@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Japanese)

Currently translated at 68.3% (186 of 272 strings)

Translated using Weblate (Italian)

Currently translated at 98.5% (268 of 272 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (272 of 272 strings)

Translated using Weblate (Hebrew)

Currently translated at 78.6% (214 of 272 strings)

Translated using Weblate (French)

Currently translated at 98.1% (267 of 272 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/he/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ja/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (French)

Currently translated at 98.1% (267 of 272 strings)

Co-authored-by: Guilouz <guilouz6@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (French)

Currently translated at 98.1% (267 of 272 strings)

Co-authored-by: Bahoué <stef.griv@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (French)

Currently translated at 98.1% (267 of 272 strings)

Co-authored-by: Nackophilz <zrv4flra@anonaddy.me>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Italian)

Currently translated at 98.5% (268 of 272 strings)

Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Italian)

Currently translated at 98.5% (268 of 272 strings)

Co-authored-by: Riccardo Babetto <riccardobabetto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Italian)

Currently translated at 98.5% (268 of 272 strings)

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Korean)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: 방영웅 <bangyeongung20@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Korean)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: 나노 <nns30915@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Traditional))

Currently translated at 86.7% (236 of 272 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 98.5% (268 of 272 strings)

Translated using Weblate (Ukrainian)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (272 of 272 strings)

Translated using Weblate (Swedish)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Russian)

Currently translated at 95.5% (260 of 272 strings)

Translated using Weblate (Portuguese)

Currently translated at 94.1% (256 of 272 strings)

Translated using Weblate (Polish)

Currently translated at 96.3% (262 of 272 strings)

Translated using Weblate (Dutch)

Currently translated at 98.5% (268 of 272 strings)

Translated using Weblate (Korean)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sv/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/uk/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hant/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Korean)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: 이정희 <daemul72@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Dutch)

Currently translated at 98.5% (268 of 272 strings)

Co-authored-by: Thijs Triemstra <info@collab.nl>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Dutch)

Currently translated at 98.5% (268 of 272 strings)

Co-authored-by: Maxime Carrein <maxime.c.work@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Dutch)

Currently translated at 98.5% (268 of 272 strings)

Co-authored-by: Mikachu <micah.sh@proton.me>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Polish)

Currently translated at 96.3% (262 of 272 strings)

Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Polish)

Currently translated at 96.3% (262 of 272 strings)

Co-authored-by: Daviteusz <daviteusz0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Portuguese)

Currently translated at 94.1% (256 of 272 strings)

Co-authored-by: Henrique Magarotto <magarotto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Portuguese)

Currently translated at 94.1% (256 of 272 strings)

Co-authored-by: Matheus Mösken Diegues <dmosken2015@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Russian)

Currently translated at 95.5% (260 of 272 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Swedish)

Currently translated at 96.3% (262 of 272 strings)

Co-authored-by: eltacoloco <hampus.lind@webbpost.nu>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sv/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Swedish)

Currently translated at 96.3% (262 of 272 strings)

Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sv/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Faruk 3d <ozcanfaruk.3d@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Selim GUNER <selimguner2000@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Nurettin Sevdik <nurettinsevdik10@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Ukrainian)

Currently translated at 96.3% (262 of 272 strings)

Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/uk/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified))

Currently translated at 98.5% (268 of 272 strings)

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified))

Currently translated at 98.5% (268 of 272 strings)

Co-authored-by: Samuel Wang <imhsaw@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 96.3% (262 of 272 strings)

Co-authored-by: Bernardo Scolnik <bscolnik@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt_BR/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Slovenian)

Currently translated at 91.9% (250 of 272 strings)

Translated using Weblate (Vietnamese)

Currently translated at 36.7% (100 of 272 strings)

Translated using Weblate (Estonian)

Currently translated at 0.0% (0 of 272 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 96.3% (262 of 272 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/et/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sl/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/vi/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Vietnamese)

Currently translated at 36.7% (100 of 272 strings)

Co-authored-by: Lâm Trần <trandanhlam99@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/vi/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Slovenian)

Currently translated at 91.9% (250 of 272 strings)

Co-authored-by: Dominik <dominik.sostar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sl/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Mick#6366 <kos.m@post.cz>
Co-authored-by: Michal Bitala <bitala.michal@seznam.cz>
Co-authored-by: srbjessen <srbjessen@gmail.com>
Co-authored-by: Niklas Tecklenborg <niklas.tecklenborg@gmail.com>
Co-authored-by: Mike Zweifel <mike@mikezweifel.ch>
Co-authored-by: Sascha <saschbuerger@web.de>
Co-authored-by: criscrafter <criscrafter80@gmail.com>
Co-authored-by: bbraeu <braeu.bernhard@gmail.com>
Co-authored-by: Sucuk4mylife <civandenizsevin@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Co-authored-by: samuel fradette <fradette20@gmail.com>
Co-authored-by: Guilouz <guilouz6@hotmail.com>
Co-authored-by: Bahoué <stef.griv@gmail.com>
Co-authored-by: Nackophilz <zrv4flra@anonaddy.me>
Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Co-authored-by: Riccardo Babetto <riccardobabetto@gmail.com>
Co-authored-by: 방영웅 <bangyeongung20@gmail.com>
Co-authored-by: 나노 <nns30915@gmail.com>
Co-authored-by: 이정희 <daemul72@gmail.com>
Co-authored-by: Thijs Triemstra <info@collab.nl>
Co-authored-by: Maxime Carrein <maxime.c.work@gmail.com>
Co-authored-by: Mikachu <micah.sh@proton.me>
Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Co-authored-by: Daviteusz <daviteusz0@gmail.com>
Co-authored-by: Henrique Magarotto <magarotto@gmail.com>
Co-authored-by: Matheus Mösken Diegues <dmosken2015@gmail.com>
Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Co-authored-by: eltacoloco <hampus.lind@webbpost.nu>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: Faruk 3d <ozcanfaruk.3d@gmail.com>
Co-authored-by: Selim GUNER <selimguner2000@gmail.com>
Co-authored-by: Nurettin Sevdik <nurettinsevdik10@gmail.com>
Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Co-authored-by: Will Zhai <willzhai55@gmail.com>
Co-authored-by: Samuel Wang <imhsaw@gmail.com>
Co-authored-by: vjurka <v@jurka.lt>
Co-authored-by: Bernardo Scolnik <bscolnik@gmail.com>
Co-authored-by: Lâm Trần <trandanhlam99@gmail.com>
Co-authored-by: Dominik <dominik.sostar@gmail.com>
2024-04-14 01:20:18 -03:00
alfrix 7b42c2bdc2 Weblate sync 2024-04-13 13:47:10 -03:00
f122b1883b Translations update from Hosted Weblate (#1323)
* Translated using Weblate (Korean)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: 방영웅 <bangyeongung20@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German)

Currently translated at 98.8% (269 of 272 strings)

Co-authored-by: Niklas Tecklenborg <niklas.tecklenborg@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Faruk 3d <ozcanfaruk.3d@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German (de_FORMAL))

Currently translated at 91.5% (249 of 272 strings)

Co-authored-by: Sucuk4mylife <civandenizsevin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Selim GUNER <selimguner2000@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: 방영웅 <bangyeongung20@gmail.com>
Co-authored-by: vjurka <v@jurka.lt>
Co-authored-by: Niklas Tecklenborg <niklas.tecklenborg@gmail.com>
Co-authored-by: Faruk 3d <ozcanfaruk.3d@gmail.com>
Co-authored-by: Sucuk4mylife <civandenizsevin@gmail.com>
Co-authored-by: Selim GUNER <selimguner2000@gmail.com>
2024-04-13 12:59:44 -03:00
Mike Zweifel 4a964ddb47 Translated using Weblate (German)
Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Mike Zweifel <mike@mikezweifel.ch>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen
2024-04-13 17:49:08 +02:00
Selim GUNER 0cfd2c1bd9 Translated using Weblate (Turkish)
Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Selim GUNER <selimguner2000@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen
2024-04-13 17:49:08 +02:00
Sucuk4mylife 68e07d248c Translated using Weblate (German (de_FORMAL))
Currently translated at 91.5% (249 of 272 strings)

Co-authored-by: Sucuk4mylife <civandenizsevin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen
2024-04-13 17:49:08 +02:00
Faruk 3d 590bca9522 Translated using Weblate (Turkish)
Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Faruk 3d <ozcanfaruk.3d@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen
2024-04-13 17:49:08 +02:00
Niklas Tecklenborg ae1c81b539 Translated using Weblate (German)
Currently translated at 98.8% (269 of 272 strings)

Co-authored-by: Niklas Tecklenborg <niklas.tecklenborg@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen
2024-04-13 17:49:07 +02:00
vjurka a55e3bb32d Translated using Weblate (Lithuanian)
Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen
2024-04-13 17:49:07 +02:00
방영웅 bb7cb87f08 Translated using Weblate (Korean)
Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: 방영웅 <bangyeongung20@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translation: KlipperScreen/KlipperScreen
2024-04-13 17:49:07 +02:00
alfrix a011556b88 move: support rescaling the slider if machine limits are changed 2024-04-13 12:28:55 -03:00
alfrix fad00227fa job_status: fix filename sometimes not scrolling until the end 2024-04-13 10:27:07 -03:00
alfrix b091eeff37 bed_mesh: add support for rotation and inversion to the meshMap 2024-04-13 10:27:07 -03:00
alfrix 6908d5832c bed_level: add a warning for the screws not being used 2024-04-13 10:25:19 -03:00
alfrix 6886c17604 bed_level: add a specific center screw icon
make z-bolt theme middle screws more visible

make colorized specific icons for the bed
2024-04-13 10:24:57 -03:00
alfrix ece8526dfe bed_level: do not round screw positions
fixes some cases where screws were not detected when doing screws_tilt_calibrate

i don't remember why they were rounded, but the panel went through several revisions at this point and it doesn't seem necessary
2024-04-09 21:55:01 -03:00
alfrix c774d2ed06 style: change z icons to arrows only, to avoid misinterpretations 2024-04-09 15:13:02 -03:00
alfrix 0add3823bd logging: slightly shorter logging message 2024-04-09 13:40:27 -03:00
alfrix 3cce75c039 config: add a help message for people that confuse Klipper with KlipperScreen 2024-04-09 13:08:58 -03:00
alfrix a18b198bf2 dialogs: add the ability to show dialogs without buttons for fullscreen view (click to close) 2024-04-07 12:26:59 -03:00
alfrix b1e71283a6 heatergraph: add the ability to go fullscreen when clicked close #740 2024-04-07 11:43:45 -03:00
alfrix 11cebe8c11 docs: update menu close #1322 2024-04-07 08:49:05 -03:00
7d226d25d1 Translations update from Hosted Weblate (#1321)
* Translated using Weblate (Spanish)

Currently translated at 99.6% (271 of 272 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (272 of 272 strings)

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
2024-04-07 08:01:05 -03:00
alfrix fafb940a71 menu: fixup 49a8fa8186 2024-04-07 07:59:41 -03:00
alfrix 13b2fe51ff docs: minor changes 2024-04-05 23:08:12 -03:00
alfrix eb1de5d429 docs: rotation create a table of contents 2024-04-05 21:13:07 -03:00
alfrix eda255c52e docs: explain some methods a little bit more
move lcd-show to the bottom since they are almost deprecated at this point
2024-04-05 10:21:12 -03:00
alfrix 76b6c06f88 docs: troubleshooting add note about multi-printer setup 2024-04-05 09:10:54 -03:00
alfrix 57904efc7e docs: style the headers so that they separate sections more clearly 2024-04-05 08:59:44 -03:00
alfrix 1b07839553 docs: troubleshooting put the alternatives collapsed to not distract users from the important bits 2024-04-05 08:58:56 -03:00
alfrix 49a8fa8186 menu: add config_sections of printer.cfg to improve menu filtering
remove idle_timeout from the enable status (not used)

make status data do less stuff for performance reasons

separate printer and moonraker in status enable

docs:
make menu config look more like configuration reference of klipper
also fixes some mistakes and simplify the description
2024-04-05 07:45:00 -03:00
alfrix d21033ad55 menu: directly return enable condition do not save in a variable 2024-04-04 11:30:08 -03:00
alfrix e34205a9cf translations: update base files 2024-04-03 14:37:13 -03:00
alfrix 10bb640997 docs: minor updates 2024-04-03 14:35:12 -03:00
Alfredo Monclus 6cd1a8e12f Add an alternative to X close #1289 (#1306)
* Changes to allow using cage-kiosk

Wayland support close #1289

* installer: many improvements

* installer: add notes about wayland status

* deps: don't pull xserver with updates
2024-04-03 14:32:32 -03:00
alfrix ec39332d34 docs: explain more the procedure to grab system logs 2024-04-03 14:31:21 -03:00
alfrix e5280b8d7a deps: don't pull in networkmanager with the updates close #1319 2024-04-03 13:56:02 -03:00
alfrix 0441b5bd8e limits: fix panel not loading if minimum_cruise_ratio wasnt defined 2024-04-03 13:50:00 -03:00
alfrix a4a09e0c48 workflow: add doc link to the bot 2024-04-02 20:06:19 -03:00
alfrix 9e42576bb2 limits: fix issue that made scales to not show the correct value if it was significantly changed from an external source, this also fixes the little jump the scales suffered on update 2024-04-02 19:49:35 -03:00
alfrix b7cbbee4d1 limits: change to minimum cruise ratio 2024-04-02 19:25:16 -03:00
alfrix e62b0ac4ad lint fix 2024-04-01 18:49:03 -03:00
alfrix aae9e842d0 spoolman: fix layout issue when filament name is very long fixes #1318 2024-04-01 13:39:33 -03:00
alfrix 69e3547026 docs: fix Android docs not correctly addressing exec perms close #1313 2024-04-01 11:56:40 -03:00
alfrix 561744222e docs: add the resource warning to the FAQ 2024-04-01 11:46:32 -03:00
alfrix b93fd08b6f base_panel: resource warning changes
make the notification contain the name of the printer

use avg cpu instead of individual core to be less intrusive, also because moonraker seems to report higher core usage than htop, which is strange
2024-04-01 11:46:32 -03:00
alfrix aac1801ceb startup change bash to sh
in debian /bin/sh points to dash which is more lightweight
2024-04-01 11:46:32 -03:00
Damien TOURDE 9d320ae710 docs: add some details to VNC page (#1314)
* docs: add some details to VNC page

* fix numbers
2024-04-01 11:45:40 -03:00
3abfe2dc5c Translations update from Hosted Weblate (#1312)
* Translated using Weblate (Vietnamese)

Currently translated at 37.1% (100 of 269 strings)

Co-authored-by: Lâm Trần <trandanhlam99@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/vi/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (269 of 269 strings)

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Lâm Trần <trandanhlam99@gmail.com>
Co-authored-by: Will Zhai <willzhai55@gmail.com>
2024-04-01 11:44:10 -03:00
alfrix 1c9d82adfa heatergraph: add power representation (if set to show power in settings)
power will use a dashed line

target will be represetnted with fill
2024-03-22 09:24:23 -03:00
alfrix 54ad2981bc zcalibrate: fix delta and round beds not working fixes #1310 2024-03-21 09:56:30 -03:00
alfrix 6ab0566fe1 error_modal: add wrap mode 2024-03-20 23:24:38 -03:00
Alfredo Monclus 14a02e5bcf widgets: create autogrid: a custom grid that arranges itself (#1307) 2024-03-20 23:14:43 -03:00
alfrix 4d168c2319 heatergraph: revert add_object changes 2024-03-20 23:08:16 -03:00
alfrix 460d480621 docs: config move includes to the bottom 2024-03-20 22:48:48 -03:00
alfrix 703e136d45 base_panel: always show title when switching panels
the high usage report will come back if necessary
2024-03-20 22:01:30 -03:00
alfrix 3ea10b5404 heatergraph: fix sometimes not reinitializing correctly 2024-03-20 22:01:30 -03:00
alfrix b98bcf857c prompts: fix a potential issue if the user sends multiple show commands in succession 2024-03-20 22:01:30 -03:00
877c477723 Translations update from Hosted Weblate (#1305)
* Translated using Weblate (Slovenian)

Currently translated at 93.3% (251 of 269 strings)

Translated using Weblate (Slovenian)

Currently translated at 0.0% (0 of 269 strings)

Co-authored-by: Dominik <dominik.sostar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Danish)

Currently translated at 100.0% (269 of 269 strings)

Co-authored-by: srbjessen <srbjessen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/da/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (269 of 269 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Dominik <dominik.sostar@gmail.com>
Co-authored-by: srbjessen <srbjessen@gmail.com>
Co-authored-by: vjurka <v@jurka.lt>
2024-03-20 08:57:10 -03:00
alfrix 755604aa73 workflow updates 2024-03-20 08:56:44 -03:00
alfrix 1ac7465e82 base_panel: usage report count at least 3 cycles of high usage 2024-03-20 08:43:48 -03:00
alfrix 441cde585c base_panel: cpu report less intrusive, needs two cycles to enter high usage report 2024-03-20 08:16:47 -03:00
alfrix 9d5ab88fd5 kgtk: remove togglebutton (not used) 2024-03-18 09:51:39 -03:00
alfrix daed9a098b docs: only trigger doc pages rebuild when modifying the doc folder 2024-03-18 08:53:40 -03:00
dependabot[bot] 48b374c73e build(deps): bump pygobject from 3.44.1 to 3.48.1 (#1299)
Bumps [pygobject]() from 3.44.1 to 3.48.1.

---
updated-dependencies:
- dependency-name: pygobject
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 08:33:09 -03:00
b7f6b6a65e Translations update from Hosted Weblate (#1300)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (269 of 269 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (269 of 269 strings)

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Vietnamese)

Currently translated at 8.1% (22 of 269 strings)

Added translation using Weblate (Vietnamese)

Co-authored-by: Lâm Trần <trandanhlam99@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/vi/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Korean)

Currently translated at 94.4% (254 of 269 strings)

Co-authored-by: 나노 <nns30915@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Italian)

Currently translated at 100.0% (269 of 269 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (269 of 269 strings)

Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Korean)

Currently translated at 94.4% (254 of 269 strings)

Co-authored-by: 이정희 <daemul72@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Dutch)

Currently translated at 100.0% (269 of 269 strings)

Co-authored-by: Mikachu <micah.sh@proton.me>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

* Added translation using Weblate (Slovenian)

Co-authored-by: Dominik <dominik.sostar@gmail.com>

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Co-authored-by: Lâm Trần <trandanhlam99@gmail.com>
Co-authored-by: 나노 <nns30915@gmail.com>
Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Co-authored-by: 이정희 <daemul72@gmail.com>
Co-authored-by: Mikachu <micah.sh@proton.me>
Co-authored-by: Dominik <dominik.sostar@gmail.com>
2024-03-18 08:32:11 -03:00
alfrix 865d38217e print: refactor file updates and moves, fixes #1303 2024-03-17 12:29:12 -03:00
alfrix ebf7d574b7 job_status: while on auto remaining time bail out of slicer estimation if it's wrong (print is taking longer than slicer estimation) 2024-03-17 03:46:17 -03:00
alfrix 8f75259e0f base_panel: add early return for update response 2024-03-16 15:49:16 -03:00
alfrix 082fba4104 job_status: fix progess of no-extrusion prints (no print_duration reported) 2024-03-16 15:47:33 -03:00
alfrix 445dda6321 files: move refresh to ready status 2024-03-16 15:47:33 -03:00
alfrix 489bd495ea base_panel: titlebar: turn red if high cpu or memory is in use, show usage
base_panel: rate limit usage notification
2024-03-16 15:47:31 -03:00
alfrix 16f967a86c docs: touch calibration add extra deps needed for xtcal 2024-03-15 09:51:26 -03:00
alfrix cc4ff7e2b3 docs: manual update add deactivate 2024-03-13 22:45:19 -03:00
alfrix 46f3f80c8a print: fix print time not showing in subfolders fixes #1294 2024-03-13 19:57:45 -03:00
alfrix b23a27d296 docs: 35 gpio update 2024-03-13 05:27:33 -03:00
alfrix 1e2f538210 job_status: fix metadata not updating after printer switch fixes #1301 2024-03-13 05:27:33 -03:00
alfrix a312c28471 GitHub: add helper bot for bugs 2024-03-13 05:27:26 -03:00
alfrix 6a81a90cda screen: different wayland check 2024-03-13 05:26:56 -03:00
alfrix a32d1d8e80 docs: 35 might need to disable vc4 to work 2024-03-10 09:52:15 -03:00
alfrix e626db9d29 docs: fb correct the title of the example 2024-03-10 09:04:46 -03:00
alfrix a1af03df0f docs: remove fb warning, depending on how you install the screen you may need to create it, for example using a gpio screen and not using lcd-show repos, it needs to be created on debian bullseye 2024-03-09 18:41:59 -03:00
alfrix 9052481af3 service: fix #1297 2024-03-09 18:37:16 -03:00
alfrix 53b9277b6c docs: improve hdmi and rotation 2024-03-09 16:03:16 -03:00
alfrix ed017c4b3c docs: give more notes to the rotation example 2024-03-09 14:54:38 -03:00
alfrix b7d9517008 base: disable shutdown shortcut when in panel 2024-03-09 14:31:38 -03:00
878d567404 Translations update from Hosted Weblate (#1293)
* Translated using Weblate (Spanish)

Currently translated at 99.6% (268 of 269 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Dutch)

Currently translated at 99.6% (268 of 269 strings)

Co-authored-by: Thijs Triemstra <info@collab.nl>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

* Added translation using Weblate (Estonian)

Co-authored-by: Gerry Mäekivi <gerrymaekivi@gmail.com>

* Translated using Weblate (French)

Currently translated at 99.6% (268 of 269 strings)

Co-authored-by: samuel fradette <fradette20@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Thijs Triemstra <info@collab.nl>
Co-authored-by: Gerry Mäekivi <gerrymaekivi@gmail.com>
Co-authored-by: samuel fradette <fradette20@gmail.com>
2024-03-09 12:35:15 -03:00
alfrix 43277158f9 gcode_macros: add lowercase letters to the params 2024-03-09 12:32:35 -03:00
Frédéric Beaucamp 84f7c1acff Improve params pattern to catch more macros (#1295)
The current pattern can only take into account params followed by default. The proposal catches more parameters and removes white spaces if present.
2024-03-09 12:31:51 -03:00
alfrix 97b4b544cb printer: tempstore fixup 2024-03-09 12:21:23 -03:00
alfrix 68c4025902 create the shutdown panel, add it to the action bar, remove items from system panel
shutdown maintain estop during printing
add option to shudown both host and printer close #1207
simplify host and printer dialog if ks is local, do both
2024-03-09 12:19:01 -03:00
alfrix ee501f2594 rest: cleanup requests
increase timeout to slightly larger than a multiple of 3, which is the default TCP packet retransmission window.
2024-03-09 09:09:41 -03:00
alfrix cdf8d12710 action bar buttons visibility tweak 2024-03-09 09:09:41 -03:00
alfrix 7cd6107998 KlippyRest/Websocket simplify methods into comprehensions 2024-03-09 08:24:03 -03:00
alfrix 292dda7416 heatergraph: catch tempstore not valid 2024-03-08 21:22:51 -03:00
alfrix 645371dc1a dependabot: less update checks, there is no need to check so frequently 2024-03-08 09:57:59 -03:00
alfrix 8eec15fbf8 job_status: show current offset when saving to endstop close #1286 2024-03-08 09:57:59 -03:00
alfrix f58cdcb31a zcalibrate: rewrite the functions that get the location to probe due to reported issues
thanks Aubey
2024-03-08 09:57:59 -03:00
alfrix 01193c203c zcalibrate: do not use safe_z if the printer has an endstop 2024-03-04 20:08:42 -03:00
alfrix 74e9f61c40 service unit updates 2024-03-04 19:59:43 -03:00
alfrix 2d5936bd09 docs: update touch calibration 2024-03-03 22:19:13 -03:00
alfrix 8db8df99f0 installer: move all the pkg related to x together 2024-03-03 22:19:13 -03:00
Stephan Wendel 2c778cce7f fix install in chroot fixes #1291
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2024-03-03 21:52:52 -03:00
Selim 96b624bef0 Tr_update_march_2024 (#1292)
Tr_update_march_202
2024-03-03 21:48:49 -03:00
alfrix d27c54b0b7 docs: faq fix table align 2024-03-03 01:51:13 -03:00
alfrix 186e698698 docs: minor hw updates 2024-03-03 01:43:58 -03:00
alfrix daffa0d67b docs: improve touch issues 2024-03-03 01:43:08 -03:00
alfrix b97ec9aa86 docs: update framebuffer troubleshooting add fbcp option 2024-03-03 01:42:41 -03:00
alfrix 5d5cfb5189 Update translation files to add new lines 2024-03-02 17:40:33 -03:00
alfrix 2a073aab53 spoolman: convert errors to popups make them translatable close #1287 2024-03-02 17:39:15 -03:00
alfrix a1a15f319d docs: add alternative to xinput list 2024-03-02 17:30:14 -03:00
alfrix 597d4301b6 installer: cleanups 2024-03-02 17:30:03 -03:00
alfrix e0af63774d changes for bookworm 2024-03-02 00:38:02 -03:00
Alfredo Monclus ce884154d6 print panel refactor and new features (#1270)
Adds a grid/thumbnail mode (switchable to the list mode)
last mode used is saved
faster load and less memory usage
add sort by size
2024-02-29 15:07:50 -03:00
773a5a5fb7 Translations update from Hosted Weblate (#1285)
* Translated using Weblate (Portuguese)

Currently translated at 97.7% (257 of 263 strings)

Co-authored-by: Matheus Mösken Diegues <dmosken2015@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (French)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: Nackophilz <zrv4flra@anonaddy.me>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Matheus Mösken Diegues <dmosken2015@gmail.com>
Co-authored-by: Nackophilz <zrv4flra@anonaddy.me>
Co-authored-by: Will Zhai <willzhai55@gmail.com>
2024-02-29 15:01:54 -03:00
alfrix 7c99ea05f3 docs: add some hw guides
also remove dead links
2024-02-29 14:59:15 -03:00
alfrix 543dc97d21 docs: update touch section 2024-02-29 14:59:15 -03:00
alfrix 0570706bbe installer: fixup polkit permissions 2024-02-29 14:59:15 -03:00
alfrix 6ad9b13c42 docs: add a touch calibration method
the previous method was removed from the docs because it was outdated and didn't work anymore

this method is working for me in debian 12 bookworm
2024-02-28 20:20:08 -03:00
alfrix bebee3926b docs: center images and tables 2024-02-26 16:54:14 -03:00
alfrix d681105b1a docs: links update to fix warnings 2024-02-26 09:41:38 -03:00
alfrix 6a91e04532 heatergraph: optimzations 2024-02-25 17:51:53 -03:00
alfrix a023c01ae8 layout and style changes for comboboxes
make comboboxes arrows dissappear when not active

correct the color of the combo

make the items bigger for easier selection
2024-02-25 13:48:15 -03:00
alfrix c35b52805d layout: make popover buttons larger and add a border 2024-02-25 12:09:48 -03:00
Alfredo Monclus 0226ba0d95 screen: accept monitor number param (#1263)
This allows starting fullscreen on a specific display/monitor while in standalone mode
2024-02-19 20:23:02 -03:00
alfrix f0abcfb0b0 Revert "build(deps): bump pycairo from 1.23.0 to 1.26.0 (#1278)"
This reverts commit 4ab595cde8.
2024-02-19 09:50:28 -03:00
dependabot[bot] 4ab595cde8 build(deps): bump pycairo from 1.23.0 to 1.26.0 (#1278)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.23.0 to 1.26.0.
- [Release notes](https://github.com/pygobject/pycairo/releases)
- [Changelog](https://github.com/pygobject/pycairo/blob/main/NEWS)
- [Commits](https://github.com/pygobject/pycairo/compare/v1.23.0...v1.26.0)

---
updated-dependencies:
- dependency-name: pycairo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 09:49:54 -03:00
dependabot[bot] 9d9235712c build(deps): bump pycairo from 1.23.0 to 1.26.0 (#1272)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.23.0 to 1.26.0.
- [Release notes](https://github.com/pygobject/pycairo/releases)
- [Changelog](https://github.com/pygobject/pycairo/blob/main/NEWS)
- [Commits](https://github.com/pygobject/pycairo/compare/v1.23.0...v1.26.0)

---
updated-dependencies:
- dependency-name: pycairo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-18 17:35:01 -03:00
c2fd401261 Translations update from Hosted Weblate (#1274)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (263 of 263 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: Nurettin Sevdik <nurettinsevdik10@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Co-authored-by: Nurettin Sevdik <nurettinsevdik10@gmail.com>
2024-02-18 17:34:47 -03:00
Alfredo Monclus d9a361cacc ws: fix issue that made buttons busy forever fixes #1087 (#1266)
* ws: fix issue that made buttons busy forever fixes #1087

* ws: reduce to high_idle due to touch not as responsive

* ws: make string translatable

* less animation steps for the spinner

the slower spinning gear icon is actually more pleasant to look
2024-02-18 17:26:08 -03:00
alfrix 0fd8f90943 fine_tune: fix #1277 2024-02-18 16:17:05 -03:00
alfrix cd51faee30 retraction panel: remove old re parsing of responses, it has not been necessary for some time 2024-02-12 06:42:34 -03:00
32e924490d Translations update from Hosted Weblate (#1260)
* Translated using Weblate (German)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: criscrafter <criscrafter80@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Italian)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Dutch)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: Thijs Triemstra <info@collab.nl>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Czech)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: Mick#6366 <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: criscrafter <criscrafter80@gmail.com>
Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Co-authored-by: Thijs Triemstra <info@collab.nl>
Co-authored-by: Mick#6366 <kos.m@post.cz>
2024-02-11 21:23:11 -03:00
Péter Németh ff1d98f5a0 Fix bed level complete icon (#1268)
* Fix #1267
2024-02-11 21:08:13 -03:00
alfrix 0d4f19e406 job_status: fix for progress sometimes not starting at 0 2024-02-09 18:18:46 -03:00
alfrix f2afc1f2ef Add funding yml 2024-02-09 18:18:46 -03:00
alfrix 2a5e9b371e network: fix strength not shown fixes #1265 2024-02-09 01:49:42 -03:00
alfrix c832c90f47 docs: add splash_screen to screenshots 2024-02-03 23:01:27 -03:00
Weblate (bot)andBernardo Scolnik 71ffa00591 Translated using Weblate (Portuguese (Brazil)) (#1255)
Currently translated at 100.0% (263 of 263 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (263 of 263 strings)

Added translation using Weblate (Portuguese (Brazil))


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt_BR/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Bernardo Scolnik <bscolnik@gmail.com>
2024-02-01 12:21:57 -03:00
alfrix 6ee52f13e8 base_panel: fix issue with panel not loading during shutdown status 2024-02-01 12:15:29 -03:00
Thijs Triemstra 3ee20617cd docs: update klipper repo url (#1257) 2024-01-30 04:16:13 -03:00
alfrix 8c485b2f39 docs: update remote screens docs 2024-01-30 04:15:08 -03:00
alfrix acb187970f requirements: add known minimum versions for jinja and requests 2024-01-27 13:11:58 -03:00
alfrix 3c911ba7c7 printer: change how the tempstore is initialized and updated, to avoid unnecesary retries 2024-01-26 22:43:29 -03:00
alfrix 051a53ec22 changes: add commit of config changes 2024-01-26 21:31:08 -03:00
alfrix 9d0e4b841f config: allow xdg .config folder fully deprecate old klipper_config and home folder config
config order of preference

1. printer_data/config
2. xdg .config/KlipperScreen
3. klipperscreen repo directory
2024-01-26 13:59:16 -03:00
alfrix 160e2ecd31 wayland: fix icon not showing 2024-01-26 11:32:42 -03:00
alfrix 960c49636a docs: add how to make prompts
close #1232
2024-01-26 09:14:06 -03:00
alfrix 6f6f0d3f13 job_status and base_panel: supress is twice as slow than directly checking if the key exist 2024-01-26 09:14:06 -03:00
Alfredo Monclus 5b7da9a9b8 extrude: add an extruder selector for machines with more than 5 extruders (#1249)
makes the extrude panel support more extruders (unlimited, but icons from 0-11)
close #1195
2024-01-25 22:53:16 -03:00
Alfredo Monclus af8bd7050d config: refactor install language, fix issues with getlocale on mac (#1250) 2024-01-25 22:47:08 -03:00
Alfredo Monclus b5e87152f1 bed_level: improvements (#1248)
1. use the status reference instead of regex matching (this was coded before the status existed)
2. change icons to reflect the rotation direction
3. change icon to reflect that the adjustment is good enough (according to klipper docs below 6 minutes)
4. auto open the panel when screws_tilt_calculate finished

close #1231
2024-01-25 22:46:51 -03:00
9e252b013f Translations update from Hosted Weblate (#1253)
* Translated using Weblate (Danish)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: srbjessen <srbjessen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/da/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Swedish)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sv/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: srbjessen <srbjessen@gmail.com>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: vjurka <v@jurka.lt>
2024-01-25 22:45:59 -03:00
9bcee00ff2 Translations update from Hosted Weblate (#1251)
* Translated using Weblate (French)

Currently translated at 96.5% (254 of 263 strings)

Co-authored-by: Guilouz <guilouz6@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/uk/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Guilouz <guilouz6@hotmail.com>
Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
2024-01-21 13:20:12 -03:00
alfrixandRafael Neuwirth Swierczynski 9e0507386d add extra gitignore for vscode and mac
part of #1246

Co-authored-by: Rafael Neuwirth Swierczynski <rafanswi@protonmail.com>
2024-01-21 07:33:57 -03:00
8c4253238c Translations update from Hosted Weblate (#1247)
* Translated using Weblate (French)

Currently translated at 96.5% (254 of 263 strings)

Co-authored-by: Absak T <absakgaming@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Polish)

Currently translated at 100.0% (263 of 263 strings)

Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Absak T <absakgaming@gmail.com>
Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
2024-01-19 18:08:35 -03:00
alfrix 3ed7464145 fix #1245 and add some early returns 2024-01-17 09:30:13 -03:00
alfrix db0bff8ab2 style: less transparent disabled buttons 2024-01-17 09:30:13 -03:00
Weblate (bot)andZs.Antal 8800f7be4d Translated using Weblate (Hungarian) (#1244)
Currently translated at 100.0% (263 of 263 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
2024-01-16 15:37:09 -03:00
alfrix ac1c97a2fa pins: fixup #1242 2024-01-16 15:33:50 -03:00
alfrix e402eb41b4 screen: don't inspect statement it's a fallback 2024-01-16 14:41:36 -03:00
alfrix 8717dd8836 files: refactor and cleanups 2024-01-16 13:56:33 -03:00
alfrix e7cbc1d2ca print logging minor change 2024-01-16 13:56:33 -03:00
alfrix 294c19678b pins: fix #1242 2024-01-15 23:22:45 -03:00
alfrix 2956658104 change lists to tuples 2024-01-15 14:44:50 -03:00
alfrix 81e76b1815 extrude: fix activate may not enable buttons 2024-01-15 14:42:10 -03:00
alfrix 18f8d32aa6 klippygtk: dialog buttons height as variable 2024-01-15 14:42:10 -03:00
dependabot[bot] 58d1c04221 build(deps): bump jinja2 from 3.1.2 to 3.1.3 (#1233)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-13 12:30:27 -03:00
alfrix a0d009e126 installer: provide a fix for fbturbo
some GPIO/SPI screen installer put the config but not the driver, this causes a failure to start, remove said config to allow the more standarized fbdev to work
2024-01-13 12:29:36 -03:00
alfrix c6a91a1562 job_status: refactor the estimation code
fixes no-extrusion cases, and some edge cases
2024-01-13 12:29:36 -03:00
Weblate (bot)andAlfredo Monclus 6df55f4570 Translated using Weblate (Spanish) (#1238)
Currently translated at 100.0% (263 of 263 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2024-01-13 00:54:45 -03:00
alfrix eecb41df93 base_panel and printer optimizations 2024-01-13 00:46:02 -03:00
alfrix 52fdb5d5ba pins: make the non pwm pins on-off pwm pins as a scale
fixes #1237
2024-01-13 00:46:02 -03:00
d22416f401 Translations update from Hosted Weblate (#1230)
* Translated using Weblate (Russian)

Currently translated at 100.0% (261 of 261 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Swedish)

Currently translated at 100.0% (261 of 261 strings)

Co-authored-by: eltacoloco <hampus.lind@webbpost.nu>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sv/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Co-authored-by: eltacoloco <hampus.lind@webbpost.nu>
Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2024-01-12 21:47:19 -03:00
alfrix 874645614f translations: add widget folder to translations, and fix some string not being recognized 2024-01-12 21:43:12 -03:00
alfrix 0aaf9d8808 system: create clear scroll 2024-01-11 22:44:19 -03:00
alfrix 8143636adb base_panel: minor fixup for the new titlebar func 2024-01-11 22:26:10 -03:00
alfrix 2af58ef8ea network: refactors and fixes 2024-01-11 20:54:10 -03:00
alfrix d9aaddb462 installer: ask when installing the service 2024-01-11 20:54:10 -03:00
alfrix 52b7ae2c21 network: change wireless search pattern to wl (systemd 197+) 2024-01-10 23:32:02 -03:00
alfrix d1168b5405 themes: get rid of the unused vertical selector buttons, simplify and rename the horizontal toggle strip 2024-01-10 23:30:39 -03:00
alfrix 78f1c691f6 popups improve contrast 2024-01-10 23:30:39 -03:00
alfrix 98da293cee refactor job_status and titlebar_items to allow multiple extruders 2024-01-10 23:30:39 -03:00
alfrix f3c0daef1b minor refactors 2024-01-10 23:30:39 -03:00
alfrix bd18924f1d network: add wlx to possible device names 2024-01-10 18:35:09 -03:00
Alfredo Monclus a72328224b Update test_code.yml 2024-01-09 00:18:20 -03:00
Alfredo Monclus aed0dacd81 Update README.md 2024-01-08 23:58:37 -03:00
Alfredo Monclus 7a2a483946 Create docs workflow 2024-01-08 23:55:18 -03:00
alfrix 060cd1db0f docs: minor fixups 2024-01-08 23:38:58 -03:00
0accfad2f7 Translations update from Hosted Weblate (#1228)
* Translated using Weblate (Czech)

Currently translated at 100.0% (261 of 261 strings)

Co-authored-by: Michal Bitala <bitala.michal@seznam.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 100.0% (261 of 261 strings)

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Italian)

Currently translated at 99.6% (260 of 261 strings)

Co-authored-by: Riccardo Babetto <riccardobabetto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (261 of 261 strings)

Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/uk/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Michal Bitala <bitala.michal@seznam.cz>
Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Co-authored-by: Riccardo Babetto <riccardobabetto@gmail.com>
Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
2024-01-08 23:38:09 -03:00
alfrix 0a38b56aaa Print: show refresh loading 2024-01-07 23:08:59 -03:00
alfrix ed151cea9b docs: update last resort 2024-01-07 17:27:59 -03:00
alfrix c45f914275 docs: add a FAQ 2024-01-07 17:27:59 -03:00
alfrix 05cd9a6d34 remove fallback values
with an empty string re will not match
2024-01-07 17:27:59 -03:00
alfrix 2527a12d32 update translation files 2024-01-06 08:35:55 -03:00
alfrix 989e3ce796 print: add loading message, completely hide path label while on the root 2024-01-06 08:35:03 -03:00
alfrix 25ecb891f5 print: simplificate header and create row 2024-01-06 08:35:03 -03:00
alfrix 1864138047 update issue template 2024-01-06 08:35:03 -03:00
Weblate (bot)andHenrique Magarotto 16cd6698e8 Translated using Weblate (Portuguese) (#1227)
Currently translated at 98.8% (251 of 254 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Henrique Magarotto <magarotto@gmail.com>
2024-01-06 08:34:12 -03:00
alfrix d92ebac8e9 system: minor fixes, center system updates call activate 2024-01-03 20:11:22 -03:00
alfrix 5ad03b5dd1 prompts: add escape and backspace to close, prevent concurrent prompts, send prompt_end at close 2024-01-03 19:00:40 -03:00
alfrix c0741f5c81 prompts: avoid size request as it can cause issues 2024-01-03 17:56:49 -03:00
alfrix af3b7273bf system: change error message 2024-01-03 17:12:38 -03:00
alfrix 8eb70764af increase the timeout of popup warnings
this are generally things that the user needs to read and fix
the popups can always be re-read in the notification panel
2024-01-03 17:00:14 -03:00
alfrix aa4603af69 start warning about old python 2024-01-03 16:57:37 -03:00
alfrix 91c3f2739f popups: rate limit to every second close #1225 2024-01-03 15:53:01 -03:00
alfrix 6d0ce76b02 system: remove unnecessary f-string interpolation 2024-01-03 11:29:12 -03:00
alfrix 5104f3247b prompts: do not close on actions
to me closing was the intended behaviour a prompt ask and continue, but apparently other interfaces do not close on actions, so for consistency sake it will not. close #1224
2024-01-03 09:52:52 -03:00
alfrix 08a3d8a798 split printer init for faster response 2024-01-02 23:34:30 -03:00
alfrix 56858be219 dialog: expand buttons if there are many, safer 2024-01-02 17:01:55 -03:00
alfrix 105813490b splash: add confirmation for host reboot 2024-01-02 17:01:55 -03:00
alfrix bdc6cf45b1 init: remove redundant api call 2024-01-02 17:01:55 -03:00
alfrix 726231d4c7 system: refactor
checking for updates:
doesn't lock the interface, it happens in the background
status and moonraker errors are reported in the scrolled window
refresh and restart buttons use the busy spinner
confirmation when restarting a service during print
change the refresh icon to a different one from the restart icons
2024-01-02 15:28:46 -03:00
alfrix 6cf639c083 refactor widget creation
improves performance and makes the code cleaner

* add parameters instead of calling methods afterwards
* remove a a lot of size requests
* remove parameters that are being set to the default value
* simplify dialogs containers
2024-01-02 08:14:51 -03:00
Alfredo Monclus 1794d8aa24 feat: macro prompts close #1216 (#1219)
* feat: macro prompts close #1216

now the user can have confirmation on macros using this feature close #835

* prompt: remove separator and remove the header and close button if windowed

* prompt: wakeup screen

* prompt: slightly larger close icon
2024-01-02 08:04:02 -03:00
Thijs Triemstra 25ab9c962d update ALLOWED_SERVICES (#1222) 2024-01-02 08:03:24 -03:00
alfrix cae87fcdf7 init_printer add log messages for stop and early retries 2024-01-02 07:07:51 -03:00
alfrix 469a13fd02 zcalibrate: clear the mesh and reset the offset before doing calibration 2024-01-02 07:07:51 -03:00
alfrix 906831a151 fix ui overflow #1220
this make the scrollbar buttons a lot smaller, there is no alternative, they simply don't fit they never did
2023-12-30 11:08:35 -03:00
9efce50107 Translations update from Hosted Weblate (#1217)
* Translated using Weblate (Swedish)

Currently translated at 100.0% (253 of 253 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: eltacoloco <hampus.lind@webbpost.nu>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/sv/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Korean)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: 방영웅 <bangyeongung20@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ko/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Russian)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: eltacoloco <hampus.lind@webbpost.nu>
Co-authored-by: 방영웅 <bangyeongung20@gmail.com>
Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
2023-12-28 16:23:59 -03:00
alfrix 9cba6d61f7 docs: add fix for pi5 on lite 2023-12-27 15:27:16 -03:00
dependabot[bot] 9f828665b3 build(deps): bump websocket-client from 1.6.1 to 1.7.0 (#1188)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-24 12:04:34 -03:00
alfrix a5ac4eb6b2 fixup for 34f80ce4 2023-12-24 12:03:53 -03:00
alfrix 4a928140d9 camera: workaround for webrtc if there is a stream close #1133 2023-12-23 17:30:57 -03:00
alfrix 34f80ce4aa print: fix directory dates fixes #1199 2023-12-23 16:38:00 -03:00
Alfredo Monclus be972d50d1 Polkit rules to fix #1201 and improve network permissions avoiding the nm workaround (#1205)
* installer: use polkit for permissions

* update dependencies

* docs update
2023-12-23 12:20:58 -03:00
alfrix 37c0bde153 move: minor correction to #1211 2023-12-23 11:35:51 -03:00
Thijs Triemstra 727a6657ee add move_distances config option (#1211)
* add move_distances option

* address review comments

* adjust check

* comment out example

* doc update

* address review comments
2023-12-23 11:30:48 -03:00
alfrix 02ba0f9594 heater grid: smaller temp column if power is not displaying close #1200 2023-12-22 21:04:21 -03:00
Weblate (bot)andMaxime Carrein db12a134e2 Translated using Weblate (Dutch) (#1206)
Currently translated at 100.0% (253 of 253 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Maxime Carrein <maxime.c.work@gmail.com>
2023-12-22 13:26:49 -03:00
alfrix 85a9069397 docs: config options explain and improve 2023-12-17 16:06:13 -03:00
alfrix 1f43391b2c printer_select: do not sort, this allows the users to sort how they want by defining them in the config in the order they want 2023-12-17 10:24:26 -03:00
Andriy a79016ae6e Ukrainian language update (#1204)
* Ukrainian localisation update

Ukrainian localisation update

* Correcting definitions Ukrainian language

Correcting definitions
2023-12-16 22:27:09 -03:00
27bc2c2f13 Translations update from Hosted Weblate (#1193)
* Translated using Weblate (Russian)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
2023-12-12 09:09:27 -03:00
AntoszHUNandalfrix dd3b255e27 Update Hungarian Language (#1192)
* Add files via upload

* Update KlipperScreen.po

---------

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-12-08 19:37:40 -03:00
Rafael Neuwirth Swierczynski 382a578e58 update pt_br (#1190) 2023-12-08 19:36:25 -03:00
Weblate (bot)andDr_Perry_Coke 18c1ef1572 Translated using Weblate (Russian) (#1191)
Currently translated at 98.8% (250 of 253 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/ru/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
2023-12-08 19:35:20 -03:00
Weblate (bot)andMick#6366 8675371485 Translated using Weblate (Czech) (#1189)
Currently translated at 100.0% (253 of 253 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Mick#6366 <kos.m@post.cz>
2023-12-06 08:28:07 -03:00
alfrix 05a55cfffa notifications: enable wrap 2023-12-03 13:49:01 -03:00
Weblate (bot)andThijs Triemstra 670ebce06a Translated using Weblate (Dutch) (#1186)
Currently translated at 100.0% (253 of 253 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Thijs Triemstra <info@collab.nl>
2023-12-03 13:48:43 -03:00
AntoszHUNandalfrix f3dd3aa83b Hungarian Language Update (#1182)
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-11-29 20:31:06 -03:00
dependabot[bot] d46b5dd21b build(deps): bump python-mpv from 1.0.4 to 1.0.5 (#1179)
Bumps [python-mpv](https://github.com/jaseg/python-mpv) from 1.0.4 to 1.0.5.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.4...v1.0.5)

---
updated-dependencies:
- dependency-name: python-mpv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 19:31:32 -03:00
fc9e7d8f9a Translations update from Hosted Weblate (#1185)
* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: vjurka <v@jurka.lt>
Co-authored-by: Zs.Antal <zsikaiantal@icloud.com>
2023-11-29 19:30:49 -03:00
alfrix badc47619a wifi: networkmanager signal strength is not dbm 2023-11-25 23:41:54 -03:00
alfrix d4d27f809b wifi: add icons 2023-11-24 16:55:11 -03:00
alfrix b10f6a65ff wifi: fix #1181 2023-11-23 22:09:56 -03:00
alfrix 6eefe9d465 wifi: avoid wwan close #1175 2023-11-18 17:15:27 -03:00
Michael Jägerandalfrix 48095f857c Fix fullscreen issue when setting width or height in config for non-desktop machines (#1177)
* Fix fullscreen issue when setting width or height in config for non-desktop machines

Setting width and height in the config should result in a windowed screen, but it is only the case for desktop users.
Fixes https://github.com/KlipperScreen/KlipperScreen/issues/1176 introduced via 8f07f21

* add warnings

---------

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-11-18 17:04:19 -03:00
Weblate (bot)andvjurka 225f96100a Translated using Weblate (Lithuanian) (#1174)
Currently translated at 100.0% (253 of 253 strings)

Added translation using Weblate (Lithuanian)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/lt/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: vjurka <v@jurka.lt>
2023-11-18 12:28:56 -03:00
alfrix ad3b935e3d Update translation platform details #1116 2023-11-16 20:49:56 -03:00
alfrix f9ce5540ea initial notifications panel 2023-11-16 20:30:14 -03:00
alfrix cabb29db35 docs: sponsor message 2023-11-16 20:30:14 -03:00
8a292e929f Translations update from Hosted Weblate (#1170)
* Translated using Weblate (French)

Currently translated at 100.0% (253 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/

* Translated using Weblate (German)

Currently translated at 99.2% (251 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/

* Translated using Weblate (German)

Currently translated at 100.0% (253 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/

* Translated using Weblate (German)

Currently translated at 100.0% (253 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/

* Translated using Weblate (German (de_FORMAL))

Currently translated at 98.8% (250 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/

* Translated using Weblate (Italian)

Currently translated at 100.0% (253 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (253 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/

---------

Co-authored-by: Bahoué <stef.griv@gmail.com>
Co-authored-by: Sascha <saschbuerger@web.de>
Co-authored-by: bbraeu <braeu.bernhard@gmail.com>
Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Co-authored-by: Samuel Wang <imhsaw@gmail.com>
2023-11-15 23:55:55 -03:00
Daviteusz 917ad1e8aa Added info about the translation platform to README.md (#1171) 2023-11-15 23:51:01 -03:00
Weblate (bot)andBahoué 68df27311b Translated using Weblate (French) (#1168)
Currently translated at 100.0% (253 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/

Co-authored-by: Bahoué <stef.griv@gmail.com>
2023-11-13 09:25:59 -03:00
alfrix 2863199ef2 wifi: simplify channel identification and add 3Ghz and 6Ghz frequency bands
close #1165
2023-11-12 11:46:32 -03:00
alfrix 685adea6e9 logging rollover improvements 2023-11-11 14:02:47 -03:00
alfrix 8f07f2197e Desktop environment users should be out of fullscreen
KS is meant to be standalone, running inside a DE can cause unexpected issues, like dialogs without buttons and other issues
until those issues are fully resolved, it should not be running Fullscreen inside the desktop environment
2023-11-09 06:42:02 -03:00
Weblate (bot)andGiadej 51d21895d0 Translated using Weblate (Italian) (#1161)
Currently translated at 100.0% (253 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/

Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
2023-11-04 19:10:13 -03:00
alfrix 7bef7f3f53 issue template fixes 2023-11-04 15:53:33 -03:00
alfrix 7c213773c7 improved issue template 2023-11-04 15:45:50 -03:00
alfrix cad06cbc76 docs: add an easier way to grab the system logs 2023-11-04 15:36:45 -03:00
alfrix 524d0497dd docs: add update instructions close #1115 2023-11-03 23:40:18 -03:00
alfrix f346c2f046 print: fix layout on small screens 2023-11-03 23:34:02 -03:00
alfrix 957aeb835d layout: remove the margin as it's very useful on small screens
con: user may have to touch away from the handle if it interferes with the button
2023-11-03 23:34:02 -03:00
alfrix 7aee23c1cb lint fixes 2023-11-03 23:34:02 -03:00
alfrix 1f5bfb371f Revert "screen: detect Desktop environment"
This reverts commit d5ec79e2ef.
2023-11-01 16:45:29 -03:00
janstanka 064618d989 locale: Czech translation update (#1157) 2023-11-01 12:28:06 -03:00
Selim a6adbf05c8 locale: Turkish Language Update (#1156) 2023-11-01 12:24:55 -03:00
alfrix 4a14962d35 deps: update pycairo close #1150 2023-10-24 20:51:47 -03:00
Thijs Triemstra 3b53d6619d doc: fix klipper link (#1154) 2023-10-24 20:50:49 -03:00
Andriy 70f7320495 Ukrainian localisation update (#1152)
Ukrainian localisation update
2023-10-24 20:47:03 -03:00
b6585eb0b1 Translations update from Hosted Weblate (#1151)
* Translated using Weblate (Polish)

Currently translated at 100.0% (253 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (253 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/

* Translated using Weblate (Italian)

Currently translated at 100.0% (253 of 253 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/it/

---------

Co-authored-by: Daviteusz <daviteusz0@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
2023-10-24 20:46:38 -03:00
Thijs Triemstra b068fedfbc doc: update git url (#1153) 2023-10-24 20:33:35 -03:00
alfrix 9a17b4d1b2 docs: fix type in touch section 2023-10-24 14:56:49 -03:00
alfrix 882037ae7b style: fix issue with material-darker 2023-10-22 16:01:41 -03:00
alfrix f88f2ba873 docs: troubleshooting improve touch info 2023-10-21 20:33:33 -03:00
alfrix c4e6aaf734 locales: update translation files 2023-10-21 20:33:33 -03:00
alfrix f5a5efabda styles: use gtk vars for colors and other cleanup and improvements close #594 2023-10-20 00:06:34 -03:00
alfrix a70cfe0e27 exclude: fix layout 2023-10-20 00:06:34 -03:00
alfrix d5ec79e2ef screen: detect Desktop environment 2023-10-20 00:06:34 -03:00
alfrix 49e6dfd884 config: fix screw_rotation not in validator fixes #1148 2023-10-20 00:05:22 -03:00
Péter Németh ead94b75b8 locale(hu): update hungarian translation (#1147)
Signed-off-by: Pethical <sokkis@gmail.com>
2023-10-19 23:53:28 -03:00
Weblate (bot)andgallegonovato 2a87080841 Translated using Weblate (Spanish) (#1149)
Currently translated at 100.0% (254 of 254 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2023-10-19 23:52:57 -03:00
alfrix c14fd4d2cb docs: add an extra step for fbturbo issues close #971 2023-10-15 11:43:31 -03:00
alfrix f117b31a14 templates: add label for fr close #1144 2023-10-15 11:14:37 -03:00
Chad Condon 422363ebb9 Hide LEDs with leading underscores (#1145) 2023-10-15 10:45:18 -03:00
alfrix a84b91a40b led: clenaups 2023-10-15 10:36:33 -03:00
alfrix 82b75a528a led: better implementation of the white channel 2023-10-14 13:49:41 -03:00
alfrix 836092659d led: make the ON preset change only available colors 2023-10-14 13:24:41 -03:00
alfrix 7986ce23cd led: do not round it's unnecesary 2023-10-14 10:23:10 -03:00
alfrix 4a328cb01f docs: update PS thumbnail screenshot 2023-10-13 23:54:50 -03:00
alfrix 880a9fc3ab remove debug error 2023-10-13 23:52:57 -03:00
alfrix 7ce3e0a88a layout: spoolman fixes for vertical mode 2023-10-13 23:50:07 -03:00
alfrix ac33e8574e layout: always set dialogs size (fullscreen does not always work) 2023-10-13 23:33:24 -03:00
alfrix 6f32cdacbe layout: fix issues 2023-10-13 23:24:03 -03:00
alfrix ff84b1aa97 docs: clarify that the fix is for raspberry 2023-10-13 23:22:55 -03:00
alfrix 2e80d532d6 job_status: fix rounding to 100 2023-10-13 13:44:13 -03:00
alfrix 3067651f8b job_status: fix issue with thumbnail at low resolutions 2023-10-13 13:20:20 -03:00
Anna 1b2a6b872c Add nano editor commands for file edits (#1143)
* Add nano editor commands for file edits

This PR adds `sudo nano /path/to/file.ext` as well as closing/saving instructions

Adding nano edit commands to the page will improve people's ability to execute these steps. As noted during a Nero3D stream, neither our VzBot docs nor the page we linked to on KlipperScreen explained *how* to edit the file.

* Format table
2023-10-13 13:18:48 -03:00
alfrix 79b3c7f749 reqs: update websocket-client 2023-10-10 11:22:37 -03:00
alfrix 468d538aac docs: android add a helper section for first-start issues 2023-10-08 12:08:20 -03:00
alfrix fe664b44a5 bed_level: hotfix for b6199a4 2023-10-08 12:02:29 -03:00
alfrix ddd7518841 changelog: update breaking changes 2023-10-08 11:58:54 -03:00
alfrix b6199a4f24 config: deprecate old configs 2023-10-08 11:51:48 -03:00
alfrix f3cacafd53 styles: extend extruder icons to 0-11
font used in colorized and z-bolt themes is liberation-sans bold 22pt (18pt for double numbers)
they are converted to paths to avoid renderers misbehaviours
2023-10-08 08:34:41 -03:00
alfrix 9d177d2afc job_status and print: revise the size of the thumbnail close #1136 2023-10-07 13:02:05 -03:00
Andriy f9872f4817 Ukrainian localisation update (#1138)
Ukrainian localisation update
2023-10-04 23:11:52 -03:00
alfrix 495ee28125 docs: highlight rotation config 2023-10-03 14:12:49 -03:00
alfrix 84c9b1e169 docs: move rotation to a separate page 2023-10-03 14:10:58 -03:00
alfrix eaf6e07ef9 docs: correct default vsd path 2023-10-03 13:45:10 -03:00
alfrix 9077bd0064 docs: add copy content feature 2023-10-03 11:25:49 -03:00
alfrix 759d3973ef docs: config change markup for better visualization 2023-10-03 09:30:44 -03:00
alfrix bd8cbea157 docs: add recommended macros 2023-10-03 09:30:05 -03:00
alfrix 1c5b215d25 menu: refactor for efficiency 2023-10-03 00:05:08 -03:00
alfrix 70f1a5d935 printer: add macro list to be used for menu enable, this should improve multi-printer separation 2023-10-03 00:05:08 -03:00
AntoszHUN 6474726794 Update Hungarian Language (#1135) 2023-10-02 23:10:39 -03:00
Weblate (bot)andDaviteusz 14a24e2a94 Translated using Weblate (Polish) (#1134)
Currently translated at 100.0% (254 of 254 strings)

Translation: KlipperScreen/KlipperScreen
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/

Co-authored-by: Daviteusz <daviteusz0@gmail.com>
2023-10-02 23:09:02 -03:00
alfrix 1b136a636b docs: clarify why some macros are no longer visible close #1137 2023-10-02 23:08:00 -03:00
alfrix f6f6987f76 docs: layer progress add Cura and IdeaMaker 2023-10-01 12:59:06 -03:00
alfrix 47e9b277e0 docs: load/unload examples fix velocity (config v is mm/s and gcode mm/min) 2023-10-01 07:36:56 -03:00
alfrix 7eeec0a7ea update translation files (add leds) 2023-09-30 23:04:21 -03:00
alfrix 1add7f5ef0 camera: hide log msg that distracts from the real issue 2023-09-30 22:55:28 -03:00
alfrix edf390fe94 spoolman: fix for spools defined with no material or color fixes #1132 2023-09-30 15:53:01 -03:00
alfrix d06231a6b6 installer: call python3 2023-09-28 15:19:58 -03:00
alfrix a3345f78dd installer: call python3 close #1131
i have no taken into account old distros that have python 2 as default since python 2 has not been supported since 2020

keep in mind that python 3.7 is out of support
and i will push KS requeriments to 3.9 when buster enters EOL mid-next year (bullseye has 3.9)
3.8 will be out of support close to buster, it will be skipped

so anyone on legacy distros will not be able to update KS past july 2024
2023-09-28 14:48:06 -03:00
alfrix 685061fc24 update requirements 2023-09-27 23:39:31 -03:00
alfrix a475a184a9 menu: allow users to unset variables for replacing panels 2023-09-27 23:03:43 -03:00
alfrix 0fada32c4b check requirements in the installer 2023-09-27 23:03:43 -03:00
Dr_Perry_Coke f49a619e41 Updated Russian translation (#1125) 2023-09-25 17:24:19 -03:00
alfrix c7532fc0d8 led: fix preview 2023-09-25 17:20:23 -03:00
alfrix 700e8dcc5b led: layout tweaks 2023-09-25 09:48:59 -03:00
alfrix adc59f7df1 change solarized warning to orange 2023-09-25 08:31:47 -03:00
alfrix 70c62ca6b6 add moonraker warnings 2023-09-25 08:22:05 -03:00
Vasilyev_Andreyandalfrix 87d09036ee Led light control, close #991 (#1106)
* feature: add leds panel

* Various refactors and improvements

* lint fixes

* led: use more columns for the selector

* leds: name in the title

* mainsail presets

* change sliders to horizontal to avoid visual bug, simplify defaults

* led: add a color preview and simplify methods to fix some issues

* simplify presets move all the logic to the panel

* led: change presets from names to previews

* preview label shows color, add vertical mode

* led: colored previews as rectangles instead of circles

---------

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-09-24 17:44:29 -03:00
alfrix 584e4fe902 popups: do not auto-close on menu back and do auto-close on screensaver trigger 2023-09-21 16:55:48 -03:00
Alfredo Monclus 8b08176cce Create codeql.yml 2023-09-19 00:10:31 -03:00
alfrix b25e17e9cd move: fix for max_z velocity too low for the gtk adjustment 2023-09-18 23:11:43 -03:00
alfrix aa1dfabd40 docs: close #1120 and other minor updates 2023-09-16 19:02:07 -03:00
Anna d1632ef9d0 Docs: Update Touch_issues (#1119)
Improved wording on changes to the DSI driver / bug
Remove an empty possibility on touch matrix
Add extra sources / help on touch matrix
Some Markdown compliance fixes (spacing etc)
2023-09-16 18:05:06 -03:00
alfrix ad3255b16a screen: dialogs should call fullscreen too for for use inside DEs 2023-09-16 13:45:44 -03:00
alfrix 77ecae70b2 fix locales fusion conflict 2023-09-13 15:20:44 -03:00
alfrix cfb38405c6 screen: exception info now includes a traceback 2023-09-12 12:28:33 -03:00
alfrix 79f4b45713 locales: dialog change continue to accept
this is also used as test for weblate
2023-09-12 08:18:09 -03:00
alfrix 1c2ca8eec9 docs: add g2d_23 log meesage since it's a common source of questions 2023-09-12 07:56:03 -03:00
alfrix edc0f0c9ed shaper: fixup for 42c33d1 2023-09-12 07:33:12 -03:00
alfrix 42c33d1b43 shaper: fix issue with re 2023-09-12 01:02:12 -03:00
alfrix d5bf8c21cb docs: update to try avoid a common missuses of the docs 2023-09-12 00:25:10 -03:00
alfrix 75ee5c4740 macros: fix possible issue when loading macro
apararently according to the log gcode was not defined in a macro, which should not be possible
this handles this cases by not loading the macro and dumping it in the console for debug analysis
2023-09-10 18:31:34 -03:00
alfrix 40365346b4 printer_init: dump config to help debug issues 2023-09-10 18:31:30 -03:00
alfrix ed7f266735 screen: revert preload, as it may cause unexpected issues 2023-09-10 18:31:30 -03:00
alfrix f8da43c379 docs lots of updates 2023-09-09 11:44:29 -03:00
Daviteusz 14d3fca31c locale(pl): Update Polish translations (#1115) 2023-09-06 17:45:16 -03:00
alfrix 0fdbc9b484 docs: note about lite argument 2023-09-06 17:39:22 -03:00
alfrix edf79ead59 docs: add another possible fix 2023-09-06 17:39:22 -03:00
Samuel Wang da9fda25ea locales: Update zh_CN (#1114) 2023-09-05 13:17:02 -03:00
alfrix 530d6f4fd7 locales update to add auto open extrude option translation 2023-09-04 22:18:35 -03:00
alfrix e5d1ff0270 fix option for not opening extrude 2023-09-04 22:16:52 -03:00
alfrix 09c94540b0 docs: add title to the preheat note 2023-09-04 22:06:14 -03:00
alfrix 2a842839ea make extrude panel on pause optional
close #1113
2023-09-04 22:06:14 -03:00
alfrix ed0dbaea9e screen: fix typo in error message fixes #1110 2023-09-03 22:49:57 -03:00
alfrix 001c1cb009 rest: add timeout parameter for system update refresh 2023-09-03 22:39:29 -03:00
alfrix e2068cf2c9 dialogs: remove steppers since they cause issues 2023-09-03 22:39:29 -03:00
ツ 31a118ad7e Updated Translation de and de_formal (#1111) 2023-09-03 19:55:08 -03:00
Daviteusz 2a66ee618d locale(pl): Update Polish translations (#1112) 2023-09-03 19:47:58 -03:00
Andriy a24ff8aeb6 locales: Ukrainian update (#1109) 2023-09-03 19:41:23 -03:00
alfrix 6ada62730c screen: fix screensaver shows even when disabled when not using dpms 2023-09-03 13:35:47 -03:00
alfrix 1044d13952 locales(es): update spanish 2023-09-03 11:54:26 -03:00
alfrix c9f0c3bd52 Update translation files 2023-09-03 11:49:59 -03:00
alfrix 9a215306b7 job_status: fix E225 2023-09-03 11:49:22 -03:00
Daviteusz 5a34fd367a locale(pl): Update Polish translations (#1105)
Polish translation has been updated

Signed-off-by: Daviteusz <daviteusz0@gmail.com>
2023-09-03 11:48:11 -03:00
alfrix f02b0c3a6b camera: fix camera not showing during printing
close #1107
2023-09-03 11:43:07 -03:00
alfrix 6dc2df25f7 job_status: patch print_time estimating too early 2023-09-02 17:37:56 -03:00
alfrix a6866e8a0f pause will auto-open extrude
most (maybe all pauses) are done for filament swaps this should make it quicker
2023-09-01 12:23:41 -03:00
alfrix e01b6e5f26 macros: hide the panel if there are no elegible macros 2023-08-31 22:27:12 -03:00
alfrix e80ef7eff5 dialogs: simplify dialog calls, fix layout issue 2023-08-30 01:21:17 -03:00
alfrix 6be0a2931f spoolman: change initialization to be equal to the rest of components 2023-08-30 00:19:23 -03:00
Blonďákandalfrix 71b0ace83c Spoolman: clear filter buton (#1096)
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-29 16:52:16 -03:00
alfrix d658bad1d7 Update issue templates 2023-08-29 11:48:40 -03:00
alfrix 0f8fe9abe1 main: temp: heater list smaller slider 2023-08-28 17:15:10 -03:00
alfrix a2ad8e6ade klippygtk: button find box with find_widget 2023-08-28 15:43:51 -03:00
alfrix 8209dbabf4 job_status: click thumbnail for fullscreen thumbnail 2023-08-28 15:08:34 -03:00
alfrix 9c2f927e72 wayland: do not run xset, wayland needs another solution 2023-08-27 23:30:58 -03:00
alfrix fba15bd766 bed_mesh: fixup for df6a4ea4da 2023-08-26 18:38:51 -03:00
alfrix f77e382252 klippyGtk: fixup possible issues with spinner and busy state 2023-08-26 13:05:44 -03:00
alfrix 7f00a37244 macros: hide load and unload (use them in the extrude panel) 2023-08-26 13:05:44 -03:00
alfrix 8391fdf83e macros: hide macros with rename_existing (equal to Mainsail) 2023-08-26 13:05:44 -03:00
alfrix 35e2a46852 menu: fit 4 rows
needs to be better
create all the items on activate?
2023-08-26 13:05:44 -03:00
alfrix f3c2736f9f refactor temp updates for devices fix extruder_stepper icon error 2023-08-26 13:05:44 -03:00
alfrix df6a4ea4da Revert "bed_mesh: load default if no mesh have been loaded"
This reverts commit cb1793836c.
2023-08-26 13:05:44 -03:00
Michael Jäger c10e414014 Update Installation.md: Fix changes from env to virtualenv (#1100) 2023-08-26 12:04:23 -03:00
alfrix 10e9e169e2 log popup messages for debugging 2023-08-21 16:11:56 -03:00
alfrix d5e55f8aad PEP E721 2023-08-21 16:11:56 -03:00
pappicio 2f4f28af1c locales: Updated Italian Translation (#1091) 2023-08-21 15:16:07 -03:00
Blonďák 8b93ba07d9 Spoolman: Added extra padding to expanders (#1090) 2023-08-21 15:14:02 -03:00
alfrix 51682be329 print and spoolman: fix arrows 2023-08-21 15:09:40 -03:00
alfrix 353bdc730f base_panel: fix printer select fixes #1093 2023-08-21 14:09:07 -03:00
Alfredo Monclus c3ef1dd789 camera: relative url support close #1086 (#1088)
close #1092
2023-08-21 13:57:39 -03:00
alfrix 2b7ad19d7f docs: add spoolman 2023-08-19 21:36:31 -03:00
alfrix 367d1244e8 docs: update screenshots 2023-08-19 21:25:36 -03:00
alfrix 95d3d46b8c docs: update about camera 2023-08-19 21:17:13 -03:00
Blonďákandalfrix af1de12f28 Spoolman support close #1060
Refactor post_requrest
Switching to TreeView
More spool info
redesign toggle buttons
Allow spoolman while printing
Styling checkbox as switch
render Toggle switch-like
Fixed wrong timezones
Filtering spools
Removed translations of Spoolman
Spool image can be overided in theme
Added switch-on/off symbols to toggle
rename iter to i to avoid shadowing built-in function
remove redundant parenthesis
convert spoolcompare to static
merge check and treeview shared props
reduce spacing of buttons very useful for vertical/portrait
fix issue with remainings
add spoolman shortcut to extrude
Using backports.zoneinfo for python < 3.9
use decorators for properties
extract format_date function
change top row
last used sort
rebase on upstream
Fix for never used spools


Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-19 18:43:45 -03:00
Vasilyev81andalfrix 65c4b172e8 Add butttons for vertical scrollbars fixes
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-18 11:57:07 -03:00
alfrix dcad47bb51 bed_level: lint fix 2023-08-18 11:48:37 -03:00
alfrix 925f30f44a Update Translation files 2023-08-18 11:48:37 -03:00
alfrix 3780aa0c8d bed_level: fix center button not reporting rotation and reduce icon size fixes #1084 2023-08-18 11:48:37 -03:00
alfrix da3d17adbf menu: rename KS settings to KlipperScreen 2023-08-18 11:48:37 -03:00
alfrix 93bb6aeb65 tempstore initialization fixup 2023-08-18 11:48:37 -03:00
alfrix adb150a2c7 define a minimum python version 2023-08-18 11:48:37 -03:00
alfrix d9a6d0caa6 job_status: fixup progress initialization if restarted during print 2023-08-18 11:48:37 -03:00
alfrix e3cbc1ea8c extrude: show during printing but disable buttons during printing, this allows disabling and checking the filament sensor 2023-08-18 11:48:37 -03:00
alfrix 1c06e55442 move: settings button relocation for vertical mode 2023-08-18 11:48:37 -03:00
alfrix 35007af482 system and splash: add ignore inhibitors to reboot and shutdown 2023-08-18 11:48:37 -03:00
alfrix 4800b56492 refactor tempstore initialization
fixes #1074
2023-08-18 11:48:37 -03:00
alfrix bd98e758ec base_panel improvements
* generalize macro shortcut to allow changing it in the future
* action_bar functionality is now handled in one place for better maintainability
2023-08-18 11:48:37 -03:00
alfrix aa25a96f2b remove __main__ it makes duplicates of searchs and it's annoying 2023-08-18 11:48:37 -03:00
alfrix 90fc3288d7 Use callbacks to disable and enable buttons to improve user feedback
buttons now show a spinner if watiting for callback
2023-08-18 11:48:37 -03:00
alfrix e7b58edfbf klippygcodes: simplify and remove some alias that are irrelevant 2023-08-18 11:48:37 -03:00
alfrix 9ba8d04861 printer: save and use available commands 2023-08-18 11:48:37 -03:00
alfrix dd497d592d docs: developer basic guide 2023-08-18 11:48:37 -03:00
alfrix 2e5da0125f docs: update repo links 2023-08-18 11:48:37 -03:00
alfrix 5fa1e44f16 main_menu: allow closing the keypad with the back button 2023-08-18 11:48:37 -03:00
alfrix 189df7921f screen: reinit if necessary, it does make a noticeable difference in slow hw 2023-08-18 11:48:37 -03:00
alfrix 37e71e17f9 moonraker compat: create system-dependencies 2023-08-18 11:48:37 -03:00
alfrix 7dbe11e0b5 screen: preload most used panels 2023-08-18 11:48:37 -03:00
alfrix 168e75059a camera: requirements fix for debian bookworm
this is an indirect fix the correct approach would be checking the version of libmpv and if libmpv 0.33 or above install the newer version, meh
2023-08-18 11:48:37 -03:00
alfrix 8053e97d10 camera: add support for moonraker cameras, deprecates camera_url
this also adds support for flipping and rotation (configured in moonraker)
close #976
2023-08-18 11:48:37 -03:00
alfrix 77a24ec809 docs: add readthedocs yaml 2023-08-18 11:39:20 -03:00
alfrix fb0d0bb909 css: simplify graph_labels 2023-08-18 11:39:20 -03:00
AntoszHUN 06b2246db1 Hungarian Language Update (#1076) 2023-08-15 01:37:23 -03:00
alfrix 0a3dfbeb10 style: reduce the opacity of disabled buttons (better feedback) 2023-08-03 22:50:23 -03:00
Samuel-0-0 462b3eff96 Add files via upload (#1069) 2023-08-03 22:48:52 -03:00
ツ 4cbd48bc97 Translation Update de_DE (#1068)
Updated de and de_formal
2023-08-03 22:48:31 -03:00
Daviteusz a18df245e3 locale(pl): Update Polish translations (#1065)
Polish translation has been updated

Signed-off-by: Daviteusz <daviteusz0@gmail.com>
2023-08-03 22:48:06 -03:00
Andriy 7a64682d6e Ukrainian localisation update (#1064)
Ukrainian localisation update
2023-08-03 22:47:41 -03:00
alfrix bd87737467 keypad: fix calibrate pid not showing sometimes 2023-08-03 22:46:07 -03:00
alfrix 365b9bde4f job_status: fixup remaining times 2023-08-03 02:08:46 -03:00
alfrix 5b5b1f0485 network: fix #1067 2023-08-01 12:33:04 -03:00
alfrix 520ba44c96 fix back button not returning in custom menus fixes #1063 2023-07-31 21:48:19 -03:00
alfrix b7d1086c15 update translation files 2023-07-31 02:01:11 -03:00
alfrix 1fc23d30cb format the issue_templates a little nicer 2023-07-31 02:00:41 -03:00
alfrix 5a5fe7a609 docs: VNC add image for config 2023-07-31 01:50:16 -03:00
alfrix 32d853472e fixup issue_templates 2023-07-31 01:50:02 -03:00
dependabot[bot] fe81370825 build(deps): bump websocket-client from 1.6.0 to 1.6.1 (#1030)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-30 12:23:21 -03:00
alfrix c27b3fefc4 docs: add vnc examples close #1061 2023-07-30 12:22:58 -03:00
alfrix 6d5eb09010 screen: Changes in printer initialization to prevent loading main to early 2023-07-30 12:22:58 -03:00
alfrix 5713a348de Update translation: Spanish 2023-07-30 12:22:58 -03:00
alfrix de422f23ad update issue templates 2023-07-30 12:22:58 -03:00
alfrix 3a7818bd35 screen: remove pop parameter from show_panel and remove_panel, simpler 2023-07-30 12:22:58 -03:00
alfrix 34f9b958a7 remove unnecessary params from labels 2023-07-30 12:22:58 -03:00
alfrix 3f11897491 screen: make show_panel parameters more clear 2023-07-30 12:22:58 -03:00
alfrix 8d9236a2df screen: simplify panel loading
this removes create_panel function from panels and mandates a class name Panel

remove panel_type param and only use a panel_name that is it's filename

remove load_panel dict

always reinit panel, (simpler and safer but slower)
2023-07-30 12:22:58 -03:00
alfrix cb5b77303f screen: translate dpms failed and save settings after disabling it 2023-07-30 12:22:58 -03:00
alfrix 71dcb1f91d job_status: tweaks to the calc of time remaining 2023-07-30 12:22:58 -03:00
alfrix 403a3024ce docs: fix thumb links 2023-07-30 12:22:58 -03:00
alfrix 87ad2a70ba fine_tune: split speed and flow selectors close #935 2023-07-30 12:22:58 -03:00
alfrix 7ba9e49374 job_status: show save to endstop to apply offset for deltas close #916
Z_OFFSET_APPLY_ENDSTOP works in deltas since https://github.com/Klipper3d/klipper/commit/f078a279059670e692ea676237b152b4d42518e4
2023-07-30 12:22:58 -03:00
alfrix ae03e7d55d job_status: fix screen overflow on small screens 2023-07-30 12:22:58 -03:00
alfrix 72c6bdfe33 job_status: change progress percentage to time-based instead of file-based 2023-07-30 12:22:58 -03:00
alfrix 3c69bcb4c4 add parameter to labels to silence IDE warnings 2023-07-30 12:22:58 -03:00
alfrix a149796b19 reduce the use of contextlib 2023-07-30 12:22:58 -03:00
alfrix 1d2a89b4e7 screen: remove panel subscription
since now the panels are updated on activate, there is no need to keep them updated anymore
2023-07-30 12:22:58 -03:00
alfrix 2a9044e4f4 job_status: refactor to improve efficiency
job_status: refactor lcd_message
2023-07-30 12:22:58 -03:00
alfrix 870256df09 screen_panel: format_time round minutes since seconds are only shown with less than a minute 2023-07-30 12:22:58 -03:00
alfrix d0ab325744 config: changes in how the config is validated
now it validates in steps
1 defaults
2 user settings
3 user includes
4 auto-generated section

unknown keys will be removed from the auto-generated section if no other errors are found
detect and warn about missing newlines in headers
2023-07-30 12:22:58 -03:00
alfrix 432305bec9 move: add a failsafe for velocity fixes #1043 2023-07-30 12:22:58 -03:00
alfrix 46311e58f1 macros: use defaults as placeholders fix #1040 2023-07-30 12:22:58 -03:00
alfrix 0d05ef3b59 docs: add a notices about config newlines, preheat and menus 2023-07-30 12:22:58 -03:00
alfrix f19d39fce1 docs: fix quicktips link broken 2023-07-30 12:22:58 -03:00
alfrix ff292f77c9 docs: update repo locations 2023-07-30 12:22:58 -03:00
Daviteusz b249c79180 locale(pl): Update Polish translation (#1058) 2023-07-30 12:21:22 -03:00
Chad Condon e8a2d3443e Improve name presentation (#1055)
* Preserve manual capitalization

Avoid re-capitalizing names that already include uppercase letters.
This improves the presentation of names like "TMC2209", etc. when the
user has manually capitalized the name.

* Use title case

Use title case instead of only capitalizing the first character.
Ex. `heater_bed` now becomes "Heater Bed" instead of "Heater bed".
2023-07-24 17:00:12 -03:00
Selim fab620dce7 Update translation: Turkish (#1054) 2023-07-24 16:59:22 -03:00
Andriy 06240ee872 Update translation: Ukrainian (#1053) 2023-07-24 16:58:29 -03:00
AntoszHUN 12a79ed2c7 Update translation: Hungarian (#1044) 2023-07-24 16:57:47 -03:00
Samuel-0-0 ca71953cfa Update translation zh_CN (#1041) 2023-07-24 16:56:51 -03:00
DaviteuszandWeblate 304e285b7f locale(pl): update Polish translation (#1033)
Co-authored-by: Weblate <noreply@weblate.org>
2023-07-08 23:15:59 -03:00
Samuel-0-0 c02d001e9d Update translation zh_CN 2023-07-08 23:15:21 -03:00
saudade428 d589a1e31c Update translation zh_TW 2023-07-08 23:14:44 -03:00
alfrix 797ea99f33 extrude: change style to hexpand 2023-07-08 17:09:05 -03:00
alfrix 0cc58c0f08 docs: Update info about rotation 2023-07-08 15:51:42 -03:00
alfrix ffc5ff3c06 extrude: do not call T0 if there is only one extruder 2023-07-07 23:48:37 -03:00
alfrix d6b700381b fix possible issue with the mesh profile is not complete 2023-07-07 23:15:07 -03:00
alfrix f9af11d635 docs: add about section 2023-07-07 22:33:14 -03:00
alfrix 3ba6bd657f main_menu: add scrollbar fixes #1034 2023-07-04 11:46:44 -03:00
alfrix fff7f66780 update translations 2023-07-02 16:33:35 -03:00
Alfredo Monclus 6190581101 Reorganization (#1029) 2023-07-02 15:16:36 -03:00
alfrix 0f47d45294 fix language not saving fixes #1015 2023-07-02 13:41:42 -03:00
alfrix f94c7d38eb fix multiple zcalibrate opening 2023-07-02 11:31:35 -03:00
alfrix cb1793836c bed_mesh: load default if no mesh have been loaded
even though this is not default anymore in klipper it's still the best for new users who don't use multiple profiles
2023-07-01 15:16:34 -03:00
alfrix 9da9f4d11e main_menu: retry to create the left panel 2023-07-01 01:04:03 -03:00
alfrix 062e51f9be zcalibrate: use the new method manual_probe is_active to improve detection of status 2023-07-01 00:55:12 -03:00
Alfredo Monclus 294623c13f temp: add pid calibrate to the keypad (#1026) 2023-06-30 17:48:43 -03:00
DaviteuszandWeblate 828b5b6a4b locale(pl): Updated Polish translation (#1027)
Co-authored-by: Weblate <noreply@weblate.org>
2023-06-30 17:44:04 -03:00
Alfredo Monclus d3480cf571 bed_screws: use klipper config values for speed and heights (#1028) 2023-06-30 17:43:31 -03:00
Alfredo Monclus b5abd3d7b9 temperature: select the device that was selected in job_status (#1025) 2023-06-30 17:43:00 -03:00
alfrix 4f86de8c80 zcalibrate: show new value as abs 2023-06-25 15:29:40 -03:00
alfrix 5fb0acc3ac keyboard: tweak box size 2023-06-25 13:35:47 -03:00
alfrix 5a0df3a628 fix colors not applying correctly fix #944 2023-06-22 12:44:16 -03:00
alfrix baae949beb fix main_menu left_panel graph crashing/hiding after a config change of heaters 2023-06-22 12:44:16 -03:00
alfrix eb0e6ad803 job_status: disable restart and pause after pressing and simplify enable 2023-06-21 17:42:32 -03:00
alfrix a973300d2f klippygtk: scaling tweak for default text size to fit 4 sliders without scrollbars (limits and retraction) 2023-06-21 17:42:32 -03:00
alfrix 391254057a bed_level: use the same string for disable motors used in the other panels 2023-06-21 16:13:51 -03:00
alfrix efc8c3f437 macros: add popup (visual confirmation) of the macro sent 2023-06-21 16:10:29 -03:00
alfrix 2c582acc7b memory leak fix
the leak started in v0.2.9 (e1ea41f147) with the addition of del self.panel[panel].
del cannot be called on self.panels because some panels have bound methods that prevent them from being collected by the gc.
so, instead of trying to remove them, reinitialize the panels if it's needed (before v0.2.9 initialize was always called, so it's still better than it was)
at the moment leaving the panels on memory doesn't seem like a big issue, once all panels are loaded memory should remain stable

fixes #1019
fixes #1008
2023-06-21 16:10:29 -03:00
dependabot[bot] 7cf89aa014 build(deps): bump websocket-client from 1.5.3 to 1.6.0 (#1022)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.5.3...v1.6.0)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 16:09:18 -03:00
DaviteuszandWeblate 540528630b Translated using Weblate (Polish) (#1020)
Co-authored-by: Weblate <noreply@weblate.org>
2023-06-21 16:08:45 -03:00
alfrix 92ed72e48b fix panel removal not working correctly
previous fix addresed the leaking memory, but created more issues:
fixes #1012
fixes #1015
fixes #1017
2023-06-16 14:11:10 -03:00
alfrix 4920720c99 return False on Glib functions 2023-06-16 10:05:43 -03:00
alfrix 2241b54153 use only one jinja env
slightly improves performance
2023-06-16 10:05:24 -03:00
alfrix dbe3f03019 refactor graph update timer 2023-06-16 10:04:16 -03:00
Gabes Mak 7a7d275c31 Update Installation.md (#1016)
Fix wording
2023-06-16 09:58:35 -03:00
dependabot[bot] 3b8b8e9c9b build(deps): bump websocket-client from 1.5.2 to 1.5.3 (#1010)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 13:41:14 -03:00
alfrix 35498d39c7 job_status: fix not fitting on 480 wide screens 2023-06-13 13:39:23 -03:00
alfrix 8a29b6e125 fix not reconnecting to moonraker and prevent simultaneous reconnections
fixes #999
2023-06-13 13:39:23 -03:00
alfrix c5522b29da screen: Log resolution/size changes 2023-06-13 13:39:23 -03:00
alfrix c1d8a4f033 menu: get rid of initalize 2023-06-13 13:39:23 -03:00
alfrix f7c12867d5 slimmer topbar buttons fixes #1006 2023-06-13 13:39:23 -03:00
alfrix f0a33bd360 keyboard: improvements and fixes
modify layout to make keyboard bigger in the same space
create shift for a more traditional aproach
fix highlighting fixes #1004
2023-06-13 11:54:42 -03:00
alfrix 72c1b1d5f2 main_panel: retry to show graph if moonrkaesr tempstore was not initialized yet 2023-06-13 11:54:42 -03:00
alfrix ff94b45c45 close dialogs when transitioning to printing
also simplify the transition
2023-06-13 11:08:18 -03:00
alfrix 1813533bec Revert "always unload panels fixes #932" and fix it in a different way
it did not work as expected (#996) and caused other issues with macros and menus
del self.panels causes a memory leak
2023-06-13 11:07:46 -03:00
alfrix fa73daaf71 camera: improve performance and latency and also fixes #1003 2023-06-09 08:59:32 -03:00
alfrix b74b1b600f screen: fix some warnings about init_check and define ind 2023-06-09 08:59:32 -03:00
alfrix 88afa50ea3 change getdefaultlocale to getlocale since it's getting deprecated in python 3.13 2023-06-06 05:34:35 -03:00
alfrix 65588424bf make keyboard highlight keys fixes #1000 2023-06-04 14:26:12 -03:00
alfrix 7a0848fa9f deprecate user slicer compensation, in hindsight this is something that the ui shouldn't do 2023-06-04 11:00:47 -03:00
alfrix 791938d733 rework screensaver timeout should fix #992 2023-06-04 10:29:41 -03:00
alfrix 2d61eba66b Fix macro shortcut reopening the same panel 2023-06-04 08:09:11 -03:00
alfrix 1e4885d291 do not close popups when changing state 2023-05-28 09:18:32 -06:00
alfrix 1462c8d08c printer: refactor with early return and safer state evaluate 2023-05-28 09:11:01 -06:00
alfrix c38a3273f3 fix Print panel not showing fixes #993 2023-05-27 20:53:32 -06:00
alfrix 2a0ea6e248 docs: fix broken link on the new troubleshooting merge vc into showing console 2023-05-27 20:47:05 -06:00
alfrix eb24987b27 docs: update and expand troubleshooting sections 2023-05-27 13:11:37 -06:00
Andriy 85ba01f2d8 Ukrainian localization update (#989)
Correcting the names of the previous translator and translating new meanings.
2023-05-27 13:03:14 -06:00
dependabot[bot] 5d4459ff0b build(deps): bump requests from 2.30.0 to 2.31.0 (#986)
Bumps [requests](https://github.com/psf/requests) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 08:20:58 -06:00
dependabot[bot] 0798ce0737 build(deps): bump websocket-client from 1.5.1 to 1.5.2 (#984)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.5.1...v1.5.2)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 08:19:17 -06:00
alfrix 6781043942 docs: explain icon menu item: close #981 2023-05-20 05:13:56 -06:00
alfrix be13c1086e make the language list a menu instead of a dropdown fixes #915 2023-05-20 05:00:45 -06:00
alfrix 4db7fd288c always clear the popup timer fixes #967 2023-05-20 03:12:52 -06:00
alfrix 3dc535f8fb always unload panels fixes #932 2023-05-20 02:59:06 -06:00
alfrix 6b62adbfef Docs: update info about supported screws 2023-05-18 07:48:49 -06:00
ツ 0e877ac5d6 DE MO Generation Fix (#979) 2023-05-17 10:05:56 -06:00
ツ 1ab9b96db7 Added and updated strings for DE | Added formal version for "Sie" (#978)
* Added and updated strings

- Added missing strings
- Adjusted strings to be more in line
- Same terminology for all strings
- Added beside "Du" the formal verion de_formal for "Sie"
2023-05-17 08:09:05 -06:00
alfrix 8e77d24505 Update Ukranian (alexeyzel) close #977 2023-05-17 07:59:35 -06:00
dependabot[bot] a77148b603 build(deps): bump pycairo from 1.22.0 to 1.23.0 (#823)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/pygobject/pycairo/releases)
- [Changelog](https://github.com/pygobject/pycairo/blob/main/NEWS)
- [Commits](https://github.com/pygobject/pycairo/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: pycairo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-14 09:15:44 -06:00
JS-Cannon 46dd978dcc Fixed z-bolt images opacity (#960) 2023-05-14 09:03:18 -06:00
dependabot[bot] 17dd3bb83a build(deps): bump requests from 2.28.2 to 2.30.0 (#969)
Bumps [requests](https://github.com/psf/requests) from 2.28.2 to 2.30.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.30.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-13 21:53:03 -06:00
dependabot[bot] 7905e4d7fa build(deps): bump pygobject from 3.42.2 to 3.44.1 (#936)
Bumps [pygobject](https://pygobject.readthedocs.io) from 3.42.2 to 3.44.1.

---
updated-dependencies:
- dependency-name: pygobject
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-13 21:52:28 -06:00
Thijs Triemstra b337d27dd4 add Dutch translation (#970) 2023-05-13 21:47:48 -06:00
alfrix 1e741ee439 fix menu items not evaluating fixes #959 2023-05-11 08:39:36 -06:00
alfrix 49d910af2b fix popup timer close #946 2023-05-09 07:51:09 -06:00
alfrix ebaedeaf6c macros: fix arrow not showing after click 2023-05-09 07:43:23 -06:00
alfrix 0b973ad4c5 Update pt translation (thanks rafaelSwi)
close #961
2023-05-07 07:26:26 -06:00
alfrix 13a358acd8 Update spanish 2023-05-07 07:17:14 -06:00
alfrix 54e7a8b6a2 update translation files 2023-05-07 07:04:43 -06:00
alfrix abacff9bd5 translate minute (singular) in the blanking list 2023-05-07 06:58:45 -06:00
Thijs Triemstra d21a9616e7 add 1 and 2 minute screen blanking options (#958)
for battery-powered devices
2023-05-07 06:56:13 -06:00
alfrix 282799c8cb bed_mesh: fix points not working
consider implementing a view button to not forcibly load a mesh to view it
2023-04-05 05:50:32 -06:00
alfrix d775e15fa0 add extra digit for z_offset close #943 2023-04-02 09:29:00 -06:00
alfrix a1c602b46d style: z-bolt add camera icon 2023-03-24 08:35:23 -06:00
alfrix 0f97f6e32c menu: don't create items if enable is false, previously it was just not shown 2023-03-24 08:35:11 -06:00
alfrix da9f970231 print: refactors 2023-03-22 06:51:34 -06:00
alfrix 3417765223 job_status: fix panel not showing and not updating thumbnails
safeguard against thumbnail corruption or other errors fixes #893
better system to update name and thumbnails fixes #889
2023-03-19 05:55:30 -06:00
alfrix b963c55140 job_status: fix save endstop not working fixes #929 2023-03-17 07:50:50 -06:00
alfrix 2d8419ca13 fix desktop icon not appearing 2023-03-17 07:50:50 -06:00
Jookiaandalfrix 5f3827a2cb screen: Only switch layouts if the window has been majorly resized (#913)
* screen: Only switch layouts if the window has been majorly resized

Changing the layout can cause the window to resize on some systems.
This can create a feedback loop on systems with square displays.

Keep track of the vertical aspect ratio associated with the current
mode and only switch between vertical and horizontal mode when a
significant aspect ratio change has been detected.

* fixup

---------

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-03-17 07:49:28 -06:00
alfrix d6f7bdcfe6 macros: use the new get_macro instead of get_config due to recent issues 2023-03-11 16:53:08 -06:00
alfrix 87c3f03719 fix issues caused by dfe1ac8d
fix #924
fix #923
2023-03-11 16:40:06 -06:00
Alfredo Monclus 094b90cf86 network: integrate networkmanager (#917)
fixes #881
this should be temporary until an implementation of sdbus-networkmanager
2023-03-11 07:43:10 -06:00
alfrixandAndriy 3220f084ec Update Ukranian close #914
Re-done due to merge conflicts

Co-authored-by: Andriy <40995038+komandrik@users.noreply.github.com>
2023-03-10 20:29:18 -06:00
alfrix dfe1ac8d2c macros: fix list not loading when there are extra spaces fixes #909 2023-03-10 20:03:28 -06:00
alfrix be473bf626 bed_level: fix auto-detect when there is no config file fixes #918 2023-03-10 06:43:02 -06:00
alfrix b353f8526e timeout requests to prevent locking 2023-03-09 07:32:46 -06:00
alfrix 122752b000 leakfix 2023-03-09 07:32:46 -06:00
alfrix 0f0c6f9b6e always maintain printers data, should avoid a bunch of issues 2023-03-09 07:32:46 -06:00
alfrix 18af1d1410 bed_level: add center screw close #863 2023-03-08 06:36:54 -06:00
alfrix 926d78de01 bed_level: remove screws only if in list and simplify detection fixes #910 2023-03-08 06:11:23 -06:00
alfrix a5b639fba2 bed_level: fix compatibility with python 3.7 2023-03-03 08:12:41 -06:00
Alfredo Monclusandczaky 55af0d753c bed_level: improve screw detection (#908)
* Use max_distance for fitting screws to buttons

The max distance is at most 1/3 of the diagonal,
depending on how many screws are there in horizontal or
vertical orientation.

This is a safe guard to prevent assigning screws to buttons
that would confuse the users, for very skewed screw configs.

use a smaller button scale fixes #891

Co-authored-by: alfrix <alfredomonclus@gmail.com>

Co-authored-by: czaky <jendrzej.w@lczak.net>
2023-03-01 07:41:43 -06:00
alfrix d6693fbecc make the menu icon non-mandatory
this was caused by #866
fixes #902
2023-02-20 07:57:45 -06:00
alfrix e426b06b8b lint fix 2023-02-13 21:10:53 -06:00
alfrix c722674918 fix popup word wrap 2023-02-13 21:08:21 -06:00
Geoffrey Young 3d7e92f507 add ability to style and template menu buttons (#866)
* add ability to select button style for menu items

* allow for jinja template rendering for (nearly) all menu options
this shuffles params json checks to display time instead of config time
2023-02-13 21:06:33 -06:00
Thijs Triemstra fc7b8c5304 fix typos (#897) 2023-02-13 21:05:48 -06:00
alfrix a6bb0fd02e zcalibrate: fix dialog loop, fix popup errors not showing at end #844 2023-02-06 18:27:35 -06:00
dependabot[bot] dcb6d18709 build(deps): bump websocket-client from 1.5.0 to 1.5.1 (#888)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 16:35:20 -06:00
alfrix 69571c88b8 fix german keyboard issue caused by #886 2023-02-05 22:32:07 -06:00
Cyril Guislain c33b5d6311 Fix German Keyboard and Add French Keyboard (#886) 2023-02-05 21:47:11 -06:00
alfrix 49add980b3 theme: add light icon to material-dark fix:#884 2023-02-05 10:24:58 -06:00
dependabot[bot] 8d8d3bf9af build(deps): bump requests from 2.28.1 to 2.28.2 (#868)
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.28.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.1...v2.28.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-05 10:20:24 -06:00
alfrix 059f1a8026 update docs screenshot 2023-01-29 15:49:41 -06:00
alfrix eeffdd26dd mask modemmanager close #857 2023-01-29 15:49:41 -06:00
camerony 5de5e1e3eb Update on-screen keyboard.py (#874) 2023-01-29 09:54:53 -06:00
dependabot[bot] 485c82c53f build(deps): bump websocket-client from 1.4.2 to 1.5.0 (#877)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.4.2...v1.5.0)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-29 09:43:04 -06:00
camerony 4e60f65404 network: fix button size, and update ipv4 address on network change (#879) 2023-01-29 09:42:49 -06:00
camerony 85cec193f9 Fix Changing wifi networks hangs 2023-01-29 09:40:45 -06:00
alfrix 34055277e0 Add czech and update ru .mo 2023-01-29 09:34:29 -06:00
AleksandrBukin 9b4c58369e Update Ru (#871)
line 626: "Show Heater Power" in RU "Показать мощность нагрева"
2023-01-29 09:16:18 -06:00
AntoszHUN b96adf55ed Update Hungarian Language (#848) 2022-12-13 20:04:48 -03:00
Alex Hornung f6afb4d4ab install: Fix Xwrapper.config existence test (#846) 2022-12-13 20:04:08 -03:00
alfrix 3c5449f0db job_status: cast float to zoffset 2022-12-12 19:53:34 -03:00
alfrix c828d8349c camera: fix for busters old libmpv fixes #840 2022-12-12 08:12:52 -03:00
alfrix 9fa047eb8b camera: fix libmpv-dev not installing fixes #842 2022-12-12 08:00:38 -03:00
alfrix 82b8cbcca5 zcalibrate: fix initial zhop causing issues for some machines fixes #837 2022-12-12 01:42:30 -03:00
alfrix 1f5a090bfd camera: always fullscreen, fix inverted vo logic, fixes #839 2022-12-12 01:25:36 -03:00
alfrix e4d5cd65ce fix a couple of errors that may happen if klipper fails to start or takes too long 2022-12-11 19:22:45 -03:00
alfrix 502d9699bd fix actions not appearing in printers without name after last commit fix #838 2022-12-11 15:25:28 -03:00
447 changed files with 44414 additions and 12161 deletions

No files matched your search

+1 -12
View File
@@ -1,12 +1 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: klipperscreen
open_collective: # Replace with a single Open Collective username
ko_fi: klipperscreen
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
ko_fi: alfrix
-26
View File
@@ -1,26 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Logfile**
Attach your [klipperscreen.log](https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/)
+70
View File
@@ -0,0 +1,70 @@
name: Bug report
description: Create a report to help us improve
title: "[BUG] <title>"
labels: 'bug'
body:
- type: markdown
attributes:
value: |
Please search to see if an issue already exists for the bug you encountered.
This is a bug report, If you need general support, please visit us on [Discord](https://discord.klipper3d.org/)
# Guidelines:
1. Logfile must be provided from ks startup up to the bug
2. The version used must be from this repo (not a fork)
3. The version used shouldn't be too old (older than the last tagged version)
This bug report will be closed if the guidelines are not respected.
#### This is an Open Source project developed voluntarily, there are no Warranties, or ETA.
[License](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE)
### Thank you for choosing KlipperScreen
- type: textarea
id: what-happened
attributes:
label: 'What happened?'
description: A clear and concise description of what the bug is.
placeholder: During a print i pressed pause and nothing happend
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: 'What did you expect to happen instead?'
description: A clear and concise description of what you expected to happen instead.
placeholder: The printer to pause.
validations:
required: true
- type: textarea
id: repro-steps
attributes:
label: 'How to reproduce this bug?'
description: A clear and concise description with precise steps to reproduce this bug.
placeholder: Press pause button and during printing.
validations:
required: true
- type: textarea
id: additional-info
attributes:
label: 'Additional information:'
description: Any additional info, screenshots or recordings which help to describe the issue.
placeholder: hardware info or related printer config.
- type: textarea
id: logs
attributes:
label: Log output
description: |
Please attach the FULL klipperscreen.log and if needed xorg.log or the tail of journalctl.
if you need help to find the log file:
Read the [Documentation](https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/)
placeholder: |
#### The LOG file is REQUIRED. Without the logfile your issue will be closed
Use a Zip archive if needed
validations:
required: true
+8
View File
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Klipper Discord Server
url: https://discord.klipper3d.org/
about: If you have questions or need general support.
- name: KlipperScreen Discussions
url: https://github.com/KlipperScreen/KlipperScreen/discussions
about: If you have questions or need general support.
-20
View File
@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FR]"
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
@@ -0,0 +1,45 @@
name: Feature request
description: Suggest an idea for this project
title: "[FR] <title>"
labels: 'enhancement'
body:
- type: markdown
attributes:
value: >-
## Thank you for choosing KlipperScreen
This form is for feature requests of KlipperScreen
Requesting a feature does not mean it will be worked on, it's taken as a suggestion.
#### This is an Open Source project developed voluntarily, there are no Warranties, or ETA.
[License](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE)
- type: textarea
id: solution
attributes:
label: 'Requested feature'
description: A clear and concise description of what you want.
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: 'Is your feature request related to a problem?'
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: false
- type: textarea
id: alternative
attributes:
label: 'Describe alternatives you have considered'
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: info
attributes:
label: 'Additional information'
description: Add any other context drawings or screenshots about the feature.
validations:
required: false
+1 -1
View File
@@ -8,4 +8,4 @@ updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
interval: "weekly"
+85
View File
@@ -0,0 +1,85 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
paths-ignore:
- 'docs/**'
- 'ks_includes/locales/**'
pull_request:
paths-ignore:
- 'docs/**'
- 'ks_includes/locales/**'
schedule:
- cron: '32 21 * * 5'
jobs:
analyze:
name: Analyze
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v6
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v4
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
+29
View File
@@ -0,0 +1,29 @@
name: docs
on:
push:
branches: [master, main]
paths:
- 'docs/**'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v6
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v5
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
+24
View File
@@ -0,0 +1,24 @@
name: "Add missing log comment"
on:
issues:
types: [labeled]
jobs:
comment:
if: contains(github.event.issue.labels.*.name, 'missing-log')
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v8
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Hello, I'm an automated bot. \n\n
Please attach a log file to this issue as it is required to properly diagnose the problem. \n\n
Logs help verify versions, inspect for errors, prevent duplicate reports, etc. \n\n
If you don't know how to grab the log file please refer to the documentation: \n\n
https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/ \n\n
Thank you!`
})
+10 -2
View File
@@ -1,10 +1,18 @@
name: test-code
on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
- 'ks_includes/locales/**'
pull_request:
paths-ignore:
- 'docs/**'
- 'ks_includes/locales/**'
jobs:
lint-python-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v6
- uses: ricardochaves/python-lint@v1.4.0
with:
python-root-list: "screen.py ks_includes panels"
+3
View File
@@ -1,4 +1,6 @@
.idea/
.vscode/
.DS_Store
KlipperScreen.conf
__pycache__/
*.py[cod]
@@ -6,3 +8,4 @@ __pycache__/
dist/
build/
venv/
.venv/
+28
View File
@@ -0,0 +1,28 @@
# Read the Docs configuration file for MkDocs projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-lts-latest
tools:
python: latest
jobs:
post_checkout:
# Cancel building pull requests when there aren't changed in the docs directory or YAML file.
# You can add any other files or directories that you'd like here as well,
# like your docs requirements file, or other files that will change your docs build.
#
# If there are no changes (git diff exits with 0) we force the command to return with 183.
# This is a special exit code on Read the Docs that will cancel the build immediately.
- |
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yaml;
then
exit 183;
fi
mkdocs:
configuration: mkdocs.yml
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
+323
View File
@@ -0,0 +1,323 @@
# Changelog
This just tracks the most notable changes, if you want all the details checkout the commit history.
Probably all versions contain changes regarding documentation, translation, fixes and other minor refactors
## Current master
* add a wifi interface selector in the network panel
* option to use keyboard navigation
* allow starting in locked state
* option to auto-lock the screen
* if printer power_devices in ks config add shortcut to shutdown panel
* change default value on macro shortcut to false
* rotate the move buttons according to screw_rotation
* add caching of some resources for perfomance
## v0.4.6 (Jul 2, 2025)
* basic lockscreen for shows or kids
* add fine-tune panel on the main/more menu
* add comment field if available in Spoolman
* save dialog asks to save z probe/endstop if it was modified
* power_devices defined in the config will turn off when using the shutdown button
## v0.4.5 (Oct 28, 2024)
* allow calling KlipperScreen panels from gcode
* bed_mesh: automatically call for z_tilt or quad_level if not applied
* show battery status in the topbar
* macros: keyboard to keypad input switch with auto pre-selection
## v0.4.4 (Sep 16, 2024)
* support for different moonraker routes
* allow showing/hiding cursor from the settings
* some wpa-eap support, adds the security type selector and user field
* extrude: wait for temp or open temp panel automatically close #1416
* extrude: show more filament sensors (up to 9)
* notifications: change icon if warnings were issued
* notifications: add clear close #1178
* notifications: klipper config warnings
## v0.4.3 (Jun 29, 2024)
* prompts: add regular buttons and groups
* refactor: always ignore and hide console temp responses
* gcodes: vertical: remove left icons if low resolution
* keypad: support floating point temp
* gcodes: add extra info to confirm print
* zcalibrate: add a dropdown with the function name to select
* job_status: auto-estimated time: use last print time if available
* gcodes: add option to delete in the confirmation
## v0.4.2 (Jun 10, 2024)
* job_status: remove the status message and use the titlebar for that
* shutdown: add restart ks
* extrude: move firmware retraction into the panel, add pressure advance control closes #724
* screen: theme doesn't need a restart anymore
* splash: show the message when klipper is shutdown
* rename print panel to gcodes
* job_status: add extra info to print list and dialog
* network: new NetworkManager backend using sdbus (#1269)
* drop python 3.7 support (#1271)
## v0.4.1 (May 24, 2024)
* vertical layout: increase font size
* main_menu and temp: change layout to accomodate a bigger graph and list in vertical mode
* pins: add pwm_tool
* menu: add pins panel access while printing
* move and zcalibrate: changes in z invert
* system: add cpu and memory usage tracking
* add system info panel
* updater: add distro name
* menu: rename system to update
* allow 2 different screen timeouts, one while printing the other if not
* settings: Add tooltips
* printer_select: support custom icons #1240
* bed_mesh: show round bed without padded values
* macros: send gcode style (G/M) macros without =
* bed_mesh: bedmap draw axis
* zcalibrate: add support for axis twist compensation
* zcalibrate: add confirmation for abort close #1326
## v0.4.0 (Apr 14, 2024)
* move: support rescaling the slider if machine limits are changed
* bed_mesh: add support for rotation and inversion to the meshMap
* bed_level: add a warning for the screws not being used
* heatergraph: add the ability to go fullscreen when clicked close #740
* Add an alternative to X close #1289 (#1306) (Wayland)
* limits: change to minimum cruise ratio
* heatergraph: add power representation (if set to show power in settings)
* base_panel: titlebar: turn red if high cpu or memory is in use, show usage
* create the shutdown panel, add it to the action bar, remove items from system panel
* job_status: show current offset when saving to endstop close #1286
## v0.3.9 (Feb 29, 2024)
* print panel refactor and new features (#1270)
Adds a grid/thumbnail mode (switchable to the list mode)
last mode used is saved
faster load and less memory usage
add sort by size
* extrude: add an extruder selector for machines with more than 5 extruders (#1249)
* pins: make the non pwm pins on-off pwm pins as a scale
* popups: rate limit to every second close #1225
* feat: macro prompts close #1216 (#1219)
## v0.3.8 (Dec 23, 2023)
* add move_distances config option (#1211)
* printer_select: do not sort, this allows the users to sort how they want by defining them in the config in the order they want
## v0.3.7 (Nov 24, 2023)
* wifi: add icons
* initial notifications panel
* add moonraker warnings
## v0.3.6 (Sep 24, 2023)
* LED light control, close #991 (#1106)
* pause will auto-open extrude
* macros: hide the panel if there are no elegible macros
* job_status: click thumbnail for fullscreen thumbnail
## v0.3.5 (Aug 21, 2023)
* camera: relative url support close #1086 (#1088)
* Spoolman support close #1060
* Use callbacks to disable and enable buttons to improve user feedback
* main_menu: allow closing the keypad with the back button
* camera: add support for moonraker cameras, deprecates camera_url
## v0.3.4 (Jul 30, 2023)
* fine_tune: split speed and flow selectors close #935
* job_status: show save to endstop to apply offset for deltas close #916
* job_status: change progress percentage to time-based instead of file-based
## v0.3.3 (Jul 2, 2023)
* Menu reorganization (#1029)
* temp: add pid calibrate to the keypad (#1026)
* bed_level: add center screw close #863
## v0.3.2 (Feb 20, 2023)
* add ability to style and template menu buttons (#866)
* Update on-screen keyboard (#874)
## v0.3.1 (Dec 11, 2022)
* feat: camera support, using mpv as backend
* resizability
* print: add move/rename, make delete a visible button close #636
## v0.3.0 (Dec 5, 2022)
* feat: turn on_off power devices with the screensaver close #518
* macros add parameters
* print: allow directory deletion
* job_status: add eta
* Added support for network manager
* settings: add extra large font close #798
## v0.2.9 (Nov 18, 2022)
* job_status: use the new print_stats layer info
* functions: logging: use printer_data
* keyboard: add spanish and german, change backscpace, clear and accept to icons
## v0.2.8 (Oct 27, 2022)
* config: add printer_data to default config search locations
* extrude: make the speed and distance configurable close #673
* limits and retraction: infinite sliders
* print: hide files and directories starting with .
## v0.2.7 (Oct 4, 2022)
* exclude: graph (#743)
* Add current heater power % to job status (#708)
## v0.2.6 (Sep 2, 2022)
* Change URL protocol to HTTPS and WSS when connecting to port 443
* main temp: add the ability to hide the graph
* system: add shutdown and restart host
* exclude: add exclude objects support
## v0.2.5 (Aug 1, 2022)
* system: Add check for updates close #681
* bed_level: support 3 screws close #606
* job_status: now works without extruders or fans
* print: add delete file
* screen: Always ask to save config if we detect it on responses
* output_pin panel close #546
* built-in keyboard
## v0.2.4 (Jul 3, 2022)
* Enable users to inject a custom script to start KlipperScreen (#660)
* basic support for extruder_stepper
* fan: add max and stop buttons
## v0.2.3 (May 31, 2022)
* job_status: ask for confirmation, and show saved offset
* extrude: add filament sensor support
* limits: add reset, allow to set above the configured maximum but turn the slider red
* job_status: animate filename if it's too long
* macros: allow reverse sorting
* Add Input Shaper panel
* zcalibrate: show the saved offset and offset to be saved
* Allow setting 0 in preheat options (#612)
## v0.2.2 (May 1, 2022)
* Improve Job status (#592)
Adds heater_generic and/or temp_sensors besides extruder/bed (because of the limited space maybe only 1)
Temps are now buttons and act as a shortcut to the temp panel
Adds fan_generic to the fan label and it's now a shortcut to the fan panel
The colors and size of the progress circle were changed to be more subtle.
Margins between items were augmented, because they are buttons now
Adds 3 information pages: move, extrusion and time:
* move can be opened with speed or z buttons
* time with elapsed/remaining buttons
* extrusion with the extrude_factor / flowrate button
* limits: add units
* Add firmware retraction panel close #101
* Add possibility to define custom code for cooling (#579)
* job_status: add save z button to save babystepping
* console: hide temps, clear button, button icons
## v0.2.1 (Apr 1, 2022)
* Vertical mode (#480)
* Use extruder icon without number if there is only 1
* Screensaver if dpms is off
* fine_tune: add reset button, do not set babystepping prior to homing, reorganize a bit
* menu and printer_select: support more than 8 items
* zcalibrate: add selector for the different modes zcalibrate supports
* system: feature: add Full Update
* Added option to select default printer at startup. (#542)
* Show fan speed according to max_power and off_below (#543)
* console: add switch to turn off autoscroll (#540)
* base_panel: allow titlebar items to be configured
* splash_screen: allow power_devices to be configured
* Bed_level: Support 6 and 8 Screws and rotation (#484)
* Show position including offsets in the move panel (#516)
* Start in configurations without fans or extruders or temp devices
* Extrude panel: Support 5 extruders (#441)
* Support hiding by name using underscore (#437)
* Support Manual Mesh calibration (#388)
* Support the "enter" key from a physical keyboard (#379)
* Support multiple power devices. (#350)
* add speed as parameter to UN/LOAD_FILAMENT macro (#359)
## v0.2.0 (Dec 7, 2021)
The Project changed maintainer [alfrix](github.com/alfrix)
(Thats the reason for the version jump)
* Temp graph (#357)
* Create keypad widget and include set temp on the main menu
* Switch from vext.gi to PyGObject (#348)
* Add the full message of the commits in the updater (#343)
* Wakeup touch block (#340)
* screen: RESPOND echo will now show a message on the screen.
* Zcal panel: Support for Z_ENDSTOP_CALIBRATE (#327)
* Move panel: Add Z-tilt/Quad-gantry-level/HomeXY button (#326)
* Add temperature_fan to heaters (#325)
* Configurable xy position for z-calibrate (#310)
* Material themes (#297)
* Support custom themes (#288)
* Allow gcode commands with preheat options (#274)
* Add printer limits panel
* Add unload/load and reorganize extrude panel (#250)
* Font Size Selector (#245)
* Wake the screen at print start and end (#229)
* system: Add restart option to services that moonraker supports
* base_panel: Add extruder/heater bed temperatures to the title bar
## v0.1.6 (May 13, 2021)
* Wifi manager: Updates to include ability to change wifi networks
## v0.1.5 (May 10, 2021)
* New Style - Solarized (#144)
* M117 messages display (#150)
* print: Include refresh button for files
* bed_mesh: Include ability to view mesh Added ability to visualize bed meshes. The active bed mesh will have more points available to view than inactive bed meshes.
* Multiple printers (#85)
* screen: Enable DPMS so screens can power down.
* screen: Allow cursor to be displayed #51
* temperature: add heater_generic
* screen: Only process current panel's subscription
## v0.1.4 (Feb 15, 2021)
* network: Show wifi information
* screen_panel: Put icons on a sidebar instead of on the header
* printer: Include quad_gantry_level
* wifi: Initial wifi class
* job_status/settings: Allow different file estimation methods
* print: Allow sorting by date and name.
## v0.1.3 (Jan 7, 2021)
* gcode_macros: Update to hide macros based on settings
* settings: Create settings panel for KlipperScreen settings
* job_status: updates to show active extruder
* KlippyWebsocket: changes to allow for moonraker api key
* gcode_macros: add a panel for gcode macros
* screen: allow custom moonraker url/port
* config: Allow specifying configfile location from command line
* UI scaling (#28)
* move: Allow inverting of the axis
* bed_level: include screws_tilt_calculate command
* fine_tune: Remove fan from fine tune panel. Add fan to print menu
* configuration: hide extrude while printing
* bed_mesh: Add panel for bed_mesh
* screen: add popup message capability
## v0.1.2 (Dec 2, 2020)
* Change panel layout. Add title and move back button
* system: add klipper version
## v0.1.1 (Nov 28, 2020)
* Add power panel
* menu: add ability to hide certain menus
* Dynamically load panels
* Add HOME XY button
* Highlight all heaters by default on preheat panel
## v0.1.0 (Nov 14, 2020)
* first release
## v0.0.0 (Jul 6, 2020)
* first commit
+3 -2
View File
@@ -629,8 +629,9 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
OctoScreen: A OctoPrint touch interface for TFT touch modules
Copyright (C) 2018 Máximo Cuadros Ortiz
KlipperScreen: A Klipper touch interface for touchscreens
Copyright (C) 2020-2021 Jordan Ruthe
Copyright (C) 2021-2024 Alfredo Monclus
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
+43 -6
View File
@@ -1,15 +1,52 @@
# KlipperScreen
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/Klipper3d/klipper) via [Moonraker](https://github.com/arksine/moonraker). It allows you to switch between multiple printers and access them from a single location. Notably, it doesn't need to run on the same host as your printer; you can install it on another device and configure the IP address to connect to the printer.
### Documentation [![Documentation Status](https://readthedocs.org/projects/klipperscreen/badge/?version=latest)](https://klipperscreen.readthedocs.io/en/latest/?badge=latest)
### Documentation
[Click here to access the documentation.](https://klipperscreen.readthedocs.io/en/latest/)
For detailed information, [click here to access the documentation](https://klipperscreen.github.io/KlipperScreen/).
### Inspiration
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [Moonraker](https://github.com/arksine/moonraker).
KlipperScreen draws inspiration from [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and was developed to provide a native touchscreen GUI compatible with [Klipper](https://github.com/Klipper3d/klipper) and [Moonraker](https://github.com/arksine/moonraker).
[![Main Menu](docs/img/panels/main_panel.png)](https://klipperscreen.readthedocs.io/en/latest/Panels/)
[More Screenshots](https://klipperscreen.readthedocs.io/en/latest/Panels/)
Explore more screenshots [here](https://klipperscreen.readthedocs.io/en/latest/Panels/).
### Translations
Translations for KlipperScreen are hosted on Weblate. Thanks to the Weblate team for supporting the open-source community.
<a href="https://hosted.weblate.org/engage/klipperscreen/">
<img src="https://hosted.weblate.org/widget/klipperscreen/svg-badge.svg" alt="Translation status" />
</a>
Click the widget below to access the translation platform:
<a href="https://hosted.weblate.org/engage/klipperscreen/">
<img src="https://hosted.weblate.org/widget/klipperscreen/horizontal-auto.svg" alt="Weblate widget" width="50%" />
</a>
### About the Project
KlipperScreen was created by Jordan Ruthe in 2020.
| Donate to Jordan |
|------------------|
| [Patreon](https://www.patreon.com/klipperscreen) |
| [Ko-fi](https://ko-fi.com/klipperscreen) |
Since 2021, the project has been maintained by Alfredo Monclus (alfrix).
| Donate to Alfrix |
|------------------|
| [Ko-fi](https://ko-fi.com/alfrix) |
We extend our gratitude to all contributors who have helped along the way. [Meet the contributors](https://github.com/KlipperScreen/KlipperScreen/graphs/contributors).
### Sponsors
![LDO](docs/img/sponsors/LDO.png) ![YUMI](docs/img/sponsors/YUMI.png)
Special thanks to [LDO](https://ldomotors.com/) and [YUMI](https://wiki.yumi-lab.com/) for sponsoring KlipperScreen and the open-source community.
+5
View File
@@ -0,0 +1,5 @@
from typing import Callable
def _(message: str) -> str: ...
def ngettext(singular: str, plural: str, n: int) -> str: ...
-1
View File
@@ -1 +0,0 @@
screen.py
+27
View File
@@ -0,0 +1,27 @@
#
# DO NOT EDIT THIS FILE USE KlipperScreen.conf
#
[main]
[preheat PLA]
bed = 40
extruder = 195
[preheat ABS]
bed = 90
extruder = 220
[preheat PETG]
bed = 80
extruder = 240
[preheat FLEX]
bed = 0
extruder = 210
[include main_menu.conf]
[include splash_menu.conf]
[include print_menu.conf]
[include move_menu.conf]
+150
View File
@@ -0,0 +1,150 @@
#
# DO NOT EDIT THIS FILE USE KlipperScreen.conf
#
[menu __main]
name: {{ gettext('Main Menu') }}
[menu __main move]
name: {{ gettext('Move') }}
icon: move
panel: move
[menu __main temperature]
name: {{ gettext('Temperature') }}
icon: heat-up
panel: temperature
enable: {{ (printer.temperature_devices.count > 0) or (printer.extruders.count > 0)}}
[menu __main extrude]
name: {{ gettext('Extrude') }}
icon: extrude
panel: extrude
enable: {{ printer.extruders.count > 0 }}
[menu __main more]
name: {{ gettext('More') }}
icon: settings
[menu __main print]
name: {{ gettext('Print') }}
icon: printer
panel: gcodes
enable: {{ printer.extruders.count > 0 }}
[menu __main gcodes]
name: {{ gettext('Gcodes') }}
icon: files
panel: gcodes
enable: {{ printer.extruders.count == 0 }}
[menu __main more bedlevel]
name: {{ gettext('Bed Level') }}
icon: bed-level
panel: bed_level
enable: {{ 'bed_screws' in printer.config_sections or 'screws_tilt_adjust' in printer.config_sections }}
[menu __main more bedmesh]
name: {{ gettext('Bed Mesh') }}
icon: bed-mesh
panel: bed_mesh
enable: {{ 'bed_mesh' in printer.config_sections }}
[menu __main more zoffset]
name: {{ gettext('Z Calibrate') }}
icon: z-farther
panel: zcalibrate
[menu __main more limits]
name: {{ gettext('Limits') }}
icon: fine-tune
panel: limits
[menu __main more fan]
name: {{ gettext('Fan') }}
icon: fan
panel: fan
enable: {{ printer.fans.count > 0 }}
[menu __main more led]
name: {{ gettext('Leds') }}
icon: light
panel: led
enable: {{ printer.leds.count > 0 }}
[menu __main more macros]
name: {{ gettext('Macros') }}
icon: custom-script
panel: gcode_macros
enable: {{ printer.gcode_macros.count > 0 }}
[menu __main more pins]
name: {{ gettext('Pins') }}
icon: hashtag
panel: pins
enable: {{ printer.output_pins.count > 0 or printer.pwm_tools.count > 0 }}
[menu __main more power]
name: {{ gettext('Power') }}
icon: shutdown
panel: power
enable: {{ moonraker.power_devices.count > 0 }}
[menu __main more camera]
name: {{ gettext('Camera') }}
icon: camera
panel: camera
enable: {{ moonraker.cameras.count > 0 }}
[menu __main more console]
name: {{ gettext('Console') }}
icon: console
panel: console
[menu __main more updater]
name: {{ gettext('Update') }}
icon: refresh
panel: updater
[menu __main more input_shaper]
name: {{ gettext('Input Shaper') }}
icon: move
panel: input_shaper
enable: {{ 'input_shaper' in printer.config_sections }}
[menu __main more save]
name: {{ gettext('Save Config') }}
icon: complete
method: ks_confirm_save
[menu __main more settings]
name: KlipperScreen
icon: settings
panel: settings
[menu __main more network]
name: {{ gettext('Network') }}
icon: network
panel: network
[menu __main more notifications]
name: {{ gettext('Notifications') }}
icon: notifications
panel: notifications
[menu __main more spoolman]
name: Spoolman
icon: spoolman
panel: spoolman
enable: {{ moonraker.spoolman }}
[menu __main more system]
name: {{ gettext('System') }}
icon: info
panel: system
enable: {{ moonraker_connected }}
[menu __main more fine_tune]
name: {{ gettext('Fine Tuning') }}
icon: fine-tune
panel: fine_tune
+47
View File
@@ -0,0 +1,47 @@
#
# DO NOT EDIT THIS FILE USE KlipperScreen.conf
#
[menu move homing homex]
name: {{ gettext('Home X') }}
icon: home-x
method: printer.gcode.script
params: {"script":"G28 X"}
[menu move homing homey]
name: {{ gettext('Home Y') }}
icon: home-y
method: printer.gcode.script
params: {"script":"G28 Y"}
[menu move homing homez]
name: {{ gettext('Home Z') }}
icon: home-z
method: printer.gcode.script
params: {"script":"G28 Z"}
[menu move homing homeall]
name: {{ gettext('Home All') }}
icon: home
method: printer.gcode.script
params: {"script":"G28"}
[menu move homing homexy]
name: {{ gettext('Home XY') }}
icon: home
method: printer.gcode.script
params: {"script":"G28 X Y"}
[menu move homing quad_gantry_level]
name: {{ gettext('Quad Gantry Level') }}
icon: home-z
method: printer.gcode.script
params: {"script":"QUAD_GANTRY_LEVEL"}
enable: {{ 'QUAD_GANTRY_LEVEL' in printer.available_commands }}
[menu move homing Z-Tilt]
name: {{ gettext('Z Tilt') }}
icon: z-tilt
method: printer.gcode.script
params: {"script":"Z_TILT_ADJUST"}
enable: {{ 'Z_TILT_ADJUST' in printer.available_commands }}
+102
View File
@@ -0,0 +1,102 @@
#
# DO NOT EDIT THIS FILE USE KlipperScreen.conf
#
[menu __print]
name: {{ gettext('Print Control') }}
[menu __print temperature]
name: {{ gettext('Temperature') }}
icon: heat-up
panel: temperature
enable: {{ (printer.temperature_devices.count > 0) or (printer.extruders.count > 0)}}
[menu __print fan]
name: {{ gettext('Fan') }}
icon: fan
panel: fan
enable: {{ printer.fans.count > 0 }}
[menu __print move]
name: {{ gettext('Move') }}
icon: move
panel: move
enable: {{ printer.pause_resume.is_paused }}
[menu __print extrude]
name: {{ gettext('Extrude') }}
icon: extrude
panel: extrude
enable: {{ printer.extruders.count > 0 }}
[menu __print power]
name: {{ gettext('Power') }}
icon: shutdown
panel: power
enable: {{ moonraker.power_devices.count > 0 }}
[menu __print led]
name: {{ gettext('Leds') }}
icon: light
panel: led
enable: {{ printer.leds.count > 0 }}
[menu __print macros]
name: {{ gettext('Macros') }}
icon: custom-script
panel: gcode_macros
enable: {{ printer.gcode_macros.count > 0 }}
[menu __print notifications]
name: {{ gettext('Notifications') }}
icon: notifications
panel: notifications
[menu __print camera]
name: {{ gettext('Camera') }}
icon: camera
panel: camera
enable: {{ moonraker.cameras.count > 0 }}
[menu __print console]
name: {{ gettext('Console') }}
icon: console
panel: console
[menu __print limits]
name: {{ gettext('Limits') }}
icon: fine-tune
panel: limits
[menu __print network]
name: {{ gettext('Network') }}
icon: network
panel: network
[menu __print settings]
name: KlipperScreen
icon: settings
panel: settings
[menu __print spoolman]
name: Spoolman
icon: spoolman
panel: spoolman
enable: {{ moonraker.spoolman }}
[menu __print system]
name: {{ gettext('System') }}
icon: info
panel: system
enable: {{ moonraker_connected }}
[menu __print pins]
name: {{ gettext('Pins') }}
icon: hashtag
panel: pins
enable: {{ printer.output_pins.count > 0 or printer.pwm_tools.count > 0 }}
[menu __print lock]
name: {{ gettext('Lock') }}
icon: lock
panel: lock_screen
+34
View File
@@ -0,0 +1,34 @@
#
# DO NOT EDIT THIS FILE USE KlipperScreen.conf
#
[menu __splashscreen]
name: {{ gettext('Menu') }}
[menu __splashscreen power]
name: {{ gettext('Power') }}
icon: shutdown
panel: power
enable: {{ moonraker.power_devices.count > 0 }}
[menu __splashscreen network]
name: {{ gettext('Network') }}
icon: network
panel: network
[menu __splashscreen updater]
name: {{ gettext('Update') }}
icon: refresh
panel: updater
enable: {{ moonraker_connected }}
[menu __splashscreen settings]
name: KlipperScreen
icon: settings
panel: settings
[menu __splashscreen system]
name: {{ gettext('System') }}
icon: info
panel: system
enable: {{ moonraker_connected }}
+92 -45
View File
@@ -1,63 +1,104 @@
# Android
# XServer-XSDL (Android Only)
This article describes how to use KlipperScreen from an android device
This article describe how to use KlipperScreen from an Android device using XServer-XSDL
!!! important
The experience may not be equal to run KlipperScreen natively,
depending on the device there maybe performance degradation or other issues
!!! warning
The experience may not be equal to run KlipperScreen natively.
Depending on the device or the network you may encounter performance degradation or other issues.
1. [First installl KlipperScreen on the Pi](Installation.md)
2. Install [XServer-XSDL](https://play.google.com/store/apps/details?id=x.org.server) on the android device
3. Choose [USB(ADB)](#adb) or [WIFI](#wifi)
!!! bug
This method may cause [memory-leaks](https://github.com/KlipperScreen/KlipperScreen/issues/862)
if you don't disable DPMS when installed on X11
It's recommended that you use [VNC](VNC.md) instead
But if you want to use this at least install [earlyoom](https://packages.debian.org/en/stable/earlyoom)
```bash
sudo apt install earlyoom
sudo systemctl enable --now earlyoom
```
1. [First install KlipperScreen](Installation.md)
2. Download the apk of XServer-XSDL or ViewTouch from the [official sourceforge](https://sourceforge.net/projects/libsdl-android/files/apk/XServer-XSDL/).
since it's no longer on the play store.
With Android 4 you may have to use v1.11.40
3. Install the app on the Android device
4. Choose [USB (ADB)](#adb) or [WI-FI](#wifi)
### ADB
!!! warning
Leaving the phone always connected it's not recommended, remove the battery to avoid issues.
* Install ADB on the Pi
```bash
sudo apt-get install android-tools-adb
```
* Put your Android phone/tablet in Debug mode.
1. Install ADB on the computer/SBC/Pi with this command:
```bash
sudo apt-get install android-tools-adb
```
2. Put your Android device in Debug mode.
Usually it involves enabling developer mode and "USB debugging" but this varies on different vendors and versions of the device
search "how to enable android debugging on device-model-and-brand"
Usually it involves enabling developer mode and "USB debugging"
the exact method varies on different vendors and versions of the device
* Copy the launcher script
search "how to enable Android debugging on device-model-and-brand"
```bash
cd ~/KlipperScreen/scripts
cp sample-android-adb.sh launch_KlipperScreen.sh
chmod +x launch_KlipperScreen.sh
```
3. Copy the sample launcher script with the following commands:
* Go to [Startup](#startup)
```bash
cd ~/KlipperScreen/scripts
cp sample-android-adb.sh launch_KlipperScreen.sh
chmod +x ~/KlipperScreen/scripts/launch_KlipperScreen.sh
```
4. Start Xserver-XSDL On the Android device
5. Go to [Startup](#startup)
### WIFI
* Create a launcher script
1. Create a launcher script by entering the following commands:
```bash
cd ~/KlipperScreen/scripts
touch launch_KlipperScreen.sh
chmod +x launch_KlipperScreen.sh
nano launch_KlipperScreen.sh
```
```bash
rm ~/KlipperScreen/scripts/launch_KlipperScreen.sh
touch ~/KlipperScreen/scripts/launch_KlipperScreen.sh
chmod +x ~/KlipperScreen/scripts/launch_KlipperScreen.sh
nano ~/KlipperScreen/scripts/launch_KlipperScreen.sh
```
* Paste this into the script (replace the example IP)
```bash
DISPLAY=192.168.150.122:0 $KS_XCLIENT
```
2. Start the app on the Android device (Xserver-XSDL or ViewTouch)
3. Paste this into the script:
Replace the example IP with the one that Android app shows in the screen.
```bash
DISPLAY=192.168.150.122:0 $KS_XCLIENT
```
!!! important
It's recommended to use a static address, because if the address changes your connection will stop working.
* Go to [Startup](#startup)
It's recommended to use a static IP address, because if it changes your connection will stop working.
## Startup
Start Xserver-XSDL On the android device
Enter this command on the computer/SBC/Pi
```bash
sudo service KlipperScreen restart
```
## Doesn't start
Follow this steps:
1. Reboot the Android device
2. Open the XSDL app and leave it waiting in the blue-screen
3. Reboot the computer/SBC/Pi
## Xserver-XSDL config
Some versions of the app require this configuration to work as expected.
On the splash-screen of the app go to:
```
@@ -67,15 +108,21 @@ On the splash-screen of the app go to:
```
if you missed it, restart the app.
on the Pi
```bash
sudo service KlipperScreen stop
sudo service KlipperScreen start
```
## Recommended configuration for this use case
It's recommended to set Display timeout to never:
Also for X11 installs turn off DPMS:
![disable_dpms_poweroff](img/disable_dpms_poweroff.png)
## Stop Screen Blanking in Xserver-XSDL
Even after enabling the "Stay Awake" option in the Developer/USB Debugging options of your Android device, the Xserver-XSDL may still go to a black screen but keep the backlight of your device on. To keep the screen always active, upon start up of Xserver-XSDL app, select the `Change Device Configuration` at the top of the splash screen and then select the `Command line parameters, one argument per line` option. Append the following argument (must be on seperate lines):
Even after enabling the "Stay Awake" option in the Developer/USB Debugging options of your Android device,
the Xserver-XSDL may still go to a black screen but keep the backlight of your device on.
To keep the screen always active, upon start up of Xserver-XSDL app, select the `Change Device Configuration`
at the top of the splash screen and then select the `Command line parameters, one argument per line` option.
Append the following argument (must be on separate lines):
```
-s
0
@@ -93,11 +140,11 @@ sudo service KlippyScreenAndroid stop
sudo rm /etc/systemd/system/KlippyScreenAndroid.service
```
Follow this guide on how to setup the new launcher script with [USB(ADB)](#adb) or [WIFI](#wifi) and restart KS.
Follow this guide on how to set up the new launcher script with [USB(ADB)](#adb) or [WI-FI](#wifi) and restart KS.
## Help
[The Discourse thread has old instructions but you may get some help if needed](https://klipper.discourse.group/t/how-to-klipperscreen-on-android-smart-phones/1196)
[The Discourse thread has old instructions, but you may get some help if needed](https://klipper.discourse.group/t/how-to-klipperscreen-on-android-smart-phones/1196)
[#klipper-screen channel on Discord](https://discord.klipper3d.org/)
-27
View File
@@ -1,27 +0,0 @@
# Changelog
Breaking changes will be listed here.
#### [2022 03 21](https://github.com/jordanruthe/KlipperScreen/commit/bc34b3c8d6761c27a0b0c62fc4dfa11442b417f6)
* Default configuration is now merged again.
Fixing [2021 05 20](https://github.com/jordanruthe/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
#### [2022 03 10](https://github.com/jordanruthe/KlipperScreen/commit/490dc929bd11e3c4200b999ce7204d84fa0bc184)
* The "Power On Printer" button now requires power_devices under the printer section in KlipperScreen.conf
the power_devices allowed are those defined in the config of moonraker of the printer
The "Power" panel will be in the Menu if there are power devices found
#### [2022 03 01](https://github.com/jordanruthe/KlipperScreen/commit/49ab84e8d51535d3469d97fdee53099cca6abc39)
* The "Power On Printer" button now requires that the printer name in KlipperScreen.conf
and the power device in moonraker.conf to have the same name.
The "Power" panel will be in the Menu if there are power devices found
#### [2022 01 11](https://github.com/jordanruthe/KlipperScreen/commit/8a8c6c064cc6d097b1b34a5c42b4001367e545a6)
* The Preheat panel has been deprecated in favor of an all in one Temperature panel
Remove preheat panel from your Klipperscreen.conf or replace the occurrences of preheat with temperature
#### [2021 05 20](https://github.com/jordanruthe/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
* Default configuration is not merged if a user configuration is set for a specific option
For instance, if `menu __main` is user defined, the main menu will not have any defaults.
+199 -105
View File
@@ -5,98 +5,136 @@ create a blank file in `~/printer_data/config/KlipperScreen.conf`, if the file a
Write in the file only the options that need to be changed, and restart KlipperScreen.
## Include files
```py
[include conf.d/*.conf]
# Include another configuration file. Wildcards (*) will expand to match anything.
```
!!! failure "Critical"
Each configuration option should be on a newline, as they are presented here.
The line endings should be of UNIX style (LF).
## Main Options
The options listed here are not changeable from within the ui.
```py
The options listed here are not editable from within the user interface.
```{ .ini .no-copy }
[main]
# Time in seconds before the Job Status page closes itself after a successful job/print
# 0 means disabled
job_complete_timeout: 0
# job_complete_timeout: 0
# Time in seconds before the Job Status closes itself if an error is encountered
job_error_timeout: 0
# Allows the cursor to be displayed on the screen
show_cursor: False
# job_error_timeout: 0
# If multiple printers are defined, this can be set the name of the one to show at startup.
default_printer: Ender 3 Pro
# default_printer: MyPrinter
# To define a full set of custom menues (instead of merging user entries with default entries)
# To define a full set of custom menus (instead of merging user entries with default entries)
# set this to False. See Menu section below.
use_default_menu: True
# use_default_menu: True
# Define one or more moonraker power devices that turn on/off with the screensaver (CSV list)
screen_on_devices: example1, example2
screen_off_devices: example1, example2
# screen_on_devices: example1, example2
# screen_off_devices: example1, example2
# Define the password to use when locking the screen, this is not secure
# it's saved as plain text, it's meant to be a deterrent for kids or people at shows
# it will be redacted from the logs.
# default is no password
# lock_password: example_password
# Auto-lock the screen after a period of inactivity (in seconds)
# 0 means disabled
# autolock_timeout: 0
# Start KlipperScreen with the screen locked
# start_locked: False
# Allow button focus to navigate with the keyboard
# a scroll wheel mapped to tab/shift+tab and enter button can work
# Beware that the UI is coded to be touchscreen controlled, this is
# not recommended as the only way to control
# keyboard_navigation: False
```
!!! tip
It is strongly recommended that you do not add settings to the config file if you don't need them
## Printer Options
Multiple printers can be defined
```py
```{ .ini .no-copy }
# Define printer and name. Name is anything after the first printer word
[printer Ender 3 Pro]
[printer MyPrinter]
# Define the moonraker host/port if different from 127.0.0.1 and 7125
moonraker_host: 127.0.0.1
# ports 443 and 7130 will use https/wss
moonraker_port: 7125
# Moonraker API key if this is not connecting from a trusted client IP
moonraker_api_key: False
# Use HTTPS/WSS. Defaults to True for ports 443 or 7130, False for any other port
# moonraker_ssl: False
# If you're using the route_prefix option in your moonraker config, specify it here.
# This can be useful for running multiple printers behind a path-based reverse proxy.
# Most installs will not need this.
# moonraker_path: printer1
# Moonraker API key if this host is not connecting from a trusted client IP
# moonraker_api_key: False
# Define the z_babystep intervals in a CSV list. Currently only 2 are supported
z_babystep_values: 0.01, 0.05
# Override the movement speed and set a specific for this printer.
# These setting overrides the settings configured in the UI. If specified,
# the values configured in the UI will not be used.
move_speed_xy: 500
move_speed_z: 300
# Define the z_babystep intervals in a CSV list. Currently only 2 are supported, the last value is default
# z_babystep_values: 0.01, 0.05
# For the 'Power on' button on the splash screen:
# Define one or more moonraker power devices that turn on this printer (CSV list)
# Default is the printer name
power_devices: example1, example2
# By Default it tries to match the printer name defined in this section header to the moonraker power device name.
# This devices will be turned OFF when using the shutdown button
# power_devices: example1, example2
# Define what items should be shown in titlebar besides the extruder and bed
# the name must be the same as defined in the klipper config
# valid options are temperature_sensors or temperature_fans, or heater_generic
titlebar_items: chamber, MCU, Pi
# There is a special item named "spool" that depends on Spoolman data provided through Moonraker
# titlebar_items: chamber, MCU, Pi, spool
# The style of the user defined items in the titlebar
# Can be 'full' indicating that the full name is shown, 'short' for the first letter, or None (default) for no name
titlebar_name_type: None
# titlebar_name_type: None
# Low limit for remaining spool weight in the title bar, in grams.
# When the active spool drops below this value, the spool icon and weight turn red.
# spool_low_limit: 20
# Z probe calibrate position
# By default is the middle of the bed
calibrate_x_position: 100
calibrate_y_position: 100
# By default it tries to guess the correct location
# it will try using zero reference position, safe_z, mesh midddle, middle of axis length, etc
# example:
# calibrate_x_position: 100
# calibrate_y_position: 100
# Bed Screws
# define the screw positons required for odd number of screws in a comma separated list
# possible values are: bl, br, bm, fl, fr, fm, lm, rm
# they correspond to back-left, back-right, back-middle, front-left, front-right, front-middle, left-middle, right-middle
screw_positions: ""
# Custom commands for zcalibrate
# the zcalibrate panel provides quick access to test_z, accept and cancel commands
# if you have a command that makes use of this functions and it's not in the main klipper repository
# add it to this list.
# examples:
# zcalibrate_custom_commands: MYCUSTOMPROBE_CALIBRATE, CUSTOM_CALIBRATE method=manual, CUSTOM_TEST
# Rotation is useful if the screen is not directly in front of the machine.
# It will affect the bed mesh visualization.
# Valid values are 0 90 180 270
screw_rotation: 0
# screw_rotation: 0
# Define distances and speeds for the extrude panel. CSV list 2 to 4 integers
extrude_distances: 5, 10, 15, 25
extrude_speeds: 1, 2, 5, 25
# Define distances and speeds for the extrude panel. CSV list 2 to 4 integers the second value is default
# extrude_distances: 5, 10, 15, 25
# extrude_speeds: 1, 2, 5, 25
# Camera configuration
camera_url: http://127.0.0.1/webcam/?action=stream
# Define distances for the move panel. comma-separated list with 2 to 7 floats and/or integers
# move_distances: 0.1, 0.5, 1, 5, 10, 25, 50
# Camera needs to be configured in moonraker:
# https://moonraker.readthedocs.io/en/latest/configuration/#webcam
```
## Preheat Options
```py
!!! question "Added one the others disappeared, Is this normal?"
Adding a custom preheat section will cause the defaults to not load, this is
the intended behaviour.
```ini
[preheat my_temp_setting]
extruder: 195
extruder1: 60
@@ -112,107 +150,163 @@ heater_generic: 60
gcode: MY_HEATSOAK_MACRO
```
There is a special preheat setting named cooldown to do additional things when the _cooldown_ button is pressed
There is a special preheat setting named cooldown to *do additional things* when the _cooldown_ button is pressed
*do not* add `TURN_OFF_ALL_HEATERS` or you will remove the ability to turn off individual heaters with this button.
for example:
```py
```ini
[preheat cooldown]
gcode: M107
```
## Include files
```{ .ini .no-copy }
# [include conf.d/*.conf]
# Include another configuration file. Wildcards (*) will expand to match anything.
```
## Menu
This allows a custom configuration for the menu displayed while the printer is idle. You can use sub-menus to group
different items and there are several panel options available. It is possible to have a gcode script run on a menu
button press. There are two menus available in KlipperScreen, __main and __print. The __main menu is displayed while the
printer is idle. The __print menu is accessible from the printing status page.
!!! info
A predefined set of menus is already provided
A menu item is configured as follows:
```py
```{ .ini .no-copy }
[menu __main my_menu_item]
# To build a sub-menu of this menu item, you would next use [menu __main my_menu_item sub_menu_item]
name: Item Name
icon: home
# Optional Parameters
# Panel from the panels listed below
panel: preheat
# Moonraker method to call when the item is selected
method: printer.gcode.script
# Parameters that would be passed with the method above
params: {"script":"G28 X"}
# Enable allows hiding of a menu if the condition is false. This statement is evaluated in Jinja2
# Available variables are listed below.
enable: {{ printer.power_devices.count > 0 }}
# To build a sub-menu of this menu item, you would next define [menu __main my_menu_item sub_menu_item]
#
# --- The following items are optional ---
#
# icon: home
# Icon name to be used, it can be any image in the directory:
# KlipperScreen/styles/{theme}/images/ where {theme} is your current theme
# Supported formats svg or png
#
# style: mycolor4
# Icon style, defined as "button.mycolor4" (for example) in the theme css
#
# panel: preheat
# Panel from the panels folder in the KlipperScreen folder
#
# enable: {{ 'screws_tilt_adjust' in printer.config_sections and printer.power_devices.count > 0 }}
# Enable allows hiding of a menu if the condition is false. (evaluated with Jinja2)
# Available variables are listed in the next section.
#
# --- The items below do not work if you define a panel to be loaded ---
#
# method: printer.gcode.script
# Moonraker method to call when the item is selected, you will need params below
# the most common is is printer.gcode.script check out other methods in moonraker documentation:
# https://moonraker.readthedocs.io/en/latest/web_api/#run-a-gcode
#
# params: {"script":"G28 X"}
# Parameters that would be passed with the method above
#
# confirm: 'Are you sure?'
# If present this option will give you a confirmation prompt with the text above.
# It's recommended that you use a Macro-prompt instead of this option,
# as the Macro-prompt will also be shown on other interfaces, and it's more flexible.
# Macro-prompts are described in: https://klipperscreen.github.io/KlipperScreen/macros/#prompts
```
Available panels are listed here: [docs/panels.md](Panels.md)
Certain variables are available for conditional testing of the enable statement:
```py
Variables to conditionally test the enable statement:
```{ .yaml .no-copy }
# Configured in Moonraker
moonraker.power_devices.count # Number of power devices
moonraker.cameras.count # Number of cameras
moonraker.spoolman # Has spoolman
# Printer specific
printer.pause_resume.is_paused # Printing job is paused
printer.extruders.count # Number of extruders
printer.temperature_devices.count # Number of temperature related devices that are not extruders
printer.temperature_devices.count # Number of temperature related devices (not extruders)
printer.fans.count # Number of fans
printer.power_devices.count # Number of power devices configured in Moonraker
printer.output_pins.count # Number of pins configured
printer.gcode_macros.count # Number of gcode macros
printer.output_pins.count # Number of fans
printer.bltouch # Available if bltouch section defined in config
printer.probe # Available if probe section defined in config
printer.bed_mesh # Available if bed_mesh section defined in config
printer.quad_gantry_level # Available if quad_gantry_level section defined in config
printer.z_tilt # Available if z_tilt section defined in config
printer.firmware_retraction # True if defined in config
printer.input_shaper # True if defined in config
printer.bed_screws # True if defined in config
printer.screws_tilt_adjust # True if defined in config
printer.idle_timeout # Idle timeout section
printer.pause_resume # Pause resume section of Klipper
printer.gcode_macros.list # List of names of the gcode macros
printer.leds.count # Number of leds
printer.config_sections # Array of section headers of Klipper config (printer.cfg)
printer.available_commands # List of all the commands that the printer supports
```
A sample configuration of a main menu would be as follows:
```py
```{ .yaml+jinja .no-copy }
[menu __main homing]
name: Homing
icon: home
[menu __main preheat]
name: Preheat
icon: heat-up
panel: preheat
[menu __main print]
name: Print
icon: print
panel: print
[menu __main homing homeall]
name: Home All
icon: home
method: printer.gcode.script
params: {"script":"G28"}
[menu __main homing mymacro]
name: My Macro
icon: home
method: printer.gcode.script
params: {"script":"MY_MACRO"}
enable: {{ 'MY_MACRO' in printer.gcode_macros.list }}
[menu __main preheat]
name: Preheat
icon: heat-up
panel: preheat
```
## KlipperScreen behaviour towards configuration
KlipperScreen will search for a configuration file in the following order:
1. _~/KlipperScreen.conf_
2. _${KlipperScreen_Directory}/KlipperScreen.conf_
3. _~/printer_data/config/KlipperScreen.conf_
4. _~/klipper_config/KlipperScreen.conf_
1. _~/printer_data/config/KlipperScreen.conf_
2. _~/.config/KlipperScreen/KlipperScreen.conf_
3. _${KlipperScreen_Directory}/KlipperScreen.conf_
If you need a custom location for the configuration file, you can add -c or --configfile to the systemd file and specify
the location of your configuration file.
If you need a custom location for the configuration file, you can add [launch argument](#adding-launch-arguments)
If one of those files are found, it will be merged with the default configuration.
Default Preheat options will be discarded if a custom preheat is found.
If include files are defined then, they will be merged first.
The default config is included here: (do not edit use as reference)
_${KlipperScreen_Directory}/ks_includes/default.conf_
_${KlipperScreen_Directory}/config/defaults.conf_
Preferably *do not* copy the entire default.conf file, just configure the settings needed.
*Do not* copy the entire default.conf file, just configure the settings needed.
If no config file is found, then when a setting is changed in the settings panel, a new configuration file will be created automatically.
If no config file is found, then when a setting is changed in the settings panel, a new configuration file should be created automatically.
## Starting on a different monitor/display/screen
Add -m or --monitor as a launch argument, to specify the number of the monitor, that will show Klipperscreen (default: 0).
!!! warning
Selecting the monitor is only allowed when KlipperScreen is set to launch fullscreen in standalone mode (no DE)
## Adding launch arguments
The recommended way to add launch arguments is:
1. Create a launch script:
```bash
touch ~/KlipperScreen/scripts/launch_KlipperScreen.sh
chmod +x launch_KlipperScreen.sh
```
2. Edit the script:
```bash
nano ~/KlipperScreen/scripts/launch_KlipperScreen.sh
```
Add the init and the launch argument, this example will launch KlipperScreen on the second monitor if exists:
```
/usr/bin/xinit $KS_XCLIENT --monitor 1
```
!!! tip
you can use --configfile and --logfile to specify custom locations for those files
+16 -4
View File
@@ -1,11 +1,23 @@
# Contact
There are several ways to contact people who can assist with issues. Discord is going to be the quickest response as
there will be more people in the chat who can help.
There are several ways to contact people who can assist with issues.
Discord is probably going to provide the quickest response as there are more people in the chat who can help.
## GitHub Issues
You may submit a GitHub issue request for any problems you are having.
## Klipper Community Discord
[Look for the channel `#klipper-screen`](https://discord.klipper3d.org/)
## Issues or improvements to the docs or the application
You may submit a GitHub issue request for any bugs you encounter.
or a Pull Request with translations, features, doc fixes.
or open an issue describing the changes.
or even provide ideas for a feature.
[GitHub repository](https://github.com/KlipperScreen/KlipperScreen/)
+61
View File
@@ -0,0 +1,61 @@
# Developer Guide
Basic setup for an environment to do development of KlipperScreen.
!!! note "Alfrix Note:"
I use a standard Linux distro with a desktop environment.
## Clone the repo
Clone your fork, for example:
```
cd ~
git clone https://github.com/klipperscreen/klipperscreen.git
```
## Install the dependencies on the host
The X11 or Wayland dependencies should not be needed if you are running a desktop GNU/Linux distro.
See [scripts/system-dependencies.json](https://github.com/KlipperScreen/KlipperScreen/blob/master/scripts/system-dependencies.json)
## Create a virtual environment
For example:
```bash
cd ~/KlipperScreen
python3 -m venv .venv
source .venv/bin/activate
pip install -r scripts/KlipperScreen-requirements.txt
# this one is optional:
pip install -r scripts/dev-requirements.txt
```
# Set configurations
Create klipperscreen.conf and place it on the repo folder
```
[main]
show_cursor=True
# disable screen timeouts
use_dpms=False
screen_blanking=off
# disable Fullscreen and start in a specified size
# 480 x 320 is the minimum size to target
width=480
height=320
# setting width or height will disable fullscreen and it's the intended behavior
```
At this point you can add your actual printer section with the IP (and port of needed) to the config or/and add a virtual printer
# Optional: Virtual printer
You may use a virtual printer like it's described in the [klipper docs](https://www.klipper3d.org/Debugging.html#testing-with-simulavr),
or it's [alternative that uses docker](https://github.com/mainsail-crew/virtual-klipper-printer)
Using a Virtual printer will need klipper and moonraker need to be installed in the machine too.
!!! note
The virtual printer has various limitations,
like constant temperature and limited availability of pins,
it's not a limitation of klipperscreen
## Optional: Configure the IDE
* Set interpreter to the virtual environment created
* Set the run configuration to `KlipperScreen/screen.py`
+49
View File
@@ -0,0 +1,49 @@
# Frequently Asked Questions
## What is the minimum Python version required?
The minimum required version of Python is 3.8. This requirement is checked during installation.
??? "Using Older Python Versions"
If you need to use Python 3.7, you can revert KlipperScreen to v0.4.1
Connect to the printer via SSH and:
```sh
cd ~/KlipperScreen
git reset --hard v0.4.1
```
## Does KlipperScreen work with OctoPrint?
KlipperScreen is not designed to work with OctoPrint, and there are no plans to make it compatible.
## Can I use KlipperScreen as a desktop application?
Yes, you can use KlipperScreen as a desktop application. During installation, do not install it as a service. If you have already installed it as a service, you can disable it by running:
```sh
sudo systemctl disable KlipperScreen
```
Then, you can open the application via the menu when needed. You can also find the shortcut in `KlipperScreen/scripts/KlipperScreen.desktop`.
## Why did the title bar turn red and display CPU and RAM usage?
The red title bar indicating high CPU and RAM usage is a warning system. High resource usage can lead to issues, such as "timer too close" errors in Klipper. If this warning appears during an update or maintenance process, it is generally not an issue—just avoid starting a print job until the warning clears. You can use htop or similar tools from an SSH connection to check what’s consuming the resources.
## How can I switch between multiple printers?
KlipperScreen supports multiple printers. You can switch between them by configuring each printer's IP address in the KlipperScreen settings. This allows you to manage all your printers from a single interface, even if they are running on different hosts.
## Can I customize the KlipperScreen interface?
Yes, you can customize the KlipperScreen interface by editing the configuration files. Detailed instructions and options for customization can be found in the [documentation](https://klipperscreen.github.io/KlipperScreen/).
## What should I do if my touchscreen is not responding correctly?
If your touchscreen is not responding or has touch accuracy issues, check the [Touch Issues section](Troubleshooting/Touch_issues.md) in the troubleshooting guide. You may need to calibrate the touch settings or adjust the touch matrix.
## How do I update KlipperScreen?
To update KlipperScreen, follow the instructions in the [updating guide](Updating.md).
## What if I sometimes see the desktop instead of KlipperScreen?
If you sometimes see the desktop instead of KlipperScreen, and you only want to see KlipperScreen, you may have installed a distro with a full desktop environment. [Check these instructions](Troubleshooting/Desktop.md) on how to properly switch.
+11 -104
View File
@@ -1,125 +1,32 @@
# Hardware
There are no recommended screens, but the minimum supported resolution is 480x320.
KlipperScreen supports a variety of screens, with a minimum supported resolution of 480x320. Generally, if a device can display a GNU/Linux desktop, it should be compatible with KlipperScreen.
In general, if the device can show a GNU/Linux desktop, then KlipperScreen should work too.
## Supported Hardware
#### Hardware known to work
The following screens are known to work with KlipperScreen:
* [BTT PI TFT50](https://www.biqu.equipment/collections/lcd/products/bigtreetech-pi-tft50-v1-0-tft-display-for-raspberry-pi-3d-printer-part)
* [BTT HDMI5/7](https://biqu.equipment/products/bigtreetech-hdmi5-v1-0-hdmi7-v1-0)
* [Raspberry PI 7" Touchscreen](https://www.raspberrypi.org/products/raspberry-pi-touch-display/)
* [Hyperpixel 4](https://shop.pimoroni.com/products/hyperpixel-4)
* [3.5" Elegoo](https://www.elegoo.com/de/products/elegoo-3-5-inch-tft-lcd-screen)
* [3.5" RPi Display](http://www.lcdwiki.com/3.5inch_RPi_Display)
* [5" HDMI Display-B](http://lcdwiki.com/5inch_HDMI_Display-B)
* [VoCore](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35/7)
* [WAVESHARE 4.3 inch DSI LCD](https://www.waveshare.com/4.3inch-dsi-lcd.htm)
* [DFrobot DFR0550](https://wiki.dfrobot.com/5%27%27TFT-Display_with_Touchscreen_V1.0_SKU_DFR0550)
* [Android phone](Android.md)
For more hardware known to work with KlipperScreen, visit the [Klipper Discourse](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35).
* [More known hardware in the klipper discourse](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35)
### Install
### Configuration
1. **Install Your Screen**: Follow the manufacturer’s instructions for installing your screen. If you see a white screen, it indicates that the installation was not successful. Ensure that you can at least see a console.
2. **Install KlipperScreen**: Once the screen is properly installed and functioning, proceed to [install KlipperScreen](Installation.md).
Follow the manufacturer instructions on how to install your screen. In general if you see a white screen, then it's not properly installed, ensure that you at least see a console, Then [install](Installation.md) KlipperScreen, if you are having troubles refer to the [troubleshooting page](Troubleshooting.md) for further information.
## Screen Rotation
## Screen rotation
Currently there is no support for rotation at runtime, do not use xrandr to rotate the screen.
Configure the server to start in the desired orientation, there are many ways to achieve this, here is one:
For information on screen rotation, refer to the [Rotation section](Troubleshooting/Rotation.md) in the troubleshooting guide.
## Touchscreen Touch Rotation
Create /usr/share/X11/xorg.conf.d/90-monitor.conf
```bash
sudo nano /usr/share/X11/xorg.conf.d/90-monitor.conf
```
Paste this section modifying the options to suit your needs:
```
Section "Monitor"
Identifier "DPI-1"
# This identifier would be the same as the name of the connector printed by xrandr.
# it can be "HDMI-0" "DisplayPort-0", "DSI-0", "DVI-0", "DPI-0" etc
Option "Rotate" "left"
# Valid rotation options are normal,inverted,left,right
Option "PreferredMode" "1920x1080"
# May be necesary if you are not getting your prefered resolution.
EndSection
```
Save the file and restart KlipperScreen.
```bash
sudo service KlipperScreen restart
```
## Touchscreen touch rotation
If your touchscreen isn't registering touches properly after the screen has been rotated, you will need to apply a
transformation matrix.
First you will need your device name, on a terminal run:
```sh
DISPLAY=:0 xinput
```
Output:
```sh
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
```
In this case the device is the ADS7846 Touchscreen, yours may be different
You can test a change by running:
```sh
DISPLAY=:0 xinput set-prop "<device name>" 'Coordinate Transformation Matrix' <matrix>
```
Where the matrix can be one of the following options:
* 0°: `1 0 0 0 1 0 0 0 1`
* 90° Clockwise: `0 -1 1 1 0 0 0 0 1`
* 90° Counter-Clockwise: `0 1 0 -1 0 1 0 0 1`
* 180° (Inverts X and Y): `-1 0 1 0 -1 1 0 0 1`
* invert Y: `-1 0 1 1 1 0 0 0 1`
* invert X: `-1 0 1 0 1 0 0 0 1`
For example:
```sh
DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1
```
To make this permanent, modify the file `/etc/udev/rules.d/51-touchscreen.rules` and add following line:
```sh
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
```
As an alternative if the above doesn't work:
edit /usr/share/X11/xorg.conf.d/40-libinput.conf
for example:
```sh
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
EndSection
```
More info about input transformation can be found in:
* [Ubuntu wiki InputCoordinateTransformation](https://wiki.ubuntu.com/X/InputCoordinateTransformation)
* [Libinput docs](https://wayland.freedesktop.org/libinput/doc/1.9.0/absolute_axes.html)
For touchscreen rotation and matrix issues, see the [Touch Issues section](Troubleshooting/Touch_issues.md#touch-rotation-and-matrix) in the troubleshooting guide.
+203
View File
@@ -0,0 +1,203 @@
How I installed the 3.5" (A) type of screen on RaspberryOS Bookworm (Debian 12)
Update: I've tested Bullseye (Debian 11) and it works, but [rotation was not working](#rotation)
![preview](../img/hardware/rpi35a.jpg)
!!! abstract "Disclaimer"
This is based on my own experience, and it's provided for general information
and does not constitute as advice of any kind.
## Initial install
This screens connect to the [GPIO](https://en.wikipedia.org/wiki/General-purpose_input/output)
they were usually installed via repositories named LCD-show ([1](https://github.com/waveshare/LCD-show), [2](https://github.com/goodtft/LCD-show)),
however in the bookworm release there is a simpler solution
```sh
sudo nano /boot/firmware/config.txt
```
at the bottom add:
```
dtoverlay=piscreen,drm
```
???+ info
in this context drm stands for [Direct Rendering Manager](https://en.wikipedia.org/wiki/Direct_Rendering_Manager)
I had to comment out (add # at the start) vc4 or it would boot into a blackscreen
```
#dtoverlay=vc4-kms-v3d
```
Close the nano editor using `ctrl`+`x` (exit), then `y` for yes (save).
```sh
sudo reboot
```
## Wrong colors or graphical corruption
Some screens will not behave correctly and/or display wrong colors,
this usually due to the wrong [SPI](https://en.wikipedia.org/wiki/Serial_Peripheral_Interface) speed
In my case the maximum I could achieve is 22.22Mhz
```
dtoverlay=piscreen,drm,speed=22222222
```
??? info "About speed"
As you may predict speed has a big impact in usability as it dictates how often the display will refresh
If i understand the [involved drivers](https://github.com/torvalds/linux/blob/65d287c7eb1d14e0f4d56f19cec30d97fc7e8f66/drivers/spi/spi-bcm2835.c#L1068)
correctly, the spi speed is calculated as:
`core_clock / core_divisor`
The divisor must be a multiple of 2, that ranges between 2 and 65536
Core clock in the case of Pi 3 would be 400mhz
So even if you can enter any number, it will be approximated to a value from that formula
That's why I used 22.222.222 (400 / 18)
reboot to test any changes.
## Rotation
You can rotate the screen adding a rotate line with the degrees [0, 90, 180, 270]
```
dtoverlay=piscreen,drm,rotate=180
```
Screen rotation will require adjusting the touch matrix see [Touch issues](../../Troubleshooting/Touch_issues/)
!!! bug
Raspberry linux Kernel v6.1.77 has a bug in the dtb and rotate doesn't work
The fix has been merged in linux v6.6
you can copy the dtb from the new kernel into the old one if needed
## Console
To make the console work:
```sh
sudo nano /boot/firmware/cmdline.txt
```
add at the start or end:
```
fbcon=map:11
```
!!! warning "Important"
Do not add newlines to the file, it must be 1 line with the options separated by spaces
## Type (B-v2)
I have tried the type (B) version 2, and it's quite different, this screen has a different initialization sequence,
probably due to being IPS
so you will need the waveshare35b-v2 dtb of the [waveshare repo](https://github.com/waveshare/LCD-show), to be copied into the appropriate folder:
```
git clone https://github.com/waveshare/LCD-show
sudo cp LCD-show/waveshare35b-v2-overlay.dtb /boot/firmware/overlays/waveshare35b-v2.dtbo
```
the config would be something like this, another major difference is that this display will default to vertical
the maximum speed I could achieve with mine was 33mhz (400mhz/12) without color aberration,
but I ended up with 30mhz to have some margin
this overlay supports an fps value, default is 30 I changed it to 60
this screen was never super responsive but with this configuration is quite tolerable in my opinion.
``` title="/boot/firmware/config.txt"
dtoverlay=waveshare35b-v2:rotate=270,drm,speed=30000000,fps=60
```
```ini title="example of dmesg output"
...
[ 14.926080] input: ADS7846 Touchscreen as /devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0
[ 15.015895] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
[ 15.021701] fb_ili9486: module is from the staging directory, the quality is unknown, you have been warned.
[ 15.022279] SPI driver fb_ili9486 has no spi_device_id for ilitek,ili9486
[ 15.022555] fb_ili9486 spi0.0: fbtft_property_value: regwidth = 16
[ 15.022572] fb_ili9486 spi0.0: fbtft_property_value: buswidth = 8
[ 15.022588] fb_ili9486 spi0.0: fbtft_property_value: debug = 0
[ 15.022600] fb_ili9486 spi0.0: fbtft_property_value: rotate = 270
[ 15.022615] fb_ili9486 spi0.0: fbtft_property_value: fps = 60
[ 15.022627] fb_ili9486 spi0.0: fbtft_property_value: txbuflen = 32768
[ 15.826386] graphics fb1: fb_ili9486 frame buffer, 480x320, 300 KiB video memory, 32 KiB buffer memory, fps=62, spi0.0 at 30 MHz
...
```
by default with this configuration the output will be on the secondary framebuffer
so a file must be created to address this issue:
``` title="/usr/share/X11/xorg.conf.d/99-fbdev.conf"
Section "Device"
Identifier "Allwinner A10/A13 FBDEV"
Option "fbdev" "/dev/fb1"
Option "SwapbuffersWait" "true"
EndSection
```
!!! tip
notice that I'm using fbdev and not fbturbo, you can use fbturbo if you like (remember to install it)
at this point this still did not work:
```ini title="example of /var/log/Xorg.0.log"
[ 172.061] (II) LoadModule: "modesetting"
[ 172.061] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 172.064] (II) Module modesetting: vendor="X.Org Foundation"
[ 172.064] compiled for 1.21.1.7, module version = 1.21.1
[ 172.064] Module class: X.Org Video Driver
[ 172.064] ABI class: X.Org Video Driver, version 25.2
[ 172.065] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 172.067] (WW) Falling back to old probe method for modesetting
[ 172.068] (EE) open /dev/dri/card0: No such file or directory
[ 172.068] (WW) Falling back to old probe method for modesetting
[ 172.068] (EE) open /dev/dri/card0: No such file or directory
[ 172.068] (EE) No devices detected.
[ 172.068] (EE)
Fatal server error:
[ 172.068] (EE) no screens found(EE)
```
so I checked out the configuration and found:
``` title="default contents of /usr/share/X11/xorg.conf.d/20-noglamor.conf"
Section "Device"
Identifier "kms"
Driver "modesetting"
Option "AccelMethod" "msdri3"
Option "UseGammaLUT" "off"
EndSection
```
did:
```
sudo nano /usr/share/X11/xorg.conf.d/20-noglamor.conf
```
deleted everything and saved.
then removed the write permissions to prevent being regenerated:
```
sudo chmod 444 /usr/share/X11/xorg.conf.d/20-noglamor.conf
```
at this point the screen was working, but the touchscreen needed to be rotated:
``` title="rules for rotation: /etc/udev/rules.d/51-touchscreen.rules"
ACTION=="add", ATTRS{name}=="ADS7846 Touchscreen", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1 0 0 1"
```
after a reboot the waveshare type b rev2 was working perfectly at this point.
+56
View File
@@ -0,0 +1,56 @@
Screens that use HDMI should work out of the box
you may need to configure the resolution in RaspberryOS Bookworm
you can do this by editing the kernel commandline
```
sudo nano /boot/firmware/cmdline.txt
```
!!! warning "Important"
Do not add newlines to the file, it must be 1 line with the options separated by spaces
for example:
```
video=1920x1080
```
more complex example:
```
video=HDMI-A-1:1920x1080M@60,rotate=90,reflect_x
```
???+ "Find the identifier use xrandr"
on a terminal run:
```sh
DISPLAY=:0 xrandr
```
it will output something like:
```
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 8192 x 8192
HDMI-1 connected primary 1024x600+0+0 (normal left inverted right x axis y axis) 800mm x 450mm
```
in this case the identifier is HDMI-1 and a simple cmdline arg would be something like:
`video=HDMI-1:1024x600@60`
Valid mode specifiers:
```
<xres>x<yres>[M][R][-<bpp>][@<refresh-rate>][i][m][eDd]
```
options on brackets are optional
| Option | Description |
|-----------------|----------------------------------------------------------------------------------------|
| M | Calculate timings using [CVT](https://en.wikipedia.org/wiki/Coordinated_Video_Timings) |
| R | CVT reduced blanking (refresh rate must be 60Hz) |
| -<bpp> | Bits per pixel, A.K.A. BitDepth usually 24 |
| @<refresh-rate> | acceptable refresh rates are 50, 60, 70 or 85 Hz only |
| e | Force enable |
| D | Force enable Digital mode |
| d | Disable |
For more info read [modedb default video mode support](https://docs.kernel.org/fb/modedb.html)
+54 -58
View File
@@ -1,77 +1,73 @@
# Installation
## First steps
## First Steps
Install the screen, following the instructions provided by the manufacturer, Some screens don't neeed extra software but some need to be installed with a script.
It's strongly recommended to test it and ensure your hardware is working with Raspbian, Ubuntu or any distro you like.
Once you stablished that the screen is working, then proceed installing KlipperScreen.
1. **Install the Screen**: Follow the manufacturer’s instructions for installing your screen. Some screens may require additional software, while others might not.
2. **Test the Screen**: Ensure your hardware is functioning correctly by testing it with RaspberryOS, Ubuntu, or your preferred distribution.
3. **Proceed to Install KlipperScreen**: Once you’ve confirmed that the screen is working, you can proceed with installing KlipperScreen.
## Setup
This install process is meant for a non-desktop version of the OS for example Raspbian Lite, but it should work on other versions.
If you want to use it on a desktop (GUI version), then do `sudo systemctl set-default multi-user.target`
if it's a Raspberry Pi, you can use `sudo raspi-config` to set boot to console by choosing the following options in order:
The installation script is designed for RaspberryOS Lite, but it should work on other Debian derivatives as well.
```sh
1System Options
└──S5 Boot / Auto Login
└──B1 Console
```
## Auto Install
## Auto install
[KIAUH](https://github.com/dw-0/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions.
[KIAUH](https://github.com/th33xitus/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions.
![Screenshot](img/install/KIAUH.png)
You can visit [KIAUH on GitHub](https://github.com/th33xitus/kiauh) to learn more and view its documentation.
![KIAUH Screenshot](img/install/KIAUH.png)
Visit [KIAUH on GitHub](https://github.com/dw-0/kiauh) to learn more and view its documentation.
## Manual Install
First install [Klipper](https://www.klipper3d.org/Installation.html) and [Moonraker](https://moonraker.readthedocs.io/en/latest/installation/).
### KlipperScreen Installation
Execute the following commands:
Follow these steps to manually install KlipperScreen:
Clone the KlipperScreen repository and run the installation script:
```sh
cd ~/
git clone https://github.com/jordanruthe/KlipperScreen.git
cd ~/KlipperScreen
./scripts/KlipperScreen-install.sh
git clone https://github.com/KlipperScreen/KlipperScreen.git
./KlipperScreen/scripts/KlipperScreen-install.sh
```
This script will install the necessary packages, create a Python virtual environment at `~/.KlipperScreen-env`, and install a systemd service file.
!!! tip
If you need a custom location for the configuration file, you can add the `-c` or `--configfile` option to the systemd file and specify the desired location.
## Moonraker Configuration
1. Ensure that the IP of the device is a trusted client in `moonraker.conf`:
```ini
[authorization]
trusted_clients:
127.0.0.1
```
Alternatively, add the [Moonraker API key](https://moonraker.readthedocs.io/en/latest/installation/#retrieving-the-api-key) to `KlipperScreen.conf`.
2. To use the update manager feature of Moonraker for KlipperScreen, add the following block to `moonraker.conf`:
```ini
[update_manager KlipperScreen]
type: git_repo
path: ~/KlipperScreen
origin: https://github.com/KlipperScreen/KlipperScreen.git
virtualenv: ~/.KlipperScreen-env
requirements: scripts/KlipperScreen-requirements.txt
system_dependencies: scripts/system-dependencies.json
managed_services: KlipperScreen
```
!!! tip
If you see warnings in other UIs, ignore them until KlipperScreen finishes installing and Moonraker is restarted.
## Printer Configuration
Add the following basic configurations to your `printer.cfg` file for correct functionality:
```ini
[virtual_sdcard]
path: ~/printer_data/gcodes
[display_status]
[pause_resume]
```
This script will install packages that are listed under manual install, create a python virtual environment at
`~/.KlipperScreen-env` and install a systemd service file.
## Macros
If you need a custom location for the configuration file, you can add -c or --configfile to the systemd file and specify
the location of your configuration file.
At this point KlipperScreen should be working, if it doesn't start then go to the [troubleshooting page](Troubleshooting.md)
## Moonraker configuration
In moonraker.conf ensure that 127.0.0.1 is a trusted client:
```py
[authorization]
trusted_clients:
127.0.0.1
```
!!! warning
`force_logins: true` requires the moonraker api key in [KlipperScreen.conf](Configuration.md)
If you wish to use the update manager feature of moonraker for KlipperScreen, add the following block to the moonraker.conf:
```py
[update_manager KlipperScreen]
type: git_repo
path: ~/KlipperScreen
origin: https://github.com/jordanruthe/KlipperScreen.git
env: ~/.KlipperScreen-env/bin/python
requirements: scripts/KlipperScreen-requirements.txt
install_script: scripts/KlipperScreen-install.sh
managed_services: KlipperScreen
```
!!! note
If you see warnings in other UIs ignore them until KlipperScreen finishes installing.
You may need additional macros for the printer to function as expected. For more information, [read the macros page](macros.md).
+132
View File
@@ -0,0 +1,132 @@
Multiple instances of KlipperScreen
*Difficulty: Advanced*
This article describes different methods of adding remote desktop clients (VNC or Xserver-XSDL) that do not support installing KS directly.
If your remote device runs GNU/Linux then you should install KlipperScreen directly, instead of the methods described below.
The instances will be independent of each other and not a mirror.
## Notes on Performance
Beware that running multiple instances on the same device at the same time will consume more resources (memory and processing time)
and can be taxing on lower end hardware, in my testing even a Raspberry Pi 3A can run multiple instances of KS,
providing that it doesn't have any cameras or other advanced features.
!!! tip
You can view the system resource usage in the "System" panel of KlipperScreen or directly at the console with htop
Beware that even if the load seems okay at idle, during a print heavy dynamic loads can push the device over the threshold
and that may result in a Klipper error/failure, if it's running on the same device.
Performance will heavily depend on the devices used,
if one of the devices is connected through the network, like for example a VNC client or Android Xserver-XSDL client,
then the network will influence the response time of the interface.
## Option 1: Using the startup script method
*Advantage:* relatively easy to setup
*Disadvantage:* starting or stopping the service will affect all the instances
The default KlipperScreen service will launch the script
```sh
nano $HOME/KlipperScreen/scripts/launch_KlipperScreen.sh
```
Example script:
```sh
#!/bin/bash
/usr/bin/xinit $KS_XCLIENT &
DISPLAY=192.168.18.147:0 $KS_XCLIENT -c $HOME/.config/KlipperScreen/tablet.cfg &
wait
```
In this example the script launches a local instance for a screen connected to the host
then it launches a server for xserver-xsdl client that is running at the defined IP,
notice that the second instance uses a configuration that is specific to itself.
Dont forget to restart the service to load the changes
```sh
sudo systemctl restart KlipperScreen
```
## Option 2: Using a separate service
*Advantage:* stopping and starting the service will only affect the desired instance
*Disadvantage:* configuration and setup is more complex
Create a new service unit file
```sh
sudo nano /etc/systemd/system/KlipperScreen_tablet.service
```
Example of a service unit for an android tablet: (change the IP and username)
```ini title="KlipperScreen_tablet.service"
[Unit]
Description=KlipperScreen Tablet
StartLimitIntervalSec=0
After=systemd-user-sessions.service plymouth-quit-wait.service
ConditionPathExists=/dev/tty0
Wants=dbus.socket systemd-logind.service
After=dbus.socket systemd-logind.service
After=moonraker.service
[Service]
Type=simple
Restart=always
RestartSec=2
SupplementaryGroups=klipperscreen
# username
User=pi
WorkingDirectory=/home/pi/KlipperScreen
Environment="DISPLAY=192.168.18.147:0"
# Absolute paths are required, separate config is optional
ExecStart=/home/pi/.KlipperScreen-env/bin/python /home/pi/KlipperScreen/screen.py -c /home/pi/.config/KlipperScreen/tablet.cfg
[Install]
WantedBy=multi-user.target
```
Test your new service
```sh
sudo systemctl start KlipperScreen_tablet
```
Optional: After verifying it works, make it load when the system starts
```sh
sudo systemctl enable KlipperScreen_tablet
```
if you made a mistake in the config you'll have to reload the service unit
```sh
sudo systemctl daemon-reload
```
Add the new service to moonraker so it can be started and stopped from the UI
```sh
nano $HOME/printer_data/moonraker.asvc
```
In the example above it was `KlipperScreen_tablet`. Beware that is case sensitive
So in this case it would look something like this:
``` title="moonraker.asvc"
klipper_mcu
webcamd
MoonCord
KlipperScreen
KlipperScreen_tablet
moonraker-telegram-bot
moonraker-obico
sonar
crowsnest
octoeverywhere
```
Restart moonraker
```sh
sudo systemctl restart moonraker
```
+26 -14
View File
@@ -1,19 +1,25 @@
# Panels
### Splash Screen
![Splash_screen](img/panels/splash_screen.png)
!!! tip
The *'power on'* button will only appear if a power device exists in moonraker and that power device name
should be added to `power_devices` in the printer section of the klipperscreen configuration file
### Main Menu
![Main Menu](img/panels/main_panel.png)
### [Job Status](Job_status.md)
### [Job Status](Panels/Job_status.md)
```py
panel: job_status
```
![Job Status](img/panels/job_status.png)
[![Job Status](img/panels/job_status.png)](Panels/Job_status.md)
### [Bed Level](Screws.md)
### [Bed Level](Panels/Screws.md)
```py
panel: bed_level
```
![Bed Level](img/panels/bed_level.png)
[![Bed Level](img/panels/bed_level.png)](Panels/Screws.md)
### Bed Mesh
```py
@@ -84,11 +90,11 @@ panel: power
```
![Power](img/panels/power.png)
### Print
### Gcodes / Print
```py
panel: print
panel: gcodes
```
![Print Panel](img/panels/print.png)
![Gcodes Panel](img/panels/gcodes.png)
### Retraction
```py
@@ -102,20 +108,26 @@ panel: settings
```
![Settings](img/panels/settings.png)
### System
### Spoolman
```py
panel: system
panel: spoolman
```
![System Panel](img/panels/system.png)
![Spoolman](img/panels/spoolman.png)
### [Temperature](Temperature.md)
### [Temperature](Panels/Temperature.md)
```py
panel: temperature
```
![Temperature](img/panels/temperature.png)
[![Temperature](img/panels/temperature.png)](Panels/Temperature.md)
### [Z Calibrate](Zcalibrate.md)
### Updater
```py
panel: updater
```
![Updater Panel](img/panels/updater.png)
### [Z Calibrate](Panels/Zcalibrate.md)
```py
panel: zcalibrate
```
![Z Calibrate](img/panels/zcalibrate.png)
[![Z Calibrate](img/panels/zcalibrate.png)](Panels/Zcalibrate.md)
@@ -2,7 +2,7 @@
Also known as "Print Status" or the "printing panel" shows the relevant information of the current print.
![Screenshot](img/panels/job_status.png)
![Screenshot](../img/panels/job_status.png)
!!! tip
the third row shows the LCD message (`M117`)
@@ -10,19 +10,19 @@ Also known as "Print Status" or the "printing panel" shows the relevant informat
This panel has more information than it shows by default, just click/tap the corresponding the status buttons to access the extra information
## Position info
![speed_screenshot](img/panels/job_status_speed.png)
![speed_screenshot](../img/panels/job_status_speed.png)
!!! note
Layer is calculated from object height, it may not be accurate if variable layer is used
If that is the case use the Layer Progress method described in the [Quicktips](Quicktips.md#layer-progress)
If that is the case use the Layer Progress method described in the [Quicktips](../Quicktips.md#layer-progress)
## Extrusion info
![extrusion_screenshot](img/panels/job_status_extrusion.png)
![extrusion_screenshot](../img/panels/job_status_extrusion.png)
## Time info
![time_screenshot](img/panels/job_status_time.png)
![time_screenshot](../img/panels/job_status_time.png)
## Extra temperature items
By default only extruder and bed temperatures will be available but additional items can be defined
using ["titlebar_items" in the config](Configuration.md#printer-options)
By default, only extruder and bed temperatures will be available but additional items can be defined
using ["titlebar_items" in the config](../Configuration.md#printer-options)
+20 -9
View File
@@ -1,6 +1,6 @@
# Bed level
![Bed Level](img/panels/bed_level.png)
![Bed Level](../img/panels/bed_level.png)
For this panel to appear in the menu `[bed_screws]` or `[screws_tilt_adjust]` need to be defined in Klipper config (printer.cfg)
@@ -20,22 +20,33 @@ and reports the amount to be adjusted into the labels of the corner buttons.
### Why `[bed_screws]` are ignored/not used?
Because if the probe offset is changed or the difference between `[bed_screws]` and `[screws_tilt_adjust]` wasn't calculated correctly,
the "Screws adjust" button stops working.
`[screws_tilt_adjust]` positions with offset will be used over `[bed_screws]`, because if the probe offset is changed or
the difference between `[bed_screws]` and `[screws_tilt_adjust]` wasn't calculated correctly,
the "Screws adjust" button stops working correctly.
### Why the probe offset is applied to `[screws_tilt_adjust]`?
Because the corner buttons in KlipperScreen should place the nozzle above the screw to do the ["paper test"](https://www.klipper3d.org/Bed_Level.html?h=paper#the-paper-test). It doesn't affect the function of `SCREWS_TILT_CALCULATE`, which will go to the defined positions.
Because the corner buttons in KlipperScreen should place the nozzle above the screw to do the ["paper test"](https://www.klipper3d.org/Bed_Level.html?h=paper#the-paper-test).
It doesn't affect the function of `SCREWS_TILT_CALCULATE`, which will go to the defined positions.
## Not supported for auto-detection
## Is `BED_SCREWS_ADJUST` supported?
This message will appear if you are using 3 or 5 screws and didn't define them in KlipperScreen.conf.
See "screw_positions" in the [printer options](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
No, but you can achieve the same thing by using the corner buttons and going in a circle pattern adjusting until desired.
`BED_SCREWS_ADJUST` is just a helper that moves to the screws in sequence
## Limitations
The panel doesn't support more than 8 screws or screws that directly in the center of the bed.
The panel doesn't support more than 9 screws or grids bigger than 3x3.
## Rotation
The layout can be rotated if the screen is not directly in front of the machine.
in the printer configuration you would add screw_rotation: 90
Valid values are 0 90 180 270
## Inversion
The layout will be inverted if an axis is inverted in the move panel
## Is there an alternative?
@@ -1,23 +1,23 @@
# Temperature
This panel is available when there is at least one device with a temperature sensor asociated,
This panel is available when there is at least one device with a temperature sensor associated,
this includes extruders, heaters, sensors and temperature_fans.
There are 3 main modes of operation:
## Preheat
[Define profiles](Configuration.md#preheat-options) to quickly change the target temperature of multiple selected devices.
[Define profiles](../Configuration.md#preheat-options) to quickly change the target temperature of multiple selected devices.
This is the default mode when not printing.
![Preheat_screenshot](img/panels/temperature.png)
![Preheat_screenshot](../img/panels/temperature.png)
## Delta adjust
Change the target of the selected devices, the amount is selectable.
This is the default mode while printing
![Delta_screenshot](img/panels/temperature_delta.png)
![Delta_screenshot](../img/panels/temperature_delta.png)
## Direct input with keypad
Allows to set the exact temperature using the keypad.
![Keypad_screenshot](img/panels/temperature_keypad.png)
![Keypad_screenshot](../img/panels/temperature_keypad.png)
+61
View File
@@ -0,0 +1,61 @@
# Zcalibrate
This panel supports various modes of operation to assist in the calibration of the Z axis of the machine.
It's strongly suggested to read Klipper documentation about [Bed level](https://www.klipper3d.org/Bed_Level.html)
![Screenshot](../img/panels/zcalibrate.png)
## Buttons
* "Start" will initiate the only method available, or ask the user if multiple methods are available.
!!! note
KlipperScreen will automatically Home(`G28`) if needed
* The raise(+) and lower(-) buttons send `TESTZ Z=distance` where distance is selected in the bottom row.
* Accept will send `ACCEPT`
* Abort will send `ABORT`
## Calibration methods
### Probe (`PROBE_CALIBRATE`)
Available when a probe is defined. (BL-Touch is a probe)
KlipperScreen will try to position the probe in the correct place before sendind a `PROBE_CALIBRATE`
??? info "Search order to select location"
1. `calibrate_x_position` and `calibrate_y_position` in [KlipperScreen.conf](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
Both need to be configured, probe offsets are not applied. This is considered an override
2. Probe at the [zero reference position of the mesh](https://www.klipper3d.org/Bed_Mesh.html#configuring-the-zero-reference-position)
3. If `[safe_z_home]` is defined, those values are used. Unless `Z_ENDSTOP_CALIBRATE` is available.
In other words, only use `[safe_z_home]` if `z_virtual_endstop` is used
4. If the kinematics are `delta` probe is placed at 0, 0
5. Probe at the center of the `bed_mesh`
6. Probe at the center of the axes (`position_max` / 2)
Klipper documentation: [Calibrating probe Z offset](https://www.klipper3d.org/Probe_Calibrate.html#calibrating-probe-z-offset)
### Endstop (`Z_ENDSTOP_CALIBRATE`)
Available when a physical endstop is defined for `[stepper_z]`
Klipper documentation: [Calibrating a Z endstop](https://www.klipper3d.org/Manual_Level.html#calibrating-a-z-endstop)
### Bed mesh (`BED_MESH_CALIBRATE`)
Available when a probe is not defined and `[bed_mesh]` is defined
this mode lets you create a mesh leveling bed using the paper test in various points.
!!! warning
DO NOT adjust the bed screws while using this mode.
Adjust the screws using the [bed screws](Screws.md) panel before running this tool.
### Delta Automatic/Manual (`DELTA_CALIBRATE`)
Available when the kinematics are defined as delta.
Klipper documentation: [Delta calibration](https://www.klipper3d.org/Delta_Calibrate.html)
### Axis Twist Compensation (`AXIS_TWIST_COMPENSATION_CALIBRATE`)
Available when `[axis_twist_compensation]` is defined in the Klipper configuration.
Klipper documentation: [Axis Twist Compensation](https://www.klipper3d.org/Axis_Twist_Compensation.html)
+138 -35
View File
@@ -3,25 +3,14 @@ quick tips, without much explanation
## Hide macros, outputs or fans
As you probably already noticed, you can show and hide the gcode macros in the interface settings,
but you can also hide gcode macros by prefixing the name with an underscore.
```py
[gcode_macro MY_AWESOME_GCODE]
gcode:
_MY_HELPER_CODE
[gcode_macro _MY_HELPER_CODE]
gcode:
M300
```
Macros can be hidden directly from the interface in the macro settings.
MY_AWESOME_GCODE appears in your interface settings, _MY_HELPER_CODE not.
Another example:
You can also hide them and other devices by prefixing the name with an underscore.
Lets hide a temperature_fan:
```py
```ini
[temperature_fan fan1]
[temperature_fan _fan2]
```
@@ -29,37 +18,151 @@ Lets hide a temperature_fan:
fan1 will show in the interface, but _fan2 will be hidden.
## Thumbnails
Moved to [Thumbnails](Thumbnails.md)
## Layer Progress
Accurate layer progress as a message below the status:
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode
* [PrusaSlicer](#prusaslicer)
* [Cura](#cura)
* [ideaMaker](#ideamaker)
* [OrcaSlicer](#orcaslicer)
`M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}`
![Layer_progress](img/quicktips/PS_SS_Layer_progress.png)
Accurate layer progress in the secondary screen of the printing panel:
The layer number in the secondary screen of the printing panelis calculated according to object height and provided layer height.
It will be innacurate when using variable layer height, but can be fixed by providing klipper with the correct data.
Follow this steps to provide the current layer in the printing information.
![speed_screenshot](img/panels/job_status_speed.png)
PrusaSlicer/SuperSlicer:
Printer Settings > Custom Gcode > Start Gcode
#### PrusaSlicer:
`SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]`
* Open PrusaSlicer
* Go to: `Printer Settings` > `Custom Gcode` > `Start Gcode`
```ini
SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]
```
Printer Settings > Custom Gcode > After layer change Gcode
`SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}`
```ini
SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}
```
#### PrusaSlicer Layer Messages
* Open PrusaSlicer
* Go to: `Printer Settings` > `Custom Gcode` > `After layer change Gcode`
* Add this:
```ini
M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}
```
![Layer_progress](img/quicktips/PS_SS_Layer_progress.png)
#### Cura
Cura doesn't have a way to use this directly (the only "g-code on layer change" post-processing plugin doesn't support variables),
so the only way to work around is by adding a replacement post-processing script and a specific macro to Klipper.
To add the script to Cura, use the following steps:
* Open Cura
* Open the `Extensions` menu, then `Post processing`, and click on `Modify G-Code`
* Click the `Add Script` button, and select `Search and Replace` from the options
* On the `Search` textbox, enter this:
```
;(LAYER|LAYER_COUNT)\:(\d+)
```
* On the `Replace` textbox, enter this:
```
;\1:\2\n_CURA_SET_PRINT_STATS_INFO \1=\2
```
* Tick the `Use Regular Expressions` checkbox
* Click Close
In Klipper, add this macro to your printer.cfg:
```ini
[gcode_macro _CURA_SET_PRINT_STATS_INFO]
gcode:
{% if params.LAYER_COUNT is defined %}
SET_PRINT_STATS_INFO TOTAL_LAYER={params.LAYER_COUNT}
{% endif %}
{% if params.LAYER is defined %}
SET_PRINT_STATS_INFO CURRENT_LAYER={(params.LAYER | int) + 1}
{% endif %}
```
Then save the changes and restart Klipper.
After this, any new file sliced in Cura will tell Klipper how to handle the layer values
#### Cura Layer Messages
Install the extension: `Display Filename and Layer on LCD`
#### IdeaMaker
* Open IdeaMaker
* Got to: `Slice` > `Admin templates` > `Click on your template` > `edit`
* Select the tabs named `Gcode` > `Layer Change Gcode`
* Paste this:
```ini
SET_PRINT_STATS_INFO TOTAL_LAYER={total_layers}
SET_PRINT_STATS_INFO CURRENT_LAYER={layer_index}
```
!!! note
`{total_layers}` doesn't seem to be available in the Start gcode (at least on IdeaMaker 4.3.2)
#### IdeaMaker Layer Messages
* Open IdeaMaker
* Go to: `Slice` > `Manage templates` > `Click on your template` > `Edit`
* Select the tab named `Gcode` > `Layer Change Gcode`
* Paste this:
```ini
M117 Layer {layer_index} / {total_layers}
```
#### OrcaSlicer
* Open OrcaSlcicer
* Go to Prepare or Preview and in the printer section click `Edit Preset` > `Machine G-code`
* In `Start Gcode` add:
```ini
SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]
```
* In `Layer change Gcode` add:
```ini
SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}
```
#### OrcaSlicer Layer Messages
* Open OrcaSlicer
* Go to Prepare or Preview and in the printer section click `Edit Preset` > `Machine G-code`
* Add this to "Layer Change Gcode":
```ini
M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}
```
![Layer_progress](img/quicktips/OrcaSlicer-progress.png)
## Supported Macros
[Macros](macros.md)
+62 -15
View File
@@ -1,33 +1,80 @@
# Theming
To create a custom theme, create a folder in: _${KlipperScreen_Directory}/styles/_
## Custom Printer Select Icons
The folder name will be the theme name, in that folder create another folder named `images` this is where the icons should be placed. The icons must be SVG files and they need to have specific names that are defined in the code, use the default theme as a reference for the names or check the code.
When multiple printers are configured, you can customize their icons by placing an icon file in the following directory:
To edit colors and styles, create a css file named `style.css` you can use the contents of another theme as a reference.
`~/KlipperScreen/styles/printers/`
### Example 1
- The icon file name must match the exact printer name as configured in `KlipperScreen.conf`.
- Supported formats for icons are SVG or PNG.
Example:
```sh
cd ~/KlipperScreen/styles
mkdir -p mytheme/images
cd mytheme
cp ../z-bolt/images/* images/
echo "window { background-color: red;}" > style.css
cp /path/to/printer_icon.svg ~/KlipperScreen/styles/printers/printer_name.svg
sudo service KlipperScreen restart
```
At this point `mytheme` should be on the list of themes, and when you select it the background should be red.
## Custom Themes
To create a custom theme for KlipperScreen, follow these steps:
### Example 2
1. **Create Theme Directory:**
- Navigate to `~/KlipperScreen/styles/`.
- Create a new folder with the desired theme name.
Creating a custom background from Mainsail sidebar and this css using Z-bolt icons
2. **Add Icon Images:**
- Inside the theme folder, create a subfolder named `images`.
- Place your SVG icon files here. Refer to the code or default theme for specific icon names used by KlipperScreen.
3. **Customize Styles:**
- Create a CSS file named `style.css` within your theme folder.
- Use existing themes or the default theme as a reference for CSS styles.
Example procedure for creating a theme named `mytheme`:
```sh
cd ~/KlipperScreen/styles/
# Create the directory
mkdir -p mytheme/images
# Copy required SVG icons
cp material-light/images/* mytheme/images/
# Create custom styles
echo "window { background-color: #FFFFFF; }" > style.css
```
4. **Apply the Theme:**
- After creating your theme, restart the KlipperScreen service:
```sh
sudo service KlipperScreen restart
```
- Select you theme from the list in the options.
### Example: Creating a Custom Theme
```sh
cd ~/KlipperScreen/styles/
mkdir -p mytheme/images
cd mytheme
cp ../default_theme/images/* images/
echo "window { background-color: #FFFFFF; }" > style.css
sudo service KlipperScreen restart
```
### Example: Custom Background and CSS
Creating a custom background from Mainsail sidebar using Z-bolt icons:
```css
window { background-image: url("/home/pi/mainsail/img/background.svg");}
button {background-color: rgba(0,0,0,0); border-radius:2em;}
/* style.css */
window {
background-image: url("/home/pi/mainsail/img/background.svg");
}
button {
background-color: rgba(0,0,0,0);
border-radius: 2em;
}
```
![Custom theme example with background](img/theming/theme_example.png)
+10 -3
View File
@@ -13,11 +13,12 @@ Recommended sizes for thumbnails:
## Select your slicer:
* [PrusaSlicer](#prusaslicer)
* [OrcaSlicer](#orcaslicer)
* [SuperSlicer](#superslicer)
* [Cura](#cura)
* [ideaMaker](#ideamaker)
### PrusaSlicer (2.3.0+)
### PrusaSlicer
In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews.
Under General / Firmware.
@@ -25,7 +26,13 @@ Under General / Firmware.
![PrusaSlicer](img/quicktips/PrusaSlicer-thumbnails.png)
### SuperSlicer (2.2.54+)
### OrcaSlicer
Usually works out of the box, the setting is in the printer settings under advanced:
![OrcaSlicer](img/quicktips/OrcaSlicer-thumbnails.png)
### SuperSlicer
In “Expert” mode SuperSlicer has some very convenient options in the “Printer Settings” tab to activate and customize the previews.
@@ -51,7 +58,7 @@ In “Expert” mode SuperSlicer has some very convenient options in the “Prin
![Cura](img/quicktips/Cura-thumbnails.png)
### ideaMaker (4.2.1+)
### ideaMaker
1. Open the Advanced tab in the printer settings
2. Enable "GCode Thumbnails for Octoprint and Mainsail"
3. Set both Width and Height to 300
+15 -3
View File
@@ -1,6 +1,18 @@
# Translations
## Updating an existing translation:
Translations are hosted on Weblate:
<a href="https://hosted.weblate.org/engage/klipperscreen/">
<img src="https://hosted.weblate.org/widget/klipperscreen/open-graph.png" alt="Weblate" />
</a>
Thanks to the Weblate team for supporting the Open-Source community.
## Manual way:
This is currently discouraged, but if you want you can make your changes manually
### Updating an existing translation:
You can use an editor such as [poedit](https://poedit.net/) to assist in translations.
@@ -11,7 +23,7 @@ To test your translation:
In poedit go to `File -> Compile to MO`. Save it on the same folder, and restart KlipperScreen
## Adding a new Language:
### Adding a new Language:
Example using poedit
@@ -28,5 +40,5 @@ Once you have restarted KlipperScreen, select it from the list in the settings.
If you edited and recompiled, you need to restart KlipperScreen to reload the translation.
## Contributing:
### Contributing:
[Attach your translation on a GitHub issue or create a PR](Contact.md)
+98 -129
View File
@@ -1,179 +1,148 @@
This page will have common problems and common solutions to those problems.
# Troubleshooting
# First Steps
## First Steps
The first step to troubleshooting any problem is getting the cause of the error.
* Find KlipperScreen.log:
!!! important
!!! warning "Important"
This log file should be provided if you ask for support.
Depending on your setup the file could be accesible from the web interface alongside other logs
Depending on your setup the file could be accessible from the web interface alongside other logs
Mainsail | Fluidd
:-:|:-:
![m_logs](img/troubleshooting/logs_mainsail.png) | ![f_logs](img/troubleshooting/logs_fluidd.png)
| Mainsail | Fluidd |
|:-------------------------------------------------------:|:---------------------------------------------------:|
| ![mainsail_logs](img/troubleshooting/logs_mainsail.png) | ![fluidd_logs](img/troubleshooting/logs_fluidd.png) |
if you can't find it in the web interface, use sftp to grab the log (for example Filezilla, WinSCP)
Located at `~/printer_data/logs`or in `/tmp/` if the former doesn't exists.
if you can't find it in the web interface, you will need to grab the system logs as explained below
If KlipperScreen.log doesn't exist, run `systemctl status KlipperScreen`<br>
(or `journalctl -xe -u KlipperScreen`)
??? tip "Alternative: Using sftp to grab the logs"
It is possible to use sftp to grab the log, with an application like Filezilla or WinSCP
Check the file `/var/log/Xorg.0.log` where you can find issues with the X server.
With some file-browsers like Dolphin, just type the address for example: `sftp://pi@192.168.1.105/home/`
## Cannot open virtual Console
If you see this line in the logs:
```sh
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
Locate the logs at `~/printer_data/logs`or in `/tmp/` if the former doesn't exist.
* Run `cat /etc/X11/Xwrapper.config`
## System logs
This should have the line `allowed_users=anybody` in it
If [KlipperScreen.log](#first-steps) doesn't exist open a terminal in the host (typically from SSH) and
run this commands:
* Run `cat /etc/group | grep tty`
If your username is not listed under that line, you need to add it with the following command:
??? info "Multiple printers on the same host"
If the host is running multiple printers you may need to change `printer_data` to `printer_1_data`
```sh
usermod -a -G tty pi
```
(if your username is not 'pi' change 'pi' to your username)
Restart KlipperScreen:
```sh
sudo service KlipperScreen restart
systemctl status KlipperScreen > ~/printer_data/logs/KlipperScreen_systemctl.log
journalctl -xe -u KlipperScreen > ~/printer_data/logs/KlipperScreen_journalctl.log
cp /var/log/Xorg.0.log ~/printer_data/logs/KlipperScreen_Xorg.log
cp -n /tmp/KlipperScreen.log ~/printer_data/logs/KlipperScreen.log
```
If it's still failing as a last resort add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`:
```sh
sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"
```
This will copy all the relevant logs to the folder described above, so they can be downloaded from the browser.
With the method described in the first section. You may need to press refresh or reload the page
??? tip "Alternative: inspect them directly on the terminal:"
!!! warning
Please do not copy-paste the output of the terminal when providing info for an issue,
most of the time this output will be incomplete, use the method described above
```sh
systemctl status KlipperScreen
journalctl -xe -u KlipperScreen
cat /var/log/Xorg.0.log
```
restart KS.
## Screen shows console instead of KlipperScreen
If you have multiple framebuffers, you may need to fix the X11 configuration,
list the available framebuffers and check the current one:
```sh
ls /dev/fb*
cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf | grep /dev/fb
```
![boot](img/troubleshooting/boot.png)
If you more than one, try changing it:
```sh
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
```
for example: change `/dev/fb0` to `/dev/fb1`
Once you have saved that file, restart KlipperScreen.
```sh
sudo service KlipperScreen restart
```
!!! abstract "If you see this line in the [system logs](#system-logs):"
```sh
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
[Follow this steps](Troubleshooting/VC_ERROR.md)
If you have multiple hdmi ports try the other one
!!! abstract "If you see this line in the [system logs](#system-logs):"
```sh
xinit[948]: /usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePackedWeak
```
[Follow this steps](Troubleshooting/FBturbo.md)
## Screen is all white or blank or no signal
!!! abstract "If you see this line in the [system logs](#system-logs):"
```sh
KlipperScreen-start.sh: (EE) no screens found(EE)
```
This is usually not the main cause of the error. [Start by checking the screen](Troubleshooting/Physical_Install.md)
If the screen never shows the console even during startup, Then it's tipically an improperly installed screen,
follow the manufacturer instructions on how to physically connect the screen and install the proper drivers.
Drivers not installed or misconfigured can cause this too, continue looking the logs for more clues.
## The screen starts flashing colors or stays all blue/white or shows 'No signal' when idle
!!! abstract "If you see this line in the [system logs](#system-logs):"
```sh
modprobe: FATAL: Module g2d_23 not found in directory /lib/modules/6.1.21-v8+
```
This error is common on RaspberryOS when using FBturbo, it's not a related issue, it works correctly with the error present.
!!! abstract "If you see this line in the [system logs](#system-logs):"
```sh
(EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
```
[Follow this steps](Troubleshooting/Framebuffer_id.md)
[Maybe it's the wrong framebuffer](Troubleshooting/Framebuffer.md)
If you can't fix it, [try using a desktop distro as described here.](Troubleshooting/Last_resort.md)
If you want to contribute a solution: [Contact](Contact.md)
## Screen is always ***white*** / ***black*** or ***`No signal`***
If the screen never shows the console even during startup, Then it's typically an improperly installed screen.
[Follow this steps](Troubleshooting/Physical_Install.md)
## The screen shows colors or 'No signal' when idle
!!! warning
Only applicable to X11 not for Wayland
In KliperScreen settings find 'Screen DPMS' and turn it off.
Your screen doesn't seem to support turning off via software, the best you can do is to turn it all black.
## Touch not working on debian Bullseye
![dpms](img/troubleshooting/dpms.gif)
Some dsi screens have issues where touch doesn't work with debian bullseye, the current fix
(at least until upstream is fixed) consist in changing the driver:
Your screen doesn't seem to support turning off via software.
Run `raspi-config` > go to Advanced > GL Driver > select G2 and reboot.
KlipperScreen will enable an internal screensaver to make it all black, and hopefully avoid burn-in.
If you find a way of turning it off, please share it: [Contact](Contact.md)
![config](img/troubleshooting/gldriver.png)
## Touch issues
*Or*:
[Follow this steps](Troubleshooting/Touch_issues.md)
manually edit `/boot/config.txt` and change:
## Network panel doesn't list WI-FI networks
```sh
dtoverlay=vc4-kms-v3d
```
[Follow this steps](Troubleshooting/Network.md)
to:
```sh
dtoverlay=vc4-fkms-v3d
```
and reboot, that should make the touch work, if your screen is rotated 180 degrees, then you may need to adjust
[the touch rotation](Hardware.md) as described in the Hardware page.
## I see the Desktop environment instead of KlipperScreen
## OctoPrint
[Follow this steps](Troubleshooting/Desktop.md)
KlipperScreen was never intended to be used with OctoPrint, and there is no support for it.
## Unauthorized
## WiFi networks not listed (Using wpa_supplicant as backend)
This can be caused because of the user is not allowed to control the interface
* Edit `/etc/wpa_supplicant/wpa_supplicant.conf` and add this line if it's not there:
```
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
```
* Run `cat /etc/group | grep netdev`
If your username is not listed under that line, you need to add it with the following command:
```sh
usermod -a -G netdev pi
```
(if your username is not 'pi' change 'pi' to your username)
Then reboot the machine:
```sh
systemctl reboot
```
!!! tip
It's possible to just restart KlipperScreen and networking
## WiFi networks not listed (Using NetworkManager as backend)
`[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized`
If you see the above permission error in the log you may need to use polkit or disable it:
```sh
mkdir -p /etc/NetworkManager/conf.d
sudo nano /etc/NetworkManager/conf.d/any-user.conf
```
in the editor paste this:
```conf
[main]
auth-polkit=false
```
Then restart the service:
```sh
systemctl restart NetworkManager.service
```
!!! tip
It's possible to just restart KlipperScreen and NetworkManager
Unauthorized means that you need add the IP of the device that runs KlipperScreen to the moonraker trusted clients
or the Moonraker api-key to klipperscreen.conf
[Follow this steps](Installation.md#moonraker-configuration)
## Other issues
If you found an issue not listed here, or can't make it work, please provide all the log files
a description of your hw, and a description of the issue when asking for support.
a description of your hw, and a description of the issue when [asking for support](Contact.md)
+20
View File
@@ -0,0 +1,20 @@
#### Check if You Have a Desktop Environment
1. Let you device finish startup
2. At the end of the boot process look at the screen and check using this examples
| Desktop environment | Console |
|:------------------------------------------:|:--------------------------------------------:|
| ![de](../img/troubleshooting/desktop.png) | ![boot](../img/troubleshooting/boot.png) |
| Desktop environment | Console |
| ![delog](../img/troubleshooting/delog.png) | ![clilog](../img/troubleshooting/clilog.png) |
If you installed a desktop (GUI version) of the OS and want to run KlipperScreen exclusively then do:
```sh title="Boot to console / KlipperScreen"
sudo systemctl set-default multi-user.target && sudo reboot
```
to undo and go back to the desktop environment:
```sh title="Boot to the desktop"
sudo systemctl set-default graphical.target && sudo reboot
```
+22
View File
@@ -0,0 +1,22 @@
# FBturbo failing with undefined symbol
in the system [log](../Troubleshooting.md) this appears:
!!! abstract "Log"
```sh
xinit[948]: /usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePackedWeak
```
Your system doesn't seem compatible with the FBturbo driver that you have installed
Remove the fbturbo driver
```sh
sudo apt purge xserver-xorg-video-fbturbo
```
make sure the config is removed:
```sh
sudo rm /usr/share/X11/xorg.conf.d/99-fbturbo.conf
```
+71
View File
@@ -0,0 +1,71 @@
# Screen is using the wrong framebuffer
If you have multiple framebuffers, you may need to fix the X11 configuration,
list the available framebuffers and check the current one:
```sh
ls /dev/fb*
```
!!! example "Output example"
```
pi@raspberrypi ~ $ ls /dev/fb*
/dev/fb0 /dev/fb1
```
!!! failure "Critical"
if you only see one, for example `/dev/fb0` then this is not the issue. Go to [Troubleshooting](../Troubleshooting.md)
## Use fbcp to copy from one framebuffer to the other
```sh
cd
git clone https://github.com/tasanakorn/rpi-fbcp.git
cd rpi-fbcp
mkdir build
cd build
cmake ..
make
sudo install fbcp /usr/local/bin/fbcp
sudo wget -O /etc/init.d/fbcp https://gist.github.com/notro/eac0fec51cac67bb99c7/raw/4804a36459db10b17d35451d98d4573a045084be/fbcp
sudo chmod +x /etc/init.d/fbcp
sudo update-rc.d fbcp defaults
sudo reboot
```
## Manually change the framebuffer
the file specifying the framebuffer could be:
- 99-fbturbo.conf
- 99-fbusb.conf
- 99-fbdev.conf
check if one of those or similar exist with:
```sh
ls /usr/share/X11/xorg.conf.d/
```
!!! example
you found 99-fbdev.conf:
```sh
sudo nano /usr/share/X11/xorg.conf.d/99-fbdev.conf
```
``` title="99-fbdev.conf"
Section "Device"
Identifier "Allwinner A10/A13/A20 FBDEV"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
EndSection
```
since `ls /dev/fb*` returned `/dev/fb0 /dev/fb1` change it to `/dev/fb1`
Save the file, restart KlipperScreen.
```sh
sudo service KlipperScreen restart
```
+52
View File
@@ -0,0 +1,52 @@
# Troubleshooting Framebuffer Issues
Here are some solutions if this line is in the logs:
```sh
(EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
```
!!! abstract "Raspberry Pi"
This has been known to happen on RaspberryOS Bookworm Lite on Pi5.
Later versions of the OS fixed the issue.
```sh
sudo nano /etc/X11/xorg.conf.d/99-v3d.conf
```
Paste this into the file:
```sh
Section "OutputClass"
Identifier "vc4"
MatchDriver "vc4"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection
```
Reboot.
!!! abstract "Generic"
This will heavily vary with different hardware. Find the correct busID and create a config like:
```sh
sudo nano /etc/X11/xorg.conf.d/99-busid.conf
```
Paste this into the file:
```sh
Section "Device"
Identifier "Card0"
Driver "fbdev"
BusID "pci:1:0:0"
EndSection
```
Where the busID in this example is the first pci card. You will have to find the identifier and id of the video output device using tools like:
```sh
lspci
```
Or sometimes with:
```sh
lshw
```
If you find a solution not listed here, please consider contributing with the information.
+28
View File
@@ -0,0 +1,28 @@
# Last Resort to Make the Screen Work
If your screen never shows the console or bootup text during startup, it is typically due to an improperly installed screen. See [Physical Install Issues](Physical_Install.md) for more information.
![Boot Screen](../img/troubleshooting/boot.png)
If the screen shows the bootup text but ends with a blinking cursor or login prompt, and no matter what you tried in [Troubleshooting](../Troubleshooting.md) you can't make it work, then follow these steps:
1. **Install a Distro with a Desktop Environment**
[Click to learn how to check](./Desktop.md)
2. **Ensure Proper Functionality**
Make sure the screen is working properly, including both display and touch functionality.
3. **Deactivate the Desktop Environment for KlipperScreen**
To allow KlipperScreen to run exclusively, enter the following command in a terminal and press enter:
```sh
sudo systemctl set-default multi-user.target && sudo reboot
```
4. **Reboot and Install KlipperScreen**
Wait for the system to reboot and then proceed to install KlipperScreen.
If it still doesn't work, or if you did something else to make it work and want to share your solution:
[Contact Us](../Contact.md)
Remember to share the logs, as they are crucial for troubleshooting.
+54
View File
@@ -0,0 +1,54 @@
# Network
The network panel relies on Network-Manager for its operation.
!!! info "Note for Forks"
The network panel's behavior and dependencies may differ. Please refer to your specific fork documentation or support resources for instructions tailored to your setup.
## Loss of Connection After Installing Network-Manager
If you lose network connection after installing Network-Manager, follow these steps to reconnect:
### Reconnect using KlipperScreen
- **Go to the network panel in KlipperScreen:**
- Access the network panel in KlipperScreen and select your Wi-Fi network to reconnect.
!!! info "Alternative: using the console"
- **Option 1: Switch to a local console with keyboard:**
1. Use `Ctrl + Alt + F1` (or other function keys up to F6) to access a virtual terminal.
2. Log in and run `nmtui` to manage Wi-Fi connections directly from the console.
- **Option 2: Connect a LAN cable for SSH access:**
1. Use SSH to remotely connect to your system.
2. Run `nmtui` to manage your network connections.
## Wi-Fi networks not listed
The initial scan may take a while, first be patient before assuming it's an issue. and check with other tools like `nmtui`
## Permission error
Usually permissions are set with the installer, try to update and then re-run the installer and reboot
???+ "Alternative workaround for network-manager not having permissions"
```sh
mkdir -p /etc/NetworkManager/conf.d
sudo nano /etc/NetworkManager/conf.d/any-user.conf
```
in the editor paste this:
```ini
[main]
auth-polkit=false
```
Then restart the service (or reboot):
```sh
systemctl restart NetworkManager.service
systemctl restart KlipperScreen.service
```
+26
View File
@@ -0,0 +1,26 @@
# Physical installation issues
If the screen never shows the console even during startup, Then it's typically an improperly installed screen,
!!! important
It is advised follow the manufacturer instructions on how to physically connect the screen and install the proper drivers.
## Cable issues
* Check that the cable is inserted properly:
it shouldn't be loose, and in the case of ribbon cables like DSI make sure the contacts face the right way
* If the touchscreen is connected via USB, try another port if available,
if you are using a HUB try connecting the touch directly without the HUB.
* If the board has more than one HDMI try the other port
## Driver issues
Some screens need drivers installed the most common cases are:
### Waveshare
* [Waveshare Wiki](https://www.waveshare.com/wiki)
* [repo LCD-show](https://github.com/waveshare/LCD-show)
### Goodtft (generic/clones)
* [Goodtft Wiki](http://www.lcdwiki.com)
* [repo LCD-show](https://github.com/goodtft/LCD-show)
+158
View File
@@ -0,0 +1,158 @@
# Screen rotation
Configure the server to start in the desired orientation, there are many ways to achieve this,
here are some examples:
!!! warning
Rotation is handled by the OS and not by KlipperScreen,
if you can't rotate your screen it's usually an issue with the OS configuration
## Examples of rotation
???+ example "Universal xorg configuration"
#### Universal xorg configuration
Find the identifier use xrandr
```sh
DISPLAY=:0 xrandr
```
it will output something like:
```
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 8192 x 8192
HDMI-1 connected primary 1024x600+0+0 (normal left inverted right x axis y axis) 800mm x 450mm
```
Take not that the screen is `HDMI-1` (it could be `HDMI-A-1` or many other names)
Create /usr/share/X11/xorg.conf.d/90-monitor.conf
```bash
sudo nano /usr/share/X11/xorg.conf.d/90-monitor.conf
```
Paste this section modifying the options to suit your needs:
```kconfig title="90-monitor.conf"
Section "Monitor"
Identifier "HDMI-1"
# This identifier would be the same as the name of the connector printed by xrandr
# for example "DVI-I-1 connected primary" means that the identifier is "DVI-I-1"
# another example "Unknown19-1 connected primary" some GPIO screens identify as Unknown19
Option "Rotate" "left"
# Valid rotation options are normal,inverted,left,right
Option "PreferredMode" "1920x1080"
# May be necessary if you are not getting your preferred resolution.
EndSection
```
Save the file and restart KlipperScreen.
```bash
sudo service KlipperScreen restart
```
if KlipperScreen doesn't restart:
```bash
sudo reboot
```
you may have to adjust the [touch rotation](../Touch_issues/#touch-rotation-and-matrix)
???+ example "Raspberry Pi using kernel cmdline"
#### Raspberry Pi using kernel cmdline
To set screen orientation when in console mode, you will need to edit the kernel command-line
to pass the required orientation to the system.
```bash
sudo nano /boot/firmware/cmdline.txt
```
To rotate by 90 degrees clockwise, add the following to the cmdline, making sure everything is on the same line,
do not add any carriage returns. Possible rotation values are 0, 90, 180 and 270.
For example a DSI screen:
```bash
video=DSI-1:800x480@60,rotate=90
```
To find the identifier on a terminal run:
```bash
grep -H . /sys/class/drm/card*-*/status | grep :connected
```
you will get somthing like:
```bash
/sys/class/drm/card0-HDMI-A-1/status:connected
```
where HDMI-A-1 would be the identifier
in this case the identifier is HDMI-1 and a simple cmdline arg would be something like:
```bash
video=HDMI-A-1:1024x600@60
```
To apply changes do a reboot:
```bash
sudo reboot
```
[Read the official docs for more info](https://www.raspberrypi.com/documentation/computers/config_txt.html)
[Raspberry Display docs](https://www.raspberrypi.com/documentation/accessories/display.html)
???+ example "Using a dtoverlay config on a Raspberry Pi"
#### Using a dtoverlay config on a Raspberry Pi
In /boot/config.txt (or /boot/firmware/config.txt)
with some display you can add rotate, like this example for a 3.5"
```bash
dtoverlay=waveshare35b-v2,rotate=270,drm,speed=30000000,fps=60
```
??? example "Raspberry Pi legacy mode (works with vc4-fkms-v3d)"
#### Raspberry Pi legacy mode (works with vc4-fkms-v3d)
add to config.txt
```bash
display_lcd_rotate=2
```
To apply changes do a reboot:
```bash
sudo reboot
```
!!! warning
At the moment of writing Pi4 didn't support 90 and 270 degrees with this method, [see the official docs](https://www.raspberrypi.com/documentation/computers/config_txt.html#display_hdmi_rotate)
| Value | result |
| ---------- | ---------- |
| 0 | no rotation |
| 1 | rotate 90 degrees clockwise |
| 2 | rotate 180 degrees clockwise |
| 3 | rotate 270 degrees clockwise |
| 0x10000h | horizontal flip |
| 0x20000 | vertical flip |
[Read the official docs for more info](https://www.raspberrypi.com/documentation/computers/config_txt.html)
??? example "Using a screen installed with goodtft-LCD-show"
#### Using a screen installed with goodtft-LCD-show
```bash
cd LCD-show/
sudo ./rotate.sh 90
```
??? example "Using Waveshare screen that is installed with LCD-show"
#### Using Waveshare screen that is installed with LCD-show
```bash
cd LCD-show/
sudo ./LCD43-show 270 lite
```
## Touchscreen touch rotation
[See touch rotation](./Touch_issues.md#touch-rotation-and-matrix)
+246
View File
@@ -0,0 +1,246 @@
# Touchscreen issues
Contents:
* [Touch not working](#touch-not-working)
* [Touch rotation and matrix](#touch-rotation-and-matrix)
* [Touch calibration](#touch-calibration)
Beware that this document focuses on RaspberryOS but most of it should apply to any other Debian based distros
## Touch not working
If the screen is connected over USB, the cable may cause issues.
For that, please see [this guide](Physical_Install.md#cable-issues).
??? abstract "DSI screens touch not working on RaspberryOS / MainsailOS version Debian 11 Bullseye"
Some DSI screens have issues where touch doesn't work with the default configuration.
The current workaround/temporary fix involves changing the kernel driver module used for these displays.
`sudo nano /boot/config.txt` and change
```sh
dtoverlay=vc4-kms-v3d
```
to
```sh
dtoverlay=vc4-fkms-v3d
```
Close the nano editor using `ctrl`+`x` (exit), then `y` for yes (save).
**Reboot** to apply changes. `sudo reboot`
If that doesn't fix it, you can try commenting these lines out, resulting in:
```sh
# dtoverlay=vc4-kms-v3d
# max_framebuffers=2
```
**Reboot** to apply changes. `sudo reboot`
## Touch rotation and matrix
If the touch works but registers touch input in a different location from the input, then you may need to apply an input transformation matrix.
First you will need your device name. On a terminal, run:
```sh
DISPLAY=:0 xinput
```
??? tip "Alternative"
```
libinput list-devices
```
!!! note
requires libinput-tools
```
sudo apt install libinput-tools
```
Output:
```text
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
```
In this case the device is the ADS7846 Touchscreen, yours may be different
You can test a change by running:
```sh
DISPLAY=:0 xinput set-prop "<device name>" 'Coordinate Transformation Matrix' <matrix>
```
!!! example
```sh
DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1
```
Where the matrix can be one of the following options:
| Rotation | Matrix |
|-----------------------------------------|-----------------------|
| 0° | `1 0 0 0 1 0 0 0 1` |
| 90° Clockwise | `0 -1 1 1 0 0 0 0 1` |
| 90° Counter-Clockwise | `0 1 0 -1 0 1 0 0 1` |
| 180° (Inverts X and Y) | `-1 0 1 0 -1 1 0 0 1` |
| invert Y | `-1 0 1 1 1 0 0 0 1` |
| invert X | `-1 0 1 0 1 0 0 0 1` |
| expand to twice the size horizontally | `0.5 0 0 0 1 0 0 0 1` |
To make the calibration permanent read [Save touch calibration](#save-touch-calibration)
## Touch calibration
This is optional, and you should only do it if you are having problems.
Download and build xtcal:
```sh
sudo apt-get install libxaw7-dev libxxf86vm-dev libxft-dev
cd
git clone https://github.com/KurtJacobson/xtcal
cd xtcal
make
cd ..
```
First you will need your touchscreen device name. On a terminal, run:
```sh
DISPLAY=:0 xinput
```
??? tip "Alternative"
```
libinput list-devices
```
!!! note
requires libinput-tools
```
sudo apt install libinput-tools
```
Output:
```text
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
```
In this case the device is the ADS7846 Touchscreen, yours may be different
Reset the old calibration: (set the 0° rotation matrix: 1 0 0 0 1 0 0 0 1)
```sh
DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
```
Run the calibrator - if it's not fullscreen cancel with `ctrl`+`c` and adjust geometry
```sh
DISPLAY=:0 xtcal/xtcal -geometry 480x320
```
!!! important
KlipperScreen or a desktop environment should be on the screen to launch the calibrator
Touch the center of the crosses in order, they should turn white.
![xtcal_preview](../img/troubleshooting/xtcal.png)
### Test the calibration
Copy the output of the calibration and test it, For example:
```sh
DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' -0.016267 -0.952804 0.978336 -1.010164 0.065333 0.998316 0 0 1
```
if it's not correct reset the matrix and run xtcal again.
## Save touch calibration
modify `/etc/udev/rules.d/51-touchscreen.rules`:
```sh
sudo nano /etc/udev/rules.d/51-touchscreen.rules
```
```sh title="51-touchscreen.rules"
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
```
Close the nano editor using `ctrl`+`x` (exit), then `y` for yes (save).
```sh
sudo reboot
```
!!! example
```sh
sudo nano /etc/udev/rules.d/51-touchscreen.rules
```
```sh title="51-touchscreen.rules"
ACTION=="add", ATTRS{name}=="ADS7846 Touchscreen", ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1 0 0 1"
```
Close the nano editor using `ctrl`+`x` (exit), then `y` for yes (save).
```sh
sudo reboot
```
!!! example "Alternative Example"
As an alternative **if the above doesn't work**:
determine the touchscreen driver (usually libinput):
```bash
cat /var/log/Xorg.0.log
```
```bash title="example of /var/log/Xorg.0.log"
...
(II) Using input driver 'libinput' for 'ADS7846 Touchscreen'
...
```
if it says `evdev` instead, then change `libinput` to `evdev` below, both in the filename and in the file
```bash
sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf
```
```sh title="40-libinput.conf"
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
EndSection
```
!!! note
the number of the filename determines the order of loading, if you have issues
check if there are other files overriding your config or just use 99-touch_calibration.conf as a name.
Close the nano editor using `ctrl`+`x` (exit), then `y` for yes (save).
```sh
sudo reboot
```
For more in-depth guidance on using Coordinate Transformation Matrices:
* [Ubuntu wiki InputCoordinateTransformation](https://wiki.ubuntu.com/X/InputCoordinateTransformation)
* [Libinput docs](https://wayland.freedesktop.org/libinput/doc/1.9.0/absolute_axes.html)
+39
View File
@@ -0,0 +1,39 @@
# Cannot open virtual Console
If you see this line in the [log](../Troubleshooting.md):
!!! abstract "Log"
```sh
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
* Run `cat /etc/X11/Xwrapper.config`
This should have the line `allowed_users=anybody` in it
* Run `cat /etc/group | grep tty`
If your username is not listed under that line, you need to add it with the following command:
```sh
usermod -a -G tty pi
```
(if your username is not 'pi' change 'pi' to your username)
Restart KlipperScreen:
```sh
sudo service KlipperScreen restart
```
If it's still failing:
add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`:
```sh
sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"
```
Restart KlipperScreen:
```sh
sudo service KlipperScreen restart
```
+36
View File
@@ -0,0 +1,36 @@
# Updating
## Using Moonraker update manager
!!! info
This method will not work if KlipperScreen and Moonraker are on different Hosts
For this to work, KlipperScreen should be added to moonraker.conf as explained in the installation instructions.
[moonraker-configuration](Installation.md/#moonraker-configuration)
Then you can update using the System panel:
![system-panel-screenshot](img/panels/system.png)
or from any UI that supports updating from moonraker.
## Using KIAUH
Same as in the installation instructions, but select update instead of install
![KIAUH-screenshot](img/install/KIAUH.png)
## Manual update
```sh
cd ~/KlipperScreen
git pull
source ~/.KlipperScreen-env/bin/activate
pip --disable-pip-version-check install -r ~/KlipperScreen/scripts/KlipperScreen-requirements.txt
sudo service KlipperScreen restart
deactivate
```
+85
View File
@@ -0,0 +1,85 @@
# VNC
This article describes how to use KlipperScreen through a remote connection.
!!! warning
The experience may not be equal to run KlipperScreen natively.
Depending on the device or the network you may encounter performance degradation or other issues.
## On the Host device:
The host device could be for example a Raspberry Pi
1. [First install KlipperScreen](Installation.md)
2. Install a vnc server package, for example:
```bash
sudo apt install tigervnc-standalone-server
```
3. Create `~/KlipperScreen/scripts/launch_KlipperScreen.sh`:
```bash
#!/bin/bash
# Use display 10 to avoid clashing with local X server, if any
Xtigervnc -rfbport 5900 -noreset -AlwaysShared -SecurityTypes none :10&
DISPLAY=:10 $KS_XCLIENT&
wait
```
!!! tip
To change resolution add: `-geometry 1280x720` to the arguments of Xtigervnc
4. Make the script executable
```bash
chmod +x ~/KlipperScreen/scripts/launch_KlipperScreen.sh
```
5. Restart KlipperScreen or reboot the system:
```bash
sudo systemctl restart KlipperScreen.service
```
## On the remote device:
Install a VNC viewer and configure it to the ip of the host.
??? example "Example using an iPad"
#### Example using an iPad
* Install a VNC viewer for example: `RealVNC Viewer: Remote Desktop`
* Open the VNC viewer app
* Press "+" button at the top right
* Enter IP address of your print host.
* Press "Save"
* Select "Interaction", select "Touch panel", go back
* Press "Done"
* Double-click on an icon with IP address you have just added.
* VNC client will complain about unencrypted connection. Disable the warning and say "Connect"
* Use or skip tutorial
* Press the "Pin" icon to hide the panel.
##### Prevent unwanted rotation of UI
* Go to `Settings` > `General` > Set `Use side switch to` to `Lock Rotation`
##### Avoid accidentally switching between apps
* Go to `Restrictions` > Set passcode > Enable restrictions.
* Open
* Triple-click "Home" button
* Guided access pops up
* Press "Start"
* Now iPad is locked to VNC viewer until "Guided access" mode is disabled by triple-clicking "Home" button and entering the password.
??? example "Example using an Android device"
#### Example using an Android device
* Install a VNC viewer for example: `RealVNC Viewer: Remote Desktop`
* Open the VNC viewer app
* Press "+" button at the right
* Enter IP address of your print host.
* Press "Save"
* Double-click on an icon with name or IP address you have just added.
* VNC client may complain about unencrypted connection. Disable the warning and say "Connect"
##### Prevent unwanted rotation of UI
* Lock the rotation using the buttons in the notification bar or in device Settings > Screen > Disable "Rotate automatically"
It's recommended to set Display timeout to never:
Also for X11 installs turn off DPMS:
![disable_dpms_poweroff](img/disable_dpms_poweroff.png)
-44
View File
@@ -1,44 +0,0 @@
# Zcalibrate
This panel supports various modes of operation to assist in the calibration of the Z axis of the machine.
It's strongly suggested to read Klipper documentation about [Bed level](https://www.klipper3d.org/Bed_Level.html)
![Screenshot](img/panels/zcalibrate.png)
## Buttons
* "Start" will initiate the only method available, or ask the user if multiple methods are available.
!!! note
KlipperScreen will home if needed and move to the middle of the bed,
but the location can be configured in [KlipperScreen.conf](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
* The raise(+) and lower(-) buttons send `TESTZ Z=distance` where distance is selected in the bottom row.
* Accept will send `ACCEPT`
* Abort will send `ABORT`
## Calibration methods
### Endstop (`Z_ENDSTOP_CALIBRATE`)
Available when an physical endstop is defined for `[stepper_z]`
See Klipper documentation: [Calibrating a Z endstop](https://www.klipper3d.org/Manual_Level.html#calibrating-a-z-endstop)
### Probe (`PROBE_CALIBRATE`)
Available when a probe is defined. (BL-Touch is a probe)
See Klipper documentation: [Calibrating probe Z offset](https://www.klipper3d.org/Probe_Calibrate.html#calibrating-probe-z-offset)
### Bed mesh (`BED_MESH_CALIBRATE`)
Available when a probe is not defined and `[bed_mesh]` is defined
this mode lets you create a mesh leveling bed using the paper test in various points.
!!! warning
DO NOT adjust the bed screws while using this mode.
Adjust the screws using the [bed screws](Screws.md) panel before running this tool.
### Delta Automatic/Manual (`DELTA_CALIBRATE`)
Available when the kinematics are defined as delta.
See Klipper documentation: [Delta calibration](https://www.klipper3d.org/Delta_Calibrate.html)
!!! note
KlipperScreen will automatically Home(`G28`) if needed
+40
View File
@@ -0,0 +1,40 @@
Only breaking changes will be listed here.
#### [2024_05_24](https://github.com/KlipperScreen/KlipperScreen/commit/524aa0e7dc2b27c93534d356ba19963b793f38d8)
* Drop python 3.7 support, last version for it is v0.4.1: `git reset --hard v0.4.1`
* Drop old WiFi manager, only maintain sdbus-networkmanager
#### [2024_01_26](https://github.com/KlipperScreen/KlipperScreen/commit/9d0e4b841f905f0034a7c6fefefcf041e38b90a3)
* Deprecated old ~/klipper_config folder users need to place the configfile
in ~/printer_data/config, ~/.config/KlipperScreen, or directly in the repo
#### [2023 10 08](https://github.com/KlipperScreen/KlipperScreen/commit/b6199a4f24beb02dc0f8956f60c88e3ba3468927)
* Deprecated [bed_screws] and [z_calibrate_position] sections those configs should go in [printer name]
#### [2023 07 23](https://github.com/KlipperScreen/KlipperScreen/commit/8053e97d1041f136118d40669442e910df6cf186)
* Deprecated `camera_url` option of printer, the camera config is read from moonraker
#### [2022 03 21](https://github.com/KlipperScreen/KlipperScreen/commit/bc34b3c8d6761c27a0b0c62fc4dfa11442b417f6)
* Default configuration is now merged again.
Fixing [2021 05 20](https://github.com/KlipperScreen/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
#### [2022 03 10](https://github.com/KlipperScreen/KlipperScreen/commit/490dc929bd11e3c4200b999ce7204d84fa0bc184)
* The "Power On Printer" button now requires power_devices under the printer section in KlipperScreen.conf
the power_devices allowed are those defined in the config of moonraker of the printer
The "Power" panel will be in the Menu if there are power devices found
#### [2022 03 01](https://github.com/KlipperScreen/KlipperScreen/commit/49ab84e8d51535d3469d97fdee53099cca6abc39)
* The "Power On Printer" button now requires that the printer name in KlipperScreen.conf
and the power device in moonraker.conf to have the same name.
The "Power" panel will be in the Menu if there are power devices found
#### [2022 01 11](https://github.com/KlipperScreen/KlipperScreen/commit/8a8c6c064cc6d097b1b34a5c42b4001367e545a6)
* The Preheat panel has been deprecated in favor of an all-in-one Temperature panel
Remove preheat panel from your Klipperscreen.conf or replace the occurrences of preheat with temperature
#### [2021 05 20](https://github.com/KlipperScreen/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
* Default configuration is not merged if a user configuration is set for a specific option
For instance, if `menu __main` is user defined, the main menu will not have any defaults.
+1
View File
@@ -0,0 +1 @@
../CHANGELOG.md
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 13 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

+24 -2
View File
@@ -1,6 +1,6 @@
# KlipperScreen
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/Klipper3d/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
### Required Hardware
@@ -24,4 +24,26 @@ Job Status
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
will natively work with [Klipper](https://github.com/klipper3d/klipper) and [Moonraker](https://github.com/arksine/moonraker).
[Changelog](Changelog.md)
### About the project
KlipperScreen has been created and maintained by Jordan Ruthe from 2020 to 2021
Donate to Jordan: [Patreon](https://www.patreon.com/klipperscreen) [Ko-fi](https://ko-fi.com/klipperscreen)
The current maintainer is Alfredo Monclus (alfrix) from 2021 onwards
Donate to Alfredo: [Ko-fi](https://ko-fi.com/alfrix)
thanks to all the [contributors](https://github.com/KlipperScreen/KlipperScreen/graphs/contributors) who helped along the way.
### Sponsors
| | Thank you for sponsoring KlipperScreen and the open source community. |
| - | - |
| ![LDO](img/sponsors/LDO.png) | [LDO](https://ldomotors.com/) |
| ![YUMI](img/sponsors/YUMI.png) | [YUMI](https://wiki.yumi-lab.com/) |
+267 -18
View File
@@ -1,40 +1,289 @@
# Supported Macros
# Macros
## Recommended
!!! note
If you have already installed other UIs then you may have these macros already, and it's usually asked by KIAUH
None of the following macros are strictly required for KlipperScreen, but they provide the toolhead parking at pause and cancel.
These can be assumed sane defaults, but should be checked and modified to your own needs.
### Pause
```yaml+jinja title="printer.cfg"
[gcode_macro PAUSE]
description: Pause the actual running print
rename_existing: PAUSE_BASE
gcode:
PAUSE_BASE
_TOOLHEAD_PARK_PAUSE_CANCEL
```
### Resume
```yaml+jinja title="printer.cfg"
[gcode_macro RESUME]
description: Resume the actual running print
rename_existing: RESUME_BASE
gcode:
##### read extrude from _TOOLHEAD_PARK_PAUSE_CANCEL macro #####
{% set extrude = printer['gcode_macro _TOOLHEAD_PARK_PAUSE_CANCEL'].extrude %}
#### get VELOCITY parameter if specified ####
{% if 'VELOCITY' in params|upper %}
{% set get_params = ('VELOCITY=' + params.VELOCITY) %}
{%else %}
{% set get_params = "" %}
{% endif %}
##### end of definitions #####
{% if printer.extruder.can_extrude|lower == 'true' %}
M83
G1 E{extrude} F2100
{% if printer.gcode_move.absolute_extrude |lower == 'true' %} M82 {% endif %}
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
RESUME_BASE {get_params}
```
### Park
```yaml+jinja title="printer.cfg"
[gcode_macro _TOOLHEAD_PARK_PAUSE_CANCEL]
description: Helper: park toolhead used in PAUSE and CANCEL_PRINT
variable_extrude: 1.0
gcode:
##### set park position for x and y #####
# default is your max position from your printer.cfg
{% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
{% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
{% set z_park_delta = 2.0 %}
##### calculate save lift position #####
{% set max_z = printer.toolhead.axis_maximum.z|float %}
{% set act_z = printer.toolhead.position.z|float %}
{% if act_z < (max_z - z_park_delta) %}
{% set z_safe = z_park_delta %}
{% else %}
{% set z_safe = max_z - act_z %}
{% endif %}
##### end of definitions #####
{% if printer.extruder.can_extrude|lower == 'true' %}
M83
G1 E-{extrude} F2100
{% if printer.gcode_move.absolute_extrude |lower == 'true' %} M82 {% endif %}
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
{% if "xyz" in printer.toolhead.homed_axes %}
G91
G1 Z{z_safe} F900
G90
G1 X{x_park} Y{y_park} F6000
{% if printer.gcode_move.absolute_coordinates|lower == 'false' %} G91 {% endif %}
{% else %}
{action_respond_info("Printer not homed")}
{% endif %}
```
### Cancel
```yaml+jinja title="printer.cfg"
[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
variable_park: True
gcode:
## Move head and retract only if not already in the pause state and park set to true
{% if printer.pause_resume.is_paused|lower == 'false' and park|lower == 'true'%}
_TOOLHEAD_PARK_PAUSE_CANCEL
{% endif %}
TURN_OFF_HEATERS
CANCEL_PRINT_BASE
```
## Extrude Panel
### LOAD_FILAMENT / UNLOAD_FILAMENT
Load and Unload Filament macros are used in the Extrude-Panel if it is available.
The selected speed is transferred to this macro.
The following example macros show how this can be used in the macro.
```jinja
These macros are used in the Extrude panel `Load` and `Unload` buttons. and they will be hidden from the macros panel.
The selected speed in the panel is transferred as a parameter.
The following examples show how this can be used:
```yaml+jinja title=" printer.cfg"
[gcode_macro LOAD_FILAMENT]
variable_load_distance: 50
variable_purge_distance: 25
gcode:
{% set speed = params.SPEED|default(300) %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity * 60 %}
SAVE_GCODE_STATE NAME=load_state
M300 # beep
G91
G92 E0
G1 E350 F{max_velocity} # fast-load
G1 E25 F{speed} # purge
M300
M300
G1 E{load_distance} F{max_velocity} # fast-load
G1 E{purge_distance} F{speed} # purge
RESTORE_GCODE_STATE NAME=load_state
```
```jinja
!!! warning
`variable_load_distance` will depend on the printers distance from the extruder to the nozzle.
For printers with long bowden tubes you may have to increase the extrude only distance in the configfile
```ini title=" printer.cfg"
[extruder]
max_extrude_only_distance: 600 # default is 50mm
```
```yaml+jinja title=" printer.cfg"
[gcode_macro UNLOAD_FILAMENT]
variable_unload_distance: 50
variable_purge_distance: 25
gcode:
{% set speed = params.SPEED|default(300) %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity * 60 %}
SAVE_GCODE_STATE NAME=unload_state
G91
M300 # beep
G92 E0
G1 E25 F{speed} # purge
G1 E-420 F{max_velocity} # fast-unload
M300
M300
G1 E{purge_distance} F{speed} # purge
G1 E-{unload_distance} F{max_velocity} # fast-unload
RESTORE_GCODE_STATE NAME=unload_state
```
if it loads too fast and your extruder can't keep up, you should adjust the `max_extrude_only_velocity` in `printer.cfg`
## Hidden by the interface
All gcode_macros with the attribute `rename_existing` are hidden , because these are default Klipper Gcodes
and these should be implemented in KlipperScreen itself with buttons already.
[This is the same behaviour of other UIs](https://docs.mainsail.xyz/overview/features/hide-macros-outputs-or-fans#macros-with-rename_existing)
[LOAD_FILAMENT and UNLOAD_FILAMENT are also hidden](#load_filament-unload_filament)
## Hide Macros
Macros can be completely hidden in the interface by prefixing the name with an underscore.
```yaml+jinja title=" printer.cfg"
[gcode_macro MY_AWESOME_GCODE]
gcode:
_MY_HELPER_CODE
[gcode_macro _MY_HELPER_CODE]
gcode:
M300
```
`MY_AWESOME_GCODE` appears in your interface settings, but `_MY_HELPER_CODE` does not.
## Prompts
It allows macros in Klipper to trigger dialog prompts to interact with the Firmware and will enable
the user to choose between options or to close the dialog again in case it's no longer needed.
!!! warning
This feature needs the `[respond]` module of Klipper.
So please check if this is enabled in your Klipper config.
### Supported Macro prompt commands
Begin the prompt and set a title:
```yaml+jinja title="Start"
RESPOND TYPE=command MSG="action:prompt_begin My Prompt"
```
Add a button:
`prompt_button` or `prompt_footer_button`
The options are label | gcode | style
Supported styles: primary, secondary, info, warning, error
```yaml+jinja title="Add a button"
RESPOND TYPE=command MSG="action:prompt_button button_text|RESPOND MSG=test|info"
```
!!! info
Only 4 footer buttons are allowed, the rest will not show due to screen space concerns
Show the prompt on the screen:
```yaml+jinja title="Show"
RESPOND TYPE=command MSG="action:prompt_show"
```
Optional: Close the Prompt:
```yaml+jinja title="Close"
RESPOND TYPE=command MSG="action:prompt_end"
```
Groups:
Footer buttons will be displayed on the same row,
but regular buttons will default to 1 per row,
to display them in the same row group them:
```yaml+jinja title="Group Start"
RESPOND TYPE=command MSG="action:prompt_button_group_start"
```
add buttons and then:
```yaml+jinja title="Group End"
RESPOND TYPE=command MSG="action:prompt_button_group_end"
```
### Examples
```yaml+jinja
[gcode_macro SHOW_PROMPT]
gcode:
RESPOND TYPE=command MSG="action:prompt_begin My Prompt"
RESPOND TYPE=command MSG="action:prompt_text This is an example of a prompt"
RESPOND TYPE=command MSG="action:prompt_button primary|G28|primary"
RESPOND TYPE=command MSG="action:prompt_button secondary|RESPOND MSG=test|secondary"
RESPOND TYPE=command MSG="action:prompt_button info|RESPOND MSG=test #2|info"
RESPOND TYPE=command MSG="action:prompt_button warning|RESPOND MSG=test #3|warning"
RESPOND TYPE=command MSG="action:prompt_show"
```
![Prompt_1](img/macros/Prompt_1.png)
```yaml+jinja
[gcode_macro SHOW_PROMPT_2]
gcode:
RESPOND TYPE=command MSG="action:prompt_begin Nevermind just close this >>>"
RESPOND TYPE=command MSG="action:prompt_text Do you want to load a new filament?"
RESPOND TYPE=command MSG="action:prompt_footer_button Load|LOAD_FILAMENT"
RESPOND TYPE=command MSG="action:prompt_footer_button Unload|UNLOAD_FILAMENT|error"
RESPOND TYPE=command MSG="action:prompt_show"
```
![Prompt_2](img/macros/Prompt_2.png)
## KlipperScreen actions
!!! warning
this should be considered experimental
Show a panel:
```
RESPOND TYPE=command MSG="action:ks_show extrude"
```
Show a menu with items:
!!! note
you need to escape double quotes because they are used by MSG
```
RESPOND TYPE=command MSG="action:ks_show menu items=[{'save': {'name': 'Home', 'icon': 'home', 'panel': None, 'method': 'printer.gcode.script', 'enable': 'True', 'params': '{\"script\": \"G28\"}', 'style': None, 'confirm': None}}]"
```
+27
View File
@@ -0,0 +1,27 @@
img {
display: block;
margin: 0 auto;
}
.md-typeset .md-typeset__table {
display: block;
}
.md-typeset__table table:not([class]) {
display: table;
}
h2, h3, h4 {
padding: 0.5em 0;
text-align: center;
background-color: rgba(0, 0, 0, 0.5);
}
.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th {
vertical-align: middle;
}
.md-typeset table img {
margin: 0;
display: inline-block;
}
+12 -36
View File
@@ -1,36 +1,16 @@
class KlippyGcodes:
HOME = "G28"
HOME_XY = "G28 X Y"
Z_TILT = "Z_TILT_ADJUST"
QUAD_GANTRY_LEVEL = "QUAD_GANTRY_LEVEL"
MOVE = "G1"
MOVE_ABSOLUTE = "G90"
MOVE_RELATIVE = "G91"
EXTRUDE_ABS = "M82"
EXTRUDE_REL = "M83"
SET_EXT_TEMP = "M104"
SET_BED_TEMP = "M140"
SET_EXT_FACTOR = "M221"
SET_FAN_SPEED = "M106"
SET_SPD_FACTOR = "M220"
PROBE_CALIBRATE = "PROBE_CALIBRATE"
Z_ENDSTOP_CALIBRATE = "Z_ENDSTOP_CALIBRATE"
TESTZ = "TESTZ Z="
ABORT = "ABORT"
ACCEPT = "ACCEPT"
@staticmethod
def set_bed_temp(temp):
return f"{KlippyGcodes.SET_BED_TEMP} S{temp}"
return f"M140 S{temp}"
@staticmethod
def set_ext_temp(temp, tool=0):
return f"{KlippyGcodes.SET_EXT_TEMP} T{tool} S{temp}"
return f"M104 T{tool} S{temp}"
@staticmethod
def set_heater_temp(heater, temp):
@@ -40,25 +20,13 @@ class KlippyGcodes:
def set_temp_fan_temp(temp_fan, temp):
return f'SET_TEMPERATURE_FAN_TARGET temperature_fan="{temp_fan}" target={temp}'
@staticmethod
def set_fan_speed(speed):
return f"{KlippyGcodes.SET_FAN_SPEED} S{speed * 2.55:.0f}"
@staticmethod
def set_extrusion_rate(rate):
return f"{KlippyGcodes.SET_EXT_FACTOR} S{rate}"
return f"M221 S{rate}"
@staticmethod
def set_speed_rate(rate):
return f"{KlippyGcodes.SET_SPD_FACTOR} S{rate}"
@staticmethod
def testz_move(dist):
return KlippyGcodes.TESTZ + dist
@staticmethod
def extrude(dist, speed=500):
return f"{KlippyGcodes.MOVE} E{dist} F{speed}"
return f"M220 S{rate}"
@staticmethod
def bed_mesh_load(profile):
@@ -71,3 +39,11 @@ class KlippyGcodes:
@staticmethod
def bed_mesh_save(profile):
return f"BED_MESH_PROFILE SAVE='{profile}'"
@staticmethod
def set_led_color(led, color):
return (
f'SET_LED LED="{led}" '
f'RED={color[0]} GREEN={color[1]} BLUE={color[2]} WHITE={color[3]} '
f'SYNC=0 TRANSMIT=1'
)
+152 -95
View File
@@ -1,27 +1,34 @@
# -*- coding: utf-8 -*-
import contextlib
import logging
import os
import pathlib
from functools import lru_cache
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango
from ks_includes.widgets.scroll import CustomScrolledWindow
def find_widget(widget, wanted_type):
# Returns a widget of wanted_type or None
if isinstance(widget, wanted_type):
return widget
if isinstance(widget, (Gtk.Container, Gtk.Bin, Gtk.Button, Gtk.Alignment, Gtk.Box)):
for _ in widget.get_children():
result = find_widget(_, wanted_type)
if result is not None:
return result
def format_label(widget, lines=2):
if type(widget) == Gtk.Label:
return widget
if type(widget) in (Gtk.Container, Gtk.Bin, Gtk.Button, Gtk.Alignment, Gtk.Box):
for _ in widget.get_children():
lbl = format_label(_)
if lbl is not None:
lbl.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
lbl.set_line_wrap(True)
lbl.set_ellipsize(True)
lbl.set_ellipsize(Pango.EllipsizeMode.END)
lbl.set_lines(lines)
label = find_widget(widget, Gtk.Label)
if label is not None:
label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
label.set_line_wrap(True)
label.set_ellipsize(Pango.EllipsizeMode.END)
label.set_lines(lines)
class KlippyGtk:
@@ -30,26 +37,28 @@ class KlippyGtk:
def __init__(self, screen):
self.screen = screen
self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", screen.theme, "images")
self.cursor = screen.show_cursor
self.font_size_type = screen._config.get_main_config().get("font_size", "medium")
self.width = screen.width
self.height = screen.height
self.font_ratio = [33, 49] if self.screen.vertical_mode else [43, 29]
self.ultra_tall = (self.height / self.width) >= 3
self.font_ratio = [28, 42] if self.screen.vertical_mode else [40, 27]
self.font_size = min(self.width / self.font_ratio[0], self.height / self.font_ratio[1])
self.img_scale = self.font_size * 2
self.button_image_scale = 1.38
self.bsidescale = .65 # Buttons with image at the side
self.dialog_buttons_height = round(self.height / 5)
if self.font_size_type == "max":
self.font_size = self.font_size * 1.2
self.font_size = self.font_size * 1.06
self.img_scale = self.img_scale * 0.7
self.bsidescale = .7
elif self.font_size_type == "extralarge":
self.font_size = self.font_size * 1.14
self.font_size = self.font_size * 1.05
self.img_scale = self.img_scale * 0.7
self.bsidescale = 1
self.bsidescale = 1.0
elif self.font_size_type == "large":
self.font_size = self.font_size * 1.09
self.img_scale = self.img_scale * 0.9
self.font_size = self.font_size * 1.025
self.img_scale = self.img_scale * 0.85
self.bsidescale = .8
elif self.font_size_type == "small":
self.font_size = self.font_size * 0.91
@@ -71,7 +80,7 @@ class KlippyGtk:
self.content_height = self.height - self.titlebar_height
self.keyboard_height = self.content_height * 0.5
if (self.height / self.width) >= 3: # Ultra-tall
if self.ultra_tall:
self.keyboard_height = self.keyboard_height * 0.5
self.color_list = {} # This is set by screen.py init_style()
@@ -106,106 +115,166 @@ class KlippyGtk:
for key in self.color_list:
self.color_list[key]['state'] = 0
@staticmethod
def Label(label, style=None):
la = Gtk.Label(label)
if style is not None:
la.get_style_context().add_class(style)
return la
def Image(self, image_name=None, width=None, height=None):
if image_name is None:
return Gtk.Image()
pixbuf = self.PixbufFromIcon(image_name, width, height)
return Gtk.Image.new_from_pixbuf(pixbuf) if pixbuf is not None else Gtk.Image()
def update_themedir(self, theme):
self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", theme, "images")
def PixbufFromIcon(self, filename, width=None, height=None):
width = width if width is not None else self.img_width
height = height if height is not None else self.img_height
filename = os.path.join(self.themedir, image_name)
for ext in ["svg", "png"]:
with contextlib.suppress(Exception):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size(f"{filename}.{ext}", int(width), int(height))
if pixbuf is not None:
return Gtk.Image.new_from_pixbuf(pixbuf)
logging.error(f"Unable to find image {filename}.{ext}")
return Gtk.Image()
return self._PixbufFromIcon(filename, self.themedir, int(width), int(height))
@staticmethod
@lru_cache(maxsize=500)
def _PixbufFromIcon(filename, themedir, width, height):
filename = os.path.join(themedir, filename)
for ext in ["svg", "png"]:
file = f"{filename}.{ext}"
pixbuf = KlippyGtk.PixbufFromFile(file, width, height) if os.path.exists(file) else None
if pixbuf is not None:
return pixbuf
return None
@staticmethod
@lru_cache(maxsize=500)
def PixbufFromFile(filename, width=-1, height=-1):
return GdkPixbuf.Pixbuf.new_from_file_at_size(filename, int(width), int(height))
try:
return GdkPixbuf.Pixbuf.new_from_file_at_size(filename, int(width), int(height))
except Exception as e:
logging.exception(e)
logging.error(f"Unable to find image {filename}")
return None
def PixbufFromHttp(self, resource, width=-1, height=-1):
response = self.screen.apiclient.get_thumbnail_stream(resource)
if response is False:
return None
stream = Gio.MemoryInputStream.new_from_data(response, None)
pixbuf = GdkPixbuf.Pixbuf.new_from_stream_at_scale(stream, int(width), int(height), True)
try:
pixbuf = GdkPixbuf.Pixbuf.new_from_stream_at_scale(stream, int(width), int(height), True)
except Exception as e:
logging.exception(e)
return None
stream.close_async(2)
return pixbuf
def Button(self, image_name=None, label=None, style=None, scale=None, position=Gtk.PositionType.TOP, lines=2):
if self.font_size_type == "max" and label is not None and scale is None:
if self.font_size_type == "max" and label is not None:
image_name = None
b = Gtk.Button()
b = Gtk.Button(hexpand=True, vexpand=True, image_position=position, always_show_image=True)
focusable = self.screen._config.get_main_config().getboolean("keyboard_navigation", fallback=False)
b.set_can_focus(focusable)
if label is not None:
b.set_label(label.replace("\n", " "))
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
if image_name is not None:
b.set_name(image_name)
if scale is None:
scale = self.button_image_scale
if label is None:
scale = scale * 1.5
scale = scale * 1.4
width = height = self.img_scale * scale
b.set_image(self.Image(image_name, width, height))
b.set_image_position(position)
b.set_always_show_image(True)
spinner = Gtk.Spinner(width_request=width, height_request=height, no_show_all=True)
spinner.hide()
box = find_widget(b, Gtk.Box)
if box:
box.add(spinner)
if label is not None:
format_label(b, lines)
if style is not None:
b.get_style_context().add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
b.connect("clicked", self.screen.screensaver.reset_timeout)
b.connect("clicked", self.screen.lock_screen.reset_timeout)
return b
def Dialog(self, screen, buttons, content, callback=None, *args):
dialog = Gtk.Dialog()
dialog.set_default_size(screen.width, screen.height)
dialog.set_resizable(False)
dialog.set_transient_for(screen)
dialog.set_modal(True)
@staticmethod
def Button_busy(widget, busy):
spinner = find_widget(widget, Gtk.Spinner)
image = find_widget(widget, Gtk.Image)
if busy:
widget.set_sensitive(False)
if image:
widget.set_always_show_image(False)
image.hide()
if spinner:
spinner.start()
spinner.show()
else:
if image:
widget.set_always_show_image(True)
image.show()
if spinner:
spinner.stop()
spinner.hide()
widget.set_sensitive(True)
for button in buttons:
dialog.add_button(button['name'], button['response'])
button = dialog.get_widget_for_response(button['response'])
button.set_size_request((screen.width - 30) / 3, screen.height / 5)
format_label(button, 3)
def dialog_content_decouple(self, widget, event, dialog):
self.remove_dialog(dialog)
dialog.connect("response", self.screen.reset_screensaver_timeout)
def Dialog(self, title, buttons, content, callback=None, *args):
dialog = Gtk.Dialog(title=title, modal=True, transient_for=self.screen,
default_width=self.width, default_height=self.height)
dialog.set_size_request(self.width, self.height)
if not self.screen.windowed:
dialog.fullscreen()
if buttons:
max_buttons = 4
if len(buttons) > max_buttons:
buttons = buttons[:max_buttons]
if len(buttons) > 2:
dialog.get_action_area().set_layout(Gtk.ButtonBoxStyle.EXPAND)
button_hsize = -1
else:
button_hsize = int((self.width / 3))
for button in buttons:
style = button['style'] if 'style' in button else 'dialog-default'
dialog.add_button(button['name'], button['response'])
button = dialog.get_widget_for_response(button['response'])
button.set_size_request(button_hsize, self.dialog_buttons_height)
button.get_style_context().add_class(style)
format_label(button, 2)
else:
# No buttons means clicking anywhere closes the dialog
content.add_events(Gdk.EventMask.BUTTON_RELEASE_MASK)
content.connect("button-release-event", self.dialog_content_decouple, dialog)
dialog.add_events(Gdk.EventMask.BUTTON_RELEASE_MASK)
dialog.connect("button-release-event", self.remove_dialog)
dialog.connect("response", self.screen.screensaver.reset_timeout)
dialog.connect("response", self.screen.lock_screen.reset_timeout)
dialog.connect("response", callback, *args)
dialog.get_style_context().add_class("dialog")
content_area = dialog.get_content_area()
content_area.set_margin_start(15)
content_area.set_margin_end(15)
content_area.set_margin_top(15)
content_area.set_margin_bottom(15)
content_area.set_margin_start(10)
content_area.set_margin_end(5)
content_area.set_margin_top(5)
content_area.set_margin_bottom(0)
content_area.add(content)
dialog.show_all()
# Change cursor to blank
if self.cursor:
dialog.get_window().set_cursor(
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.ARROW))
else:
dialog.get_window().set_cursor(
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.BLANK_CURSOR))
self.set_cursor(show=self.screen.show_cursor, window=dialog.get_window())
self.screen.dialogs.append(dialog)
logging.info(f"Showing dialog {dialog}")
logging.info(f"Showing dialog {dialog.get_title()} {dialog.get_size()}")
return dialog
def remove_dialog(self, dialog, *args):
if not isinstance(dialog, Gtk.Dialog):
logging.error(f"Invalid dialog: {dialog}")
return
if self.screen.updating:
return
if dialog == self.screen.confirm:
self.screen.confirm = None
dialog.destroy()
if dialog in self.screen.dialogs:
logging.info("Removing Dialog")
@@ -213,30 +282,18 @@ class KlippyGtk:
return
logging.debug(f"Cannot remove dialog {dialog}")
@staticmethod
def HomogeneousGrid(width=None, height=None):
g = Gtk.Grid()
g.set_row_homogeneous(True)
g.set_column_homogeneous(True)
if width is not None and height is not None:
g.set_size_request(width, height)
return g
def ScrolledWindow(self, steppers=True, **kwargs):
steppers = steppers and self.screen._config.get_main_config().getboolean("show_scroll_steppers", fallback=False)
return CustomScrolledWindow(steppers, **kwargs)
def ToggleButton(self, text):
b = Gtk.ToggleButton(text)
b.props.relief = Gtk.ReliefStyle.NONE
b.set_hexpand(True)
b.set_vexpand(True)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
@staticmethod
def ScrolledWindow():
scroll = Gtk.ScrolledWindow()
scroll.set_property("overlay-scrolling", False)
scroll.set_vexpand(True)
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK |
Gdk.EventMask.TOUCH_MASK |
Gdk.EventMask.BUTTON_RELEASE_MASK)
scroll.set_kinetic_scrolling(True)
return scroll
def set_cursor(self, show: bool, window: Gdk.Window):
if show:
window.set_cursor(
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.ARROW))
if not self.screen.wayland:
os.system("xsetroot -cursor_name arrow")
else:
window.set_cursor(
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.BLANK_CURSOR))
if not self.screen.wayland:
os.system("xsetroot -cursor ks_includes/emptyCursor.xbm ks_includes/emptyCursor.xbm")
+28 -32
View File
@@ -1,66 +1,62 @@
import logging
import re
import requests
class KlippyRest:
def __init__(self, ip, port=7125, api_key=False):
def __init__(self, ip, port=7125, api_key=False, path='', ssl=None):
self.ip = ip
self.port = port
self.path = f"/{path}" if path else ''
self.ssl = ssl
self.api_key = api_key
self.ssl = int(self.port) in {443, 7130} if ssl is None else bool(ssl)
self.status = ''
@property
def endpoint(self):
protocol = "http"
if int(self.port) in {443, 7130}:
protocol = "https"
return f"{protocol}://{self.ip}:{self.port}"
return f"{'https' if self.ssl else 'http'}://{self.ip}:{self.port}{self.path}"
@staticmethod
def process_response(response):
return response['result'] if response and 'result' in response else response
def get_server_info(self):
return self.send_request("server/info")
def get_oneshot_token(self):
r = self.send_request("access/oneshot_token")
if r is False or 'result' not in r:
return False
return r['result']
return self.send_request("access/oneshot_token")
def get_printer_info(self):
return self.send_request("printer/info")
def get_gcode_help(self):
return self.send_request("printer/gcode/help")
def get_thumbnail_stream(self, thumbnail):
return self.send_request(f"server/files/gcodes/{thumbnail}", json=False)
def send_request(self, method, json=True):
def _do_request(self, method, request_method, data=None, json=None, json_response=True, timeout=3):
url = f"{self.endpoint}/{method}"
headers = {} if self.api_key is False else {"x-api-key": self.api_key}
data = False
headers = {"x-api-key": self.api_key} if self.api_key else {}
try:
response = requests.get(url, headers=headers)
callee = getattr(requests, request_method)
response = callee(url, json=json, data=data, headers=headers, timeout=timeout)
response.raise_for_status()
if json:
logging.debug(f"Sending request to {url}")
data = response.json()
else:
data = response.content
except requests.exceptions.HTTPError as h:
self.status = self.format_status(h)
except requests.exceptions.ConnectionError as c:
self.status = self.format_status(c)
except requests.exceptions.Timeout as t:
self.status = self.format_status(t)
except requests.exceptions.JSONDecodeError as j:
self.status = self.format_status(j)
except requests.exceptions.RequestException as r:
self.status = self.format_status(r)
self.status = ''
return response.json() if json_response else response.content
except Exception as e:
self.status = self.format_status(e)
if data:
self.status = ''
else:
logging.error(self.status.replace('\n', '>>'))
return data
return False
def post_request(self, method, data=None, json=None, json_response=True):
return self._do_request(method, "post", data, json, json_response)
def send_request(self, method, json=True, timeout=4):
res = self._do_request(method, "get", json_response=json, timeout=timeout)
return self.process_response(res) if json else res
@staticmethod
def format_status(status):
+71 -64
View File
@@ -1,8 +1,8 @@
#!/usr/bin/python
import threading
import json
import logging
import threading
import gi
import websocket
@@ -20,75 +20,72 @@ class KlippyWebsocket(threading.Thread):
reconnect_count = 0
max_retries = 4
def __init__(self, screen, callback, host, port):
def __init__(self, callback, host, port, api_key, path='', ssl=None):
threading.Thread.__init__(self)
self._wst = None
self.ws_url = None
self._screen = screen
self._callback = callback
self.klippy = MoonrakerApi(self)
self.ws = None
self.closing = False
self.host = host
self.port = port
self.path = f"/{path}" if path else ''
self.ssl = int(self.port) in {443, 7130} if ssl is None else bool(ssl)
self.header = {"x-api-key": api_key} if api_key else {}
self.api_key = api_key
@property
def _url(self):
return f"{self.host}:{self.port}"
return f"{self.host}:{self.port}{self.path}"
@property
def ws_proto(self):
if int(self.port) in {443, 7130}:
return "wss"
return "ws"
def retry(self):
self.reconnect_count = 0
self.connecting = True
self.initial_connect()
return "wss" if self.ssl else "ws"
def initial_connect(self):
# Enable a timeout so that way if moonraker is not running, it will attempt to reconnect
self.connect()
if self.connecting:
if self.connect() is not False:
GLib.timeout_add_seconds(10, self.reconnect)
def reconnect(self):
if self.reconnect_count > self.max_retries:
logging.debug("Stopping reconnections")
self.connecting = False
GLib.idle_add(self._callback['on_cancel'])
return False
return self.connect()
def connect(self):
if self.connected:
return
self.reconnect_count += 1
try:
state = self._screen.apiclient.get_server_info()
if state is False:
if self.reconnect_count > 2:
self._screen.printer_initializing(
_("Cannot connect to Moonraker") + '\n\n'
+ _("Retrying") + f' #{self.reconnect_count}'
)
return False
token = self._screen.apiclient.get_oneshot_token()
except Exception as e:
logging.critical(e, exc_info=True)
logging.debug("Unable to get oneshot token")
logging.debug("Already connected")
return False
logging.debug("Attempting to connect")
self.reconnect_count += 1
self.ws_url = f"{self.ws_proto}://{self._url}/websocket?token={token}"
self.ws_url = f"{self.ws_proto}://{self._url}/websocket?token={self.api_key}"
self.ws = websocket.WebSocketApp(
self.ws_url,
on_close=self.on_close, on_error=self.on_error, on_message=self.on_message, on_open=self.on_open
on_close=self.on_close,
on_error=self.on_error,
on_message=self.on_message,
on_open=self.on_open,
header=self.header
)
self._wst = threading.Thread(target=self.ws.run_forever, daemon=True)
try:
logging.debug("Starting websocket thread")
self._wst.start()
except Exception as e:
logging.critical(e, exc_info=True)
logging.debug("Error starting web socket")
logging.debug(f"Error starting web socket {e}")
return True
return False
def close(self):
logging.debug("Closing websocket")
self.closing = True
self.connecting = False
if self.ws is not None:
self.ws.keep_running = False
self.ws.close()
def on_message(self, *args):
@@ -99,17 +96,20 @@ class KlippyWebsocket(threading.Thread):
self.callback_table[response['id']][1],
self.callback_table[response['id']][2],
*self.callback_table[response['id']][3])
GLib.idle_add(self.callback_table[response['id']][0], *args)
GLib.idle_add(self.callback_table[response['id']][0], *args, priority=GLib.PRIORITY_HIGH_IDLE)
self.callback_table.pop(response['id'])
return
if "method" in response and "on_message" in self._callback:
args = response['method'], response['params'][0] if "params" in response else {}
GLib.idle_add(self._callback['on_message'], *args)
args = (response['method'], response['params'][0] if "params" in response else {})
GLib.idle_add(self._callback['on_message'], *args, priority=GLib.PRIORITY_HIGH_IDLE)
if self.closing:
timer = threading.Timer(2, self.ws.close)
timer.start()
return
def send_method(self, method, params=None, callback=None, *args):
if not self.connected:
if not self.connected or self.closing:
return False
if params is None:
params = {}
@@ -130,45 +130,30 @@ class KlippyWebsocket(threading.Thread):
def on_open(self, *args):
logging.info("Moonraker Websocket Open")
self.connected = True
self._screen.reinit_count = 0
self.connecting = False
self.reconnect_count = 0
if "on_connect" in self._callback:
GLib.idle_add(self._callback['on_connect'])
GLib.idle_add(self._callback['on_connect'], priority=GLib.PRIORITY_HIGH_IDLE)
def on_close(self, *args):
# args: ws, status, message
# sometimes ws is not passed due to bugs
message = args[2] if len(args) == 3 else args[1]
if len(args) == 3:
status = args[1]
message = args[2]
else:
status = args[0]
message = args[1]
if message is not None:
logging.info(f"{message}")
logging.info(f"{status} {message}")
if not self.connected:
logging.debug("Connection already closed")
return
if self.closing:
logging.debug("Closing websocket")
self.ws.keep_running = False
self.close()
self.closing = False
return
if "on_close" in self._callback:
GLib.idle_add(self._callback['on_close'], "Lost Connection to Moonraker")
GLib.idle_add(self._callback['on_close'], priority=GLib.PRIORITY_HIGH_IDLE)
logging.info("Moonraker Websocket Closed")
self.connected = False
def reconnect(self):
if self.connected:
return False
if self.reconnect_count > self.max_retries:
logging.debug("Stopping reconnections")
self.connecting = False
self._screen.printer_initializing(
_("Cannot connect to Moonraker")
+ f'\n\n{self._screen.apiclient.status}')
return False
logging.debug("Attempting to reconnect")
self.connect()
return True
@staticmethod
def on_error(*args):
error = args[1] if len(args) == 2 else args[0]
@@ -195,7 +180,7 @@ class MoonrakerApi:
)
def get_file_dir(self, path='gcodes', callback=None, *args):
logging.debug("Sending server.files.directory")
logging.debug(f"Sending server.files.directory {path}")
return self._ws.send_method(
"server.files.list",
{"path": path},
@@ -212,6 +197,15 @@ class MoonrakerApi:
*args
)
def get_dir_info(self, callback=None, directory='gcodes', *args):
logging.debug(f"Sending server.files.get_directory {directory}")
return self._ws.send_method(
"server.files.get_directory",
{"path": directory},
callback,
*args
)
def get_file_metadata(self, filename, callback=None, *args):
return self._ws.send_method(
"server.files.metadata",
@@ -338,3 +332,16 @@ class MoonrakerApi:
return self._ws.send_method(
"printer.firmware_restart"
)
def identify_client(self, version, api_key):
logging.debug("Sending server.connection.identify")
return self._ws.send_method(
"server.connection.identify",
{
"client_name": "KlipperScreen",
"version": f"{version}",
"type": "display",
"url": "https://github.com/KlipperScreen/KlipperScreen",
"api_key": f"{api_key}"
},
)
+288 -186
View File
@@ -1,25 +1,29 @@
import configparser
import gettext
import os
import logging
import json
import re
import copy
import pathlib
import gettext
import json
import locale
import logging
import os
import pathlib
import re
from io import StringIO
SCREEN_BLANKING_OPTIONS = [
300, # 5 Minutes
900, # 15 Minutes
1800, # 30 Minutes
3600, # 1 Hour
7200, # 2 Hours
60, # 1 Minute
120, # 2 Minutes
300, # 5 Minutes
900, # 15 Minutes
1800, # 30 Minutes
3600, # 1 Hour
7200, # 2 Hours
14400, # 4 Hours
]
klipperscreendir = pathlib.Path(__file__).parent.resolve().parent
home = os.path.expanduser("~/")
printer_data_config = os.path.join(home, "printer_data", "config")
xdg_config = os.path.join(home, ".config", "KlipperScreen")
class ConfigError(Exception):
@@ -35,41 +39,52 @@ class KlipperScreenConfig:
def __init__(self, configfile, screen=None):
self.lang_list = None
self.errors = []
self.default_config_path = os.path.join(klipperscreendir, "ks_includes", "defaults.conf")
self.default_config_path = os.path.join(klipperscreendir, "config", "defaults.conf")
self.config = configparser.ConfigParser()
self.config_path = self.get_config_file_location(configfile)
logging.debug(f"Config path location: {self.config_path}")
self.defined_config = None
self.user_cfg = None
self.lang = None
self.langs = {}
try:
# parse defaults.conf
self.config.read(self.default_config_path)
includes = [i[8:] for i in self.config.sections() if i.startswith("include ")]
for include in includes:
directory = "/".join(self.default_config_path.split("/")[:-1])
self._include_config(self.config, directory, include, log=False)
self.validate_config(self.config) # In case a user altered defaults
# parse KlipperScreen.conf
if self.config_path != self.default_config_path:
user_def, saved_def = self.separate_saved_config(self.config_path)
self.defined_config = configparser.ConfigParser()
self.defined_config.read_string(user_def)
self.user_cfg = configparser.ConfigParser()
self.user_cfg.read_string(user_def)
includes = [i[8:] for i in self.defined_config.sections() if i.startswith("include ")]
includes = [i[8:] for i in self.user_cfg.sections() if i.startswith("include ")]
for include in includes:
self._include_config("/".join(self.config_path.split("/")[:-1]), include)
directory = "/".join(self.config_path.split("/")[:-1])
self._include_config(self.user_cfg, directory, include)
self.exclude_from_config(self.defined_config)
if not self.user_cfg.getboolean('main', "use_default_menu", fallback=True):
self.exclude_menu_from_config(self.config)
self.log_config(self.defined_config)
self.config.read_string(user_def)
if any(sec.startswith("preheat") for sec in self.user_cfg.sections()):
self.exclude_preheat_from_config(self.config)
self.log_config(self.user_cfg)
if self.validate_config(self.user_cfg, string=user_def):
merged_user_text = self._build_config_string(self.user_cfg)
self.config.read_string(merged_user_text) # Merge user config
# Parse configs saved from the UI
if saved_def is not None:
self.config.read_string(saved_def)
logging.info(f"====== Saved Def ======\n{saved_def}\n=======================")
auto_gen = configparser.ConfigParser()
auto_gen.read_string(saved_def)
if self.validate_config(auto_gen, string=saved_def, remove=True):
self.config.read_string(saved_def) # Merge ui saved config
logging.info(f"\n====== Saved ======\n{saved_def}\n")
# This is the final config
# self.log_config(self.config)
if self.validate_config():
logging.info('Configuration validated succesfuly')
else:
logging.error('Invalid configuration detected !!!')
logging.info('Loading default config')
self.config = configparser.ConfigParser()
self.config.read(self.default_config_path)
except KeyError as Kerror:
msg = f"Error reading config: {self.config_path}\n{Kerror}"
logging.exception(msg)
@@ -84,13 +99,15 @@ class KlipperScreenConfig:
logging.exception(msg)
self.errors.append(msg)
printers = sorted([i for i in self.config.sections() if i.startswith("printer ")])
if len(printers) == 0:
printers = [i for i in self.config.sections() if i.startswith("printer ")]
if not printers:
printers.append("Printer Printer")
self.printers = [
{printer[8:]: {
"moonraker_host": self.config.get(printer, "moonraker_host", fallback="127.0.0.1"),
"moonraker_port": self.config.get(printer, "moonraker_port", fallback="7125"),
"moonraker_path": self.config.get(printer, "moonraker_path", fallback='').strip('/'),
"moonraker_ssl": self.config.getboolean(printer, "moonraker_ssl", fallback=None),
"moonraker_api_key": self.config.get(printer, "moonraker_api_key", fallback="").replace('"', '')
}} for printer in printers
]
@@ -113,33 +130,39 @@ class KlipperScreenConfig:
for lng in self.lang_list:
self.langs[lng] = gettext.translation('KlipperScreen', localedir=lang_path, languages=[lng], fallback=True)
lang = self.get_main_config().get("language", None)
logging.debug(f"Selected lang: {lang} OS lang: {locale.getdefaultlocale()[0]}")
lang = self.get_main_config().get("language", "system_lang")
logging.debug(f"Selected lang: {lang} OS lang: {locale.getlocale()[0]}")
self.install_language(lang)
def find_language(self, lang):
if lang in (None, "system_lang"):
sys_lang = locale.getlocale()[0]
if sys_lang is None or len(sys_lang) < 2:
return "en"
if sys_lang in self.lang_list:
return sys_lang
for language in self.lang_list:
if sys_lang.startswith(language):
return language
return next((language for language in self.lang_list if lang.startswith(language)), "en")
def install_language(self, lang):
if lang is None or lang == "system_lang":
for language in self.lang_list:
if locale.getdefaultlocale()[0].startswith(language):
logging.debug("Using system lang")
lang = language
if lang is not None and lang not in self.lang_list:
# try to match a parent
for language in self.lang_list:
if lang.startswith(language):
lang = language
self.set("main", "language", lang)
if lang not in self.lang_list:
logging.error(f"lang: {lang} not found")
logging.info(f"Available lang list {self.lang_list}")
lang = "en"
lang = self.find_language(lang)
logging.info(f"Using lang {lang}")
self.lang = self.langs[lang]
self.lang.install(names=['gettext', 'ngettext'])
def validate_config(self):
def validate_config(self, config, string="", remove=False):
valid = True
for section in self.config:
if string:
msg = "Section headers have extra information after brackets possible newline issue:"
for line in string.split('\n'):
if re.match(r".+\].", line):
logging.error(line)
self.errors.append(f'{msg}\n\n{line}')
return False
for section in config:
if section == 'DEFAULT' or section.startswith('include '):
# Do not validate 'DEFAULT' or 'include*' sections
continue
@@ -148,58 +171,74 @@ class KlipperScreenConfig:
bools = (
'invert_x', 'invert_y', 'invert_z', '24htime', 'only_heaters', 'show_cursor', 'confirm_estop',
'autoclose_popups', 'use_dpms', 'use_default_menu', 'side_macro_shortcut', 'use-matchbox-keyboard',
'show_heater_power'
'show_heater_power', "show_scroll_steppers", "auto_open_extrude", "start_locked",
"keyboard_navigation"
)
strs = (
'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking', 'font_size',
'print_estimate_method', 'screen_blanking', "screen_on_devices", "screen_off_devices",
'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking_printing', 'font_size',
'print_estimate_method', 'screen_blanking', "screen_on_devices", "screen_off_devices", 'print_view',
"lock_password"
)
numbers = (
'job_complete_timeout', 'job_error_timeout', 'move_speed_xy', 'move_speed_z',
'print_estimate_compensation', 'width', 'height',
'print_estimate_compensation', 'width', 'height', 'autolock_timeout',
)
elif section.startswith('printer '):
bools = (
'invert_x', 'invert_y', 'invert_z',
'invert_x', 'invert_y', 'invert_z', 'moonraker_ssl',
)
strs = (
'moonraker_api_key', 'moonraker_host', 'titlebar_name_type',
'moonraker_api_key', 'moonraker_host', 'moonraker_path', 'titlebar_name_type',
'screw_positions', 'power_devices', 'titlebar_items', 'z_babystep_values',
'extrude_distances', "extrude_speeds", "camera_url",
'extrude_distances', 'extrude_speeds', 'move_distances', 'zcalibrate_custom_commands'
)
numbers = (
'moonraker_port', 'move_speed_xy', 'move_speed_z',
'calibrate_x_position', 'calibrate_y_position',
'moonraker_port', 'move_speed_xy', 'move_speed_z', 'screw_rotation',
'calibrate_x_position', 'calibrate_y_position', 'spool_low_limit',
)
elif section.startswith('preheat '):
strs = ('gcode', '')
numbers = [f'{option}' for option in self.config[section] if option != 'gcode']
numbers = [f'{option}' for option in config[section] if option != 'gcode']
elif section.startswith('menu '):
strs = ('name', 'icon', 'panel', 'method', 'params', 'enable', 'confirm')
elif section == 'bed_screws':
# This section may be deprecated in favor of moving this options under the printer section
numbers = ('rotation', '')
strs = ('screw_positions', '')
elif section.startswith('graph') or section.startswith('displayed_macros'):
bools = [f'{option}' for option in self.config[section]]
elif section.startswith('z_calibrate_position'):
# This section may be deprecated in favor of moving this options under the printer section
numbers = ('calibrate_x_position', 'calibrate_y_position')
strs = ('name', 'icon', 'panel', 'method', 'params', 'enable', 'confirm', 'style')
elif section.startswith('graph')\
or section.startswith('displayed_macros')\
or section.startswith('spoolman'):
bools = [f'{option}' for option in config[section]]
else:
self.errors.append(f'Section [{section}] not recognized')
for key in self.config[section]:
for key in config[section]:
if key not in bools and key not in strs and key not in numbers:
msg = f'Option "{key}" not recognized for section "[{section}]"'
self.errors.append(msg)
# This most probably is not a big issue, continue to load the config
elif key in numbers and not self.is_float(self.config[section][key]) \
or key in bools and self.config[section][key] not in ["False", "false", "True", "true"]:
if section.startswith("menu"):
msg = (
msg + "\n\n"
+ "KlipperScreen menu uses different options than Klipper\n"
+ "Syntax meant for text/graphical LCDs (usually blue)\n"
+ "will not work with KlipperScreen\n"
+ "please consult KlipperScreen documentation."
)
if key == "camera_url":
msg = (
"camera_url has been deprecated in favor of moonraker cameras\n\n"
+ "https://moonraker.readthedocs.io/en/latest/configuration/#webcam\n\n"
+ "remove camera_url from KlipperScreen config file"
)
if remove:
# This should only be called for the auto-generated section
self.config.remove_option(section, key)
else:
self.errors.append(msg)
elif key in numbers and not self.is_float(config[section][key]) \
or key in bools and not self.is_bool(config[section][key]):
msg = (
f'Unable to parse "{key}" from [{section}]\n'
f'Expected a {"number" if key in numbers else "boolean"} but got: {self.config[section][key]}'
f'Expected a {"number" if key in numbers else "boolean"} but got: {config[section][key]}'
)
self.errors.append(msg)
logging.error('Invalid configuration detected !!!')
valid = False
return valid
@@ -211,22 +250,24 @@ class KlipperScreenConfig:
except ValueError:
return False
@staticmethod
def is_bool(element):
return element in ["False", "false", "True", "true"]
def get_errors(self):
return "".join(f'{error}\n\n' for error in self.errors)
def _create_configurable_options(self, screen):
self.configurable_options = [
{"language": {
"section": "main", "name": _("Language"), "type": "dropdown", "value": "system_lang",
"callback": screen.change_language, "options": [
{"name": _("System") + " " + _("(default)"), "value": "system_lang"}]}},
{"theme": {
"section": "main", "name": _("Icon Theme"), "type": "dropdown",
"value": "z-bolt", "callback": screen.restart_ks, "options": [
"tooltip": _("Changes how the interface looks"),
"value": "z-bolt", "callback": screen.change_theme, "options": [
{"name": "Z-bolt" + " " + _("(default)"), "value": "z-bolt"}]}},
{"print_estimate_method": {
"section": "main", "name": _("Estimated Time Method"), "type": "dropdown",
"tooltip": _("Changes how the time remaining is calculated"),
"value": "auto", "options": [
{"name": _("Auto") + " " + _("(default)"), "value": "auto"},
{"name": _("File"), "value": "file"},
@@ -234,15 +275,26 @@ class KlipperScreenConfig:
{"name": _("Slicer"), "value": "slicer"}]}},
{"screen_blanking": {
"section": "main", "name": _("Screen Power Off Time"), "type": "dropdown",
"tooltip": _("Timeout for screen black-out or power-off"),
"value": "3600", "callback": screen.set_screenblanking_timeout, "options": [
{"name": _("Never"), "value": "off"}]
}},
{"24htime": {"section": "main", "name": _("24 Hour Time"), "type": "binary", "value": "True"}},
{"screen_blanking_printing": {
"section": "main", "name": _("Screen Power Off Time") + " (" + _("Printing") + ")",
"type": "dropdown",
"tooltip": _("Timeout for screen black-out or power-off during printing"),
"value": "3600", "callback": screen.set_screenblanking_printing_timeout, "options": [
{"name": _("Never"), "value": "off"}]
}},
{"24htime": {"section": "main", "name": _("24 Hour Time"), "type": "binary",
"tooltip": _("Disable for 12hs with am / pm"),
"value": "True"}},
{"side_macro_shortcut": {
"section": "main", "name": _("Macro shortcut on sidebar"), "type": "binary",
"value": "True", "callback": screen.toggle_macro_shortcut}},
"value": "False", "callback": screen.toggle_shortcut}},
{"font_size": {
"section": "main", "name": _("Font Size"), "type": "dropdown",
"tooltip": _("Inversely affects the icon size"),
"value": "medium", "callback": screen.restart_ks, "options": [
{"name": _("Small"), "value": "small"},
{"name": _("Medium") + " " + _("(default)"), "value": "medium"},
@@ -250,18 +302,29 @@ class KlipperScreenConfig:
{"name": _("Extra Large"), "value": "extralarge"},
{"name": _("Maximum"), "value": "max"}]}},
{"confirm_estop": {"section": "main", "name": _("Confirm Emergency Stop"), "type": "binary",
"tooltip": _("Asks for confirmation before stopping"),
"value": "False"}},
{"only_heaters": {"section": "main", "name": _("Hide sensors in Temp."), "type": "binary",
"tooltip": _("Show only devices that are able to be set"),
"value": "False", "callback": screen.reload_panels}},
{"use_dpms": {"section": "main", "name": _("Screen DPMS"), "type": "binary",
"tooltip": _("Enable screen power management") + "\n"
+ _("Not all screens support this"),
"value": "True", "callback": screen.set_dpms}},
{"print_estimate_compensation": {
"section": "main", "name": _("Slicer Time correction (%)"), "type": "scale", "value": "100",
"range": [50, 150], "step": 1}},
{"autoclose_popups": {"section": "main", "name": _("Auto-close notifications"), "type": "binary",
"tooltip": _("Close messages after a timeout"),
"value": "True"}},
{"show_heater_power": {"section": "main", "name": _("Show Heater Power"), "type": "binary",
"tooltip": _("Current percentage and graph line"),
"value": "False", "callback": screen.reload_panels}},
{"show_scroll_steppers": {"section": "main", "name": _("Show Scrollbars Buttons"), "type": "binary",
"tooltip": _("Useful for un-responsive touchscreens"),
"value": "False", "callback": screen.reload_panels}},
{"auto_open_extrude": {"section": "main", "name": _("Auto-open Extrude On Pause"), "type": "binary",
"value": "True", "callback": screen.reload_panels}},
{"show_cursor": {"section": "main", "name": _("Show cursor"), "type": "binary",
"tooltip": _("For mouse control or to verify touchscreen accuracy"),
"value": "False", "callback": screen.update_cursor}},
# {"": {"section": "main", "name": _(""), "type": ""}}
]
@@ -273,31 +336,46 @@ class KlipperScreenConfig:
{"move_speed_xy": {"section": "main", "name": _("XY Move Speed (mm/s)"), "type": None, "value": "50"}},
{"move_speed_z": {"section": "main", "name": _("Z Move Speed (mm/s)"), "type": None, "value": "10"}},
{"print_sort_dir": {"section": "main", "type": None, "value": "name_asc"}},
{"print_view": {"section": "main", "type": None, "value": "thumbs"}},
{"language": {"section": "main", "name": _("Language"), "type": None, "value": "system_lang"}},
]
self.configurable_options.extend(panel_options)
lang_opt = self.configurable_options[0]['language']['options']
for lang in self.lang_list:
lang_opt.append({"name": lang, "value": lang})
i0 = i1 = i2 = None
for i, option in enumerate(self.configurable_options):
if list(option)[0] == "theme":
i0 = i
elif list(option)[0] == "screen_blanking":
i1 = i
elif list(option)[0] == "screen_blanking_printing":
i2 = i
if i0 and i1 and i2:
break
t_path = os.path.join(klipperscreendir, 'styles')
themes = [d for d in os.listdir(t_path) if (not os.path.isfile(os.path.join(t_path, d)) and d != "z-bolt")]
themes = [
d for d in os.listdir(t_path)
if (not os.path.isfile(os.path.join(t_path, d))
and d not in ("z-bolt", "printers"))
]
themes.sort()
theme_opt = self.configurable_options[1]['theme']['options']
for theme in themes:
theme_opt.append({"name": theme, "value": theme})
self.configurable_options[i0]['theme']['options'].append({"name": theme, "value": theme})
index = self.configurable_options.index(
[i for i in self.configurable_options if list(i)[0] == "screen_blanking"][0])
for num in SCREEN_BLANKING_OPTIONS:
hour = num // 3600
minute = num // 60
if hour > 0:
name = f'{hour} ' + ngettext("hour", "hours", hour)
else:
name = f'{num / 60:.0f} ' + _("minutes")
self.configurable_options[index]['screen_blanking']['options'].append({
name = f'{minute} ' + ngettext("minute", "minutes", minute)
self.configurable_options[i1]['screen_blanking']['options'].append({
"name": name,
"value": f"{num}"
})
self.configurable_options[i2]['screen_blanking_printing']['options'].append({
"name": name,
"value": f"{num}"
})
@@ -310,48 +388,81 @@ class KlipperScreenConfig:
if name not in list(self.config[vals['section']]):
self.config.set(vals['section'], name, vals['value'])
def exclude_from_config(self, config):
exclude_list = ['preheat']
if not self.defined_config.getboolean('main', "use_default_menu", fallback=True):
logging.info("Using custom menu, removing default menu entries.")
exclude_list.extend(('menu __main', 'menu __print', 'menu __splashscreen'))
for i in exclude_list:
for j in config.sections():
if j.startswith(i):
for k in list(self.config.sections()):
if k.startswith(i):
del self.config[k]
def exclude_menu_from_config(self, config):
logging.info("Using custom menu, removing default menu entries.")
exclude_list = ('menu __main', 'menu __print', 'menu __splashscreen')
self.exclude_from_config(config, exclude_list)
def _include_config(self, directory, filepath):
full_path = filepath if filepath[0] == "/" else f"{directory}/{filepath}"
parse_files = []
def exclude_preheat_from_config(self, config):
exclude_list = ('preheat',)
self.exclude_from_config(config, exclude_list)
if "*" in full_path:
parent_dir = "/".join(full_path.split("/")[:-1])
file = full_path.split("/")[-1]
if not os.path.exists(parent_dir):
logging.info(f"Config Error: Directory {parent_dir} does not exist")
return
files = os.listdir(parent_dir)
regex = f"^{file.replace('*', '.*')}$"
parse_files.extend(os.path.join(parent_dir, file) for file in files if re.match(regex, file))
def exclude_from_config(self, config, exclude_list):
for prefix in exclude_list:
if any(sec.startswith(prefix) for sec in config.sections()):
for key in list(self.config.keys()):
if key.startswith(prefix):
del self.config[key]
def _include_config(self,
config_to_integrate: configparser.ConfigParser,
base_dir: str,
filepath: str,
log: bool = True) -> None:
# ---------- Resolve absolute path ----------
if os.path.isabs(filepath):
full_path = filepath
else:
if not os.path.exists(os.path.join(full_path)):
logging.info(f"Config Error: {full_path} does not exist")
return
parse_files.append(full_path)
full_path = os.path.join(base_dir, filepath)
logging.info(f"Parsing files: {parse_files}")
for file in parse_files:
config = configparser.ConfigParser()
config.read(file)
includes = [i[8:] for i in config.sections() if i.startswith("include ")]
for include in includes:
self._include_config("/".join(full_path.split("/")[:-1]), include)
self.exclude_from_config(config)
self.log_config(config)
self.config.read(file)
files_to_process = []
if '*' in full_path:
parent_dir = os.path.dirname(full_path)
pattern = re.escape(os.path.basename(full_path)).replace(r'\*', r'.*')
regex = re.compile(f'^{pattern}$')
try:
for fname in os.listdir(parent_dir):
if regex.match(fname):
files_to_process.append(os.path.join(parent_dir, fname))
except Exception as e:
logging.error(f"Config Error: unable to list directory {parent_dir}: {e}")
return
else:
if not os.path.isfile(full_path):
logging.error(f"Config Error: include file '{full_path}' does not exist")
return
files_to_process.append(full_path)
for fp in files_to_process:
try:
with open(fp, 'r', encoding='utf-8') as f:
cfg_text = f.read()
except Exception as e:
logging.error(f"Config Error: failed to read '{fp}': {e}")
continue
temp_cfg = configparser.ConfigParser()
try:
temp_cfg.read_string(cfg_text)
except Exception as e:
logging.error(f"Config Error: failed to parse '{fp}': {e}")
continue
# nested includes
nested_includes = [s[8:] for s in temp_cfg.sections() if s.startswith("include ")]
for inc_file in nested_includes:
self._include_config(
config_to_integrate=config_to_integrate,
base_dir=os.path.dirname(fp),
filepath=inc_file,
log=False
)
if self.validate_config(config_to_integrate, string=cfg_text):
config_to_integrate.read_string(cfg_text)
if log:
self.log_config(config_to_integrate)
def separate_saved_config(self, config_path):
user_def = []
@@ -372,35 +483,27 @@ class KlipperScreenConfig:
saved_def.append(line[(len(self.do_not_edit_prefix) + 1):])
return ["\n".join(user_def), None if saved_def is None else "\n".join(saved_def)]
@staticmethod
def check_path_exists(base_dir, filename):
for name in (filename, filename.lower()):
full_path = os.path.join(base_dir, name)
if os.path.exists(full_path):
return full_path
return None
def get_config_file_location(self, file):
# Passed config (-c) by default is ~/KlipperScreen.conf
# Passed config (-c) by default is blank
logging.info(f"Passed config (-c): {file}")
if os.path.exists(file):
if file not in (".", "..") and os.path.exists(file):
return file
file = os.path.join(klipperscreendir, self.configfile_name)
if os.path.exists(file):
return file
file = os.path.join(klipperscreendir, self.configfile_name.lower())
if os.path.exists(file):
return file
# List of directories to search for the config file
directories = [printer_data_config, xdg_config, klipperscreendir]
klipper_config = os.path.join(os.path.expanduser("~/"), "printer_data", "config")
file = os.path.join(klipper_config, self.configfile_name)
if os.path.exists(file):
return file
file = os.path.join(klipper_config, self.configfile_name.lower())
if os.path.exists(file):
return file
# OLD config folder
klipper_config = os.path.join(os.path.expanduser("~/"), "klipper_config")
file = os.path.join(klipper_config, self.configfile_name)
if os.path.exists(file):
return file
file = os.path.join(klipper_config, self.configfile_name.lower())
if os.path.exists(file):
return file
for directory in directories:
path = self.check_path_exists(directory, self.configfile_name)
if path:
return path
# fallback
return self.default_config_path
@@ -461,21 +564,22 @@ class KlipperScreenConfig:
opt = item[name]
curval = self.config[opt['section']].get(name)
if curval != opt["value"] or (
self.defined_config is not None and opt['section'] in self.defined_config.sections() and
self.defined_config[opt['section']].get(name, None) not in (None, curval)):
self.user_cfg is not None and opt['section'] in self.user_cfg.sections() and
self.user_cfg[opt['section']].get(name, None) not in (None, curval)):
if opt['section'] not in save_config.sections():
save_config.add_section(opt['section'])
save_config.set(opt['section'], name, str(curval))
extra_sections = [i for i in self.config.sections() if i.startswith("displayed_macros")]
extra_sections.extend([i for i in self.config.sections() if i.startswith("graph")])
extra_sections.extend([i for i in self.config.sections() if i.startswith("spoolman")])
for section in extra_sections:
for item in self.config.options(section):
value = self.config[section].getboolean(item, fallback=True)
if value is False or (self.defined_config is not None and
section in self.defined_config.sections() and
self.defined_config[section].getboolean(item, fallback=True) is False and
self.defined_config[section].getboolean(item, fallback=True) != value):
if value is False or (self.user_cfg is not None and
section in self.user_cfg.sections() and
self.user_cfg[section].getboolean(item, fallback=True) is False and
self.user_cfg[section].getboolean(item, fallback=True) != value):
if section not in save_config.sections():
save_config.add_section(section)
save_config.set(section, item, str(value))
@@ -499,17 +603,17 @@ class KlipperScreenConfig:
if self.config_path != self.default_config_path:
filepath = self.config_path
else:
filepath = os.path.expanduser("~/")
klipper_config = os.path.join(filepath, "printer_data", "config")
old_klipper_config = os.path.join(filepath, "klipper_config")
if os.path.exists(klipper_config):
filepath = os.path.join(klipper_config, self.configfile_name)
elif os.path.exists(old_klipper_config):
filepath = os.path.join(old_klipper_config, self.configfile_name)
if os.path.exists(printer_data_config):
filepath = os.path.join(printer_data_config, self.configfile_name)
else:
filepath = os.path.join(filepath, self.configfile_name)
try:
if not os.path.exists(xdg_config):
pathlib.Path(xdg_config).mkdir(parents=True, exist_ok=True)
filepath = os.path.join(xdg_config, self.configfile_name)
except Exception as e:
logging.error(e)
filepath = klipperscreendir
logging.info(f'Creating a new config file in {filepath}')
try:
with open(filepath, 'w') as file:
file.write(contents)
@@ -517,17 +621,19 @@ class KlipperScreenConfig:
logging.error(f"Error writing configuration file in {filepath}:\n{e}")
def set(self, section, name, value):
self.config.set(section, name, value)
self.config.set(section, name, str(value))
def log_config(self, config):
sensitive_keys = [
r'(moonraker_api_key\s*(?:=|:)\s*)\S+',
r'(lock_password\s*(?:=|:)\s*)\S+',
]
config_str = self._build_config_string(config)
for pattern in sensitive_keys:
config_str = re.sub(pattern, r'\1[redacted]', config_str)
lines = [
" "
"===== Config File =====",
re.sub(
r'(moonraker_api_key\s*=\s*\S+)',
'moonraker_api_key = [redacted]',
self._build_config_string(config)
),
config_str,
"======================="
]
logging.info("\n".join(lines))
@@ -549,13 +655,9 @@ class KlipperScreenConfig:
"panel": cfg.get("panel", None),
"method": cfg.get("method", None),
"confirm": cfg.get("confirm", None),
"enable": cfg.get("enable", "True")
"enable": cfg.get("enable", "True"),
"params": cfg.get("params", "{}"),
"style": cfg.get("style", None)
}
try:
item["params"] = json.loads(cfg.get("params", "{}"))
except Exception as e:
logging.exception(f"Unable to parse parameters for [{name}]:\n{e}")
item["params"] = {}
return {name[(len(menu) + 6):]: item}
-296
View File
@@ -1,296 +0,0 @@
[main]
[preheat PLA]
bed = 40
extruder = 195
[preheat ABS]
bed = 90
extruder = 220
[preheat PETG]
bed = 80
extruder = 240
[preheat FLEX]
bed = 0
extruder = 210
[menu __main]
name: {{ gettext('Main Menu') }}
[menu __main homing]
name: {{ gettext('Homing') }}
icon: home
[menu __main temperature]
name: {{ gettext('Temperature') }}
icon: heat-up
panel: temperature
enable: {{ (printer.temperature_devices.count > 0) or (printer.extruders.count > 0)}}
[menu __main actions]
name: {{ gettext('Actions') }}
icon: move
[menu __main config]
name: {{ gettext('Configuration') }}
icon: settings
[menu __main print]
name: {{ gettext('Print') }}
icon: print
panel: print
[menu __main homing homeall]
name: {{ gettext('Home All') }}
icon: home
method: printer.gcode.script
params: {"script":"G28"}
[menu __main homing homex]
name: {{ gettext('Home X') }}
icon: home-x
method: printer.gcode.script
params: {"script":"G28 X"}
[menu __main homing homey]
name: {{ gettext('Home Y') }}
icon: home-y
method: printer.gcode.script
params: {"script":"G28 Y"}
[menu __main homing homez]
name: {{ gettext('Home Z') }}
icon: home-z
method: printer.gcode.script
params: {"script":"G28 Z"}
[menu __main homing homexy]
name: {{ gettext('Home XY') }}
icon: home
method: printer.gcode.script
params: {"script":"G28 X Y"}
[menu __main homing quad_gantry_level]
name: {{ gettext('Quad Gantry Level') }}
icon: home-z
method: printer.gcode.script
params: {"script":"QUAD_GANTRY_LEVEL"}
enable: {{ printer.quad_gantry_level is defined }}
[menu __main homing Z-Tilt]
name: {{ gettext('Z Tilt') }}
icon: z-tilt
method: printer.gcode.script
params: {"script":"Z_TILT_ADJUST"}
enable: {{ printer.z_tilt is defined }}
[menu __main actions move]
name: {{ gettext('Move') }}
icon: move
panel: move
[menu __main actions extrude]
name: {{ gettext('Extrude') }}
icon: filament
panel: extrude
enable: {{ printer.extruders.count > 0 }}
[menu __main actions fan]
name: {{ gettext('Fan') }}
icon: fan
panel: fan
enable: {{ printer.fans.count > 0 }}
[menu __main actions macros]
name: {{ gettext('Macros') }}
icon: custom-script
panel: gcode_macros
enable: {{ printer.gcode_macros.count > 0 }}
[menu __main actions pins]
name: {{ gettext('Pins') }}
icon: fine-tune
panel: pins
enable: {{ printer.output_pins.count > 0 }}
[menu __main actions power]
name: {{ gettext('Power') }}
icon: shutdown
panel: power
enable: {{ printer.power_devices.count > 0 }}
[menu __main actions disablemotors]
name: {{ gettext('Disable Motors') }}
icon: motor-off
method: printer.gcode.script
params: {"script":"M18"}
[menu __main actions camera]
name: {{ gettext('Camera') }}
icon: camera
panel: camera
enable: {{ camera_configured }}
[menu __main actions console]
name: {{ gettext('Console') }}
icon: console
panel: console
[menu __main config bedlevel]
name: {{ gettext('Bed Level') }}
icon: bed-level
panel: bed_level
enable: {{ printer.bed_screws or printer.screws_tilt_adjust}}
[menu __main config bedmesh]
name: {{ gettext('Bed Mesh') }}
icon: bed-mesh
panel: bed_mesh
enable: {{ printer.bed_mesh is defined }}
[menu __main config zoffset]
name: {{ gettext('Z Calibrate') }}
icon: z-farther
panel: zcalibrate
[menu __main config limits]
name: {{ gettext('Limits') }}
icon: fine-tune
panel: limits
[menu __main config network]
name: {{ gettext('Network') }}
icon: network
panel: network
[menu __main config retraction]
name: {{ gettext('Retraction') }}
icon: retract
panel: retraction
enable: {{ printer.firmware_retraction }}
[menu __main config system]
name: {{ gettext('System') }}
icon: info
panel: system
[menu __main config save]
name: {{ gettext('Save Config') }}
icon: complete
method: printer.gcode.script
params: {"script":"SAVE_CONFIG"}
confirm:
{{ gettext('Save configuration?') }}
{{ gettext('Klipper will reboot') }}
[menu __main config settings]
name: {{ gettext('Settings') }}
icon: settings
panel: settings
[menu __main config input_shaper]
name: {{ gettext('Input Shaper') }}
icon: move
panel: input_shaper
enable: {{ printer.input_shaper }}
[menu __print]
name: {{ gettext('Print Control') }}
[menu __print temperature]
name: {{ gettext('Temperature') }}
icon: heat-up
panel: temperature
enable: {{ (printer.temperature_devices.count > 0) or (printer.extruders.count > 0)}}
[menu __print fan]
name: {{ gettext('Fan') }}
icon: fan
panel: fan
enable: {{ printer.fans.count > 0 }}
[menu __print move]
name: {{ gettext('Move') }}
icon: move
panel: move
enable: {{ (printer.pause_resume.is_paused == True) }}
[menu __print extrude]
name: {{ gettext('Extrude') }}
icon: filament
panel: extrude
enable: {{ (printer.pause_resume.is_paused == True) and (printer.extruders.count > 0) }}
[menu __print power]
name: {{ gettext('Power') }}
icon: shutdown
panel: power
enable: {{ printer.power_devices.count > 0 }}
[menu __print macros]
name: {{ gettext('Macros') }}
icon: custom-script
panel: gcode_macros
enable: {{ printer.gcode_macros.count > 0 }}
[menu __print camera]
name: {{ gettext('Camera') }}
icon: camera
panel: camera
enable: {{ camera_configured }}
[menu __print console]
name: {{ gettext('Console') }}
icon: console
panel: console
[menu __print limits]
name: {{ gettext('Limits') }}
icon: fine-tune
panel: limits
[menu __print network]
name: {{ gettext('Network') }}
icon: network
panel: network
[menu __print retraction]
name: {{ gettext('Retraction') }}
icon: retract
panel: retraction
enable: {{ printer.firmware_retraction }}
[menu __print settings]
name: {{ gettext('Settings') }}
icon: settings
panel: settings
[menu __splashscreen]
name: {{ gettext('Menu') }}
[menu __splashscreen power]
name: {{ gettext('Power') }}
icon: shutdown
panel: power
enable: {{ printer.power_devices.count > 0 }}
[menu __splashscreen network]
name: {{ gettext('Network') }}
icon: network
panel: network
[menu __splashscreen system]
name: {{ gettext('System') }}
icon: info
panel: system
enable: {{ moonraker_connected }}
[menu __splashscreen settings]
name: {{ gettext('Settings') }}
icon: settings
panel: settings
+81 -136
View File
@@ -4,7 +4,6 @@ import os
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import GLib
class KlippyFiles:
@@ -12,188 +11,134 @@ class KlippyFiles:
self._screen = screen
self.callbacks = []
self.files = {}
self.filelist = []
self.directories = []
self.gcodes_path = None
def initialize(self):
if "virtual_sdcard" in self._screen.printer.get_config_section_list():
vsd = self._screen.printer.get_config_section("virtual_sdcard")
if "path" in vsd:
self.gcodes_path = os.path.expanduser(vsd['path'])
def reinit(self):
self.callbacks.clear()
self.files.clear()
self.directories.clear()
self.gcodes_path = None
def set_gcodes_path(self):
virtual_sdcard = self._screen.printer.get_config_section("virtual_sdcard")
if virtual_sdcard and "path" in virtual_sdcard:
self.gcodes_path = os.path.expanduser(virtual_sdcard['path'])
logging.info(f"Gcodes path: {self.gcodes_path}")
def reset(self):
self._screen = None
self.callbacks = None
self.files = None
self.filelist = None
self.gcodes_path = None
def _callback(self, result, method, params):
if "error" in result:
logging.debug(result["error"])
return
if method == "server.files.list":
if "result" in result and isinstance(result['result'], list):
newfiles = []
deletedfiles = self.filelist.copy()
for item in result['result']:
file = item['filename'] if "filename" in item else item['path']
if file in self.files:
deletedfiles.remove(file)
else:
newfiles.append(file)
self.add_file(item, False)
if newfiles or len(deletedfiles) > 0:
self.run_callbacks(newfiles, deletedfiles)
if len(deletedfiles) > 0:
for file in deletedfiles:
self.remove_file(file)
elif method == "server.files.directory":
if "result" in result:
directory = params['path'][7:] if params['path'].startswith('gcodes/') else params['path']
if directory[-1] == '/':
directory = directory[:-1]
newfiles = []
for file in result['result']['files']:
fullpath = f"{directory}/{file['filename']}"
if fullpath not in self.filelist:
newfiles.append(fullpath)
if newfiles:
self.run_callbacks(newfiles)
for item in result["result"]:
self.files[item["path"]] = item
self.request_metadata(item["path"])
elif method == "server.files.metadata":
if "error" in result.keys():
logging.debug(f"Error in getting metadata for {params['filename']}. Retrying in 6 seconds")
return
for x in result['result']:
if params['filename'] not in self.files:
self.files[params['filename']] = {}
self.files[params['filename']][x] = result['result'][x]
if 'path' not in self.files[params['filename']]:
self.files[params['filename']]['path'] = params['filename']
if "thumbnails" in self.files[params['filename']]:
self.files[params['filename']]['thumbnails'].sort(key=lambda y: y['size'], reverse=True)
for thumbnail in self.files[params['filename']]['thumbnails']:
thumbnail['local'] = False
if self.gcodes_path is not None:
fpath = os.path.join(self.gcodes_path, params['filename'])
fdir = os.path.dirname(fpath)
path = os.path.join(fdir, thumbnail['relative_path'])
path = os.path.join(
os.path.dirname(os.path.join(self.gcodes_path, params['filename'])),
thumbnail['relative_path']
)
if os.access(path, os.R_OK):
thumbnail['local'] = True
thumbnail['path'] = path
if thumbnail['local'] is False:
fdir = os.path.dirname(params['filename'])
thumbnail['path'] = os.path.join(fdir, thumbnail['relative_path'])
self.run_callbacks(mods=[params['filename']])
thumbnail['path'] = os.path.join(
os.path.dirname(params['filename']),
thumbnail['relative_path']
)
self._screen.process_update("notify_metadata_update", params)
self.run_callbacks(
"modify_file", {'action': "modify_file", 'item': self.files[params['filename']]}
)
def add_file(self, item, notify=True):
if 'filename' not in item and 'path' not in item:
logging.info(f"Error adding item, unknown filename or path: {item}")
def add_file(self, item):
if 'path' not in item:
logging.info(f"Error adding item, unknown path: {item}")
return
self.files[item['path']] = item
self.request_metadata(item['path'])
filename = item['path'] if "path" in item else item['filename']
if filename in self.filelist:
logging.info(f"File already exists: {filename}")
self.request_metadata(filename)
args = None, None, [filename]
GLib.idle_add(self.run_callbacks, *args)
def remove_file(self, filename):
if filename in self.files:
self.files.pop(filename)
def add_callback(self, callback):
self.callbacks.append(callback)
def remove_callback(self, callback):
if callback in self.callbacks:
self.callbacks.remove(callback)
return
self.filelist.append(filename)
self.files[filename] = {
"size": item['size'],
"modified": item['modified']
}
self.request_metadata(filename)
if notify is True:
self.run_callbacks(newfiles=[filename])
def add_file_callback(self, callback):
try:
self.callbacks.append(callback)
except Exception as e:
logging.debug(f"Callback not found: {callback}:\n{e}")
logging.info(f"callback not found {callback}")
def process_update(self, data):
if 'item' in data and data['item']['root'] != 'gcodes':
if (
'item' in data and data['item']['root'] != 'gcodes'
or data['action'].endswith("file") and not self.is_gcode(data['item']['path'])
):
return
if data['action'] == "create_dir":
self._screen._ws.klippy.get_file_dir(f"gcodes/{data['item']['path']}", self._callback)
elif data['action'] == "create_file":
if data['action'] == "create_file":
self.add_file(data['item'])
elif data['action'] == "delete_file":
self.remove_file(data['item']['path'])
elif data['action'] == "modify_file":
self.request_metadata(data['item']['path'])
elif data['action'] == "move_file":
self.add_file(data['item'], False)
self.remove_file(data['source_item']['path'], False)
self.run_callbacks(newfiles=[data['item']['path']], deletedfiles=[data['source_item']['path']])
self.files[data['item']['path']] = self.files.pop(data['source_item']['path'])
self.files[data['item']['path']].update(data['item'])
self.run_callbacks(data['action'], data)
def remove_file_callback(self, callback):
if callback in self.callbacks:
self.callbacks.pop(self.callbacks.index(callback))
def file_exists(self, filename):
return filename in self.filelist
@staticmethod
def is_gcode(path):
return os.path.splitext(path)[1] in {'.gcode', '.gco', '.g'}
def file_metadata_exists(self, filename):
if self.file_exists(filename):
return "slicer" in self.files[filename]
return False
return filename in self.files and "slicer" in self.files[filename]
def get_thumbnail_location(self, filename, small=False):
if small and len(self.files[filename]['thumbnails']) > 1 \
and self.files[filename]['thumbnails'][0]['width'] > self.files[filename]['thumbnails'][1]['width']:
if all((
small,
len(self.files[filename]['thumbnails']) > 1
)):
thumb = self.files[filename]['thumbnails'][1]
else:
thumb = self.files[filename]['thumbnails'][0]
if thumb['local'] is False:
return ['http', thumb['path']]
return ['file', thumb['path']]
return ['file', thumb['path']] if thumb['local'] else ['http', thumb['path']]
def has_thumbnail(self, filename):
if filename not in self.files:
return False
return "thumbnails" in self.files[filename] and len(self.files[filename]) > 0
return filename in self.files and "thumbnails" in self.files[filename]
def request_metadata(self, filename):
if filename not in self.filelist:
return False
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
if self.is_gcode(filename):
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
else:
logging.info("Not a gcode")
def refresh_files(self):
self._screen._ws.klippy.get_file_list(self._callback)
def remove_file(self, filename, notify=True):
if filename not in self.filelist:
return
self.filelist.remove(filename)
self.files.pop(filename, None)
if notify is True:
self.run_callbacks(deletedfiles=[filename])
def run_callbacks(self, newfiles=None, deletedfiles=None, mods=None):
if mods is None:
mods = []
if deletedfiles is None:
deletedfiles = []
if newfiles is None:
newfiles = []
if len(self.callbacks) <= 0:
return False
def run_callbacks(self, action, item):
for cb in self.callbacks:
args = newfiles, deletedfiles, mods
GLib.idle_add(cb, *args)
return False
cb(action, item)
def get_file_list(self):
return self.filelist
def get_file_info(self, path):
if path not in self.files:
logging.info(f"Metadata not found {path}")
self.request_metadata(path)
return {}
return self.files[path]
def get_file_info(self, filename):
if filename not in self.files:
return {"path": None, "modified": 0, "size": 0}
return self.files[filename]
def get_dir_info(self, directory):
self._screen._ws.klippy.get_dir_info(self._callback, directory=directory)
+49 -66
View File
@@ -1,17 +1,14 @@
import ctypes
import logging
import logging.handlers
import os
import re
import struct
import subprocess
import sys
import threading
import time
import traceback
from queue import SimpleQueue as Queue
import ctypes
import struct
dpms_loaded = False
try:
ctypes.cdll.LoadLibrary('libXext.so.6')
@@ -27,79 +24,63 @@ try:
def get_DPMS_state(display_name_in_byte_string=b':0'):
state = DPMS_State.Fail
if not isinstance(display_name_in_byte_string, bytes):
raise TypeError
display_name = ctypes.c_char_p()
display_name.value = display_name_in_byte_string
raise TypeError("display_name_in_byte_string must be of type bytes")
display_name = ctypes.c_char_p(display_name_in_byte_string)
libXext.XOpenDisplay.restype = ctypes.c_void_p
display = ctypes.c_void_p(libXext.XOpenDisplay(display_name))
dummy1_i_p = ctypes.create_string_buffer(8)
dummy2_i_p = ctypes.create_string_buffer(8)
major_opcode_p = ctypes.create_string_buffer(8)
first_event_p = ctypes.create_string_buffer(8)
if display.value:
if libXext.DPMSQueryExtension(display, dummy1_i_p, dummy2_i_p) \
and libXext.DPMSCapable(display):
onoff_p = ctypes.create_string_buffer(1)
state_p = ctypes.create_string_buffer(2)
if libXext.DPMSInfo(display, state_p, onoff_p):
onoff = struct.unpack('B', onoff_p.raw)[0]
if onoff:
state = struct.unpack('H', state_p.raw)[0]
libXext.XCloseDisplay(display)
try:
if libXext.DPMSQueryExtension(display, major_opcode_p, first_event_p) \
and libXext.DPMSCapable(display):
onoff_p = ctypes.create_string_buffer(1)
state_p = ctypes.create_string_buffer(2)
if libXext.DPMSInfo(display, state_p, onoff_p):
onoff = struct.unpack('B', onoff_p.raw)[0]
if onoff:
state = struct.unpack('H', state_p.raw)[0]
finally:
libXext.XCloseDisplay(display)
return state
dpms_loaded = True
except Exception as msg:
logging.error(f"Couldn't load DPMS: {msg}")
def get_network_interfaces():
stream = os.popen("ip addr | grep ^'[0-9]' | cut -d ' ' -f 2 | grep -o '[a-zA-Z0-9\\.]*'")
return [i for i in stream.read().strip().split('\n') if not i.startswith('lo')]
def get_wireless_interfaces():
p = subprocess.Popen(["which", "iwconfig"], stdout=subprocess.PIPE)
while p.poll() is None:
time.sleep(.1)
if p.poll() != 0:
return None
try:
p = subprocess.Popen(["iwconfig"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
result = p.stdout.read().decode('ascii').split('\n')
except Exception as e:
logging.critical(e, exc_info=True)
logging.info("Error with running iwconfig command")
return None
interfaces = []
for line in result:
match = re.search('^(\\S+)\\s+.*$', line)
if match:
interfaces.append(match[1])
return interfaces
except OSError as e:
logging.error(f"Couldn't load DPMS library: {e}")
except Exception as e:
logging.error(f"An unexpected error occurred: {e}")
def get_software_version():
prog = ('git', '-C', os.path.dirname(__file__), 'describe', '--always',
'--tags', '--long', '--dirty')
prog = ('git', '-C', os.path.dirname(__file__), 'describe', '--always', '--tags', '--long', '--dirty')
try:
process = subprocess.Popen(prog, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
process = subprocess.Popen(prog, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
ver, err = process.communicate()
retcode = process.wait()
if retcode == 0:
version = ver.strip()
if isinstance(version, bytes):
version = version.decode()
# Remove the 'g' at the start of the hash
parts = version.split('-')
if len(parts) > 2 and parts[-2].startswith('g'):
parts[-2] = parts[-2][1:] # Remove the 'g'
version = '-'.join(parts)
return version
else:
logging.debug(f"Error getting git version: {err}")
except OSError:
logging.exception("Error runing git describe")
logging.exception("Error running git describe")
return "?"
def parse_bool(value):
return value.lower() == "true"
def patch_threading_excepthook():
"""Installs our exception handler into the threading modules Thread object
Inspired by https://bugs.python.org/issue1230540
@@ -125,28 +106,29 @@ def patch_threading_excepthook():
# Rotating file handler based on Klipper and Moonraker's implementation
class KlipperScreenLoggingHandler(logging.handlers.RotatingFileHandler):
def __init__(self, software_version, filename, **kwargs):
def __init__(self, filename, **kwargs):
super(KlipperScreenLoggingHandler, self).__init__(filename, **kwargs)
self.rollover_info = {
'header': f"{'-' * 20}KlipperScreen Log Start{'-' * 20}",
'version': f"Git Version: {software_version}",
'version': f"KlipperScreen Version: {get_software_version()}",
'py_ver': f"Python version: {sys.version_info.major}.{sys.version_info.minor}",
}
lines = [line for line in self.rollover_info.values() if line]
if self.stream is not None:
self.stream.write("\n".join(lines) + "\n")
self.log_start()
def set_rollover_info(self, name, item):
self.rollover_info[name] = item
def doRollover(self):
super(KlipperScreenLoggingHandler, self).doRollover()
lines = [line for line in self.rollover_info.values() if line]
if self.stream is not None:
self.stream.write("\n".join(lines) + "\n")
self.log_start()
def log_start(self):
for line in self.rollover_info.values():
logging.info(line)
# Logging based on Arksine's logging setup
def setup_logging(log_file, software_version):
def setup_logging(log_file):
root_logger = logging.getLogger()
queue = Queue()
queue_handler = logging.handlers.QueueHandler(queue)
@@ -155,11 +137,12 @@ def setup_logging(log_file, software_version):
stdout_hdlr = logging.StreamHandler(sys.stdout)
stdout_fmt = logging.Formatter(
'%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
'%(asctime)s,%(msecs)03d [%(filename)s:%(funcName)s] - %(message)s',
'%Y%m%d %H:%M:%S')
stdout_hdlr.setFormatter(stdout_fmt)
fh = listener = None
try:
fh = KlipperScreenLoggingHandler(software_version, log_file, maxBytes=4194304, backupCount=1)
fh = KlipperScreenLoggingHandler(log_file, maxBytes=4194304, backupCount=1)
formatter = logging.Formatter('%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
fh.setFormatter(formatter)
listener = logging.handlers.QueueListener(queue, fh, stdout_hdlr)
+307 -53
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-30 18:17-0300\n"
"POT-Creation-Date: 2024-11-26 12:31-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -43,21 +43,24 @@ msgstr ""
msgid "Accept"
msgstr ""
msgid "Actions"
msgid "Add profile"
msgstr ""
msgid "Add profile"
msgid "All"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgid "Apply %s%.3f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
@@ -78,6 +81,9 @@ msgstr ""
msgid "Are you sure you wish to shutdown the system?"
msgstr ""
msgid "Asks for confirmation before stopping"
msgstr ""
msgid "Auto"
msgstr ""
@@ -87,6 +93,9 @@ msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr ""
@@ -96,7 +105,7 @@ msgstr ""
msgid "Bed Mesh"
msgstr ""
msgid "Bed screw configuration:"
msgid "Both"
msgstr ""
msgid "Calibrate"
@@ -105,10 +114,10 @@ msgstr ""
msgid "Calibrated"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgid "Calibrating"
msgstr ""
msgid "Calibrating"
msgid "Camera"
msgstr ""
msgid "Can't set above the maximum:"
@@ -129,6 +138,12 @@ msgstr ""
msgid "Cannot connect to Moonraker"
msgstr ""
msgid "Changes how the interface looks"
msgstr ""
msgid "Changes how the time remaining is calculated"
msgstr ""
msgid "Channel"
msgstr ""
@@ -144,10 +159,10 @@ msgstr ""
msgid "Close"
msgstr ""
msgid "Complete"
msgid "Close messages after a timeout"
msgstr ""
msgid "Configuration"
msgid "Complete"
msgstr ""
msgid "Confirm Emergency Stop"
@@ -156,40 +171,62 @@ msgstr ""
msgid "Connected"
msgstr ""
msgid "Connecting"
msgstr ""
#, python-format
msgid "Connecting to %s"
msgstr ""
msgid "Connection failed"
msgstr ""
msgid "Console"
msgstr ""
msgid "Continue"
msgid "Cooldown"
msgstr ""
msgid "Cooldown"
msgid "Couldn't add network"
msgstr ""
msgid "Current"
msgstr ""
msgid "Current percentage and graph line"
msgstr ""
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date"
msgstr ""
msgid "Decrease"
msgid "Delete"
msgstr ""
msgid "Delete Directory?"
msgstr ""
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr ""
msgid "Disable Motors"
msgstr ""
msgid "Disable XY"
msgid "Disable for 12hs with am / pm"
msgstr ""
msgid "Disconnect"
msgstr ""
msgid "Distance (mm)"
msgstr ""
#, python-format
msgid "Do you want to forget or disconnect %s?"
msgstr ""
#, python-format
msgid "Do you want to recover %s?"
msgstr ""
@@ -197,12 +234,39 @@ msgstr ""
msgid "Elapsed:"
msgstr ""
msgid "Emergency Stop"
msgstr ""
msgid "Enable screen power management"
msgstr ""
msgid "Error"
msgstr ""
msgid "Error clearing active spool"
msgstr ""
msgid "Error getting active spool"
msgstr ""
msgid "Error setting active spool"
msgstr ""
msgid "Error trying to fetch spools"
msgstr ""
msgid "Error: Couldn't get a position to probe"
msgstr ""
msgid "Estimated Time"
msgstr ""
msgid "Estimated Time Method"
msgstr ""
msgid "Example"
msgstr ""
msgid "Exclude Object"
msgstr ""
@@ -212,18 +276,30 @@ msgstr ""
msgid "Extrude"
msgstr ""
msgid "Extruders"
msgstr ""
msgid "Extrusion +"
msgstr ""
msgid "Extrusion -"
msgstr ""
msgid "Failed to delete connection"
msgstr ""
msgid "Failed to initialize"
msgstr ""
msgid "Failed, adjust position first"
msgstr ""
msgid "Fan"
msgstr ""
msgid "Filament"
msgstr ""
msgid "Filament Used"
msgstr ""
@@ -242,6 +318,9 @@ msgstr ""
msgid "File:"
msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr ""
@@ -263,25 +342,34 @@ msgstr ""
msgid "Font Size"
msgstr ""
msgid "For mouse control or to verify touchscreen accuracy"
msgstr ""
msgid "Forget"
msgstr ""
msgid "Full Update"
msgstr ""
msgid "Gcodes"
msgstr ""
msgid "Getting IP address"
msgstr ""
msgid "Go Back"
msgstr ""
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr ""
msgid "Hide"
msgstr ""
msgid "Hide sensors in Temp."
msgstr ""
msgid "Hide temp."
msgid "Home"
msgstr ""
msgid "Home All"
@@ -299,27 +387,30 @@ msgstr ""
msgid "Home Z"
msgstr ""
msgid "Homing"
msgstr ""
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr ""
msgid "Icon Theme"
msgid "ID"
msgstr ""
msgid "Increase"
msgid "Icon Theme"
msgstr ""
msgid "Initializing printer..."
msgstr ""
msgid "Initiate a PID calibration for:"
msgstr ""
msgid "Input Shaper"
msgstr ""
msgid "Insufficient privileges"
msgstr ""
msgid "Interface"
msgstr ""
@@ -329,6 +420,12 @@ msgstr ""
msgid "Invalid password"
msgstr ""
msgid "Invalid temperature"
msgstr ""
msgid "Inversely affects the icon size"
msgstr ""
msgid "Invert X"
msgstr ""
@@ -338,6 +435,15 @@ msgstr ""
msgid "Invert Z"
msgstr ""
msgid "It may take more than 5 minutes depending on the heater power."
msgstr ""
msgid "It's possible that the configuration is not correct"
msgstr ""
msgid "Job Status"
msgstr ""
msgid "Klipper Restart"
msgstr ""
@@ -356,7 +462,8 @@ msgstr ""
msgid "Klipper will reboot"
msgstr ""
msgid "KlipperScreen will reboot"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
@@ -365,9 +472,21 @@ msgstr ""
msgid "Large"
msgstr ""
msgid "Last Duration"
msgstr ""
msgid "Last Used"
msgstr ""
msgid "Layer Height"
msgstr ""
msgid "Layer:"
msgstr ""
msgid "Leds"
msgstr ""
msgid "Left:"
msgstr ""
@@ -377,6 +496,15 @@ msgstr ""
msgid "Load"
msgstr ""
msgid "Loading..."
msgstr ""
msgid "Lock"
msgstr ""
msgid "Lost Connection to Moonraker"
msgstr ""
msgid "Lower Nozzle"
msgstr ""
@@ -389,16 +517,19 @@ msgstr ""
msgid "Main Menu"
msgstr ""
msgid "Material"
msgstr ""
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr ""
msgid "Max Acceleration to Deceleration"
msgid "Max Velocity"
msgstr ""
msgid "Max Velocity"
msgid "Max:"
msgstr ""
msgid "Maximum"
@@ -416,10 +547,16 @@ msgstr ""
msgid "Medium"
msgstr ""
msgid "Memory"
msgstr ""
msgid "Menu"
msgstr ""
msgid "Mesh calibrate"
msgid "Minimum Cruise Ratio"
msgstr ""
msgid "Minimum:"
msgstr ""
msgid "Modified"
@@ -428,6 +565,9 @@ msgstr ""
msgid "Moonraker: connected"
msgstr ""
msgid "More"
msgstr ""
msgid "Move"
msgstr ""
@@ -440,25 +580,56 @@ msgstr ""
msgid "Network"
msgstr ""
msgid "Network connected"
msgstr ""
msgid "Network disconnected"
msgstr ""
msgid "Network not found"
msgstr ""
msgid "Never"
msgstr ""
msgid "New"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgid "No elegible macros:"
msgstr ""
msgid "No info available"
msgstr ""
msgid "No mesh has been loaded"
msgstr ""
msgid "No wireless interface has been found"
msgstr ""
msgid "Not all screens support this"
msgstr ""
msgid "Not working or not configured"
msgstr ""
msgid "Nothing selected"
msgstr ""
#, python-format
msgid "Outdated by %d"
msgid "Notification log empty"
msgstr ""
msgid "PSK for"
msgid "Notifications"
msgstr ""
msgid "Nozzle diameter"
msgstr ""
msgid "Only for the move panel"
msgstr ""
#, python-format
msgid "Outdated by %d"
msgstr ""
msgid "Package will be updated"
@@ -469,6 +640,9 @@ msgstr[1] ""
msgid "Part Fan"
msgstr ""
msgid "Password"
msgstr ""
msgid "Password saved"
msgstr ""
@@ -487,24 +661,30 @@ msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr ""
msgid "Please wait"
msgstr ""
msgid "Power"
msgstr ""
msgid "Power On Printer"
msgstr ""
msgid "Pressure Advance"
msgstr ""
msgid "Pressure Advance:"
msgstr ""
msgid "Pressure advance"
msgstr ""
msgid "Print"
msgstr ""
msgid "Print Control"
msgstr ""
msgid "Print Time"
msgstr ""
msgid "Printer"
msgstr ""
@@ -547,6 +727,12 @@ msgstr ""
msgid "Refresh"
msgstr ""
msgid "Remove network"
msgstr ""
msgid "Rename/Move:"
msgstr ""
msgid "Restart"
msgstr ""
@@ -571,6 +757,9 @@ msgstr ""
msgid "Retrying"
msgstr ""
msgid "Rotation invalid"
msgstr ""
msgid "Save"
msgstr ""
@@ -599,16 +788,12 @@ msgstr ""
msgid "Screws Adjust"
msgstr ""
msgid "Select"
msgid "Screws not used:"
msgstr ""
msgid "Send"
msgstr ""
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr ""
msgid "Set Temp"
msgstr ""
@@ -621,6 +806,15 @@ msgstr ""
msgid "Show Heater Power"
msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Show cursor"
msgstr ""
msgid "Show only devices that are able to be set"
msgstr ""
msgid "Shutdown"
msgstr ""
@@ -630,15 +824,15 @@ msgstr ""
msgid "Slicer"
msgstr ""
msgid "Slicer Time correction (%)"
msgstr ""
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr ""
msgid "Smooth time"
msgstr ""
msgid "Speed (mm/s)"
msgstr ""
@@ -654,10 +848,10 @@ msgstr ""
msgid "Square Corner Velocity"
msgstr ""
msgid "Start"
msgid "Standby"
msgstr ""
msgid "Starting WiFi Association"
msgid "Start"
msgstr ""
msgid "Starting recovery for"
@@ -666,6 +860,9 @@ msgstr ""
msgid "Starting update for"
msgstr ""
msgid "Swaps buttons if they are on top of each other, affects other panels"
msgstr ""
msgid "System"
msgstr ""
@@ -675,24 +872,51 @@ msgstr ""
msgid "System Shutdown"
msgstr ""
msgid "System:"
msgstr ""
msgid "Temp (°C)"
msgstr ""
msgid "Temperature"
msgstr ""
msgid "Temperature too low to extrude"
msgstr ""
msgid "The system doesn't meet the minimum requirement"
msgstr ""
msgid "This panel supports up-to 9 screws in a 3x3 Grid"
msgstr ""
msgid "This will affect screw positions and mesh graph"
msgstr ""
msgid "Timeout for screen black-out or power-off"
msgstr ""
msgid "Timeout for screen black-out or power-off during printing"
msgstr ""
msgid "Total:"
msgstr ""
msgid "Unknown Heater"
msgstr ""
msgid "Unknown screw position"
msgid "Unknown security type"
msgstr ""
msgid "Unload"
msgstr ""
msgid "Unlock"
msgstr ""
msgid "Unlock failed"
msgstr ""
msgid "Unretract Extra Length"
msgstr ""
@@ -708,7 +932,16 @@ msgstr ""
msgid "Updating"
msgstr ""
msgid "Uploaded"
msgid "Useful for un-responsive touchscreens"
msgstr ""
msgid "User"
msgstr ""
msgid "WebRTC is not supported by the backend trying Stream"
msgstr ""
msgid "Working"
msgstr ""
msgid "XY Move Speed (mm/s)"
@@ -737,7 +970,12 @@ msgid_plural "commits"
msgstr[0] ""
msgstr[1] ""
msgid "dBm"
msgid "day"
msgid_plural "days"
msgstr[0] ""
msgstr[1] ""
msgid "g"
msgstr ""
msgid "hour"
@@ -745,9 +983,17 @@ msgid_plural "hours"
msgstr[0] ""
msgstr[1] ""
msgid "minutes"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
msgstr[1] ""
msgid "mm"
msgstr ""
@@ -759,3 +1005,11 @@ msgstr ""
msgid "mm³/s"
msgstr ""
msgid "s"
msgstr ""
msgid "second"
msgid_plural "seconds"
msgstr[0] ""
msgstr[1] ""
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
Loaded 100 of 447 files, more files were not shown because too many files have changed in this diff. Show more