Compare commits

...
1443 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
alfrix d2d2c82041 feat: camera support, using mpv as backend
it should be able to play any video or stream that mpv itself can handle

close #67 close #129
2022-12-11 09:20:06 -03:00
alfrix 1375c823c9 job_status: clear_file after error 2022-12-11 09:20:06 -03:00
alfrix 74338a7f3e splash: fix power_device appearing if configured in ks.conf but not available in the server 2022-12-11 09:20:06 -03:00
alfrix 778cd84ba8 panels do not call screen.show_all 2022-12-11 09:17:18 -03:00
alfrix a83f499c0c rename graph to heatergraph 2022-12-11 09:17:18 -03:00
alfrix 70d7564a78 shorten _screen.printer to _printer 2022-12-11 09:17:18 -03:00
alfrix f31ae7a829 hide popups from panel initialization
ideally the initialization should not contain this commands but at the moment klipper nor moonraker provide a way to identify the required status
2022-12-11 09:17:18 -03:00
alfrix 701ff35652 installer: if pip fails upgrade and retry once 2022-12-11 09:17:18 -03:00
alfrix 7120c424d4 gtk: resizability
doesn't rescale the fonts or images
2022-12-11 09:17:18 -03:00
alfrix 413e822fa5 screen: separate matchbox-keyboard 2022-12-11 09:17:18 -03:00
alfrix 75c716f9a1 screen: convert state execute into a function since it doesn't depend on self 2022-12-11 09:17:18 -03:00
alfrix 41a8ebf084 print: add move/rename, make delete a visible button close #636 2022-12-11 09:17:18 -03:00
Selim 57ce346d69 Turkish language update (#836) 2022-12-11 08:35:58 -03:00
alfrix 753be13a0c exclude: fix list not showing 2022-12-05 14:29:58 -03:00
alfrix 06bf269862 feat: turn on_off power devices with the screensaver close #518 2022-12-05 12:31:44 -03:00
alfrix 45e1f652db theme override style of disabled_un-sensitive buttons 2022-12-05 12:31:44 -03:00
alfrix 6a95e46a18 websocket increase reconnect time
moonraker takes around 5 seconds to restart on a pi3 so 6 seconds tends to be too close

moonraker takes at least this amount to restart on a pi3
2022-12-05 12:09:58 -03:00
alfrix 250574bc41 bedmap: limit probed position display to 16x8 2022-12-05 09:07:28 -03:00
alfrix f49e1ef6c4 main and temp simplify get temps 2022-12-04 22:33:43 -03:00
alfrix 904dd24c10 tempstore get the max length configured in moonraker 2022-12-04 13:56:33 -03:00
alfrix f52b52f76a main and temp: less tempstore dependency 2022-12-04 12:59:59 -03:00
alfrix dc5741d605 graph: autoscale time 2022-12-04 12:02:34 -03:00
alfrix 02b69d0d39 theme fix ks using dark theme on desktop 2022-12-04 11:27:12 -03:00
alfrix de252643c1 do not change the state directly from the callback because it causes double initialization issues 2022-12-04 01:08:58 -03:00
alfrix 548fc4de69 do more cleanups while changing printers 2022-12-04 01:08:58 -03:00
alfrix 72599b5ba7 moonraker tempstore takes a while to register device changes, call it again after a few seconds
with this change there should be no need to reinit on every state change, this was the cause of missing devices after init
2022-12-04 01:07:58 -03:00
alfrix c714553da1 system: log if the repo is invalid 2022-12-03 20:43:25 -03:00
alfrix 36faaa153a fix pause panel appearing after issuing a pauese while not printing fixes #832 2022-12-03 20:33:38 -03:00
alfrix 629451051d fix update dialog sometimes not appearing fixes #831 2022-12-03 20:32:14 -03:00
northcoastam fcb6861119 Fix not starting on Wayland
fix #829
2022-12-03 15:51:02 -03:00
alfrix 34a9151910 warn about dpms failures 2022-12-03 15:46:26 -03:00
alfrix 683b72ab20 simplify keyboard calls 2022-12-03 15:46:26 -03:00
alfrix e658f562be macros add parameters 2022-12-03 15:46:26 -03:00
alfrix ab4d4af7f8 tweak image size of buttons with side labes or no label 2022-12-02 20:59:01 -03:00
alfrix 4804f5a5e0 print: use am-pm if not 24h 2022-12-01 14:20:49 -03:00
alfrix 7651b892b8 print: allow directory deletion 2022-12-01 13:27:31 -03:00
alfrix 91b505bfef print: less os dependent path handling 2022-12-01 13:27:31 -03:00
alfrix 415535eeb8 tweak sizes #828 2022-11-30 23:57:34 -03:00
alfrix 8ebc855ddd improve the speed of the updates, also affects showing panels 2022-11-30 19:45:49 -03:00
alfrix efebea2c36 Update German thanks to livinhack close #826 2022-11-30 19:45:49 -03:00
alfrix 75c8681781 fix switch sizes after frames removal 2022-11-30 19:45:49 -03:00
alfrix ea4efa1f61 move improve vertical look 2022-11-30 19:30:09 -03:00
alfrix 9de058b0d7 dialogs: set title 2022-11-30 11:51:24 -03:00
alfrix 3a764be93f ws remove unused method 2022-11-30 11:00:10 -03:00
alfrix 4dceeb77b6 extrude: fix filament sensor showing status when disabled
alongside the initialization fixes this should be enough to close #825
2022-11-30 11:00:10 -03:00
alfrix 2bacac7efb job_status: info refactor
switching info is much faster, buttons keep their label
2022-11-30 11:00:10 -03:00
alfrix 79afa3620a fix error modal for job_status 2022-11-30 11:00:10 -03:00
alfrix d161c3f1e4 splash_screen: use initialized for klipper restart buttons 2022-11-30 11:00:10 -03:00
alfrix ec86403056 create attach panel 2022-11-30 11:00:10 -03:00
alfrix b1a6d5c182 improve panel initialization
just make a notify_status_update from printer data, it's much simpler
2022-11-30 11:00:10 -03:00
alfrix 61cf5828e2 console: fix sizes 2022-11-30 11:00:10 -03:00
alfrix 69a7d3defb installer: remove fbturbo always use fbdev most platforms today have issues with fbturbo 2022-11-30 11:00:10 -03:00
alfrix 3047fde812 cleanup quotes in connection status messages 2022-11-30 11:00:10 -03:00
alfrix 49c2e4f1d7 improve updater dialog behaviour 2022-11-29 01:52:47 -03:00
alfrix 68ccf5e803 job_status: hide speed unit on 480x320 2022-11-29 00:24:20 -03:00
alfrix 62ef4f1844 job_status: stabilize the grid, add object height to main, translate units 2022-11-29 00:04:05 -03:00
alfrix 3c8886ab36 Documentation updates close #821 2022-11-28 22:35:13 -03:00
alfrix d6161539a6 Update translation add japanese thanks to yhira1023 2022-11-28 11:57:12 -03:00
alfrix 25797b5ed3 remove frames from lists 2022-11-28 00:15:28 -03:00
alfrix 56149e4148 print_list: refactor 2022-11-27 23:44:25 -03:00
alfrix d0fc1e197d gtk: create a format_label function 2022-11-27 19:38:03 -03:00
alfrix 1df2d0e8f0 fix full update not opening 2022-11-27 19:38:03 -03:00
alfrix 217b185730 try to restart ks if an update fails to restart it 2022-11-27 19:38:03 -03:00
Selim db4e5d4e08 Turkish_update (#819) 2022-11-27 14:31:37 -03:00
dependabot[bot] 7a8fe9f6ac build(deps): bump pycairo from 1.21.0 to 1.22.0 (#799)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.21.0 to 1.22.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.21.0...v1.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-27 14:31:00 -03:00
alfrix 741d9b654d restart ks on error, do not warn on ks restart when changing options
i don't see it necessary ks can be restarted while printing it will generate a bit of load but shouldn't be a problem, i've done it too many times at this point
2022-11-27 14:30:28 -03:00
alfrix fe06b38128 installer: add the new packages needed to build python-networkmanager to moonraker
not every platform has prebuilt bins, so it's necessary for those platforms to have this packages
2022-11-27 14:30:00 -03:00
alfrix da164b495e job_status: change slicer-filament-file times to totals 2022-11-26 23:21:07 -03:00
alfrix 26030526a9 fix move panel not opening after a61a74d7bf fixes #818 2022-11-26 23:14:31 -03:00
alfrix 17cae91708 fix bootloop with python 3.7 fixes #817 2022-11-26 19:01:12 -03:00
alfrix a61a74d7bf initialize with values some panels 2022-11-26 16:46:33 -03:00
alfrix e9df355b3b job_status: initialize some labels and use live position close #809 2022-11-26 15:57:50 -03:00
alfrix 6ae6937c49 format the connection error 2022-11-26 15:57:50 -03:00
alfrix 4f5e025de1 fix not starting due to missing translation fixes #815 2022-11-26 15:57:50 -03:00
alfrix 20346a90dc splash_screen: tweak layout sizes and remove get_allocation that can cause isssues
fixes #813

gtk: fix content_width while vertical returning 0
2022-11-26 15:57:50 -03:00
alfrix abb1f0d2d2 installer: add packages needed to build python-networkmanager
pass the req file to pip (secuential install was needed for Vext)
fixes #812

some systems don't have wheels and need compilation, the packages are needed for those cases
2022-11-26 15:57:50 -03:00
alfrix 959f7e3401 disable backspace return if keyboard is open 2022-11-26 15:57:50 -03:00
alfrix 2e39de56bd cleanup stylesheets 2022-11-26 15:57:50 -03:00
alfrix d8b4d2d293 job_status: add eta 2022-11-26 15:57:50 -03:00
alfrix cdb40e8ce1 Show the update dialog as modal 2022-11-26 15:57:50 -03:00
alfrix f8cde7bfe1 Add busy state, and disable buttons that usually take time during the state 2022-11-26 00:17:30 -03:00
alfrix 9604c159b5 fix file permissions 2022-11-25 15:50:33 -03:00
alfrix 8297f72ff4 functions: print a nicer traceback 2022-11-25 15:50:33 -03:00
alfrix b5cf73054a job_status: refactor 2022-11-25 15:50:31 -03:00
alfrix c630178f0c network: improve NetworkManager support 2022-11-24 14:57:36 -03:00
Elias Bakken db48bb8a1f Added support for network manager 2022-11-24 14:57:36 -03:00
alfrix e1f02fd870 main and temp: fix gtk warning 2022-11-24 14:57:36 -03:00
alfrix 43a2f88ad1 docs: add a general remark in supported hardware 2022-11-24 14:02:51 -03:00
alfrix e98114eaff Improve Fatal error handling an messages 2022-11-24 11:35:21 -03:00
alfrix 8834ceb3e8 fix RTL not being applied 2022-11-24 08:38:00 -03:00
alfrix 1806973ba1 fix issue with auto language detection 2022-11-23 23:01:20 -03:00
alfrix 0d87592093 Update fr 2022-11-23 14:06:58 -03:00
alfrix c0ffa41010 fix websocket not closing and sometimes looping, better fix for #806 2022-11-23 03:10:02 -03:00
alfrix 9ec4ed204e rework update_queue fixes an issue that caused to not initialize after updates 2022-11-23 01:11:59 -03:00
alfrix 9211583a15 fix issues when using multiple printers fixes #806 2022-11-22 22:27:21 -03:00
alfrix 12b9ee5344 job_status: filename tweak max chars
after the tweaks for bigger font sizes the maximum amount can be raised

TODO: investigate if a pango layout that can detect ellipzised labels is suitable to replace this method
2022-11-22 17:32:53 -03:00
alfrix 97106bc2e0 tweak print and macros topbars 2022-11-22 16:33:12 -03:00
alfrix 00bd6ac4db gtk: adjust icon sizes so they are more consistent across font sizes 2022-11-22 16:18:06 -03:00
alfrix 33fd5f9576 fix extrude speed buttons with no labels after 593d8c678b 2022-11-22 15:21:14 -03:00
alfrix c09e552e3a fix screen not turning on if using dpms due to glib timer fix #804 2022-11-22 15:16:58 -03:00
alfrix 5c7dfaf703 try to reinit after state changes 2022-11-22 15:03:46 -03:00
alfrix 593d8c678b gtk: merge buttonimage and button 2022-11-22 14:55:42 -03:00
alfrix 34fde780fc fix temp panel in vertical mode with big font getting out of screen fixes #805 2022-11-22 14:55:42 -03:00
alfrix ea33d9de0f fix printer_select not loading if there is a KS config error 2022-11-22 14:55:42 -03:00
alfrix 0b1b2f0e19 dialog removal refactor 2022-11-22 14:55:42 -03:00
alfrix 8d2f90f800 set title for internal options subpanels
the menu/subpanel system is a bit complex and hard to use
consider removing it and use individual panels of options
2022-11-22 14:55:42 -03:00
alfrix ef5f86a67d screenpanel remove unnecesary getters 2022-11-22 14:55:42 -03:00
alfrix b415eca1c8 keyboard shortcuts escape and backspace to return 2022-11-22 14:55:42 -03:00
alfrix 880f7628e4 fix f-strings with no placeholders 2022-11-22 14:55:42 -03:00
alfrix 03ab14fa64 optimize imports 2022-11-22 14:55:42 -03:00
alfrix 717575256c update translations remove some unnecesary strings use 2 letter designation unless needed 2022-11-22 14:55:42 -03:00
alfrix 0233327554 fix splash_screen reloading and limit klipper reconnects fixes #803 2022-11-22 14:55:42 -03:00
alfrix 484dbd1609 updater: show errors as popups 2022-11-22 00:55:37 -03:00
alfrix 383086e303 screen: cleanup show_panel names 2022-11-22 00:55:37 -03:00
alfrix e90dac950c config: make klipper_config a secondary location for new configs fixes #800 2022-11-22 00:55:37 -03:00
alfrix d0d79a64df base_panel: simplify action bar buttons enable-disable 2022-11-21 09:20:05 -03:00
alfrix 7b7c3838fc printer_initializing: refactor message generation and remove markup
markup caused issues with status messages
2022-11-21 09:20:05 -03:00
alfrix 818f1ab465 splash_screen: show detailed error when moonraker connection fails 2022-11-21 07:15:02 -03:00
alfrix bdd3e0ba1b Cleanups 2022-11-20 22:41:22 -03:00
alfrix f1754f1014 update translations 2022-11-20 21:00:43 -03:00
alfrix 054523d937 settings: add extra large font close #798 2022-11-20 20:58:06 -03:00
alfrix fa10b00db7 job_status: fix fan speed sometimes not updating 2022-11-20 20:58:06 -03:00
alfrix e785022e64 screen: simplify DPMS timeout 2022-11-20 20:57:46 -03:00
alfrix dbd1474d63 screen_panel: share ks_printer_cfg between panels 2022-11-20 14:17:48 -03:00
alfrix 1ca950c1fc job_status: alwasys get the value of homing_origin to set buttons fixes #795 2022-11-20 11:19:58 -03:00
alfrix c4c7e50314 printer: create get_probe to support other probe types 2022-11-20 11:07:24 -03:00
alfrix e29b41e5c3 rewrite send_request 2022-11-20 09:04:51 -03:00
alfrix fc0f153023 reorder imports 2022-11-20 07:28:05 -03:00
alfrix cebd371734 websocket: fix for when websockets-client doesnt pass the class object #796 2022-11-20 00:23:19 -03:00
alfrix 86ee1eb19f menu: the system panel should not be accesible during printing (at least not without disabling all the buttons) 2022-11-19 12:31:13 -03:00
alfrix c3c28175ca use https with port 7130 and mention the behaviour in the docs 2022-11-18 13:54:16 -03:00
Thomas Malkewitz 5d12addbba Xserver-XSDL cmd args to stop screen blanking (#794)
Added documentation to stop Xserver-XSDL from enabling its 5 minute default screen saver and blanking the screen.  In this scenario even after enabling the 'stay away' option in the debugging or developer options of the android device, the screen will still go black, but leave the back light on.  To stop this this, you must disable the Xserver screen saver option in the start up arguments of the server app itself.  I spend more than a few hours looking for and figuring this out, when this little bit of info would have saved me a lot of time.

Not sure if where I placed it is the best place in the doc, but the info is sound.  I am using my android over USB, FYI.
2022-11-18 13:38:55 -03:00
alfrix 92e899cf56 scripts: update naming and remove unused 2022-11-18 13:38:20 -03:00
mattlalumiere 6cb18816e2 Fixed Xclient scripts and added some examples (#717) 2022-11-18 13:31:41 -03:00
alfrix 6ca35ffab0 log: reduce max log size 2022-11-18 13:29:12 -03:00
alfrix 7ca37c56b6 websocket: refactor how the connection is handled 2022-11-18 12:56:05 -03:00
alfrix 675f28b318 Use GLib.idle_add instead of Gdk.threads_add_idle 2022-11-18 02:51:41 -03:00
alfrix cfa35ba8e4 screen: init_printer change how the timeout functions 2022-11-18 01:46:15 -03:00
alfrix 380df961e5 cleanup dead code 2022-11-18 01:17:57 -03:00
alfrix 8dc12bea2c screen: import traceback 2022-11-18 01:17:57 -03:00
alfrix 5215c8f985 menu: less logging 2022-11-18 01:17:57 -03:00
alfrix 45b172f85c files: reset 2022-11-18 01:17:57 -03:00
alfrix 2c30bdeddf printer: cleanup 2022-11-18 01:17:57 -03:00
alfrix 09f992d3b5 screen: cleanup unused vars 2022-11-18 01:17:57 -03:00
alfrix 128fee5e96 screen: cleanup panel subscriptions 2022-11-18 01:17:57 -03:00
alfrix 529b111fce screen: call close_screensaver on remove_all_panels 2022-11-18 00:53:53 -03:00
alfrix d55bc160ac docs: update config location 2022-11-18 00:53:53 -03:00
alfrix 7a71fa75f7 input_shaper: refactor process_update 2022-11-18 00:53:53 -03:00
alfrix 1db6388798 menu: use None 2022-11-18 00:53:53 -03:00
alfrix bdafb31522 menu: simplify enable 2022-11-18 00:53:53 -03:00
alfrix bd82d211f5 screen: raise more specific errors if panels cannot load 2022-11-18 00:53:53 -03:00
alfrix 45ab86204b panels: remove initialize from the panels that do not have a menu 2022-11-18 00:53:53 -03:00
alfrix 972a09df41 config: fix None appearing in config if the file doesn't exist close #777 2022-11-18 00:53:53 -03:00
alfrix 9b1b9593e8 ws: add 7130 as default for wss close #786 2022-11-18 00:53:53 -03:00
alfrix dd33ee04bb docs: android: show script directly with example close #791 2022-11-18 00:53:53 -03:00
alfrix 04f3c5b7a5 settings: cleanup printer list 2022-11-18 00:53:53 -03:00
alfrix 18d8f835a9 always reinit printer on state changes 2022-11-18 00:53:53 -03:00
alfrix b68cfa40fd refactor ws reconnect/retry 2022-11-18 00:53:53 -03:00
alfrix 86c52dece8 move connect_printer_widget to printer_select 2022-11-18 00:53:53 -03:00
alfrix 4272109a27 use screen printer_initializing method instead of direct calls 2022-11-18 00:53:53 -03:00
alfrix c5fe8b02a4 exclude: fix list width if no polygons are provided 2022-11-18 00:53:53 -03:00
alfrix fdf13102fe screen: remove shutdown variable and change on_close to disconnect 2022-11-18 00:53:53 -03:00
alfrix e1ea41f147 screen: refactor panel removal 2022-11-18 00:53:53 -03:00
alfrix 6b1fd23e35 screen: reduce the complexity of the status changes close #792 2022-11-18 00:53:53 -03:00
alfrix 9020d0b0ea screen: set_cursor new_for_display 2022-11-18 00:53:53 -03:00
alfrix 022954918c create ks_printer_cfg 2022-11-18 00:53:53 -03:00
alfrix e4ff009ef6 main_menu: init left_panel 2022-11-18 00:53:53 -03:00
alfrix f7cbff3ed8 heater_graph: better max value selection 2022-11-18 00:53:53 -03:00
alfrix f80c2687c5 screen: simplify panel subscription add-remove 2022-11-18 00:53:53 -03:00
alfrix 0bfbe90dcd screen: show_panel no need to differentiate if there are kwargs 2022-11-18 00:53:53 -03:00
alfrix 04e060c43c screen_panel: cleanup menu_item_clicked 2022-11-18 00:53:53 -03:00
alfrix 6083248dfa menu: simplify back and prevent a situation with no panels 2022-11-18 00:53:53 -03:00
alfrix df401d4924 main_menu: remove unused argument 2022-11-18 00:53:53 -03:00
alfrix 731a78b2f2 ws_cb: first check if there are panels 2022-11-18 00:53:53 -03:00
alfrix 1e6a9ec8ae log: cleanup logs for files, system and bed_mesh
functions: log if DPMS fails to load
screen: log send_action
2022-11-18 00:52:55 -03:00
alfrix 300eed4d29 translations: update 2022-11-12 11:23:01 -03:00
alfrix 7bef1d45c8 exclude: adjust vertical mode 2022-11-12 10:18:31 -03:00
alfrix 2aec78ff4c bed_mesh: adjust vertical mode 2022-11-12 10:11:09 -03:00
alfrix 4d0edf3c0b move: cleanup and move stuff out of screen_panel 2022-11-12 09:56:09 -03:00
alfrix a695c68a25 screen: simplify cursor changes 2022-11-12 09:30:43 -03:00
alfrix 6ca80baea8 job_status: remove glib timers that could cause issues 2022-11-12 09:25:37 -03:00
alfrix 260d4b16e5 --amend 2022-11-11 10:46:45 -03:00
alfrix 67dc2c9fdf --amend 2022-11-11 10:38:59 -03:00
alfrix 8b55d2f2b1 splash_screen: limit reconnections, clear log, add reconnect button 2022-11-11 10:25:55 -03:00
alfrix f05cbe9f0b job_status: fix layer info sometimes causing issues close #788 2022-11-10 23:10:44 -03:00
alfrix 3bbefd8bd5 lang: make set_text_direction a function 2022-11-10 07:15:04 -03:00
alfrix b8e819629a log: reduce spam 2022-11-10 07:15:04 -03:00
alfrix f5b8ae1002 screen: remove matplotlib from preload close #787 2022-11-10 07:12:29 -03:00
alfrix 78f76d659c menu: log a more descriptive item enable status 2022-11-09 10:37:30 -03:00
alfrix ce6158ad91 bed_mesh: improvements an changes:
use current profiles instead of the ones saved in the config file
remove matplotlib and numpy, caused many intall issues, graph was slow and not great for small screens
create a custom 2D graph to show the probed matrix
2022-11-09 10:25:52 -03:00
alfrix 0ca410acba zcalibrate: use sample_retract_dist if available close #748 2022-11-09 10:25:37 -03:00
alfrix 02c043eece zcalibrate: add dockable_probe #750 2022-11-09 08:51:59 -03:00
alfrix 88461910c9 job_status: remove numpy dependency 2022-11-08 17:33:38 -03:00
dependabot[bot] 19506292b5 build(deps): bump websocket-client from 1.4.1 to 1.4.2 (#781)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.4.1 to 1.4.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.4.1...v1.4.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 17:33:09 -03:00
marcin-koziolandMarcin Kozioł 1dc3433e02 Set distance and speed variables after config is loaded (#782)
Co-authored-by: Marcin Kozioł <marcin.koziol@outi.pl>
2022-11-08 17:32:54 -03:00
alfrix ca7143f776 base_panel: estop set not sensitive instead of hiding 2022-11-06 13:21:52 -03:00
alfrix 26d10a949b job_status: use the new print_stats layer info 2022-11-06 13:04:07 -03:00
alfrix 8855d9b98f screensaver: change calls to close instead of wake 2022-11-05 00:25:11 -03:00
alfrix df195a0135 zcalibrate: use a tiny movement to detect state, need status 2022-11-04 19:27:08 -03:00
alfrix 23b64b1625 zcalibrate: use safe_z z_hop if defined close #748 2022-11-04 18:27:16 -03:00
alfrix 44623b44d1 menu: reduce logging 2022-11-04 18:13:06 -03:00
alfrix 6e4d0ff962 config: add lang list to init, reduce logging 2022-11-04 18:12:39 -03:00
alfrix 2fef5660cb base_panel: change how it shows controls and heaters to avoid issues 2022-11-04 10:30:14 -03:00
alfrix 3be65a686a docs: xserver-xorg-legacy is installed by default 2022-11-04 10:30:14 -03:00
alfrix 9c4f4c5fe7 config: try to save in printer_data first 2022-11-04 10:30:14 -03:00
alfrix ba392d75b9 docs: explain logfile location with images 2022-11-04 10:30:14 -03:00
jordanruthe 39b786c198 Update Hardware.md
Add BTT HDMI5/7
2022-11-04 08:27:07 -04:00
alfrix e36cf78e40 zcalirbrate: fix e225 2022-11-03 23:51:44 -03:00
alfrix 11dd95b939 functions: do not rotate logs at startup, it's useful to see old logs when users attach them 2022-11-03 23:44:17 -03:00
alfrix e0950247d2 zcalibrate: use safe_z_home if available 2022-11-03 23:40:30 -03:00
alfrix 8d1ca4eba1 fix E741 2022-11-03 23:29:11 -03:00
alfrix 6c66ccada7 job_status: remove menu button delay 2022-11-03 23:06:12 -03:00
alfrix 01fde5a1e9 keyboard: fix sometimes not changing language 2022-11-03 22:50:01 -03:00
alfrix 64745c8578 fix codestyle issues 2022-11-03 22:40:36 -03:00
Selim b77321ce28 Update Turkish Language (#771) 2022-11-03 22:35:02 -03:00
AntoszHUN f4a0b0f8b1 Update Hungarian Language (#774) 2022-11-03 22:33:54 -03:00
alfrix 7ee162092c fix #775 2022-11-03 22:20:03 -03:00
alfrix 2fc01c07b6 base_panel: allow to have no title 2022-11-03 22:07:45 -03:00
alfrix 73e4645df0 installer: add input drivers by default close #772 2022-11-02 11:13:16 -03:00
alfrix 5e4760771d screen: set to fullscreen unless overrided with size #773 2022-11-02 11:13:16 -03:00
alfrix 38d006c8a7 job_status and splash: fixup image size on ultrawide 2022-11-02 11:13:16 -03:00
alfrix 79c858ded6 functions: logging: use printer_data 2022-11-01 21:22:07 -03:00
alfrix 03e4681aa6 functions: logging changes, rotate based on filesize and on startup, print a warning in if log is not created 2022-11-01 15:36:52 -03:00
alfrix 5154e41fed windowed: add title and icon 2022-11-01 15:36:52 -03:00
alfrix 371968b458 base_panel: hide estop 2022-11-01 15:36:52 -03:00
alfrix c3128ef508 base_panel: always hide macro shortcut on splash_screen 2022-11-01 15:36:49 -03:00
alfrix 09ccd46528 keyboard: add spanish and german, change backscpace, clear and accept to icons 2022-11-01 07:36:07 -03:00
alfrix 874212e166 lang: fix widgets close #768 2022-10-28 13:22:47 -03:00
alfrix f749969c07 config: fix default en if system lang not found 2022-10-28 06:25:20 -03:00
alfrix f6e4e231b1 translation: update all translations 2022-10-27 23:42:23 -03:00
alfrix d536b054b8 translation: update hebrew (Tal Rahav) close #766 2022-10-27 23:40:59 -03:00
alfrix 5d539d0059 translation: update spanish 2022-10-27 23:36:30 -03:00
AntoszHUN 8a82590829 Update Hungarian Language (#762) 2022-10-27 23:19:21 -03:00
alfrix f588571bdd fix PEP E303 2022-10-27 23:18:21 -03:00
northcoastam d27227aede Update fine_tune.py (#765)
Fix for custom z_babystep_values from KlipperScreen.conf not respected
2022-10-27 23:15:45 -03:00
alfrix 7666a91872 splash_screen and job_status title translation 2022-10-27 22:47:01 -03:00
alfrix 51ddee28c3 printer_select: hide action_bar on startup and translate name 2022-10-27 21:24:23 -03:00
alfrix 0620d660f5 Change how the printer state is handled 2022-10-27 20:54:13 -03:00
alfrix b988c3c8c9 limits: fix sliders rescaling and not restoring values when set lower than the max configured value 2022-10-27 12:15:18 -03:00
alfrix d3d7104ec4 languages: refactor
- No full restart requirement just reload
- Fix some systems not loading the language
- Fix RTL not applied if the lang was not set by the system
2022-10-26 22:36:52 -03:00
alfrix 93457b2961 temperature: select all extruders while not printing and the active extruder if printing 2022-10-26 22:36:52 -03:00
alfrix b36e75ec1a temperature: fix #763 2022-10-26 22:36:52 -03:00
alfrix d6e4ad0a35 base_panel: fix macro shorcut not hiding at startup if configured to off 2022-10-26 22:36:52 -03:00
alfrix 0de49ee0cd base_panel: calculate the amount of titlebar items to be shown 2022-10-26 22:36:52 -03:00
alfrix 8cc86dfd7c config: add width and height for development purposes
Do not use this when KS is meant to be fullscreen, this should be used for window size on a desktop
2022-10-26 22:36:52 -03:00
alfrix da9051a9b2 base_panel: create get_icon for show_heaters 2022-10-26 22:36:52 -03:00
alfrix 32fab0482f gtk: add .png icons support close #733 2022-10-26 22:36:52 -03:00
alfrix 792e1bf8bf print: improve initialization performance with async. load of images 2022-10-26 22:36:52 -03:00
alfrix b346d765a2 base_panel: clock simplify also increase margin 2022-10-26 22:36:52 -03:00
alfrix c5413e51c9 config: add printer_data to default config search locations
close #759
2022-10-26 22:36:52 -03:00
alfrix 2121d4a6aa system: updater: hide the end button until the update completes
it's already not sensitive but that is not intuitive sometimes
2022-10-26 22:36:52 -03:00
alfrix 17e4bb704e exclude: fix vertical mode, fix last object cancel and make it exit 2022-10-26 22:36:52 -03:00
alfrix d3281379ee gtk: change scaling of images
This reduces the amount of magic numbers used, some images will scale to bigger sizes, most of the icons and images in vertical mode will be bigger, thumbnails should be bigger in both modes.
2022-10-26 22:36:52 -03:00
alfrix 62fd6b96f8 job_status: change filename max characters
now it's more consistent and takes into account font size
2022-10-26 22:36:52 -03:00
alfrix b9effb5447 screensaver: fix dialogs not hiding 2022-10-26 22:36:52 -03:00
alfrix 70b5532695 bed_mesh: fix issues and improve
Fix sometimes not showing the current mesh
Remove calibrate from the list, (use the top bar)
Minimum Zscale is now -1 to 1 mm
Colorscale is now -0.2 to 0.2 mm tends to clip less on the usable range
Code cleanup and de-duplication
2022-10-21 14:58:07 -03:00
alfrix 1332045128 installer: the workaround for pip 22 should not be needed by now 2022-10-15 18:56:05 -03:00
alfrix 1305b40c41 refactors and cleanup 2022-10-14 13:27:01 -03:00
alfrix e208873e46 temperature: merge nested ifs 2022-10-14 10:19:44 -03:00
alfrix 723662074e Change togglebuttons to regular buttons to simplify code 2022-10-14 10:19:44 -03:00
alfrix 4b7fda9ba0 zcalibrate: fix XY offset not applied if one of them is not defined 2022-10-14 10:19:44 -03:00
alfrix 2e026aef56 extrude: make the speed and distance configurable close #673 2022-10-14 10:19:44 -03:00
alfrix 28fe1bf6d8 Update Locales: Thanks Tal Rahav for the Hebrew translation 2022-10-14 10:19:44 -03:00
alfrix 4076e6349a limits and retraction: infinite sliders 2022-10-14 10:19:44 -03:00
alfrix d0d171e676 print: hide files and directories starting with . 2022-10-14 10:19:44 -03:00
alfrix 978bb72e20 Fix: Printer not connecting if [pause_resume] is missing
fix #752
2022-10-14 10:19:44 -03:00
Ben Konsemüller 74dee10d39 Fix: Heaters not showing their respective power percentages (#747) 2022-10-08 09:52:46 -03:00
Alfredo Monclus a83bbed85a exclude: graph (#743)
Also support name wrapping and remove the object from the list if it was excluded (easier to see)
2022-10-04 10:52:44 -03:00
alfrix c2991364ba fine-tune: fix PEP8 E303 2022-10-01 12:35:01 -03:00
alfrix 2224478ea0 fine-tune: change the labels as soon as the button was pressed, this should give better feedback when the change is delayed by klipper 2022-10-01 12:32:28 -03:00
alfrix 089076c72c docs: zcalibrate: explain move
close #738
2022-09-30 16:14:08 -03:00
alfrix 72413544c8 job_status: animated label compute max characters 2022-09-27 16:49:24 -03:00
alfrix 032638e027 docs: move and improve thumbnail information 2022-09-27 16:49:11 -03:00
alfrix 79b3429837 network: fix panel not loading if the wifi module has not ben initialized
close #736
2022-09-27 15:16:04 -03:00
Selim 35571fce8a Turkish language Update (#734) 2022-09-22 09:50:40 -03:00
Nick Doumaandalfrix 1b758b85c6 Add Desktop file to easily start KlipperScreen on a normal Linux desktop (#713)
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-09-21 20:18:22 -03:00
alfrix 2f427f7b82 lint fixes and minor refactorings 2022-09-21 11:54:49 -03:00
dependabot[bot] c061378e62 build(deps): bump websocket-client from 1.4.0 to 1.4.1 (#721)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.4.0 to 1.4.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.4.0...v1.4.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-21 11:35:06 -03:00
Andriy 1f3fe23716 Correction of the Ukrainian localization (#730) 2022-09-21 11:34:53 -03:00
alfrix b2d7dda30f system: update services allowed to restart 2022-09-16 09:51:59 -03:00
alfrix 5f9bd9648a power: center the list 2022-09-14 10:22:11 -03:00
alfrix 0e353d333c docs: update screenshots, add console to the panel list, order by name 2022-09-14 10:07:05 -03:00
AntoszHUN ebaecedf0d Update KlipperScreen.po (#728) 2022-09-13 00:01:22 -03:00
alfrix 4656be8c16 graph: limit the graph to 0-999
It's not over 9000.
2022-09-12 23:32:41 -03:00
Laurenzandalfrix 2cce477e5b Add current heater power % to job status (#708)
* Add current heater power % to job status

* Add show_heater_power config option and move update_temp()s to ScreenPanel

* Add the option to the UI config instead of the docs

* Prefer extra items on job_status over the power

There is not a lot of space, it's a trade off, and people will likely prefer extra_items

* Remove the comma, none of the other buttons have it

* job_status: inherit the parent config

* screen: create reload_panels to avoid some service restarts

* extrude: fix power breaking multi-extruder setups

* main and temp: remove degrees char from the table

* main and temp: revert removal of the header

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-09-09 11:34:50 -03:00
alfrix 069097d2e0 config:fix 2022-09-09 11:32:44 -03:00
alfrix de540402ec screensaver: fix #725
this was caused by focus and hover states introducing extra styling
also remove the active semi-translucent that made the fade-in because,
it sometimes missbehaved not showing some elements of the ui, it's also faster not having animation.
2022-09-08 10:20:57 -03:00
alfrix 1d40b9cf7f config: fix babystepping not being recognized
this is a temporary fix, the list items need to be validated individually
2022-09-06 13:13:44 -03:00
Andriy 81573fbd39 Ukrainian update (#719) 2022-09-05 21:27:28 -03:00
whi-tw 5d428e4999 Ignore include sections when validating the config (#720)
* Don't validate `include` sections.

We need a `continue` here because `include` sections are not 'standard',
and don't have any keys to validate.

`include` sections are tangentially validated later via
`_include_config()`.

* Move checks for non-validated sections to start

Rather than looping through the whole if..elif.. block, fail fast if
we're not actually going to validate the section.
2022-09-05 21:27:09 -03:00
alfrix abe12cca30 printer: fix issue that could cause the panels to not show up on startup if moonraker is not connected 2022-09-05 21:02:04 -03:00
alfrix 43c3a4b20d screensaver fix color 2022-09-05 19:44:26 -03:00
alfrix 856e204750 config: fix validator not recognizing calibrate positions 2022-09-04 11:37:50 -03:00
alfrix 2d7486974c config: validator fix floats 2022-09-03 18:25:57 -03:00
alfrix fd7ff6b0cd Update Spanish 2022-09-02 21:21:48 -03:00
alfrix 2939bbe543 system: fix an issue with the updater dialog getting off screen 2022-09-02 21:19:17 -03:00
alfrix 07b134f1a0 Update translation files 2022-09-02 21:03:19 -03:00
dependabot[bot] 5392b9337d build(deps): bump pygobject from 3.42.1 to 3.42.2 (#677)
Bumps [pygobject](https://pygobject.readthedocs.io) from 3.42.1 to 3.42.2.

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 20:09:04 -03:00
dependabot[bot] d2fccca2fc build(deps): bump websocket-client from 1.3.3 to 1.4.0 (#711)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.3.3 to 1.4.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.3.3...v1.4.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 20:08:50 -03:00
Nick Douma 89e89ae1b2 Change URL protocol to HTTPS and WSS when connecting to port 443 2022-09-02 19:58:53 -03:00
alfrix a599d667e9 docs:add wifi fix to troubleshooting 2022-09-02 19:58:35 -03:00
alfrix 09375c138c docs: fix command in troubleshooting 2022-09-02 19:58:35 -03:00
alfrix 28303573f9 print: shorter sort label (same as macros panel) 2022-09-02 19:58:35 -03:00
alfrix 54764be269 job_status: show acceleration as integer
usually is in the thousands, it shouldn't matter
2022-09-02 19:58:35 -03:00
alfrix 657f1b133f zcalibrate: fix wrong sign in new offset 2022-09-02 19:58:35 -03:00
alfrix 1704276c2d config: silently remove quotes from the api_key
This fixes a user error where it copies the quotes too
2022-09-02 19:58:35 -03:00
alfrix 97f170ba59 buttons: resize side images for better alignment 2022-09-02 19:58:35 -03:00
alfrix 553423e3d8 klippygtk: fix cases where wrap and ellipsize was not applied 2022-09-02 19:58:35 -03:00
alfrix de7b57f6b7 files: change reset to reinitialize 2022-09-02 19:58:35 -03:00
alfrix 2d8b5c1974 job_status: fix issue when checking the state too early 2022-09-02 19:58:35 -03:00
alfrix be2d5b040c temperature: do set temperature_fan to 0 when pressing cooldown 2022-09-02 19:58:35 -03:00
alfrix d1604c68d6 temp: do not change preheat selections while in the numpad
it's possible to just use one selection list and unselect the rest,
but i think that there is some benefit in usability keeping the selections separated
2022-09-02 19:58:35 -03:00
alfrix 2902e95068 temp: show the popover if name is pressed for 1 second (longpress) 2022-09-02 19:58:35 -03:00
alfrix 4cb17c18a9 main temp: add the ability to hide the graph 2022-09-02 19:58:35 -03:00
alfrix e140120b44 main temp: load the visibility of items 2022-09-02 19:58:35 -03:00
alfrix 0d2c1b013b graph: fix error on touch 2022-09-02 19:58:35 -03:00
alfrix 70e3091127 system: use separators 2022-09-02 19:58:35 -03:00
alfrix c57915ef19 temp: fix styling not updating when entering and exiting numpad 2022-09-02 19:58:35 -03:00
alfrix c604c25d71 system: simplify restart labels 2022-09-02 19:58:35 -03:00
alfrix e986e3cd8e fix PEP8 E303 and make the code check more strict 2022-09-02 19:58:35 -03:00
alfrix ce8762da19 installer: drop matchbox requirement and add an updater note 2022-09-02 19:58:35 -03:00
alfrix 4f959696bd gtk: remove newlines to properly wrap lines if needed
this fixes the issue caused by labels with a newlines detected as 1 line even if it has more than one
2022-09-02 19:58:35 -03:00
alfrix 64335b3fef docs: only list main configurations not changeable from the UI 2022-09-02 19:58:35 -03:00
alfrix 22081148fe screen: close dialogs when job_status is loaded 2022-09-02 19:58:35 -03:00
alfrix b1237ea75e config: add fallback values to booleans 2022-09-02 19:58:35 -03:00
alfrix c1f17b154c system: add shutdown and restart host 2022-09-02 19:58:35 -03:00
alfrix ea5c5afa5e gtk: do not try to ellipsize if the label is None 2022-09-02 19:58:35 -03:00
alfrix f60a878e7b main and temp: save visibility of items 2022-09-02 19:58:35 -03:00
alfrix 38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix 836e4a3aea screen: some models need blanking for dpms to work properly 2022-09-02 19:58:35 -03:00
alfrix 4124a67450 gtk: fix scrolling stuck on some cases 2022-09-02 19:58:35 -03:00
alfrix 6db43af8cb exclude: add exclude objects support 2022-09-02 19:58:35 -03:00
alfrix 3e5855d207 config: add validator 2022-09-02 19:58:35 -03:00
alfrix 2c8436500c base_panel: fix possible causes of error in show heaters fixes #706 2022-08-21 15:15:24 -03:00
AntoszHUN 5366df6e2c Hungarian Language Update (#703)
The Hungarian language package has been updated.

    I updated the words that were included earlier.
    I translated the words that were included earlier.
    I translated the most recently added words.
    Fixed other translation errors.

Signed-off-by: AntoszHUN zsikaiantal@gmail.com
2022-08-18 23:45:00 -03:00
Selim 036ba207ee Turkish Language Update (#696) 2022-08-11 14:57:45 -03:00
alfrix 6cebf6ad0d docs: create specific pages for some panels 2022-08-11 14:56:43 -03:00
alfrix 3847fea315 Update translation files 2022-08-10 12:02:07 -03:00
alfrix 200dca9dd3 dump more info during exceptions 2022-08-10 10:49:23 -03:00
Selim 6863d1c32e Turkish Update 8 (#694) 2022-08-10 10:48:59 -03:00
alfrix 737447939f main_menu: more direct temp input fix #626 2022-08-08 11:20:26 -03:00
alfrix 393586b191 pins: fix #689 2022-08-08 11:01:25 -03:00
alfrix 5a39e24230 docs: update configuration filter list for menu
close #374 this updates the available filter list
2022-08-07 06:48:51 -03:00
alfrix 054fc80006 bed_level: fix label rounding 2022-08-07 06:30:18 -03:00
alfrix 2d2605b526 scripts: add build_docs to test locally doc changes 2022-08-06 14:47:50 -03:00
alfrix 58bddd58a8 system: remove unneeded extra blank line 2022-08-06 14:46:18 -03:00
alfrix 79cef455af screen: make the error message more clear and provide more details 2022-08-06 14:39:31 -03:00
alfrix 6094d4b6c0 system: add autoscroll and improve how the list of changes look 2022-08-06 12:56:57 -03:00
alfrix be1b5228c1 bed_level: fix label rounding issues 2022-08-06 12:08:05 -03:00
alfrix 36225ed59f docs: add bed level 2022-08-06 09:41:48 -03:00
alfrix 835803d329 screen: do not ask to save unless printer is in standby close #692 2022-08-03 11:56:02 -03:00
alfrix 0ec2baf302 bed_level: fix for printers without name/config 2022-08-02 13:21:03 -03:00
alfrix c1b34839bc move: fix cannot move if the printer was not named 2022-08-02 12:18:08 -03:00
alfrix 83c6f87281 temperature: fix blank space if the special cooldown is not at the bottom of the config #688 2022-08-02 09:31:48 -03:00
alfrix 455cb9da99 temperature: fix cooldown after 207914a 2022-08-02 08:57:16 -03:00
alfrix f37a6b579f docs: add an alternative to calibration 2022-08-01 22:47:01 -03:00
alfrix e332ccc22a pins: assign initial value if configured fix #689 2022-08-01 21:27:19 -03:00
alfrix 207914a5b5 temperature: fix for users that want to have temps in cooldown fix #688 2022-08-01 21:11:37 -03:00
alfrix c06ca56ea0 job_status: fix #690 2022-08-01 20:44:04 -03:00
alfrix b1f149495d themes: update material-dark and material-darker 2022-08-01 17:25:13 -03:00
alfrix 16871f967e Add bed-mesh icon 2022-08-01 13:59:09 -03:00
alfrix 7ba83227bd system: autoclose popup 2022-08-01 12:59:52 -03:00
507 changed files with 55712 additions and 19725 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!`
})
+12 -4
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-18.04
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"
@@ -14,4 +22,4 @@ jobs:
use-black: false
use-mypy: false
use-isort: false
extra-pycodestyle-options: "--ignore=E226,E301,E302,E303,E402,W503,W504 --max-line-length=120 --max-doc-length=120"
extra-pycodestyle-options: "--ignore=E402,W503,W504 --max-line-length=120 --max-doc-length=120"
+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: ...
+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 }}
+99 -43
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 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 (edit the IP for example: 192.168.1.2:0)
```bash
DISPLAY=(ip address from blue screen):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,11 +108,26 @@ 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 separate lines):
```
-s
0
```
This will disable the screen-saver in Xserver and keep KlipperScreen always active.
## Migration from other tutorials
@@ -84,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.
+208 -106
View File
@@ -1,110 +1,140 @@
# Configuration
Usually you don't need to create a configuration file, but if you need to change something that is not changeable in the UI
create a blank file in `~/klipper_config/KlipperScreen.conf`, if the file already exist then just edit it.
create a blank file in `~/printer_data/config/KlipperScreen.conf`, if the file already exist then just edit it.
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
```py
The options listed here are not editable from within the user interface.
```{ .ini .no-copy }
[main]
# Invert axis in move panel. Default is False. Change to true to invert
invert_x: False
invert_y: False
invert_z: False
# 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
# Autoclose popups, this includes various notifications and M118
autoclose_popups: True
# Specify the language
# The language can be specified here instead of using the system default language.
language: en
# Allows the cursor to be displayed on the screen
show_cursor: False
# Allows to define custom systemctl command for restart like xrdp
service: KlipperScreen
# 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
# Screen DPMS
# By default DPMS is used to turn off the screen, this should prevent burn-in and save power.
# However if you find that your screen doesn't turn off because it doesn't support it
# Setting this to false will just turn the screen black.
use_dpms: 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
# 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
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, left-right
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 the second value is default
# extrude_distances: 5, 10, 15, 25
# extrude_speeds: 1, 2, 5, 25
# 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
@@ -120,91 +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.
A menu item is configured as follows:
```py
[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 }}
```
Available panels are listed here: [docs/panels.md](Panels.md)
!!! info
A predefined set of menus is already provided
Certain variables are available for conditional testing of the enable statement:
```py
printer.bltouch # Available if bltouch section defined in config
A menu item is configured as follows:
```{ .ini .no-copy }
[menu __main my_menu_item]
name: Item Name
# 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
```
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 (not extruders)
printer.fans.count # Number of fans
printer.output_pins.count # Number of pins configured
printer.gcode_macros.count # Number of gcode macros
printer.idle_timeout # Idle timeout section
printer.pause_resume # Pause resume section of Klipper
printer.probe # Available if probe section defined in config
printer.power_devices.count # Number of power devices configured in Moonraker
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. _~/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.
+13 -87
View File
@@ -1,106 +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.
#### Hardware known to work
## Supported Hardware
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>"
```
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
```
+58 -52
View File
@@ -1,31 +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](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
### [Bed Level](Panels/Screws.md)
```py
panel: bed_level
```
![Bed Level](img/panels/bed_level.png)
The bed level panel has the ability to have preset locations from Klipper. Please see documentation on the following
Klipper Sections:
* [bed_screws](https://www.klipper3d.org/Config_Reference.html#bed_screws)
* [screws_tilt_adjust](https://www.klipper3d.org/Config_Reference.html#screws_tilt_adjust)
!!! important:
`[bed_screws]` uses Nozzle positions and `[screws_tilt_adjust]` uses Probe positions
This panel will use `[bed_screws]` if `[screws_tilt_adjust]` is not defined,
the probe offset will be applied to the defined screw values in `[screws_tilt_adjust]`
so the buttons will move the nozzle above the screws like in `[bed_screws]`
[![Bed Level](img/panels/bed_level.png)](Panels/Screws.md)
### Bed Mesh
```py
@@ -33,6 +27,12 @@ panel: bed_mesh
```
![Bed Mesh](img/panels/bed_mesh.png)
### Console
```py
panel: console
```
![Console](img/panels/console.png)
### Extrude
```py
panel: extrude theme:material-dark
@@ -57,6 +57,18 @@ panel: gcode_macros
```
![Gcode Macros Panel](img/panels/gcode_macros.png)
### Input Shapers
```py
panel: input_shaper
```
![Limits](img/panels/input_shaper.png)
### Limits
```py
panel: limits
```
![Limits](img/panels/limits.png)
### Menu
![Menu Panel](img/panels/menu.png)
@@ -78,41 +90,11 @@ panel: power
```
![Power](img/panels/power.png)
### Print
### Gcodes / Print
```py
panel: print
panel: gcodes
```
![Print Panel](img/panels/print.png)
### Settings
```py
panel: settings
```
![Settings](img/panels/settings.png)
### System
```py
panel: system
```
![System Panel](img/panels/system.png)
### Temperature
```py
panel: temperature
```
![Temperature](img/panels/temperature.png)
### Z Calibrate
```py
panel: zcalibrate
```
![Z Calibrate](img/panels/zcalibrate.png)
### Limits
```py
panel: limits
```
![Limits](img/panels/limits.png)
![Gcodes Panel](img/panels/gcodes.png)
### Retraction
```py
@@ -120,8 +102,32 @@ panel: retraction
```
![Limits](img/panels/retraction.png)
### Input Shapers
### Settings
```py
panel: input_shaper
panel: settings
```
![Limits](img/panels/input_shaper.png)
![Settings](img/panels/settings.png)
### Spoolman
```py
panel: spoolman
```
![Spoolman](img/panels/spoolman.png)
### [Temperature](Panels/Temperature.md)
```py
panel: temperature
```
[![Temperature](img/panels/temperature.png)](Panels/Temperature.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)](Panels/Zcalibrate.md)
+28
View File
@@ -0,0 +1,28 @@
# Job Status
Also known as "Print Status" or the "printing panel" shows the relevant information of the current print.
![Screenshot](../img/panels/job_status.png)
!!! tip
the third row shows the LCD message (`M117`)
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)
!!! 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)
## Extrusion info
![extrusion_screenshot](../img/panels/job_status_extrusion.png)
## Time info
![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)
+54
View File
@@ -0,0 +1,54 @@
# Bed level
![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)
!!! Important
* `[bed_screws]` uses nozzle positions (nozzle above the screw) [Read Klipper doc entry](https://www.klipper3d.org/Config_Reference.html#bed_screws)
* `[screws_tilt_adjust]` uses probe positions (probe above the screw) [Read Klipper doc entry](https://www.klipper3d.org/Config_Reference.html#screws_tilt_adjust)
The corner buttons in KlipperScreen place the nozzle above the screw to do the ["paper test"](https://www.klipper3d.org/Bed_Level.html?h=paper#the-paper-test).
When `[screws_tilt_adjust]` is defined a couple of things happen:
* A button named "Screws adjust" appears, it runs `SCREWS_TILT_CALCULATE` when is pressed,
and reports the amount to be adjusted into the labels of the corner buttons.
* `[bed_screws]` is now ignored by KlipperScreen. (explained below)
* The corner buttons are now `[screws_tilt_adjust]` coordinates with the probe offset applied. (explained below)
### Why `[bed_screws]` are ignored/not used?
`[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.
## Is `BED_SCREWS_ADJUST` supported?
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 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?
If you have a reliable probe, define `[bed_mesh]` in Klipper config, remove the springs
and use some thread-locker or locking nuts to fix the bed to the gantry, let the probe do a mesh save it and forget about this.
+23
View File
@@ -0,0 +1,23 @@
# Temperature
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.
This is the default mode when not printing.
![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)
## Direct input with keypad
Allows to set the exact temperature using the keypad.
![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)
+134 -47
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,53 +18,151 @@ Lets hide a temperature_fan:
fan1 will show in the interface, but _fan2 will be hidden.
## Thumbnails
KlipperScreen can display thumbnails in the file browser and as previews in the print status.
![Job Status](img/panels/job_status.png)
## Layer Progress
* [PrusaSlicer](#prusaslicer)
* [SuperSlicer](#superslicer)
* [Cura](#cura)
* [ideaMaker](#ideamaker)
* [OrcaSlicer](#orcaslicer)
### PrusaSlicer
In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews.
Under General / Firmware.
Follow this steps to provide the current layer in the printing information.
![speed_screenshot](img/panels/job_status_speed.png)
![PrusaSlicer](img/quicktips/PrusaSlicer-thumbnails.png)
#### PrusaSlicer:
* Open PrusaSlicer
* Go to: `Printer Settings` > `Custom Gcode` > `Start Gcode`
### SuperSlicer
In “Expert” mode SuperSlicer has some very convenient options in the “Printer Settings” tab to activate and customize the previews.
```ini
SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]
```
Printer Settings > Custom Gcode > After layer change Gcode
```ini
SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}
```
![SuperSlicer](img/quicktips/SuperSlicer-thumbnails.png)
#### PrusaSlicer Layer Messages
* Open PrusaSlicer
* Go to: `Printer Settings` > `Custom Gcode` > `After layer change Gcode`
* Add this:
### Cura
The Cura plugin [“Cura2Moonraker”](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin) is required for this.
![Cura](img/quicktips/Cura-thumbnails.png)
### ideaMaker
To enable thumbnails, open the Advanced tab in the printer settings, enable the GCode Thumbnails for Octoprint and Mainsail option and enter your prefered square format image size in the Resolution fields (e.g. 400 X 400). It’s necessary that the thumbnail width and height resolution is equal.
![ideaMaker](img/quicktips/IdeaMaker-thumbnails.png)
## Layer Progress
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode
`M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}`
```ini
M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}
```
![Layer_progress](img/quicktips/PS_SS_Layer_progress.png)
## Supported Macros
[Macros](macros.md)
#### 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)
+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)
+66
View File
@@ -0,0 +1,66 @@
# Thumbnails
KlipperScreen can display thumbnails in the file browser and as previews in the print status.
![Job Status](img/panels/job_status.png)
Recommended sizes for thumbnails:
* 300 x 300 - For the larger previews.
* 32 x 32 - For the smaller thumbnails used in lists.
!!! note
Other sizes should work, but keep in mind bigger thumbnails are slower to load and can produce bigger gcode files.
## Select your slicer:
* [PrusaSlicer](#prusaslicer)
* [OrcaSlicer](#orcaslicer)
* [SuperSlicer](#superslicer)
* [Cura](#cura)
* [ideaMaker](#ideamaker)
### PrusaSlicer
In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews.
Under General / Firmware.
![PrusaSlicer](img/quicktips/PrusaSlicer-thumbnails.png)
### 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.
![SuperSlicer](img/quicktips/SuperSlicer-thumbnails.png)
### Cura
#### Option #1 A post processing script (Cura 4.9+)
1. With Cura open, navigate to Extensions, Post Processing, Modify G-Code
2. Click Add a script, and select Create Thumbnail
3. Set both Width and Height to 300
4. Click Add a script, and select Create Thumbnail
5. Set both Width and Height to 32
6. Click Close
#### Option #2 A plugin (Cura 4.7+)
[Cura2Moonraker](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin)
![Cura](img/quicktips/Cura-thumbnails.png)
### 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
![ideaMaker](img/quicktips/IdeaMaker-thumbnails.png)
+38 -13
View File
@@ -1,19 +1,44 @@
## Create Translations
# Translations
You can use an editor such as [poedit](https://poedit.net/) to assist in translations. This guide will assume that you
will be using poedit.
Translations are hosted on Weblate:
This guide will refer to `language designation`. This can be found from running `echo $LANG` on your pi, as long as you
have set your pi up for your preferred language.
<a href="https://hosted.weblate.org/engage/klipperscreen/">
<img src="https://hosted.weblate.org/widget/klipperscreen/open-graph.png" alt="Weblate" />
</a>
#### New Language
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.
* Edit `ks_includes/locals/{ISO 639 lang code}/LC_MESSAGES/KlipperScreen.po`
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:
Example using poedit
* Select `Create a new translation` or `File -> New from POT/PO` and select `ks_includes/locals/KlipperScreen.pot`.
* Enter your language designation.
* Create the translations
* Save the file as `ks_includes/locales/{LANGUAGE DESIGNATION}/KlipperScreen.po`.
* Select `File -> Compile to MO`. Save this file as `ks_includes/locales/{LANGUAGE DESIGNATION}/KlipperScreen.mo`
!!! important
Do not edit the POT file as is automatically generated and your changes will be lost.
* Save the file as `ks_includes/locales/{ISO 639 lang code}/LC_MESSAGES/KlipperScreen.po`
* Select `File -> Compile to MO`. Save it on the same folder, and restart KlipperScreen
Once you have followed those steps, as long as your pi is set up for your preferred language, KlipperScreen will
automatically use the translations provided in the file. KlipperScreen currently does not detect RTL languages, but
support for RTL is planned in the near future.
!!! note
[Wikipedia ISO 639 Language Codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
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:
[Attach your translation on a GitHub issue or create a PR](Contact.md)
+103 -72
View File
@@ -1,117 +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.
* Check for the file `/tmp/KlipperScreen.log`
* Find KlipperScreen.log:
look at the contents by running `cat /tmp/KlipperScreen.log` or grab the file over WinSCP or another sftp program.
This is the most important file, and should be provided if you ask for support.
!!! warning "Important"
This log file should be provided if you ask for support.
If that file is non-existent, run `journalctl -xe -u KlipperScreen`
Depending on your setup the file could be accessible from the web interface alongside other logs
Check the file `/var/log/Xorg.0.log` where you can find issues with the X server.
| Mainsail | Fluidd |
|:-------------------------------------------------------:|:---------------------------------------------------:|
| ![mainsail_logs](img/troubleshooting/logs_mainsail.png) | ![fluidd_logs](img/troubleshooting/logs_fluidd.png) |
## Cannot open virtual Console
If you see this line in the logs:
```sh
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
if you can't find it in the web interface, you will need to grab the system logs as explained below
* Run `cat /etc/X11/Xwrapper.config`
??? 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
This should have the line `allowed_users=anybody` in it
With some file-browsers like Dolphin, just type the address for example: `sftp://pi@192.168.1.105/home/`
* Run `cat /etc/group | grep tty`
Locate the logs at `~/printer_data/logs`or in `/tmp/` if the former doesn't exist.
If your username is not listed under that line, you need to add it with the following command:
## System logs
If [KlipperScreen.log](#first-steps) doesn't exist open a terminal in the host (typically from SSH) and
run this commands:
??? 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)
You may also need:
```sh
sudo apt install xserver-xorg-legacy
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
```
Restart KlipperScreen:
```sh
sudo service KlipperScreen restart
```
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
If it's still failing as a last resort add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`:
```sh
sudo echo needs_root_rights=yes>>/etc/X11/Xwrapper.config
```
restart KS.
??? 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
```
## 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
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)
+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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 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: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 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: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 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/) |
+275 -43
View File
@@ -1,57 +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.
```py
[gcode_macro LOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(500) %}
G91
G1 E50 F{speed}
G1 E50 F{speed}
G92
```
```py
[gcode_macro UNLOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(500) %}
G91
G1 E-50 F{speed}
G1 E-50 F{speed}
G92
```
this could be interesting to tweak the purge speed, this would be one Example Macro from alfrix:
```py
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 %}
M300 # beep
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity * 60 %}
SAVE_GCODE_STATE NAME=load_state
G91
G92 E0
G1 E350 F{max_velocity}
G1 E25 F{speed} #purge
M300
G1 E{load_distance} F{max_velocity} # fast-load
G1 E{purge_distance} F{speed} # purge
RESTORE_GCODE_STATE NAME=load_state
```
!!! 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 * 60 %}
SAVE_GCODE_STATE NAME=unload_state
G91
G92 E0
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
```
```py
[gcode_macro UNLOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(300) %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
G91
M300 # beep
G92 E0
G1 E25 F{speed} # purge
G1 E-420 F{max_velocity}
M300
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 -44
View File
@@ -1,44 +1,16 @@
class KlippyGcodes:
HOME = "G28"
HOME_X = "G28 X"
HOME_Y = "G28 Y"
HOME_Z = "G28 Z"
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"
SAVE_CONFIG = "SAVE_CONFIG"
RESTART = "RESTART"
FIRMWARE_RESTART = "FIRMWARE_RESTART"
@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):
@@ -48,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):
@@ -79,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'
)
+215 -181
View File
@@ -1,92 +1,94 @@
# -*- coding: utf-8 -*-
import contextlib
import gi
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):
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:
labels = {}
width_ratio = 16
height_ratio = 9.375
def __init__(self, screen, width, height, theme, cursor, fontsize_type):
def __init__(self, screen):
self.screen = screen
self.width = width
self.height = height
self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", theme, "images")
self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", screen.theme, "images")
self.font_size_type = screen._config.get_main_config().get("font_size", "medium")
self.width = screen.width
self.height = screen.height
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)
self.font_ratio = [33, 49] if self.screen.vertical_mode else [43, 29]
self.font_size = int(min(
self.width / self.font_ratio[0],
self.height / self.font_ratio[1]
))
if fontsize_type == "small":
self.font_size = round(self.font_size * 0.91)
elif fontsize_type == "large":
self.font_size = round(self.font_size * 1.09)
self.header_size = int(round((self.width / self.width_ratio) / 1.33))
if self.font_size_type == "max":
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.05
self.img_scale = self.img_scale * 0.7
self.bsidescale = 1.0
elif self.font_size_type == "large":
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
self.bsidescale = .55
self.img_width = self.font_size * 3
self.img_height = self.font_size * 3
self.titlebar_height = self.font_size * 2
self.img_width = int(round(self.width / self.width_ratio))
self.img_height = int(round(self.height / self.height_ratio))
logging.info(f"Font size: {self.font_size:.1f} ({self.font_size_type})")
if self.screen.vertical_mode:
self.action_bar_width = int(self.width)
self.action_bar_height = int(self.height * .1)
self.content_width = self.width
self.content_height = self.height - self.titlebar_height - self.action_bar_height
else:
self.action_bar_width = int(self.width * .1)
self.action_bar_height = int(self.height)
self.cursor = cursor
self.content_width = self.width - self.action_bar_width
self.content_height = self.height - self.titlebar_height
self.keyboard_height = self.content_height * 0.5
if self.ultra_tall:
self.keyboard_height = self.keyboard_height * 0.5
self.color_list = {} # This is set by screen.py init_style()
for key in self.color_list:
if "base" in self.color_list[key]:
rgb = [int(self.color_list[key]['base'][i:i + 2], 16) for i in range(0, 6, 2)]
self.color_list[key]['rgb'] = rgb
logging.debug(f"img width: {self.img_width} height: {self.img_height}")
def get_action_bar_width(self):
return self.action_bar_width
def get_action_bar_height(self):
return self.action_bar_height
def get_content_width(self):
return self.width - self.action_bar_width
def get_content_height(self):
if self.screen.vertical_mode:
return self.height - self.titlebar_height - self.action_bar_height
else:
return self.height - self.titlebar_height
def get_font_size(self):
return self.font_size
def get_titlebar_height(self):
return self.titlebar_height
def get_header_size(self):
return self.header_size
def get_image_width(self):
return self.img_width
def get_image_height(self):
return self.img_height
def get_keyboard_height(self):
if (self.height / self.width) >= 3:
# Ultra-tall
return self.get_content_height() * 0.25
else:
return self.get_content_height() * 0.5
def get_temp_color(self, device):
# logging.debug("Color list %s" % self.color_list)
if device not in self.color_list:
@@ -113,153 +115,185 @@ 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, scale=1.0):
filename = os.path.join(self.themedir, f"{image_name}.svg")
if os.path.exists(filename):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(filename,
int(round(self.img_width * scale)),
int(round(self.img_height * scale)),
True)
return Gtk.Image.new_from_pixbuf(pixbuf)
else:
logging.error(f"Unable to find image {filename}")
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 PixbufFromFile(self, filename, width_scale=1, height_scale=1):
return GdkPixbuf.Pixbuf.new_from_file_at_scale(
filename,
int(round(self.img_width * width_scale)),
int(round(self.img_height * height_scale)),
True
)
def update_themedir(self, theme):
self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", theme, "images")
def PixbufFromHttp(self, resource, width_scale=1, height_scale=1):
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
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):
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)
return GdkPixbuf.Pixbuf.new_from_stream_at_scale(
stream,
int(round(self.img_width * width_scale)),
int(round(self.img_height * height_scale)),
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, label=None, style=None):
b = Gtk.Button(label=label)
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
b.props.relief = Gtk.ReliefStyle.NONE
if style is not None:
b.get_style_context().add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def ButtonImage(self, image_name=None, label=None, style=None, scale=1.38,
position=Gtk.PositionType.TOP, word_wrap=True):
b = Gtk.Button(label=label)
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
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:
image_name = None
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", " "))
if image_name is not None:
b.set_image(self.Image(image_name, scale))
b.set_image_position(position)
b.set_always_show_image(True)
b.set_name(image_name)
if scale is None:
scale = self.button_image_scale
if label is None:
scale = scale * 1.4
width = height = self.img_scale * scale
b.set_image(self.Image(image_name, width, height))
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 word_wrap is True:
with contextlib.suppress(Exception):
# Get the label object
child = b.get_children()[0].get_children()[0].get_children()[1]
child.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
child.set_line_wrap(True)
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 i, button in enumerate(buttons):
dialog.add_button(button_text=button['name'], response_id=button['response'])
button = dialog.get_children()[0].get_children()[0].get_children()[0].get_children()[i]
button.get_child().set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
button.get_child().set_line_wrap(True)
button.set_size_request((screen.width - 30) / 3, screen.height / 5)
def dialog_content_decouple(self, widget, event, dialog):
self.remove_dialog(dialog)
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(Gdk.CursorType.ARROW))
else:
dialog.get_window().set_cursor(Gdk.Cursor(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.get_title()} {dialog.get_size()}")
return dialog
def ToggleButtonImage(self, image_name, label, style=None, scale=1.38):
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")
self.screen.dialogs.remove(dialog)
return
logging.debug(f"Cannot remove dialog {dialog}")
b = Gtk.ToggleButton(label=label)
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
b.set_image(self.Image(image_name, scale))
b.set_image_position(Gtk.PositionType.TOP)
b.set_always_show_image(True)
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)
if style is not None:
ctx = b.get_style_context()
ctx.add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
@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 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.TOUCH_MASK)
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
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")
+48 -29
View File
@@ -1,52 +1,71 @@
import json
import requests
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):
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:
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):
url = f"http://{self.ip}:{self.port}/server/files/gcodes/{thumbnail}"
response = requests.get(url, stream=True)
if response.status_code == 200:
response.raw.decode_content = True
return response.content
return False
return self.send_request(f"server/files/gcodes/{thumbnail}", json=False)
def send_request(self, method):
url = f"http://{self.ip}:{self.port}/{method}"
logging.debug(f"Sending request to {url}")
headers = {} if self.api_key is False else {"x-api-key": self.api_key}
def _do_request(self, method, request_method, data=None, json=None, json_response=True, timeout=3):
url = f"{self.endpoint}/{method}"
headers = {"x-api-key": self.api_key} if self.api_key else {}
try:
r = 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()
self.status = ''
return response.json() if json_response else response.content
except Exception as e:
logging.critical(e, exc_info=True)
return False
if r.status_code != 200:
self.status = self.format_status(e)
logging.error(self.status.replace('\n', '>>'))
return False
# TODO: Try/except
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):
try:
data = json.loads(r.content)
except Exception as e:
logging.critical(e, exc_info=True)
logging.exception(f"Unable to parse response from moonraker:\n {r.content}")
return False
return data
rep = {"HTTPConnectionPool": "", "/server/info ": "", "Caused by ": "", "(": "", ")": "",
": ": "\n", "'": "", "`": "", "\"": ""}
rep = {re.escape(k): v for k, v in rep.items()}
pattern = re.compile("|".join(rep.keys()))
status = pattern.sub(lambda m: rep[re.escape(m.group(0))], f"{status}").split("\n")
return "\n".join(_ for _ in status if "urllib3" not in _ and _ != "")
except TypeError or KeyError:
return status
Loaded 100 of 507 files, more files were not shown because too many files have changed in this diff. Show more