Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87d09036ee | ||
|
|
584e4fe902 | ||
|
|
8b08176cce | ||
|
|
b25e17e9cd | ||
|
|
aa1dfabd40 | ||
|
|
d1632ef9d0 | ||
|
|
ad3255b16a | ||
|
|
77ecae70b2 | ||
|
|
cfb38405c6 | ||
|
|
79f4b45713 | ||
|
|
1c2ca8eec9 | ||
|
|
edc0f0c9ed | ||
|
|
42c33d1b43 | ||
|
|
d5bf8c21cb | ||
|
|
75ee5c4740 | ||
|
|
40365346b4 | ||
|
|
ed7f266735 | ||
|
|
f8da43c379 | ||
|
|
14d3fca31c | ||
|
|
0fdbc9b484 | ||
|
|
edf79ead59 | ||
|
|
da9fda25ea | ||
|
|
530d6f4fd7 | ||
|
|
e5d1ff0270 | ||
|
|
09c94540b0 | ||
|
|
2a842839ea | ||
|
|
ed0dbaea9e | ||
|
|
001c1cb009 | ||
|
|
e2068cf2c9 | ||
|
|
31a118ad7e | ||
|
|
2a66ee618d | ||
|
|
a24ff8aeb6 | ||
|
|
6ada62730c | ||
|
|
1044d13952 | ||
|
|
c9f0c3bd52 | ||
|
|
9a215306b7 | ||
|
|
5a34fd367a | ||
|
|
f02b0c3a6b | ||
|
|
6dc2df25f7 | ||
|
|
a6866e8a0f | ||
|
|
e01b6e5f26 | ||
|
|
e80ef7eff5 | ||
|
|
6be0a2931f | ||
|
|
71b0ace83c | ||
|
|
d658bad1d7 | ||
|
|
0f8fe9abe1 | ||
|
|
a2ad8e6ade | ||
|
|
8209dbabf4 | ||
|
|
9c2f927e72 | ||
|
|
fba15bd766 | ||
|
|
f77e382252 | ||
|
|
7f00a37244 | ||
|
|
8391fdf83e | ||
|
|
35e2a46852 | ||
|
|
f3c2736f9f | ||
|
|
df6a4ea4da | ||
|
|
c10e414014 | ||
|
|
10e9e169e2 | ||
|
|
d5e55f8aad | ||
|
|
2f4f28af1c | ||
|
|
8b93ba07d9 | ||
|
|
51682be329 | ||
|
|
353bdc730f | ||
|
|
c3ef1dd789 | ||
|
|
2b7ad19d7f | ||
|
|
367d1244e8 | ||
|
|
95d3d46b8c | ||
|
|
af1de12f28 | ||
|
|
65c4b172e8 | ||
|
|
dcad47bb51 | ||
|
|
925f30f44a | ||
|
|
3780aa0c8d | ||
|
|
da3d17adbf | ||
|
|
93bb6aeb65 | ||
|
|
adb150a2c7 | ||
|
|
d9a6d0caa6 | ||
|
|
e3cbc1ea8c | ||
|
|
1c06e55442 | ||
|
|
35007af482 | ||
|
|
4800b56492 | ||
|
|
bd98e758ec | ||
|
|
aa25a96f2b | ||
|
|
90fc3288d7 | ||
|
|
e7b58edfbf | ||
|
|
9ba8d04861 | ||
|
|
dd497d592d | ||
|
|
2e5da0125f | ||
|
|
5fa1e44f16 | ||
|
|
189df7921f | ||
|
|
37e71e17f9 | ||
|
|
7dbe11e0b5 | ||
|
|
168e75059a | ||
|
|
8053e97d10 | ||
|
|
77a24ec809 | ||
|
|
fb0d0bb909 | ||
|
|
06b2246db1 | ||
|
|
0a3dfbeb10 | ||
|
|
462b3eff96 | ||
|
|
4cbd48bc97 | ||
|
|
a18df245e3 | ||
|
|
7a64682d6e | ||
|
|
bd87737467 | ||
|
|
365b9bde4f | ||
|
|
5b5b1f0485 | ||
|
|
520ba44c96 | ||
|
|
b7d1086c15 | ||
|
|
1fc23d30cb | ||
|
|
5a5fe7a609 | ||
|
|
32d853472e | ||
|
|
fe81370825 | ||
|
|
c27b3fefc4 | ||
|
|
6d5eb09010 | ||
|
|
5713a348de | ||
|
|
de422f23ad | ||
|
|
3a7818bd35 | ||
|
|
34f9b958a7 | ||
|
|
3f11897491 | ||
|
|
8d9236a2df | ||
|
|
cb5b77303f | ||
|
|
71dcb1f91d | ||
|
|
403a3024ce | ||
|
|
87ad2a70ba | ||
|
|
7ba9e49374 | ||
|
|
ae03e7d55d | ||
|
|
72c6bdfe33 | ||
|
|
3c69bcb4c4 | ||
|
|
a149796b19 | ||
|
|
1d2a89b4e7 | ||
|
|
2a9044e4f4 | ||
|
|
870256df09 | ||
|
|
d0ab325744 | ||
|
|
432305bec9 | ||
|
|
46311e58f1 | ||
|
|
0d05ef3b59 | ||
|
|
f19d39fce1 | ||
|
|
ff292f77c9 | ||
|
|
b249c79180 | ||
|
|
e8a2d3443e | ||
|
|
fab620dce7 | ||
|
|
06240ee872 | ||
|
|
12a79ed2c7 | ||
|
|
ca71953cfa | ||
|
|
304e285b7f | ||
|
|
c02d001e9d | ||
|
|
d589a1e31c | ||
|
|
797ea99f33 | ||
|
|
0cc58c0f08 | ||
|
|
ffc5ff3c06 | ||
|
|
d6b700381b | ||
|
|
f9af11d635 | ||
|
|
3ba6bd657f | ||
|
|
fff7f66780 | ||
|
|
6190581101 | ||
|
|
0f47d45294 | ||
|
|
f94c7d38eb | ||
|
|
cb1793836c | ||
|
|
9da9f4d11e | ||
|
|
062e51f9be | ||
|
|
294623c13f | ||
|
|
828b5b6a4b | ||
|
|
d3480cf571 | ||
|
|
b5abd3d7b9 | ||
|
|
4f86de8c80 | ||
|
|
5fb0acc3ac | ||
|
|
5a0df3a628 | ||
|
|
baae949beb | ||
|
|
eb0e6ad803 | ||
|
|
a973300d2f | ||
|
|
391254057a | ||
|
|
efc8c3f437 | ||
|
|
2c582acc7b | ||
|
|
7cf89aa014 | ||
|
|
540528630b | ||
|
|
92ed72e48b | ||
|
|
4920720c99 | ||
|
|
2241b54153 | ||
|
|
dbe3f03019 | ||
|
|
7a7d275c31 | ||
|
|
3b8b8e9c9b | ||
|
|
35498d39c7 | ||
|
|
8a29b6e125 | ||
|
|
c5522b29da | ||
|
|
c1d8a4f033 | ||
|
|
f7c12867d5 | ||
|
|
f0a33bd360 | ||
|
|
72c1b1d5f2 | ||
|
|
ff94b45c45 | ||
|
|
1813533bec | ||
|
|
fa73daaf71 | ||
|
|
b74b1b600f | ||
|
|
88afa50ea3 | ||
|
|
65588424bf | ||
|
|
7a0848fa9f | ||
|
|
791938d733 | ||
|
|
2d61eba66b | ||
|
|
1e4885d291 | ||
|
|
1462c8d08c | ||
|
|
c38a3273f3 | ||
|
|
2a0ea6e248 | ||
|
|
eb24987b27 | ||
|
|
85ba01f2d8 | ||
|
|
5d4459ff0b | ||
|
|
0798ce0737 | ||
|
|
6781043942 | ||
|
|
be13c1086e | ||
|
|
4db7fd288c | ||
|
|
3dc535f8fb | ||
|
|
6b62adbfef | ||
|
|
0e877ac5d6 | ||
|
|
1ab9b96db7 | ||
|
|
8e77d24505 | ||
|
|
a77148b603 | ||
|
|
46dd978dcc | ||
|
|
17dd3bb83a | ||
|
|
7905e4d7fa | ||
|
|
b337d27dd4 | ||
|
|
1e741ee439 | ||
|
|
49d910af2b | ||
|
|
ebaedeaf6c | ||
|
|
0b973ad4c5 | ||
|
|
13a358acd8 | ||
|
|
54e7a8b6a2 | ||
|
|
abacff9bd5 | ||
|
|
d21a9616e7 | ||
|
|
282799c8cb | ||
|
|
d775e15fa0 | ||
|
|
a1c602b46d | ||
|
|
0f97f6e32c | ||
|
|
da9f970231 | ||
|
|
3417765223 | ||
|
|
b963c55140 | ||
|
|
2d8419ca13 | ||
|
|
5f3827a2cb | ||
|
|
d6f7bdcfe6 | ||
|
|
87c3f03719 | ||
|
|
094b90cf86 | ||
|
|
3220f084ec | ||
|
|
dfe1ac8d2c | ||
|
|
be473bf626 | ||
|
|
b353f8526e | ||
|
|
122752b000 | ||
|
|
0f0c6f9b6e | ||
|
|
18af1d1410 | ||
|
|
926d78de01 | ||
|
|
a5b639fba2 | ||
|
|
55af0d753c | ||
|
|
d6693fbecc | ||
|
|
e426b06b8b | ||
|
|
c722674918 | ||
|
|
3d7e92f507 | ||
|
|
fc7b8c5304 | ||
|
|
a6bb0fd02e | ||
|
|
dcb6d18709 | ||
|
|
69571c88b8 | ||
|
|
c33b5d6311 | ||
|
|
49add980b3 | ||
|
|
8d8d3bf9af | ||
|
|
059f1a8026 | ||
|
|
eeffdd26dd | ||
|
|
5de5e1e3eb | ||
|
|
485c82c53f | ||
|
|
4e60f65404 | ||
|
|
85cec193f9 | ||
|
|
34055277e0 | ||
|
|
9b4c58369e | ||
|
|
b96adf55ed | ||
|
|
f6afb4d4ab | ||
|
|
3c5449f0db | ||
|
|
c828d8349c | ||
|
|
9fa047eb8b | ||
|
|
82b8cbcca5 | ||
|
|
1f5a090bfd | ||
|
|
e4d5cd65ce | ||
|
|
502d9699bd | ||
|
|
d2d2c82041 | ||
|
|
1375c823c9 | ||
|
|
74338a7f3e | ||
|
|
778cd84ba8 | ||
|
|
a83f499c0c | ||
|
|
70d7564a78 | ||
|
|
f31ae7a829 | ||
|
|
701ff35652 | ||
|
|
7120c424d4 | ||
|
|
413e822fa5 | ||
|
|
75c716f9a1 | ||
|
|
41a8ebf084 | ||
|
|
57ce346d69 | ||
|
|
753be13a0c | ||
|
|
06bf269862 | ||
|
|
45e1f652db | ||
|
|
6a95e46a18 | ||
|
|
250574bc41 | ||
|
|
f49e1ef6c4 | ||
|
|
904dd24c10 | ||
|
|
f52b52f76a | ||
|
|
dc5741d605 | ||
|
|
02b69d0d39 | ||
|
|
de252643c1 | ||
|
|
548fc4de69 | ||
|
|
72599b5ba7 | ||
|
|
c714553da1 | ||
|
|
36faaa153a | ||
|
|
629451051d | ||
|
|
fcb6861119 | ||
|
|
34a9151910 | ||
|
|
683b72ab20 | ||
|
|
e658f562be | ||
|
|
ab4d4af7f8 | ||
|
|
4804f5a5e0 | ||
|
|
7651b892b8 | ||
|
|
91b505bfef | ||
|
|
415535eeb8 | ||
|
|
8ebc855ddd | ||
|
|
efebea2c36 | ||
|
|
75c8681781 | ||
|
|
ea4efa1f61 | ||
|
|
9de058b0d7 | ||
|
|
3a764be93f | ||
|
|
4dceeb77b6 | ||
|
|
2bacac7efb | ||
|
|
79afa3620a | ||
|
|
d161c3f1e4 | ||
|
|
ec86403056 | ||
|
|
b1a6d5c182 | ||
|
|
61cf5828e2 | ||
|
|
69a7d3defb | ||
|
|
3047fde812 | ||
|
|
49c2e4f1d7 | ||
|
|
68ccf5e803 | ||
|
|
62ef4f1844 | ||
|
|
3c8886ab36 | ||
|
|
d6161539a6 | ||
|
|
25797b5ed3 | ||
|
|
56149e4148 | ||
|
|
d0fc1e197d | ||
|
|
1df2d0e8f0 | ||
|
|
217b185730 | ||
|
|
db4e5d4e08 | ||
|
|
7a8fe9f6ac | ||
|
|
741d9b654d | ||
|
|
fe06b38128 | ||
|
|
da164b495e | ||
|
|
26030526a9 | ||
|
|
17cae91708 | ||
|
|
a61a74d7bf | ||
|
|
e9df355b3b | ||
|
|
6ae6937c49 | ||
|
|
4f5e025de1 | ||
|
|
20346a90dc | ||
|
|
abb1f0d2d2 | ||
|
|
959f7e3401 | ||
|
|
2e39de56bd | ||
|
|
d8b4d2d293 | ||
|
|
cdb40e8ce1 | ||
|
|
f8cde7bfe1 | ||
|
|
9604c159b5 | ||
|
|
8297f72ff4 | ||
|
|
b5cf73054a | ||
|
|
c630178f0c | ||
|
|
db48bb8a1f | ||
|
|
e1f02fd870 | ||
|
|
43a2f88ad1 | ||
|
|
e98114eaff | ||
|
|
8834ceb3e8 | ||
|
|
1806973ba1 | ||
|
|
0d87592093 | ||
|
|
c0ffa41010 | ||
|
|
9ec4ed204e | ||
|
|
9211583a15 | ||
|
|
12b9ee5344 | ||
|
|
97106bc2e0 | ||
|
|
00bd6ac4db | ||
|
|
33fd5f9576 | ||
|
|
c09e552e3a | ||
|
|
5c7dfaf703 | ||
|
|
593d8c678b | ||
|
|
34fde780fc | ||
|
|
ea33d9de0f | ||
|
|
0b1b2f0e19 | ||
|
|
8d2f90f800 | ||
|
|
ef5f86a67d | ||
|
|
b415eca1c8 | ||
|
|
880f7628e4 | ||
|
|
03ab14fa64 | ||
|
|
717575256c | ||
|
|
0233327554 | ||
|
|
484dbd1609 | ||
|
|
383086e303 | ||
|
|
e90dac950c | ||
|
|
d0d79a64df | ||
|
|
7b7c3838fc | ||
|
|
818f1ab465 | ||
|
|
bdd3e0ba1b | ||
|
|
f1754f1014 | ||
|
|
054523d937 | ||
|
|
fa10b00db7 | ||
|
|
e785022e64 | ||
|
|
dbd1474d63 | ||
|
|
1ca950c1fc | ||
|
|
c4c7e50314 | ||
|
|
e29b41e5c3 | ||
|
|
fc0f153023 | ||
|
|
cebd371734 | ||
|
|
86ee1eb19f | ||
|
|
c3c28175ca | ||
|
|
5d12addbba | ||
|
|
92e899cf56 | ||
|
|
6cb18816e2 | ||
|
|
6ca35ffab0 | ||
|
|
7ca37c56b6 | ||
|
|
675f28b318 | ||
|
|
cfa35ba8e4 | ||
|
|
380df961e5 | ||
|
|
8dc12bea2c | ||
|
|
5215c8f985 | ||
|
|
45b172f85c | ||
|
|
2c30bdeddf | ||
|
|
09f992d3b5 | ||
|
|
128fee5e96 | ||
|
|
529b111fce | ||
|
|
d55bc160ac | ||
|
|
7a71fa75f7 | ||
|
|
1db6388798 | ||
|
|
bdafb31522 | ||
|
|
bd82d211f5 | ||
|
|
45ab86204b | ||
|
|
972a09df41 | ||
|
|
9b1b9593e8 | ||
|
|
dd33ee04bb | ||
|
|
04f3c5b7a5 | ||
|
|
18d8f835a9 | ||
|
|
b68cfa40fd | ||
|
|
86c52dece8 | ||
|
|
4272109a27 | ||
|
|
c5fe8b02a4 | ||
|
|
fdf13102fe | ||
|
|
e1ea41f147 | ||
|
|
6b1fd23e35 | ||
|
|
9020d0b0ea | ||
|
|
022954918c | ||
|
|
e4ff009ef6 | ||
|
|
f7cbff3ed8 | ||
|
|
f80c2687c5 | ||
|
|
0bfbe90dcd | ||
|
|
04e060c43c | ||
|
|
6083248dfa | ||
|
|
df401d4924 | ||
|
|
731a78b2f2 | ||
|
|
1e6a9ec8ae | ||
|
|
300eed4d29 | ||
|
|
7bef1d45c8 | ||
|
|
2aec78ff4c | ||
|
|
4d0edf3c0b | ||
|
|
a695c68a25 | ||
|
|
6ca80baea8 | ||
|
|
260d4b16e5 | ||
|
|
67dc2c9fdf | ||
|
|
8b55d2f2b1 | ||
|
|
f05cbe9f0b | ||
|
|
3bbefd8bd5 | ||
|
|
b8e819629a | ||
|
|
f5b8ae1002 | ||
|
|
78f76d659c | ||
|
|
ce6158ad91 | ||
|
|
0ca410acba | ||
|
|
02c043eece | ||
|
|
88461910c9 | ||
|
|
19506292b5 | ||
|
|
1dc3433e02 | ||
|
|
ca7143f776 | ||
|
|
26d10a949b | ||
|
|
8855d9b98f | ||
|
|
df195a0135 | ||
|
|
23b64b1625 | ||
|
|
44623b44d1 | ||
|
|
6e4d0ff962 | ||
|
|
2fef5660cb | ||
|
|
3be65a686a | ||
|
|
9c4f4c5fe7 | ||
|
|
ba392d75b9 | ||
|
|
39b786c198 | ||
|
|
e36cf78e40 | ||
|
|
11dd95b939 | ||
|
|
e0950247d2 | ||
|
|
8d1ca4eba1 | ||
|
|
6c66ccada7 | ||
|
|
01fde5a1e9 | ||
|
|
64745c8578 | ||
|
|
b77321ce28 | ||
|
|
f4a0b0f8b1 | ||
|
|
7ee162092c | ||
|
|
2fc01c07b6 | ||
|
|
73e4645df0 | ||
|
|
5e4760771d | ||
|
|
38d006c8a7 | ||
|
|
79c858ded6 | ||
|
|
03e4681aa6 | ||
|
|
5154e41fed | ||
|
|
371968b458 | ||
|
|
c3128ef508 | ||
|
|
09ccd46528 | ||
|
|
874212e166 | ||
|
|
f749969c07 | ||
|
|
f6e4e231b1 | ||
|
|
d536b054b8 | ||
|
|
5d539d0059 | ||
|
|
8a82590829 | ||
|
|
f588571bdd | ||
|
|
d27227aede | ||
|
|
7666a91872 | ||
|
|
51ddee28c3 | ||
|
|
0620d660f5 | ||
|
|
b988c3c8c9 | ||
|
|
d3d7104ec4 | ||
|
|
93457b2961 | ||
|
|
b36e75ec1a | ||
|
|
d6e4ad0a35 | ||
|
|
0de49ee0cd | ||
|
|
8cc86dfd7c | ||
|
|
da9051a9b2 | ||
|
|
32fab0482f | ||
|
|
792e1bf8bf | ||
|
|
b346d765a2 | ||
|
|
c5413e51c9 | ||
|
|
2121d4a6aa | ||
|
|
17e4bb704e | ||
|
|
d3281379ee | ||
|
|
62fd6b96f8 | ||
|
|
b9effb5447 | ||
|
|
70b5532695 | ||
|
|
1332045128 | ||
|
|
1305b40c41 | ||
|
|
e208873e46 | ||
|
|
723662074e | ||
|
|
4b7fda9ba0 | ||
|
|
2e026aef56 | ||
|
|
28fe1bf6d8 | ||
|
|
4076e6349a | ||
|
|
d0d171e676 | ||
|
|
978bb72e20 | ||
|
|
74dee10d39 | ||
|
|
a83bbed85a | ||
|
|
c2991364ba | ||
|
|
2224478ea0 | ||
|
|
089076c72c | ||
|
|
72413544c8 | ||
|
|
032638e027 | ||
|
|
79b3429837 | ||
|
|
35571fce8a | ||
|
|
1b758b85c6 | ||
|
|
2f427f7b82 | ||
|
|
c061378e62 | ||
|
|
1f3fe23716 | ||
|
|
b2d7dda30f | ||
|
|
5f9bd9648a | ||
|
|
0e353d333c | ||
|
|
ebaecedf0d | ||
|
|
4656be8c16 | ||
|
|
2cce477e5b | ||
|
|
069097d2e0 | ||
|
|
de540402ec | ||
|
|
1d40b9cf7f | ||
|
|
81573fbd39 | ||
|
|
5d428e4999 | ||
|
|
abe12cca30 | ||
|
|
43c3a4b20d | ||
|
|
856e204750 | ||
|
|
2d7486974c | ||
|
|
fd7ff6b0cd | ||
|
|
2939bbe543 | ||
|
|
07b134f1a0 | ||
|
|
5392b9337d | ||
|
|
d2fccca2fc | ||
|
|
89e89ae1b2 | ||
|
|
a599d667e9 | ||
|
|
09375c138c | ||
|
|
28303573f9 | ||
|
|
54764be269 | ||
|
|
657f1b133f | ||
|
|
1704276c2d | ||
|
|
97f170ba59 | ||
|
|
553423e3d8 | ||
|
|
de7b57f6b7 | ||
|
|
2d8b5c1974 | ||
|
|
be2d5b040c | ||
|
|
d1604c68d6 | ||
|
|
2902e95068 | ||
|
|
4cb17c18a9 | ||
|
|
e140120b44 | ||
|
|
0d2c1b013b | ||
|
|
70e3091127 | ||
|
|
c57915ef19 | ||
|
|
c604c25d71 | ||
|
|
e986e3cd8e | ||
|
|
ce8762da19 | ||
|
|
4f959696bd | ||
|
|
64335b3fef | ||
|
|
22081148fe | ||
|
|
b1237ea75e | ||
|
|
c1f17b154c | ||
|
|
ea5c5afa5e | ||
|
|
f60a878e7b | ||
|
|
38ceea5204 | ||
|
|
836e4a3aea | ||
|
|
4124a67450 | ||
|
|
6db43af8cb | ||
|
|
3e5855d207 | ||
|
|
2c8436500c | ||
|
|
5366df6e2c | ||
|
|
036ba207ee | ||
|
|
6cebf6ad0d | ||
|
|
3847fea315 | ||
|
|
200dca9dd3 | ||
|
|
6863d1c32e | ||
|
|
737447939f | ||
|
|
393586b191 | ||
|
|
5a39e24230 | ||
|
|
054fc80006 | ||
|
|
2d2605b526 | ||
|
|
58bddd58a8 | ||
|
|
79cef455af | ||
|
|
6094d4b6c0 | ||
|
|
be1b5228c1 | ||
|
|
36225ed59f | ||
|
|
835803d329 | ||
|
|
0ec2baf302 | ||
|
|
c1b34839bc | ||
|
|
83c6f87281 | ||
|
|
455cb9da99 | ||
|
|
f37a6b579f | ||
|
|
e332ccc22a | ||
|
|
207914a5b5 | ||
|
|
c06ca56ea0 | ||
|
|
b1f149495d | ||
|
|
16871f967e | ||
|
|
7ba83227bd | ||
|
|
6fee87fb18 | ||
|
|
4e701c88ad | ||
|
|
a68a3df2e6 | ||
|
|
af1ae9a0ec | ||
|
|
de84bd6597 | ||
|
|
d5bc271788 | ||
|
|
e8e4555d46 | ||
|
|
af158a4279 | ||
|
|
ad614e6734 | ||
|
|
eb17bb58ad | ||
|
|
9c2b52009a | ||
|
|
0d8746d3e3 | ||
|
|
a0cff7ec56 | ||
|
|
317f9df4b5 | ||
|
|
422f5619be | ||
|
|
88ca902a4b | ||
|
|
c047bed518 | ||
|
|
aa2bfcbaee | ||
|
|
752e53ff56 | ||
|
|
5234a5dc15 | ||
|
|
3bae1a4da8 | ||
|
|
fda5589531 | ||
|
|
f9e6ac62b7 | ||
|
|
fcbe264d1a | ||
|
|
25e6110dab | ||
|
|
aa5f91a548 | ||
|
|
6510b2ec6b | ||
|
|
68d4f9c534 | ||
|
|
a44f8f7b13 | ||
|
|
e1961db6e9 | ||
|
|
41f0a4c4ce | ||
|
|
fedb0a3387 | ||
|
|
d69b0ac66a | ||
|
|
020e20db44 | ||
|
|
050cc13e57 | ||
|
|
37c10fc8b3 | ||
|
|
e70c9d37e9 | ||
|
|
fd221bde86 | ||
|
|
e616c842ed | ||
|
|
f97bed826b | ||
|
|
9833b887ad | ||
|
|
92335b78a0 | ||
|
|
6b88ac0558 | ||
|
|
3babd0e02c | ||
|
|
d295129fa0 | ||
|
|
a00d5a074c | ||
|
|
314379e2af | ||
|
|
3b73acec37 | ||
|
|
d3cd4008a8 | ||
|
|
784253ca77 | ||
|
|
0feffff2ac | ||
|
|
bde7e8a886 | ||
|
|
71360b44ee | ||
|
|
c20149ac25 | ||
|
|
92254942ef | ||
|
|
3ed8142ab9 | ||
|
|
2fd5e6e89f | ||
|
|
5e73fb03b5 | ||
|
|
5ad82a64d4 | ||
|
|
3bb470ded4 | ||
|
|
831db2403d | ||
|
|
b611491997 | ||
|
|
5c17656567 | ||
|
|
06fceec84a | ||
|
|
12d90bcffa | ||
|
|
a445b89f13 | ||
|
|
88ea416110 | ||
|
|
5f1d239211 | ||
|
|
312d131db5 | ||
|
|
5a02ac75ae | ||
|
|
c6df1b667c | ||
|
|
c18e2d148e | ||
|
|
b76953ebfe | ||
|
|
c4780fa56e | ||
|
|
faf997c7ae | ||
|
|
bd03a66dde | ||
|
|
431eb0058c | ||
|
|
6051e51f0e | ||
|
|
d3ce521bb0 | ||
|
|
da26bf3143 | ||
|
|
05b25cda15 | ||
|
|
eedf5448a0 | ||
|
|
8d83801b0e | ||
|
|
61c5bea9a0 | ||
|
|
3775dbd44e | ||
|
|
880d4740e6 | ||
|
|
511f715f7e | ||
|
|
9e800dd008 | ||
|
|
6869514004 | ||
|
|
c6243e37fb | ||
|
|
73dbae7871 | ||
|
|
2568a9262f | ||
|
|
6bb712f970 | ||
|
|
b8cf60bd2c | ||
|
|
5437eaead0 | ||
|
|
6b432c167f | ||
|
|
9d25836df4 | ||
|
|
54fc0458e0 | ||
|
|
3361c243b7 | ||
|
|
2da5a4df32 | ||
|
|
0f4f56bb9f | ||
|
|
33195f203f | ||
|
|
3889fdbe4c | ||
|
|
7b4a24d079 | ||
|
|
c91deda220 | ||
|
|
cc755edeb2 | ||
|
|
5a36729b76 | ||
|
|
fd2a717ece | ||
|
|
48860159e9 | ||
|
|
4ff63798c8 | ||
|
|
ea3e7ad3d1 | ||
|
|
562e49b8d2 | ||
|
|
7c8d4ea4d7 | ||
|
|
b77b7c0976 | ||
|
|
8550cbcab6 | ||
|
|
ade8911ba6 | ||
|
|
b9036901e7 | ||
|
|
f88a5c8440 | ||
|
|
53bc6f25ff | ||
|
|
21633b9302 | ||
|
|
a0a222c386 | ||
|
|
fa0d696120 | ||
|
|
7e988b3f35 | ||
|
|
f98ac0bfe4 | ||
|
|
a29da7e76c | ||
|
|
794dbea14e | ||
|
|
432b12d67e | ||
|
|
8accce00a9 | ||
|
|
35381beeb6 | ||
|
|
1eaa82ba2d | ||
|
|
35c4136bd5 | ||
|
|
31546f0020 | ||
|
|
aac58bd885 | ||
|
|
7ca118de86 | ||
|
|
7420f38b15 | ||
|
|
6aa7f56231 | ||
|
|
504d395661 | ||
|
|
a77134d63b | ||
|
|
c763bd5a5b | ||
|
|
228994b2f2 | ||
|
|
3a5427c7f0 | ||
|
|
b42043bc79 | ||
|
|
b3268223bb | ||
|
|
430284b7a1 | ||
|
|
8ad21ab7cb | ||
|
|
8ba28fde1c | ||
|
|
7078e52a4f | ||
|
|
b555768980 | ||
|
|
2c6a853a80 | ||
|
|
3ea0b09863 | ||
|
|
618c9ac0e8 | ||
|
|
a84cb63f8b | ||
|
|
0a8e757054 | ||
|
|
0fb2046615 | ||
|
|
583397ebeb | ||
|
|
4bace34847 | ||
|
|
dd72e7d46a | ||
|
|
013b50985f | ||
|
|
dc9cf760db | ||
|
|
979217502d | ||
|
|
1ff0616457 | ||
|
|
e09d72f12d | ||
|
|
ab38dab291 | ||
|
|
c33659c6f7 | ||
|
|
c81836542a | ||
|
|
cdb57f73bb | ||
|
|
2a8a2ec2e7 | ||
|
|
9f9e2ed6ad | ||
|
|
f707ba8cf3 | ||
|
|
76b7ad54eb | ||
|
|
51b4d1e1e6 | ||
|
|
5eac3bef6b | ||
|
|
53c7afd7a5 | ||
|
|
b70524cd28 | ||
|
|
1e7c065ce4 | ||
|
|
6f86448405 | ||
|
|
2a7acea86c | ||
|
|
e186fa6a3d | ||
|
|
b7d58a7ffb | ||
|
|
6a4eb7ac22 | ||
|
|
4c8bb4ff6f | ||
|
|
9dc8335a07 | ||
|
|
a90ab54e1d | ||
|
|
2e16193292 | ||
|
|
d945ef8b0a | ||
|
|
b73292c8f9 | ||
|
|
bc366b708d | ||
|
|
07bbbe9d51 | ||
|
|
3a91ba4604 | ||
|
|
2dc7a716ee | ||
|
|
ff087e7a6f | ||
|
|
b83f12265d | ||
|
|
ffaad4daf7 | ||
|
|
d1e54bab64 | ||
|
|
abb02d3965 | ||
|
|
62c91bc69b | ||
|
|
0fd4c30ee8 | ||
|
|
e59d43645a | ||
|
|
d158090bea | ||
|
|
bc34b3c8d6 | ||
|
|
64ebf861fb | ||
|
|
50d3671d0f | ||
|
|
5286e433fe | ||
|
|
50e72b0308 | ||
|
|
1dee914564 | ||
|
|
8108500dc2 | ||
|
|
987cf89351 | ||
|
|
48b2ef513f | ||
|
|
4899701ae3 | ||
|
|
330a456ed3 | ||
|
|
2ffb88e958 | ||
|
|
82c8d62876 | ||
|
|
0d259d6d04 | ||
|
|
046e03b883 | ||
|
|
7dc74f74f4 | ||
|
|
22f3a2a37a | ||
|
|
b2eb7a1764 | ||
|
|
1af42e6f0f | ||
|
|
aa6ae014d8 | ||
|
|
a893f47604 | ||
|
|
2e1fa110de | ||
|
|
7ab64c5a85 | ||
|
|
ee0cc9ca10 | ||
|
|
5899c8feab | ||
|
|
d6672ee41f | ||
|
|
6ce0ea7253 | ||
|
|
b1dd83d955 | ||
|
|
7a4613bfe4 | ||
|
|
490dc929bd | ||
|
|
65248bfef7 | ||
|
|
cee3243729 | ||
|
|
b379363cf2 | ||
|
|
708fec4c45 | ||
|
|
f9f313f076 | ||
|
|
0458a19b63 | ||
|
|
3d009ad72b | ||
|
|
3c3db7fa21 | ||
|
|
088a6deabd | ||
|
|
882a088174 | ||
|
|
7f03061ce6 | ||
|
|
27d00c049b | ||
|
|
5c42c53ee8 | ||
|
|
9b819f6a45 | ||
|
|
49ab84e8d5 | ||
|
|
1b7f908d6b | ||
|
|
a1173d7113 | ||
|
|
244f964126 | ||
|
|
7e9fc97b4b | ||
|
|
5a4addf3ed | ||
|
|
77aef7cf67 | ||
|
|
ebfe0debb8 | ||
|
|
320b7a8836 | ||
|
|
c77bdfe617 | ||
|
|
dd027c0583 | ||
|
|
3c1110d730 | ||
|
|
df0f8961e5 | ||
|
|
be3c24198d | ||
|
|
21be9df72e | ||
|
|
c4ac1cb52e | ||
|
|
c3b7498eb5 | ||
|
|
84fc6e5757 | ||
|
|
a01762b279 | ||
|
|
4674737d0c | ||
|
|
ea4b98f3d6 | ||
|
|
0625935062 | ||
|
|
1753105265 | ||
|
|
926773f4f3 | ||
|
|
bf67129528 | ||
|
|
ef5873d095 | ||
|
|
45d195bcd2 | ||
|
|
de35769600 | ||
|
|
cfe1bb8504 | ||
|
|
41b3309ff9 | ||
|
|
fce90ebf9d | ||
|
|
d05ac06ad3 | ||
|
|
1964f13e26 | ||
|
|
8375606771 | ||
|
|
d0b651c9dd | ||
|
|
20aa25256f | ||
|
|
c1b9123e9e | ||
|
|
5c23946283 | ||
|
|
ffb62f149c | ||
|
|
e1877f2c2e | ||
|
|
d5ab606509 | ||
|
|
da7667e64e | ||
|
|
5384c59689 | ||
|
|
e478c3e8d9 | ||
|
|
7db75ec30f | ||
|
|
57377a7e8b | ||
|
|
aad665e3ca | ||
|
|
f2d642b94d | ||
|
|
588869aa57 | ||
|
|
0f5752e3f1 | ||
|
|
b9b404a356 | ||
|
|
c1372c1839 | ||
|
|
dad267d278 | ||
|
|
4c89eaf3e2 | ||
|
|
c8a8f020af | ||
|
|
21b0466f95 | ||
|
|
86cdcfafe4 | ||
|
|
7bb99ecc7d | ||
|
|
d0ccdc0f7c | ||
|
|
f9f640ca52 | ||
|
|
4e594c258f | ||
|
|
17b21bd41d | ||
|
|
213f1c92d6 | ||
|
|
02c008de84 | ||
|
|
d8bc4747e8 | ||
|
|
0592840ded | ||
|
|
4b0b937c41 | ||
|
|
1b38dbb36a | ||
|
|
5d19652b5b | ||
|
|
07aa6bb7f7 | ||
|
|
8e8e23de0f | ||
|
|
de0b6ea435 | ||
|
|
1065676018 | ||
|
|
efa6344964 | ||
|
|
a754cdc239 | ||
|
|
0e3027638f | ||
|
|
ec4213b971 | ||
|
|
d2419335b4 | ||
|
|
f156bd8529 | ||
|
|
5d3bae8ff9 | ||
|
|
8dd5c64006 | ||
|
|
86fc0f9988 | ||
|
|
8775221b5f | ||
|
|
f796a72057 | ||
|
|
8c489bc465 | ||
|
|
6b043d63bc | ||
|
|
e1e3437d62 | ||
|
|
41aa953cfd | ||
|
|
d24f3d6f5c | ||
|
|
2982eb9645 | ||
|
|
0aab9ff4c4 | ||
|
|
eb80be47db | ||
|
|
8a8c6c064c | ||
|
|
58e0aa74d0 | ||
|
|
9449f24b5f | ||
|
|
9d3a6c7538 | ||
|
|
ce872a54b1 | ||
|
|
4bfd0d13fb | ||
|
|
d19e303f0d | ||
|
|
22221c61ac | ||
|
|
e7bf13b6df | ||
|
|
7ac4d3b290 | ||
|
|
6c3c579e6e | ||
|
|
0b9d545c6f | ||
|
|
d9171e0d15 | ||
|
|
964ae7986f | ||
|
|
ae47cac064 | ||
|
|
bfe6321c2f | ||
|
|
70767c2bb6 | ||
|
|
70caf24c35 | ||
|
|
bca1ac6ba6 | ||
|
|
9660172e0b | ||
|
|
698b86ac1c | ||
|
|
2a9e653505 | ||
|
|
d21e9cbfaa | ||
|
|
c3103d3b11 | ||
|
|
dd56d192cc | ||
|
|
e26e4006d6 | ||
|
|
fdf81ecf06 | ||
|
|
ac3bde654a | ||
|
|
139115a0e9 | ||
|
|
5bfcd0108a | ||
|
|
141bc38876 |
No files matched your search
@@ -1,12 +0,0 @@
|
||||
# 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']
|
||||
@@ -0,0 +1,54 @@
|
||||
name: Bug report
|
||||
description: Create a report to help us improve
|
||||
title: "[BUG] <title>"
|
||||
labels: 'bug'
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: >-
|
||||
## Thank you for choosing KlipperScreen
|
||||
|
||||
This is a bug report, If you need general support, please visit us on [Discord](https://discord.klipper3d.org/)
|
||||
|
||||
#### The LOG file is REQUIRED. Without the logfile your issue will be closed
|
||||
|
||||
if you need help to find the log file:
|
||||
Read the [Documentation](https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/)
|
||||
|
||||
#### 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: what-happened
|
||||
attributes:
|
||||
label: 'What happened?'
|
||||
description: A clear and concise description of what the bug is.
|
||||
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.
|
||||
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.
|
||||
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.
|
||||
- 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.
|
||||
render: shell
|
||||
validations:
|
||||
required: true
|
||||
@@ -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.
|
||||
@@ -0,0 +1,44 @@
|
||||
name: Feature request
|
||||
description: Suggest an idea for this project
|
||||
title: "[FR] <title>"
|
||||
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
|
||||
@@ -0,0 +1,82 @@
|
||||
# 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:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ "master" ]
|
||||
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@v3
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
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@v2
|
||||
|
||||
# ℹ️ 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@v2
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
@@ -2,7 +2,7 @@ name: test-code
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
lint-python-code:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: ricardochaves/python-lint@v1.4.0
|
||||
@@ -14,4 +14,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"
|
||||
@@ -0,0 +1,8 @@
|
||||
.idea/
|
||||
KlipperScreen.conf
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
dist/
|
||||
build/
|
||||
venv/
|
||||
@@ -0,0 +1,15 @@
|
||||
# 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-22.04
|
||||
tools:
|
||||
python: "3.11"
|
||||
mkdocs:
|
||||
configuration: mkdocs.yml
|
||||
# Optionally declare the Python requirements required to build your docs
|
||||
python:
|
||||
install:
|
||||
- requirements: docs/requirements.txt
|
||||
@@ -1,15 +1,34 @@
|
||||
# KlipperScreen
|
||||
|
||||
KlipperScreen is touchscreen GUI for Klipper based 3D printers. KlipperScreen interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker).
|
||||
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.
|
||||
|
||||
Multiple printers update is here! Please check the configuration information for specifying several printers.
|
||||
|
||||
### Documentation
|
||||
### Documentation [](https://klipperscreen.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
[Click here to access the documentation.](https://klipperscreen.readthedocs.io/en/latest/)
|
||||
|
||||
Screenshots are included in the documentation.
|
||||
|
||||
### 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).
|
||||
|
||||
[](https://klipperscreen.readthedocs.io/en/latest/Panels/)
|
||||
|
||||
[More Screenshots](https://klipperscreen.readthedocs.io/en/latest/Panels/)
|
||||
|
||||
### 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
|
||||
|
||||
|Dontate to Alfrix|
|
||||
|-|
|
||||
|[Ko-fi](https://ko-fi.com/alfrix)|
|
||||
|
||||
thanks to all the people who helped along the way.
|
||||
|
||||
[Contributors](https://github.com/KlipperScreen/KlipperScreen/graphs/contributors)
|
||||
@@ -0,0 +1,106 @@
|
||||
# Android
|
||||
|
||||
This article describes how to use KlipperScreen from an android device
|
||||
|
||||
!!! 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.
|
||||
|
||||
!!! bug
|
||||
Some [users have found](https://github.com/KlipperScreen/KlipperScreen/issues/862) that using this method causes memory-leaks
|
||||
|
||||
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)
|
||||
|
||||
### 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.
|
||||
|
||||
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"
|
||||
|
||||
* Copy the launcher script
|
||||
|
||||
```bash
|
||||
cd ~/KlipperScreen/scripts
|
||||
cp sample-android-adb.sh launch_KlipperScreen.sh
|
||||
chmod +x launch_KlipperScreen.sh
|
||||
```
|
||||
|
||||
* Go to [Startup](#startup)
|
||||
|
||||
### WIFI
|
||||
|
||||
* Create a launcher script
|
||||
|
||||
```bash
|
||||
cd ~/KlipperScreen/scripts
|
||||
touch launch_KlipperScreen.sh
|
||||
chmod +x launch_KlipperScreen.sh
|
||||
nano launch_KlipperScreen.sh
|
||||
```
|
||||
|
||||
* Paste this into the script (replace the example IP)
|
||||
```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)
|
||||
|
||||
## Startup
|
||||
|
||||
Start Xserver-XSDL On the android device
|
||||
|
||||
On the splash-screen of the app go to:
|
||||
```
|
||||
“CHANGE DEVICE CONFIGURATION”
|
||||
└──Mouse Emulation Modde
|
||||
└──Desktop, No Emulation
|
||||
```
|
||||
if you missed it, restart the app.
|
||||
|
||||
on the Pi
|
||||
```bash
|
||||
sudo service KlipperScreen stop
|
||||
sudo service KlipperScreen start
|
||||
```
|
||||
|
||||
## Stop Screen Blanking in Xserver-XSDL
|
||||
|
||||
Even after enabling the "Stay Awake" option in the Developer/USB Debugging options of your Android device, the Xserver-XSDL may still go to a black screen but keep the backlight of your device on. To keep the screen always active, upon start up of Xserver-XSDL app, select the `Change Device Configuration` at the top of the splash screen and then select the `Command line parameters, one argument per line` option. Append the following argument (must be on seperate lines):
|
||||
```
|
||||
-s
|
||||
0
|
||||
```
|
||||
This will disable the screen-saver in Xserver and keep KlipperScreen always active.
|
||||
|
||||
## Migration from other tutorials
|
||||
|
||||
KlipperScreen says error option "service" is not supported anymore.
|
||||
|
||||
Stop the other service and Remove it, for example if the service is `KlippyScreenAndroid`:
|
||||
|
||||
```bash
|
||||
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.
|
||||
|
||||
## 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)
|
||||
|
||||
[#klipper-screen channel on Discord](https://discord.klipper3d.org/)
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# 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.
|
||||
@@ -1,90 +1,160 @@
|
||||
# Configuration
|
||||
|
||||
Create a blank file in `~/klipper_config/KlipperScreen.conf_`, if the file already exist then just edit it.
|
||||
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 `~/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.
|
||||
|
||||
|
||||
!!! failure "Critical"
|
||||
Each configuration option should be on a newline, as they are presented here.
|
||||
|
||||
The line endings should be of UNIX style (LF).
|
||||
|
||||
Write in the file only the options that need to be changed.
|
||||
|
||||
## Include files
|
||||
```
|
||||
```ini
|
||||
[include conf.d/*.conf]
|
||||
# Include another configuration file. Wildcards (*) will expand to match anything.
|
||||
```
|
||||
|
||||
|
||||
## Main Options
|
||||
```
|
||||
The options listed here are not changeable from within the ui.
|
||||
```ini
|
||||
[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
|
||||
|
||||
# Time (seconds) before the Job Status page reverts to main menu after a successful job
|
||||
job_complete_timeout: 30
|
||||
|
||||
# Time (seconds) before the Job Status page reverts to main menu after a successful job.
|
||||
# If this option is 0, the user must click on a button to go back to the main menu.
|
||||
# Time in seconds before the Job Status closes itself if an error is encountered
|
||||
job_error_timeout: 0
|
||||
|
||||
# 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
|
||||
|
||||
# If multiple printers are defined, this can be set the name of the one to show at startup.
|
||||
default_printer: Ender 3 Pro
|
||||
|
||||
# To define a full set of custom menues (instead of merging user entries with default entries)
|
||||
# set this to False. See Menu section below.
|
||||
use_default_menu: True
|
||||
|
||||
# Define one or more moonraker power devices that turn on/off with the screensaver (CSV list)
|
||||
screen_on_devices: example1, example2
|
||||
screen_off_devices: example1, example2
|
||||
```
|
||||
|
||||
## Printer Options
|
||||
Multiple printers can be defined
|
||||
```
|
||||
```ini
|
||||
# Define printer and name. Name is anything after the first printer word
|
||||
[printer Ender 3 Pro]
|
||||
# Define the moonraker host/port if different from 127.0.0.1 and 7125
|
||||
moonraker_host: 127.0.0.1
|
||||
# ports 443 and 7130 will use https/wss
|
||||
moonraker_port: 7125
|
||||
# Moonraker API key if this is not connecting from a trusted client IP
|
||||
moonraker_api_key: False
|
||||
|
||||
# Define the z_babystep intervals in a CSV list. Currently only 2 are supported
|
||||
z_babystep_values: 0.01, 0.05
|
||||
```
|
||||
|
||||
## Z probe calibrate Option
|
||||
If for any reason the XYZ home position is not suitable for calibrating the probe Z offset, you can enter the coordinates for the desired position here.
|
||||
```
|
||||
[z_calibrate_position]
|
||||
# The specified positions must be> 0 otherwise this option is ignored.
|
||||
# the center of the print bed is a good value
|
||||
# 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 one or more moonraker power devices that turn on this printer (CSV list)
|
||||
# Default is the printer name
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
# Z probe calibrate position
|
||||
# By default is the middle of the bed
|
||||
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, center
|
||||
# they correspond to back-left, back-right, back-middle, front-left, front-right, front-middle, left-middle, right-middle
|
||||
# example:
|
||||
screw_positions: bl, br, fm
|
||||
|
||||
# Rotation is useful if the screen is not directly in front of the machine.
|
||||
# Valid values are 0 90 180 270
|
||||
screw_rotation: 0
|
||||
|
||||
# Define distances and speeds for the extrude panel. CSV list 2 to 4 integers
|
||||
extrude_distances: 5, 10, 15, 25
|
||||
extrude_speeds: 1, 2, 5, 25
|
||||
|
||||
# Camera needs to be configured in moonraker:
|
||||
# https://moonraker.readthedocs.io/en/latest/configuration/#webcam
|
||||
```
|
||||
|
||||
## Preheat Options
|
||||
```
|
||||
|
||||
!!! 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]
|
||||
# Temperature for the heated bed
|
||||
bed: 40
|
||||
# Temperature for the tools
|
||||
extruder: 195
|
||||
# Temperature for generic heaters
|
||||
heater_generic: 40
|
||||
extruder1: 60
|
||||
heater_bed: 40
|
||||
# Use the name
|
||||
chamber: 60
|
||||
# or the full name
|
||||
heater_generic chamber: 60
|
||||
# or for example apply the same temp to devices of the same type
|
||||
temperature_fan: 40
|
||||
heater_generic: 60
|
||||
# optional GCode to run when the option is selected
|
||||
gcode: MY_HEATSOAK_MACRO
|
||||
```
|
||||
|
||||
There is a special preheat setting named cooldown to do additional things when the _cooldown_ button is pressed
|
||||
for example:
|
||||
|
||||
```ini
|
||||
[preheat cooldown]
|
||||
gcode: M107
|
||||
```
|
||||
|
||||
## Menu
|
||||
This allows a custom configuration for the menu displayed while the printer is idle. You can use sub-menus to group
|
||||
different items and there are several panel options available. It is possible to have a gcode script run on a menu
|
||||
button press. There are two menus available in KlipperScreen, __main and __print. The __main menu is displayed while the
|
||||
printer is idle. The __print menu is accessible from the printing status page.
|
||||
|
||||
!!! info
|
||||
A predefined set of menus is already provided and it's recommended to be used
|
||||
|
||||
A menu item is configured as follows:
|
||||
```
|
||||
```ini
|
||||
[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
|
||||
#
|
||||
# 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
|
||||
icon: home
|
||||
# Icon style, defined as "button.mycolor4" (for example) in the theme css
|
||||
style: mycolor4
|
||||
# Panel from the panels listed below
|
||||
panel: preheat
|
||||
# Moonraker method to call when the item is selected
|
||||
@@ -95,21 +165,36 @@ params: {"script":"G28 X"}
|
||||
# Available variables are listed below.
|
||||
enable: {{ printer.power_devices.count > 0 }}
|
||||
```
|
||||
Available panels are listed here: [docs/panels.md](panels.md)
|
||||
Available panels are listed here: [docs/panels.md](Panels.md)
|
||||
|
||||
Certain variables are available for conditional testing of the enable statement:
|
||||
```
|
||||
printer.bltouch # Available if bltouch section defined in config
|
||||
```ini
|
||||
printer.extruders.count # Number of extruders
|
||||
printer.temperature_devices.count # Number of temperature related devices that are not extruders
|
||||
printer.fans.count # Number of fans
|
||||
printer.power_devices.count # Number of power devices configured in Moonraker
|
||||
printer.gcode_macros.count # Number of gcode macros
|
||||
printer.output_pins.count # Number of fans
|
||||
|
||||
printer.bltouch # Available if bltouch section defined in config
|
||||
printer.probe # Available if probe section defined in config
|
||||
printer.bed_mesh # Available if bed_mesh section defined in config
|
||||
printer.quad_gantry_level # Available if quad_gantry_level section defined in config
|
||||
printer.z_tilt # Available if z_tilt section defined in config
|
||||
|
||||
printer.firmware_retraction # True if defined in config
|
||||
printer.input_shaper # True if defined in config
|
||||
printer.bed_screws # True if defined in config
|
||||
printer.screws_tilt_adjust # True if defined in config
|
||||
|
||||
printer.idle_timeout # Idle timeout section
|
||||
printer.pause_resume # Pause resume section of Klipper
|
||||
printer.probe # Available if probe section defined in config
|
||||
printer.power_devices.count # Number of power devices configured in Moonraker
|
||||
|
||||
```
|
||||
|
||||
|
||||
A sample configuration of a main menu would be as follows:
|
||||
```
|
||||
```ini
|
||||
[menu __main homing]
|
||||
name: Homing
|
||||
icon: home
|
||||
@@ -137,13 +222,15 @@ KlipperScreen will search for a configuration file in the following order:
|
||||
|
||||
1. _~/KlipperScreen.conf_
|
||||
2. _${KlipperScreen_Directory}/KlipperScreen.conf_
|
||||
3. _~/klipper_config/KlipperScreen.conf_
|
||||
3. _~/printer_data/config/KlipperScreen.conf_
|
||||
4. _~/klipper_config/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 one of those files are found, it will be used over the default configuration. The default configuration will be
|
||||
merged with the custom configuration, so if you do not define any menus the default menus will be used.
|
||||
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_
|
||||
|
||||
@@ -1,13 +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
|
||||
|
||||
The invite link: https://discord.klipper3d.org/
|
||||
[Look for the channel `#klipper-screen`](https://discord.klipper3d.org/)
|
||||
|
||||
Look for the channel `#klipper-screen`
|
||||
|
||||
## 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/)
|
||||
@@ -0,0 +1,59 @@
|
||||
# Developer Guide
|
||||
|
||||
Basic setup for an enviroment to do development of KlipperScreen.
|
||||
|
||||
!!! note "Alfrix Note:"
|
||||
I use a standard Linux distro with a desktop enviroment.
|
||||
|
||||
## 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
|
||||
virtualenv -p /usr/bin/python3 ~/.KlipperScreen-env
|
||||
source ~/.KlipperScreen-env/bin/activate
|
||||
cd ~/KlipperScreen
|
||||
pip install -r scripts/klipperscreen-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`
|
||||
@@ -1,81 +1,127 @@
|
||||
# Hardware
|
||||
|
||||
There are no recommended screens, but here are some guidelines:
|
||||
There are no recommended screens, but the minimum supported resolution is 480x320.
|
||||
|
||||
* There is no support for vertical/portrait mode, only widescreen
|
||||
* Minimum resolution of 480x320
|
||||
In general, if the device can show a GNU/Linux desktop, then KlipperScreen should work too.
|
||||
|
||||
#### Hardware known to work
|
||||
|
||||
* [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)
|
||||
* [Android Phone](https://klipper.discourse.group/t/how-to-klipperscreen-on-android-smart-phones/1196)
|
||||
* [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)
|
||||
|
||||
|
||||
* [More known hardware in the klipper discourse](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35)
|
||||
|
||||
#### Configuration
|
||||
### Configuration
|
||||
|
||||
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  KlipperScreen, if you are having troubles refer to the  for further information.
|
||||
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.
|
||||
|
||||
#### Touchscreen Calibration
|
||||
Most people don't need to calibrate, but if you do need to calibrate your touchscreen, follow the below steps.
|
||||
## Screen rotation
|
||||
Configure the server to start in the desired orientation, there are many ways to achieve this,
|
||||
here are some examples:
|
||||
|
||||
Run this command:
|
||||
```
|
||||
DISPLAY=:0 xinput_calibrator --list
|
||||
```
|
||||
It will output something such as:
|
||||
```
|
||||
Device "wch.cn USB2IIC_CTP_CONTROL" id=6
|
||||
```
|
||||
!!! 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
|
||||
|
||||
Find the ID of your display and put it in the following command:
|
||||
```
|
||||
DISPLAY=:0 xinput_calibrator -v --device <id from last command>
|
||||
```
|
||||
|
||||
#### 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. You can have the matrix be one of the following:
|
||||
???+ example
|
||||
|
||||
* 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°: `-1 0 1 0 -1 1 0 0 1`
|
||||
Create /usr/share/X11/xorg.conf.d/90-monitor.conf
|
||||
```bash
|
||||
sudo nano /usr/share/X11/xorg.conf.d/90-monitor.conf
|
||||
```
|
||||
|
||||
To check the current matrix, you will need your `<screen name>`
|
||||
(which can be found via the last section, ex: "wch.cn USB2IIC_CTP_CONTROL").
|
||||
Run the following command: `xinput list-props "wch.cn USB2IIC_CTP_CONTROL"`
|
||||
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
|
||||
|
||||
It will output something such as:
|
||||
```
|
||||
Device '<screen name>':
|
||||
Device Enabled (115): 1
|
||||
Coordinate Transformation Matrix (116): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
|
||||
libinput Calibration Matrix (247): -1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 1.000000, 0.000000, 0.000000, 1.000000
|
||||
libinput Calibration Matrix Default (248): -1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 1.000000, 0.000000, 0.000000, 1.000000
|
||||
libinput Send Events Modes Available (249): 1, 0
|
||||
libinput Send Events Mode Enabled (250): 0, 0
|
||||
libinput Send Events Mode Enabled Default (251): 0, 0
|
||||
Device Node (252): "/dev/input/event0"
|
||||
Device Product ID (253): 6790, 58083
|
||||
```
|
||||
Option "Rotate" "left"
|
||||
# Valid rotation options are normal,inverted,left,right
|
||||
|
||||
You can verify by checking that the 'Coordinate Transformation Matrix' or 'libinput Calibration Matrix'.
|
||||
|
||||
You can test a change by running: `xinput set-prop "<screen name>" 'Coordinate Transformation Matrix' <matrix>`
|
||||
Option "PreferredMode" "1920x1080"
|
||||
# May be necesary if you are not getting your prefered resolution.
|
||||
EndSection
|
||||
```
|
||||
Save the file and restart KlipperScreen.
|
||||
|
||||
Replace matrix with one of the options above, such as: `1 0 0 0 1 0 0 0 1`
|
||||
```bash
|
||||
sudo service KlipperScreen restart
|
||||
```
|
||||
|
||||
To make this permanent, modify the file `/etc/udev/rules.d/51-touchscreen.rules` and add following line:
|
||||
??? example "Using Waveshare screen that is installed with LCD-show"
|
||||
|
||||
```
|
||||
ACTION=="add", ATTRS{name}=="<screen name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
|
||||
```
|
||||
```bash
|
||||
cd LCD-show/
|
||||
sudo ./LCD43-show 270 lite
|
||||
```
|
||||
|
||||
??? example "Using a screen installed with goodtft-LCD-show"
|
||||
|
||||
```bash
|
||||
cd LCD-show/
|
||||
sudo ./rotate.sh 90
|
||||
```
|
||||
|
||||
??? example "Raspberry Pi"
|
||||
|
||||
|
||||
|
||||
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/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.
|
||||
|
||||
```bash
|
||||
video=DSI-1:800x480@60,rotate=90
|
||||
```
|
||||
Other values can be "HDMI-0" "HDMI-1, "DPI-0" etc
|
||||
|
||||
[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 "Raspberry Pi legacy mode (works with vc4-fkms-v3d)"
|
||||
|
||||
add to config.txt
|
||||
```bash
|
||||
display_lcd_rotate=2
|
||||
```
|
||||
Reboot
|
||||
|
||||
!!! warning
|
||||
Pi4 doesn'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)
|
||||
|
||||
|
||||
## Touchscreen touch rotation
|
||||
|
||||
[Moved to Touch issues](./Troubleshooting/Touch_issues.md)
|
||||
@@ -1,44 +1,43 @@
|
||||
# Installation
|
||||
|
||||
#### Setup Raspberry Pi
|
||||
This install process is meant for Raspbian non-desktop version aka Raspbian Lite.
|
||||
## First steps
|
||||
|
||||
If you have installed it on the GUI version, then use `sudo raspi-config` to set boot to console by choosing the following options in order:
|
||||
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 RaspberryOS, Ubuntu or any distro you like.
|
||||
Once you have established that the screen is working, then proceed installing KlipperScreen.
|
||||
|
||||
* 1 System Options
|
||||
* S5 Boot / Auto Login
|
||||
* B1 Console
|
||||
## Setup
|
||||
This install process is meant for a non-desktop version of the OS for example RaspberryOS Lite, but it should work on other debian derivatives.
|
||||
|
||||
#### Klipper and Moonraker Installation
|
||||
|
||||
Follow the instructions to install Klipper and Moonraker.
|
||||
* klipper: https://www.klipper3d.org/Installation.html
|
||||
* moonraker: https://moonraker.readthedocs.io/en/latest/installation/
|
||||
|
||||
In moonraker.conf ensure that 127.0.0.1 is a trusted client for moonraker, such as in this example:
|
||||
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
|
||||
```
|
||||
[authorization]
|
||||
trusted_clients:
|
||||
127.0.0.1
|
||||
to undo and go back to the desktop environment:
|
||||
```sh title="Boot to the desktop"
|
||||
sudo systemctl set-default graphical.target
|
||||
sudo reboot
|
||||
```
|
||||
|
||||
Note: `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 into the moonraker
|
||||
configuration:
|
||||
```
|
||||
[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
|
||||
```
|
||||
## Auto install
|
||||
|
||||
#### KlipperScreen Installation
|
||||
[KIAUH](https://github.com/th33xitus/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions.
|
||||
|
||||

|
||||
|
||||
You can visit [KIAUH on GitHub](https://github.com/th33xitus/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:
|
||||
```
|
||||
|
||||
```sh
|
||||
cd ~/
|
||||
git clone https://github.com/jordanruthe/KlipperScreen.git
|
||||
cd ~/KlipperScreen
|
||||
@@ -46,9 +45,38 @@ cd ~/KlipperScreen
|
||||
```
|
||||
|
||||
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.
|
||||
`~/.KlipperScreen-env` and install a systemd service file.
|
||||
|
||||
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, check out the [hardware page](Hardware.md) if you still haven't installed the screen, or head to the [troubleshooting page](Troubleshooting.md) if you are having problems
|
||||
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 the IP of the device is a trusted client:
|
||||
|
||||
```ini title="moonraker.conf"
|
||||
[authorization]
|
||||
trusted_clients:
|
||||
127.0.0.1
|
||||
```
|
||||
!!! warning
|
||||
having `force_logins: true` in this section or if you don't want to use `trusted_clients`
|
||||
|
||||
Will require the [moonraker api key](https://moonraker.readthedocs.io/en/latest/installation/#retrieving-the-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:
|
||||
|
||||
```ini title="moonraker.conf"
|
||||
[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.
|
||||
@@ -0,0 +1,127 @@
|
||||
# Panels
|
||||
|
||||
### Main Menu
|
||||

|
||||
|
||||
### [Job Status](Panels/Job_status.md)
|
||||
```py
|
||||
panel: job_status
|
||||
```
|
||||
[](Panels/Job_status.md)
|
||||
|
||||
### [Bed Level](Panels/Screws.md)
|
||||
```py
|
||||
panel: bed_level
|
||||
```
|
||||
[](Panels/Screws.md)
|
||||
|
||||
### Bed Mesh
|
||||
```py
|
||||
panel: bed_mesh
|
||||
```
|
||||

|
||||
|
||||
### Console
|
||||
```py
|
||||
panel: console
|
||||
```
|
||||

|
||||
|
||||
### Extrude
|
||||
```py
|
||||
panel: extrude theme:material-dark
|
||||
```
|
||||

|
||||
|
||||
### Fan
|
||||
```py
|
||||
panel: fan
|
||||
```
|
||||

|
||||
|
||||
### Fine Tune
|
||||
```py
|
||||
panel: fine_tune
|
||||
```
|
||||

|
||||
|
||||
### Gcode Macros
|
||||
```py
|
||||
panel: gcode_macros
|
||||
```
|
||||

|
||||
|
||||
### Input Shapers
|
||||
```py
|
||||
panel: input_shaper
|
||||
```
|
||||

|
||||
|
||||
### Limits
|
||||
```py
|
||||
panel: limits
|
||||
```
|
||||

|
||||
|
||||
### Menu
|
||||

|
||||
|
||||
### Move
|
||||
```py
|
||||
panel: move
|
||||
```
|
||||

|
||||
|
||||
### Network
|
||||
```py
|
||||
panel: network
|
||||
```
|
||||

|
||||
|
||||
### Power
|
||||
```py
|
||||
panel: power
|
||||
```
|
||||

|
||||
|
||||
### Print
|
||||
```py
|
||||
panel: print
|
||||
```
|
||||

|
||||
|
||||
### Retraction
|
||||
```py
|
||||
panel: retraction
|
||||
```
|
||||

|
||||
|
||||
### Settings
|
||||
```py
|
||||
panel: settings
|
||||
```
|
||||

|
||||
|
||||
### System
|
||||
```py
|
||||
panel: system
|
||||
```
|
||||

|
||||
|
||||
### Spoolman
|
||||
```py
|
||||
panel: spoolman
|
||||
```
|
||||

|
||||
|
||||
### [Temperature](Panels/Temperature.md)
|
||||
```py
|
||||
panel: temperature
|
||||
```
|
||||
[](Panels/Temperature.md)
|
||||
|
||||
### [Z Calibrate](Panels/Zcalibrate.md)
|
||||
```py
|
||||
panel: zcalibrate
|
||||
```
|
||||
[](Panels/Zcalibrate.md)
|
||||
@@ -0,0 +1,28 @@
|
||||
# Job Status
|
||||
|
||||
Also known as "Print Status" or the "printing panel" shows the relevant information of the current print.
|
||||
|
||||

|
||||
|
||||
!!! 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
|
||||

|
||||
!!! 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
|
||||

|
||||
|
||||
## Time info
|
||||

|
||||
|
||||
## 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)
|
||||
@@ -0,0 +1,45 @@
|
||||
# Bed level
|
||||
|
||||

|
||||
|
||||
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?
|
||||
|
||||
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.
|
||||
|
||||
|
||||
### 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.
|
||||
|
||||
## Not supported for auto-detection
|
||||
|
||||
This message will appear if you are using 3 or 5 screws and didn't define them in KlipperScreen.conf.
|
||||
See "screw_positions" in the [printer options](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
|
||||
|
||||
## Limitations
|
||||
|
||||
The panel doesn't support more than 9 screws. if there is a center screw define the positions to avoid issues.
|
||||
See "screw_positions" in the [printer options](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
|
||||
|
||||
|
||||
## 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.
|
||||
@@ -0,0 +1,23 @@
|
||||
# Temperature
|
||||
|
||||
This panel is available when there is at least one device with a temperature sensor asociated,
|
||||
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.
|
||||
|
||||

|
||||
|
||||
## Delta adjust
|
||||
Change the target of the selected devices, the amount is selectable.
|
||||
This is the default mode while printing
|
||||
|
||||

|
||||
|
||||
## Direct input with keypad
|
||||
Allows to set the exact temperature using the keypad.
|
||||
|
||||

|
||||
@@ -0,0 +1,44 @@
|
||||
# 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)
|
||||
|
||||

|
||||
|
||||
|
||||
## Buttons
|
||||
* "Start" will initiate the only method available, or ask the user if multiple methods are available.
|
||||
!!! note
|
||||
KlipperScreen will home if needed and move to the middle of the bed,
|
||||
but the location can be configured in [KlipperScreen.conf](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
|
||||
* The raise(+) and lower(-) buttons send `TESTZ Z=distance` where distance is selected in the bottom row.
|
||||
* Accept will send `ACCEPT`
|
||||
* Abort will send `ABORT`
|
||||
|
||||
## Calibration methods
|
||||
### Endstop (`Z_ENDSTOP_CALIBRATE`)
|
||||
Available when an physical endstop is defined for `[stepper_z]`
|
||||
|
||||
See Klipper documentation: [Calibrating a Z endstop](https://www.klipper3d.org/Manual_Level.html#calibrating-a-z-endstop)
|
||||
|
||||
### Probe (`PROBE_CALIBRATE`)
|
||||
Available when a probe is defined. (BL-Touch is a probe)
|
||||
|
||||
See Klipper documentation: [Calibrating probe Z offset](https://www.klipper3d.org/Probe_Calibrate.html#calibrating-probe-z-offset)
|
||||
|
||||
### Bed mesh (`BED_MESH_CALIBRATE`)
|
||||
Available when a probe is not defined and `[bed_mesh]` is defined
|
||||
|
||||
this mode lets you create a mesh leveling bed using the paper test in various points.
|
||||
|
||||
!!! warning
|
||||
DO NOT adjust the bed screws while using this mode.
|
||||
|
||||
Adjust the screws using the [bed screws](Screws.md) panel before running this tool.
|
||||
|
||||
### Delta Automatic/Manual (`DELTA_CALIBRATE`)
|
||||
Available when the kinematics are defined as delta.
|
||||
|
||||
See Klipper documentation: [Delta calibration](https://www.klipper3d.org/Delta_Calibrate.html)
|
||||
|
||||
!!! note
|
||||
KlipperScreen will automatically Home(`G28`) if needed
|
||||
@@ -0,0 +1,48 @@
|
||||
# Quicktips
|
||||
quick tips, without much explanation
|
||||
|
||||
|
||||
## Hide macros, outputs or fans
|
||||
|
||||
You can also hide devices by prefixing the name with an underscore.
|
||||
|
||||
Lets hide a temperature_fan:
|
||||
|
||||
```ini
|
||||
[temperature_fan fan1]
|
||||
[temperature_fan _fan2]
|
||||
```
|
||||
|
||||
fan1 will show in the interface, but _fan2 will be hidden.
|
||||
|
||||
|
||||
## Layer Progress
|
||||
|
||||
Accurate layer progress as a message below the status:
|
||||
|
||||
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode
|
||||
|
||||
```ini
|
||||
M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}
|
||||
```
|
||||
|
||||

|
||||
|
||||
Accurate layer progress in the secondary screen of the printing panel:
|
||||
|
||||
The layer number in the secondary screen of the printing panelis calculated according to object height and provided layer height.
|
||||
It will be innacurate when using variable layer height, but can be fixed by providing klipper with the correct data.
|
||||
|
||||

|
||||
|
||||
PrusaSlicer/SuperSlicer:
|
||||
|
||||
Printer Settings > Custom Gcode > Start Gcode
|
||||
|
||||
```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}
|
||||
```
|
||||
@@ -8,7 +8,7 @@ To edit colors and styles, create a css file named `style.css` you can use the c
|
||||
|
||||
### Example 1
|
||||
|
||||
```
|
||||
```sh
|
||||
cd ~/KlipperScreen/styles
|
||||
mkdir -p mytheme/images
|
||||
cd mytheme
|
||||
@@ -24,10 +24,10 @@ At this point `mytheme` should be on the list of themes, and when you select it
|
||||
|
||||
Creating a custom background from Mainsail sidebar and this css 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;}
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
# Thumbnails
|
||||
KlipperScreen can display thumbnails in the file browser and as previews in the print status.
|
||||
|
||||

|
||||
|
||||
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)
|
||||
* [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.
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
### SuperSlicer
|
||||
In “Expert” mode SuperSlicer has some very convenient options in the “Printer Settings” tab to activate and customize the previews.
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
### 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)
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
### 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
|
||||
|
||||

|
||||
@@ -1,19 +1,32 @@
|
||||
## Create Translations
|
||||
# Translations
|
||||
|
||||
You can use a editor such as [poedit](https://poedit.net/) to assist in translations. This guide will assume that you
|
||||
will be using poedit.
|
||||
## Updating an existing translation:
|
||||
|
||||
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.
|
||||
You can use an editor such as [poedit](https://poedit.net/) to assist in translations.
|
||||
|
||||
#### New Language
|
||||
* 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)
|
||||
@@ -1,48 +1,110 @@
|
||||
# Troubleshooting
|
||||
|
||||
This page will have common problems and common solutions to those problems.
|
||||
# Troubleshooting
|
||||
|
||||
## First Steps
|
||||
|
||||
The first step to troubleshooting any problem is getting the cause of the error. KlipperScreen log output will occur
|
||||
in two places. Check for the file `/tmp/KlipperScreen.log` and look at the contents by running
|
||||
`cat /tmp/KlipperScreen.log` or grabbing the file over WinSCP or another scp program.
|
||||
The first step to troubleshooting any problem is getting the cause of the error.
|
||||
|
||||
If that file is non-existent, there is a problem in KlipperScreen starting up. To get the error output in this case,
|
||||
run `journalctl -xe -u KlipperScreen`.
|
||||
* Find KlipperScreen.log:
|
||||
|
||||
!!! warning "Important"
|
||||
This log file should be provided if you ask for support.
|
||||
|
||||
## Common Errors
|
||||
Depending on your setup the file could be accessible from the web interface alongside other logs
|
||||
|
||||
### Problems occurring before the log file appears
|
||||
Mainsail | Fluidd
|
||||
:-:|:-:
|
||||
 | 
|
||||
|
||||
This section will detail problems that may happen before the log file has been created. Each section will start with a
|
||||
relevant line from the journalctl output.
|
||||
if you can't find it in the web interface, use sftp to grab the log (for example Filezilla, WinSCP)
|
||||
Located at `~/printer_data/logs`or in `/tmp/` if the former doesn't exist.
|
||||
|
||||
#### Cannot open virtual Console
|
||||
## System logs
|
||||
|
||||
If [KlipperScreen.log](#first-steps) doesn't exist:
|
||||
```sh
|
||||
systemctl status KlipperScreen
|
||||
```
|
||||
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
|
||||
or
|
||||
```sh
|
||||
journalctl -xe -u KlipperScreen
|
||||
```
|
||||
|
||||
* Check /etc/X11/Xwrapper.conf
|
||||
This should have the line `allowed_users=anybody` in it
|
||||
* Check /etc/group
|
||||
Run the command `cat /etc/group | grep tty`. If you username is not listed under that line, you need to add it with the
|
||||
following command (if you username is not 'pi' change 'pi' to your username):
|
||||
`usermode -a -G tty pi`
|
||||
Also the Xorg log where you can find issues with the X server:
|
||||
```sh
|
||||
cat /var/log/Xorg.0.log
|
||||
```
|
||||
|
||||
## Screen shows console instead of KlipperScreen
|
||||
|
||||

|
||||
|
||||
|
||||
### Problems occurring with the log file
|
||||
|
||||
#### Screen shows console instead of KlipperScreen
|
||||
Run the command `ls /dev/fb*`. If you have multiple devices, you may need to fix the X11 configuration.
|
||||
!!! 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)
|
||||
|
||||
Run the command `cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf | grep /dev/fb`. Try modifying the file (
|
||||
`sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf`) and change `/dev/fb0` to a different file listed in the
|
||||
previous command (i.e. `/dev/fb1`).
|
||||
!!! 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)
|
||||
|
||||
Once you have saved that file, restart KlipperScreen and it should show up on your display.
|
||||
!!! 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)
|
||||
|
||||
#### Screen is all white or blank
|
||||
Drivers not installed or misconfigured can cause this too, continue looking the logs for more clues.
|
||||
|
||||
Improperly installed screen, follow the manufacturer instructions on how to physically connect the screen and install the proper drivers.
|
||||
!!! 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 and it's not a related issue.
|
||||
|
||||
[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
|
||||
|
||||
In KliperScreen settings find 'Screen DPMS' and turn it off.
|
||||
|
||||

|
||||
|
||||
Your screen doesn't seem to support turning off via software.
|
||||
|
||||
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 and you want to share it: [Contact](Contact.md)
|
||||
|
||||
## Touch issues
|
||||
|
||||
|
||||
[Follow this steps](Troubleshooting/Touch_issues.md)
|
||||
|
||||
## Network panel doesn't list WI-FI networks
|
||||
|
||||
[Follow this steps](Troubleshooting/Network.md)
|
||||
|
||||
## OctoPrint
|
||||
|
||||
KlipperScreen was never intended to be used with OctoPrint, and there is no support for it.
|
||||
|
||||
## 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](Contact.md)
|
||||
@@ -0,0 +1,16 @@
|
||||
# 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
|
||||
```
|
||||
@@ -0,0 +1,60 @@
|
||||
# Screen is using the wrong framebuffer
|
||||
|
||||
|
||||
## LCD-show
|
||||
|
||||
when using [Waveshare-LCD-show](https://github.com/waveshare/LCD-show) to install screens add `lite` at the end
|
||||
to properly install the screen on the lite version of the OS. this will typically change the framebuffer
|
||||
|
||||
for example:
|
||||
```
|
||||
sudo ./LCD35-show lite
|
||||
```
|
||||
|
||||
## Manually change the 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)
|
||||
|
||||
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/
|
||||
```
|
||||
|
||||
!!! failure "Critical"
|
||||
***DO NOT CREATE A FILE***, and only edit if there is more than 1 framebuffer
|
||||
|
||||
!!! example
|
||||
you found 99-fbturbo.conf:
|
||||
|
||||
```sh
|
||||
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
```
|
||||
and the file specifies `/dev/fb0`
|
||||
|
||||
since `ls /dev/fb*` returned `/dev/fb0 /dev/fb1` change it to `/dev/fb1`
|
||||
|
||||
Save the file, restart KlipperScreen.
|
||||
|
||||
```sh
|
||||
sudo service KlipperScreen restart
|
||||
```
|
||||
@@ -0,0 +1,21 @@
|
||||
# Last resort to make the screen work
|
||||
|
||||
If the screen never shows the console or bootup text during startup, Then it's typically an improperly installed screen
|
||||
See [Physical install issues](Physical_Install.md)
|
||||
|
||||

|
||||
|
||||
If the screen shows the bootup text, but ends in a blinking cursor or login prompt,
|
||||
and no matter what you tried in [Troubleshooting](../Troubleshooting.md) you can't make it work, then do this:
|
||||
|
||||
1. Install a distro with a desktop enviromenment
|
||||
2. Ensure that the screen is working properly (display and touch)
|
||||
3. Install KlipperScreen
|
||||
4. Run `sudo systemctl set-default multi-user.target`
|
||||
5. Reboot
|
||||
|
||||
If it still doesn't work, or you did something else to make it work and want to share:
|
||||
|
||||
[Contact us](../Contact.md)
|
||||
|
||||
Remember to share the logs, as those aid a lot in the troubleshooting.
|
||||
@@ -0,0 +1,55 @@
|
||||
# Wi-Fi networks not listed
|
||||
|
||||
!!! tip "First start"
|
||||
The initial scan may take a couple of minutes, first be patient before assuming it's an issue
|
||||
|
||||
Check if network-manager is installed:
|
||||
|
||||
```bash
|
||||
dpkg -s network-manager
|
||||
```
|
||||
|
||||
if the response is the following:
|
||||
|
||||
```bash
|
||||
dpkg-query: the package 'network-manager' is not installed
|
||||
```
|
||||
|
||||
go to [wpa_supplicant](wpa_supplicant.md)
|
||||
|
||||
if the response is the following:
|
||||
|
||||
```sh
|
||||
Package: network-manager
|
||||
Status: install ok installed
|
||||
```
|
||||
|
||||
this line may appear in KlipperScreen.log:
|
||||
!!! abstract "Log"
|
||||
```sh
|
||||
[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized
|
||||
```
|
||||
|
||||
|
||||
in order to fix this polkit needs to be configured or disabled:
|
||||
|
||||
here is how to disable polkit for network-manager:
|
||||
|
||||
```sh
|
||||
mkdir -p /etc/NetworkManager/conf.d
|
||||
sudo nano /etc/NetworkManager/conf.d/any-user.conf
|
||||
```
|
||||
|
||||
in the editor paste this:
|
||||
|
||||
```conf
|
||||
[main]
|
||||
auth-polkit=false
|
||||
```
|
||||
|
||||
Then restart the service (or reboot):
|
||||
|
||||
```sh
|
||||
systemctl restart NetworkManager.service
|
||||
systemctl restart KlipperScreen.service
|
||||
```
|
||||
@@ -0,0 +1,26 @@
|
||||
# Physical install 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)
|
||||
@@ -0,0 +1,112 @@
|
||||
# Touchscreen issues
|
||||
|
||||
If the screen is connected over USB, issues with the cable may cause similar symptoms. For that, please see [this guide](Physical_Install.md#cable-issues).
|
||||
|
||||
## Touch not working
|
||||
|
||||
Some DSI screens have issues where touch doesn't work with Debian Bullseye, or even in Debian Buster after an update. There is currently (September 2023) still no fix in upstream Debian.
|
||||
|
||||
The current workaround/temporary fix involves changing the kernel driver module used for these displays.
|
||||
|
||||
To apply this fix:
|
||||
|
||||
Edit `/boot/config.txt` and change
|
||||
|
||||
```sh
|
||||
dtoverlay=vc4-kms-v3d
|
||||
```
|
||||
|
||||
to
|
||||
|
||||
```sh
|
||||
dtoverlay=vc4-fkms-v3d
|
||||
```
|
||||
|
||||
**Reboot** to apply changes.
|
||||
|
||||
If that doesn't fix it, you can try commenting these lines out:
|
||||
|
||||
```sh
|
||||
# dtoverlay=vc4-kms-v3d
|
||||
# max_framebuffers=2
|
||||
```
|
||||
|
||||
**Reboot** to apply changes.
|
||||
|
||||
## 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
|
||||
```
|
||||
|
||||
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>
|
||||
```
|
||||
|
||||
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` |
|
||||
|
||||
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)
|
||||
|
||||
It has been reported that the touch expands with screens that don't use HDMI. This is due to the composite output,
|
||||
which enables automatically as a fallback when no HDMI device is plugged in.
|
||||
If this is the case, adding `enable_tvout=0` to `/boot/config.txt` and reboot.
|
||||
|
||||
!!! example
|
||||
|
||||
```sh
|
||||
DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1
|
||||
```
|
||||
|
||||
To make this permanent, modify the file `/etc/udev/rules.d/51-touchscreen.rules` and add following line:
|
||||
|
||||
```sh
|
||||
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
|
||||
```
|
||||
|
||||
---
|
||||
As an alternative **if the above doesn't work**:
|
||||
|
||||
edit `/usr/share/X11/xorg.conf.d/40-libinput.conf`
|
||||
|
||||
for example:
|
||||
|
||||
```sh
|
||||
Section "InputClass"
|
||||
Identifier "libinput touchscreen catchall"
|
||||
MatchIsTouchscreen "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "libinput"
|
||||
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
|
||||
EndSection
|
||||
```
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
## wpa_supplicant
|
||||
|
||||
The user is not allowed to control the interface
|
||||
|
||||
* Edit `/etc/wpa_supplicant/wpa_supplicant.conf` and add this line if it's not there:
|
||||
|
||||
```
|
||||
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
|
||||
```
|
||||
|
||||
* Run `cat /etc/group | grep netdev`
|
||||
|
||||
If your username is not listed under that line, you need to add it with the following command:
|
||||
|
||||
```sh
|
||||
usermod -a -G netdev pi
|
||||
```
|
||||
(if your username is not 'pi' change 'pi' to your username)
|
||||
|
||||
Then reboot the machine:
|
||||
|
||||
```sh
|
||||
systemctl reboot
|
||||
```
|
||||
|
||||
!!! tip
|
||||
It's possible to just restart KlipperScreen and networking
|
||||
@@ -0,0 +1,65 @@
|
||||
# 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 (for example a Raspberry Pi):
|
||||
|
||||
|
||||
1. [First installl KlipperScreen](Installation.md)
|
||||
2. Install a vnc server package, for example:
|
||||
```bash
|
||||
sudo apt install tigervnc-standalone-server
|
||||
```
|
||||
3. Create `launch_KlipperScreen.sh`:
|
||||
|
||||
```bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Use display 10 to avoid clashing with local X server, if anyy
|
||||
Xtigervnc -rfbport 5900 -noreset -AlwaysShared -SecurityTypes none :10&
|
||||
DISPLAY=:10 $KS_XCLIENT&
|
||||
wait
|
||||
```
|
||||
4. Restart KlipperScreen or reboot the system:
|
||||
```bash
|
||||
sudo systemctl service KlipperScreen restart
|
||||
```
|
||||
5. On KlipperScreen set the following configuration:
|
||||
|
||||
DPMS: off
|
||||
|
||||
Display timeout: off
|
||||
|
||||

|
||||
|
||||
## On the remote device:
|
||||
|
||||
1. Installa a VNC viewer and configure it to the ip of the host.
|
||||
|
||||
|
||||
???+ example "Example using an iPad"
|
||||
* Install a VNC viewer for example: `RealVNC Viewer: Remote Desktop`
|
||||
#### 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 restrictions password.
|
||||
#### On the VNC viewer:
|
||||
* 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.
|
||||
* Enjoy!
|
||||
@@ -1,8 +0,0 @@
|
||||
# Changelog
|
||||
|
||||
Breaking changes will be listed here.
|
||||
|
||||
#### 2021 05 20
|
||||
* 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.
|
||||
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 9.1 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 413 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
@@ -1,24 +1,44 @@
|
||||
# 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
|
||||
|
||||
KlipperScreen should run on any touchscreen that you can connect to a host (Raspberry, PC, Tablet), but not screens that connect directly to the printer MCU board.
|
||||
|
||||
A physical touchscreen is not strictly required, for example you may install a remote desktop server like tigervnc-scraping-server and connect from a client device, 
|
||||
A physical touchscreen is not strictly required, for example you may install a remote desktop server like tigervnc-scraping-server and connect from a client device, [check out the hardware page for further information.](Hardware.md)
|
||||
|
||||
### Sample Panels
|
||||
|
||||
Main Menu
|
||||

|
||||
|
||||

|
||||
|
||||
Job Status
|
||||

|
||||
|
||||

|
||||
|
||||
[More](Panels.md)
|
||||
|
||||
### 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/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
|
||||
|
||||
|Dontate to Alfrix|
|
||||
|-|
|
||||
|[Ko-fi](https://ko-fi.com/alfrix)|
|
||||
|
||||
thanks to all the people who helped along the way.
|
||||
|
||||
[Contributors](https://github.com/KlipperScreen/KlipperScreen/graphs/contributors)
|
||||
@@ -0,0 +1,59 @@
|
||||
# Macros
|
||||
|
||||
## Hide Macros
|
||||
|
||||
Macros can be completely hidden in the interface by prefixing the name with an underscore.
|
||||
|
||||
```ini
|
||||
[gcode_macro MY_AWESOME_GCODE]
|
||||
gcode:
|
||||
_MY_HELPER_CODE
|
||||
|
||||
[gcode_macro _MY_HELPER_CODE]
|
||||
gcode:
|
||||
M300
|
||||
```
|
||||
|
||||
`MY_AWESOME_GCODE` appears in your interface settings, but `_MY_HELPER_CODE` does not.
|
||||
|
||||
## Extrude Panel
|
||||
|
||||
### LOAD_FILAMENT / UNLOAD_FILAMENT
|
||||
|
||||
This macros are used in the Extrude panel `Load` and `Unload` buttons.
|
||||
|
||||
The selected speed in the panel is transferred as a parameter.
|
||||
|
||||
The following examples show how this can be used:
|
||||
|
||||
```ini
|
||||
[gcode_macro LOAD_FILAMENT]
|
||||
gcode:
|
||||
{% set speed = params.SPEED|default(300) %}
|
||||
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
|
||||
SAVE_GCODE_STATE NAME=load_state
|
||||
M300 # beep
|
||||
G91
|
||||
G92 E0
|
||||
G1 E350 F{max_velocity} # fast-load
|
||||
G1 E25 F{speed} # purge
|
||||
M300
|
||||
M300
|
||||
RESTORE_GCODE_STATE NAME=load_state
|
||||
```
|
||||
|
||||
```ini
|
||||
[gcode_macro UNLOAD_FILAMENT]
|
||||
gcode:
|
||||
{% set speed = params.SPEED|default(300) %}
|
||||
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
|
||||
SAVE_GCODE_STATE NAME=unload_state
|
||||
G91
|
||||
M300 # beep
|
||||
G92 E0
|
||||
G1 E25 F{speed} # purge
|
||||
G1 E-420 F{max_velocity} # fast-unload
|
||||
M300
|
||||
M300
|
||||
RESTORE_GCODE_STATE NAME=unload_state
|
||||
```
|
||||
@@ -1,87 +0,0 @@
|
||||
# Panels
|
||||
|
||||
### Main Menu
|
||||

|
||||
|
||||
### Job Status
|
||||

|
||||
|
||||
### Bed Level
|
||||
type: bed_level
|
||||

|
||||
|
||||
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 Note: Due to Klipper using the bltouch/probe offsets in screws_tilt_adjust, if a bltouch/probe is enabled_
|
||||
_KlipperScreen will add the offset to the defined screw values. This will not occur if bed_screws section is used._
|
||||
|
||||
This panel will favor screws_tilt_adjust over the bed_screws section. If screws_tilt_adjust is defined, an extra button
|
||||
for _Screws Calibrate_ will appear. This button runs the SCREWS_TILT_CALCULATE command and shows the results on the
|
||||
panel.
|
||||
|
||||
### Bed Mesh
|
||||
type: bed_mesh theme:material-dark
|
||||

|
||||
|
||||
### Extrude
|
||||
type: extrude theme:material-dark
|
||||

|
||||
|
||||
### Fan
|
||||
type: fan
|
||||

|
||||
|
||||
### Fine Tune
|
||||
type: fine_tune theme:custom
|
||||

|
||||
|
||||
### Gcode Macros
|
||||
type: gcode_macros theme: material-darker
|
||||

|
||||
|
||||
### Menu
|
||||
type: menu
|
||||

|
||||
|
||||
### Move
|
||||
type: move
|
||||

|
||||
|
||||
### Network
|
||||
type: network
|
||||

|
||||
|
||||
### Power
|
||||
type: power
|
||||

|
||||
|
||||
### Preheat
|
||||
type: preheat
|
||||

|
||||
|
||||
### Print
|
||||
type: print
|
||||

|
||||
|
||||
### Settings
|
||||
type: settings theme:colorized
|
||||

|
||||
|
||||
### System
|
||||
type: system
|
||||

|
||||
|
||||
### Temperature
|
||||
type: temperature theme:material-light
|
||||

|
||||
|
||||
### Z Calibrate
|
||||
type: zcalibrate
|
||||

|
||||
|
||||
### Limits
|
||||
type: limits theme: material-dark
|
||||

|
||||
@@ -0,0 +1,2 @@
|
||||
mkdocs>=1.3.0
|
||||
mkdocs-material>=8.2.16
|
||||
@@ -1,86 +1,49 @@
|
||||
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"
|
||||
MAX_EXT_TEMP = 450
|
||||
|
||||
SET_BED_TEMP = "M140"
|
||||
MAX_BED_TEMP = 150
|
||||
|
||||
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 "%s S%s" % (KlippyGcodes.SET_BED_TEMP, str(temp))
|
||||
return f"M140 S{temp}"
|
||||
|
||||
@staticmethod
|
||||
def set_ext_temp(temp, tool=0):
|
||||
return "%s T%s S%s" % (KlippyGcodes.SET_EXT_TEMP, str(tool), str(temp))
|
||||
return f"M104 T{tool} S{temp}"
|
||||
|
||||
@staticmethod
|
||||
def set_heater_temp(heater, temp):
|
||||
return 'SET_HEATER_TEMPERATURE heater="%s" target=%s' % (heater, str(temp))
|
||||
return f'SET_HEATER_TEMPERATURE heater="{heater}" target={temp}'
|
||||
|
||||
@staticmethod
|
||||
def set_temp_fan_temp(temp_fan, temp):
|
||||
return 'SET_TEMPERATURE_FAN_TARGET temperature_fan="%s" target=%s' % (temp_fan, str(temp))
|
||||
|
||||
@staticmethod
|
||||
def set_fan_speed(speed):
|
||||
speed = str(int(float(int(speed) % 101)/100*255))
|
||||
return "%s S%s" % (KlippyGcodes.SET_FAN_SPEED, speed)
|
||||
return f'SET_TEMPERATURE_FAN_TARGET temperature_fan="{temp_fan}" target={temp}'
|
||||
|
||||
@staticmethod
|
||||
def set_extrusion_rate(rate):
|
||||
return "%s S%s" % (KlippyGcodes.SET_EXT_FACTOR, rate)
|
||||
return f"M221 S{rate}"
|
||||
|
||||
@staticmethod
|
||||
def set_speed_rate(rate):
|
||||
return "%s S%s" % (KlippyGcodes.SET_SPD_FACTOR, rate)
|
||||
|
||||
@staticmethod
|
||||
def testz_move(dist):
|
||||
return KlippyGcodes.TESTZ + dist
|
||||
|
||||
@staticmethod
|
||||
def extrude(dist, speed=500):
|
||||
return "%s E%s F%s" % (KlippyGcodes.MOVE, dist, speed)
|
||||
return f"M220 S{rate}"
|
||||
|
||||
@staticmethod
|
||||
def bed_mesh_load(profile):
|
||||
return "BED_MESH_PROFILE LOAD='%s'" % profile
|
||||
return f"BED_MESH_PROFILE LOAD='{profile}'"
|
||||
|
||||
@staticmethod
|
||||
def bed_mesh_remove(profile):
|
||||
return "BED_MESH_PROFILE REMOVE='%s'" % profile
|
||||
return f"BED_MESH_PROFILE REMOVE='{profile}'"
|
||||
|
||||
@staticmethod
|
||||
def bed_mesh_save(profile):
|
||||
return "BED_MESH_PROFILE SAVE='%s'" % 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'
|
||||
)
|
||||
@@ -1,202 +1,233 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import gi
|
||||
import logging
|
||||
import os
|
||||
import pathlib
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GdkPixbuf, Gio, GLib, Pango
|
||||
from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango
|
||||
|
||||
|
||||
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)
|
||||
|
||||
klipperscreendir = os.getcwd()
|
||||
|
||||
class KlippyGtk:
|
||||
labels = {}
|
||||
font_ratio = [43, 29]
|
||||
keyboard_ratio = .22
|
||||
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.theme = theme
|
||||
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))
|
||||
self.img_width = int(round(self.width / self.width_ratio))
|
||||
self.img_height = int(round(self.height / self.height_ratio))
|
||||
self.action_bar_width = int(self.width * .1)
|
||||
self.header_image_scale_width = 1.2
|
||||
self.header_image_scale_height = 1.4
|
||||
self.cursor = cursor
|
||||
self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", screen.theme, "images")
|
||||
self.cursor = screen.show_cursor
|
||||
self.font_size_type = screen._config.get_main_config().get("font_size", "medium")
|
||||
self.width = screen.width
|
||||
self.height = screen.height
|
||||
self.font_ratio = [33, 49] if self.screen.vertical_mode else [43, 29]
|
||||
self.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
|
||||
|
||||
logging.debug("img width: %s height: %s" % (self.img_width, self.img_height))
|
||||
if self.font_size_type == "max":
|
||||
self.font_size = self.font_size * 1.2
|
||||
self.bsidescale = .7
|
||||
elif self.font_size_type == "extralarge":
|
||||
self.font_size = self.font_size * 1.14
|
||||
self.img_scale = self.img_scale * 0.7
|
||||
self.bsidescale = 1
|
||||
elif self.font_size_type == "large":
|
||||
self.font_size = self.font_size * 1.09
|
||||
self.img_scale = self.img_scale * 0.9
|
||||
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
|
||||
logging.info(f"Font size: {self.font_size:.1f} ({self.font_size_type})")
|
||||
|
||||
def get_action_bar_width(self):
|
||||
return self.action_bar_width
|
||||
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.content_width = self.width - self.action_bar_width
|
||||
self.content_height = self.height - self.titlebar_height
|
||||
|
||||
def get_content_width(self):
|
||||
return self.width - self.action_bar_width
|
||||
self.keyboard_height = self.content_height * 0.5
|
||||
if (self.height / self.width) >= 3: # Ultra-tall
|
||||
self.keyboard_height = self.keyboard_height * 0.5
|
||||
|
||||
def get_content_height(self):
|
||||
return self.height - self.header_size
|
||||
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
|
||||
|
||||
def get_font_size(self):
|
||||
return self.font_size
|
||||
def get_temp_color(self, device):
|
||||
# logging.debug("Color list %s" % self.color_list)
|
||||
if device not in self.color_list:
|
||||
return False, False
|
||||
|
||||
def get_header_size(self):
|
||||
return self.header_size
|
||||
if 'base' in self.color_list[device]:
|
||||
rgb = self.color_list[device]['rgb'].copy()
|
||||
if self.color_list[device]['state'] > 0:
|
||||
rgb[1] = rgb[1] + self.color_list[device]['hsplit'] * self.color_list[device]['state']
|
||||
self.color_list[device]['state'] += 1
|
||||
rgb = [x / 255 for x in rgb]
|
||||
# logging.debug(f"Assigning color: {device} {rgb}")
|
||||
else:
|
||||
colors = self.color_list[device]['colors']
|
||||
if self.color_list[device]['state'] >= len(colors):
|
||||
self.color_list[device]['state'] = 0
|
||||
color = colors[self.color_list[device]['state'] % len(colors)]
|
||||
rgb = [int(color[i:i + 2], 16) / 255 for i in range(0, 6, 2)]
|
||||
self.color_list[device]['state'] += 1
|
||||
# logging.debug(f"Assigning color: {device} {rgb} {color}")
|
||||
return rgb
|
||||
|
||||
def get_header_image_scale(self):
|
||||
return [self.header_image_scale_width, self.header_image_scale_height]
|
||||
def reset_temp_color(self):
|
||||
for key in self.color_list:
|
||||
self.color_list[key]['state'] = 0
|
||||
|
||||
def get_image_width(self):
|
||||
return self.img_width
|
||||
|
||||
def get_image_height(self):
|
||||
return self.img_height
|
||||
|
||||
def get_keyboard_height(self):
|
||||
return (self.width - self.get_action_bar_width()) * self.keyboard_ratio
|
||||
|
||||
def Label(self, label, style=None):
|
||||
@staticmethod
|
||||
def Label(label, style=None):
|
||||
la = Gtk.Label(label)
|
||||
if style is not None and style is not False:
|
||||
if style is not None:
|
||||
la.get_style_context().add_class(style)
|
||||
return la
|
||||
|
||||
def ImageLabel(self, image_name, text, size=20, style=False, width_scale=.32, height_scale=.32):
|
||||
box1 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=15)
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
"%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, str(image_name)),
|
||||
int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
|
||||
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()
|
||||
|
||||
image = Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
def PixbufFromIcon(self, filename, width=None, height=None):
|
||||
width = width if width is not None else self.img_width
|
||||
height = height if height is not None else self.img_height
|
||||
filename = os.path.join(self.themedir, filename)
|
||||
for ext in ["svg", "png"]:
|
||||
pixbuf = self.PixbufFromFile(f"{filename}.{ext}", int(width), int(height))
|
||||
if pixbuf is not None:
|
||||
return pixbuf
|
||||
return None
|
||||
|
||||
label = Gtk.Label()
|
||||
label.set_text(text)
|
||||
box1.add(image)
|
||||
box1.add(label)
|
||||
@staticmethod
|
||||
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
|
||||
|
||||
if style is not False:
|
||||
ctx = box1.get_style_context()
|
||||
ctx.add_class(style)
|
||||
|
||||
return {"l": label, "b": box1}
|
||||
|
||||
def Image(self, image_name, style=False, width_scale=1, height_scale=1):
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
"%s/styles/%s/images/%s" % (klipperscreendir, self.theme, str(image_name)),
|
||||
int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
|
||||
|
||||
return Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
|
||||
def ImageFromFile(self, filename, style=False, width_scale=1, height_scale=1):
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
filename, int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
|
||||
|
||||
return Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
|
||||
def PixbufFromFile(self, filename, style=False, width_scale=1, height_scale=1):
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
filename, int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
|
||||
|
||||
return pixbuf
|
||||
|
||||
def PixbufFromHttp(self, resource, style=False, width_scale=1, height_scale=1):
|
||||
def PixbufFromHttp(self, resource, width=-1, height=-1):
|
||||
response = self.screen.apiclient.get_thumbnail_stream(resource)
|
||||
if response is False:
|
||||
return None
|
||||
stream = Gio.MemoryInputStream.new_from_data(response, None)
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_stream_at_scale(
|
||||
stream, int(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 ProgressBar(self, style=False):
|
||||
bar = Gtk.ProgressBar()
|
||||
|
||||
if style is not False:
|
||||
ctx = bar.get_style_context()
|
||||
ctx.add_class(style)
|
||||
|
||||
return bar
|
||||
|
||||
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)
|
||||
|
||||
return b
|
||||
|
||||
def ButtonImage(self, image_name, label=None, style=None, width_scale=1.38, height_scale=1.38,
|
||||
position=Gtk.PositionType.TOP, word_wrap=True):
|
||||
filename = "%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, str(image_name))
|
||||
if not os.path.exists(filename):
|
||||
logging.error("Unable to find button image (theme, image): (%s, %s)" % (self.theme, str(image_name)))
|
||||
filename = "%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, "warning")
|
||||
|
||||
b = Gtk.Button(label=label)
|
||||
|
||||
if os.path.exists(filename):
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
filename,
|
||||
int(round(self.img_width * width_scale)),
|
||||
int(round(self.img_height * height_scale)),
|
||||
True
|
||||
)
|
||||
img = Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
b.set_image(img)
|
||||
|
||||
def Button(self, image_name=None, label=None, style=None, scale=None, position=Gtk.PositionType.TOP, lines=2):
|
||||
if self.font_size_type == "max" and label is not None and scale is None:
|
||||
image_name = None
|
||||
b = Gtk.Button()
|
||||
if label is not None:
|
||||
b.set_label(label.replace("\n", " "))
|
||||
b.set_hexpand(True)
|
||||
b.set_vexpand(True)
|
||||
b.set_can_focus(False)
|
||||
b.set_image_position(position)
|
||||
b.set_always_show_image(True)
|
||||
b.props.relief = Gtk.ReliefStyle.NONE
|
||||
|
||||
if word_wrap is True:
|
||||
try:
|
||||
# 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)
|
||||
except Exception:
|
||||
pass
|
||||
if image_name is not None:
|
||||
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.new()
|
||||
spinner.set_no_show_all(True)
|
||||
spinner.set_size_request(width, height)
|
||||
spinner.hide()
|
||||
box = find_widget(b, Gtk.Box)
|
||||
if box:
|
||||
box.add(spinner)
|
||||
|
||||
if label is not None:
|
||||
format_label(b, lines)
|
||||
if style is not None:
|
||||
b.get_style_context().add_class(style)
|
||||
|
||||
b.connect("clicked", self.screen.reset_screensaver_timeout)
|
||||
return b
|
||||
|
||||
def Dialog(self, screen, buttons, content, callback=None, *args):
|
||||
dialog = Gtk.Dialog()
|
||||
dialog.set_default_size(screen.width, screen.height)
|
||||
@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)
|
||||
|
||||
def Dialog(self, title, buttons, content, callback=None, *args):
|
||||
dialog = Gtk.Dialog(title=title)
|
||||
dialog.set_default_size(self.width, self.height)
|
||||
dialog.set_resizable(False)
|
||||
dialog.set_transient_for(screen)
|
||||
dialog.set_transient_for(self.screen)
|
||||
dialog.set_modal(True)
|
||||
if not self.screen.windowed:
|
||||
dialog.fullscreen()
|
||||
|
||||
for button in buttons:
|
||||
dialog.add_button(button_text=button['name'], response_id=button['response'])
|
||||
dialog.add_button(button['name'], button['response'])
|
||||
button = dialog.get_widget_for_response(button['response'])
|
||||
button.set_size_request((self.width - 30) / 3, self.height / 5)
|
||||
format_label(button, 3)
|
||||
|
||||
dialog.connect("response", self.screen.reset_screensaver_timeout)
|
||||
dialog.connect("response", callback, *args)
|
||||
dialog.get_style_context().add_class("dialog")
|
||||
|
||||
box = Gtk.Box()
|
||||
box.set_size_request(screen.width - 60, 0)
|
||||
box.set_vexpand(True)
|
||||
|
||||
content_area = dialog.get_content_area()
|
||||
content_area.set_margin_start(15)
|
||||
content_area.set_margin_end(15)
|
||||
@@ -207,40 +238,28 @@ class KlippyGtk:
|
||||
dialog.show_all()
|
||||
# Change cursor to blank
|
||||
if self.cursor:
|
||||
dialog.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.ARROW))
|
||||
dialog.get_window().set_cursor(
|
||||
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.ARROW))
|
||||
else:
|
||||
dialog.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.BLANK_CURSOR))
|
||||
dialog.get_window().set_cursor(
|
||||
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.BLANK_CURSOR))
|
||||
|
||||
self.screen.dialogs.append(dialog)
|
||||
logging.info(f"Showing dialog {dialog.get_title()} {dialog.get_size()}")
|
||||
return dialog
|
||||
|
||||
def remove_dialog(self, dialog, *args):
|
||||
if self.screen.updating:
|
||||
return
|
||||
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}")
|
||||
|
||||
def ToggleButtonImage(self, image_name, label, style=False, width_scale=1.38, height_scale=1.38):
|
||||
filename = "%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, str(image_name))
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
filename,
|
||||
int(round(self.img_width * width_scale)),
|
||||
int(round(self.img_height * height_scale)),
|
||||
True
|
||||
)
|
||||
|
||||
img = Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
|
||||
b = Gtk.ToggleButton(label=label)
|
||||
b.set_image(img)
|
||||
b.set_hexpand(True)
|
||||
b.set_vexpand(True)
|
||||
b.set_can_focus(False)
|
||||
b.set_image_position(Gtk.PositionType.TOP)
|
||||
b.set_always_show_image(True)
|
||||
b.props.relief = Gtk.ReliefStyle.NONE
|
||||
|
||||
if style is not False:
|
||||
ctx = b.get_style_context()
|
||||
ctx.add_class(style)
|
||||
|
||||
return b
|
||||
|
||||
def HomogeneousGrid(self, width=None, height=None):
|
||||
@staticmethod
|
||||
def HomogeneousGrid(width=None, height=None):
|
||||
g = Gtk.Grid()
|
||||
g.set_row_homogeneous(True)
|
||||
g.set_column_homogeneous(True)
|
||||
@@ -253,25 +272,17 @@ class KlippyGtk:
|
||||
b.props.relief = Gtk.ReliefStyle.NONE
|
||||
b.set_hexpand(True)
|
||||
b.set_vexpand(True)
|
||||
b.connect("clicked", self.screen.reset_screensaver_timeout)
|
||||
return b
|
||||
|
||||
def formatFileName(self, name):
|
||||
name = name.split('/')[-1] if "/" in name else name
|
||||
name = name.split('.gcod')[0] if ".gcode" in name else name
|
||||
if len(name) > 25:
|
||||
return name[0:25] + "\n" + name[25:50]
|
||||
return name
|
||||
|
||||
|
||||
def formatTimeString(self, seconds):
|
||||
time = int(seconds)
|
||||
text = ""
|
||||
if int(time/3600) != 0:
|
||||
text += str(int(time/3600))+"h "
|
||||
text += str(int(time/60) % 60)+"m "+str(time % 60)+"s"
|
||||
return text
|
||||
|
||||
def formatTemperatureString(self, temp, target):
|
||||
if (target > temp-2 and target < temp+2) or round(target, 0) == 0:
|
||||
return str(round(temp, 1)) + "°C" # °C →"
|
||||
return str(round(temp)) + " → " + str(round(target)) + "°C"
|
||||
def ScrolledWindow(self, steppers=True):
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
scroll.set_vexpand(True)
|
||||
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK |
|
||||
Gdk.EventMask.TOUCH_MASK |
|
||||
Gdk.EventMask.BUTTON_RELEASE_MASK)
|
||||
scroll.set_kinetic_scrolling(True)
|
||||
if self.screen._config.get_main_config().getboolean("show_scroll_steppers", fallback=False) and steppers:
|
||||
scroll.get_vscrollbar().get_style_context().add_class("with-steppers")
|
||||
return scroll
|
||||
@@ -1,49 +1,85 @@
|
||||
import json
|
||||
import requests
|
||||
import logging
|
||||
import re
|
||||
import requests
|
||||
|
||||
|
||||
class KlippyRest:
|
||||
def __init__(self, ip, port=7125, api_key=False):
|
||||
self.ip = ip
|
||||
self.port = port
|
||||
self.api_key = api_key
|
||||
self.status = ''
|
||||
|
||||
@property
|
||||
def endpoint(self):
|
||||
protocol = "http"
|
||||
if int(self.port) in {443, 7130}:
|
||||
protocol = "https"
|
||||
return f"{protocol}://{self.ip}:{self.port}"
|
||||
|
||||
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:
|
||||
if r is False or 'result' not in r:
|
||||
return False
|
||||
return r['result']
|
||||
|
||||
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 = "http://%s:%s/server/files/gcodes/%s" % (self.ip, self.port, 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 = "http://%s:%s/%s" % (self.ip, self.port, method)
|
||||
logging.debug("Sending request to %s" % url)
|
||||
def _do_request(self, method, request_method, data=None, json=None, json_response=True, timeout=3):
|
||||
url = f"{self.endpoint}/{method}"
|
||||
headers = {} if self.api_key is False else {"x-api-key": self.api_key}
|
||||
response_data = False
|
||||
try:
|
||||
r = requests.get(url, headers=headers)
|
||||
except Exception:
|
||||
return False
|
||||
if r.status_code != 200:
|
||||
return False
|
||||
callee = getattr(requests, request_method)
|
||||
response = callee(url, json=json, data=data, headers=headers, timeout=timeout)
|
||||
response.raise_for_status()
|
||||
if json_response:
|
||||
logging.debug(f"Sending request to {url}")
|
||||
response_data = response.json()
|
||||
else:
|
||||
response_data = response.content
|
||||
except requests.exceptions.HTTPError as h:
|
||||
self.status = self.format_status(h)
|
||||
except requests.exceptions.ConnectionError as c:
|
||||
self.status = self.format_status(c)
|
||||
except requests.exceptions.Timeout as t:
|
||||
self.status = self.format_status(t)
|
||||
except requests.exceptions.JSONDecodeError as j:
|
||||
self.status = self.format_status(j)
|
||||
except requests.exceptions.RequestException as r:
|
||||
self.status = self.format_status(r)
|
||||
except Exception as e:
|
||||
self.status = self.format_status(e)
|
||||
if response_data:
|
||||
self.status = ''
|
||||
else:
|
||||
logging.error(self.status.replace('\n', '>>'))
|
||||
return response_data
|
||||
|
||||
# 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=3):
|
||||
return self._do_request(method, "get", json_response=json, timeout=timeout)
|
||||
|
||||
@staticmethod
|
||||
def format_status(status):
|
||||
try:
|
||||
data = json.loads(r.content)
|
||||
except Exception:
|
||||
logging.exception("Unable to parse response from moonraker:\n %s" % 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
|
||||