224 Commits
Author SHA1 Message Date
Daniel Mach 2004592568 Fix typo in sudo_fix 2026-03-23 12:14:17 -03:00
Thijs Triemstra 234ab979f8 fix typos (#1604) 2025-07-24 17:11:21 -06:00
Alfredo Monclus bdb4e93709 refactor: requirements install: add prefer-binary to the retry path
should help if the system can't build succesfully for whatever reason
2025-07-06 07:06:04 -06:00
Alfredo Monclus b05aadc4f5 chore: fix typo 2025-07-03 10:10:09 -06:00
Alfredo Monclus 7709fb25dd fix(deps): bookworm doesnt have girepository2.0 so require pygobject less than 3.51 2025-07-03 10:08:39 -06:00
Alfredo Monclus c520390fe4 deps: update requirement file 2025-07-02 11:50:21 -06:00
Thomas Witt 454f7c6d12 installer: fix polkit rule file (#1592)
Since 40ce34f (the removal of the try-catch block in the polkit rule
file), there is one extra `}` character that leads to polkitd logging a
syntax error and ignoring the rule.
2025-06-22 23:18:13 -06:00
dependabot[bot] 5ba4a1ff13 chore(deps): bump python-mpv from 1.0.7 to 1.0.8 (#1576)
Bumps [python-mpv](https://github.com/jaseg/python-mpv) from 1.0.7 to 1.0.8.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.7...v1.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-15 09:06:46 -06:00
Jack_up e1aeaa6f23 Refactor: allow pre-setting variables before execution in install script (#1578)
* refactor: improve readability and structure of installation prompts in KlipperScreen-install.sh

* refactor: streamline user prompt and normalize input for NetworkManager installation
2025-05-25 06:50:07 -06:00
dependabot[bot] 5a27f6b1f7 chore(deps): bump jinja2 from 3.1.5 to 3.1.6 in /scripts (#1558)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)

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

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

Launching the GUI process with `exec` lets systemd manage it.
2025-03-02 23:28:29 -03:00
Russell Cloran 38348720f0 fix: Start PAM session in service to allow Wayland start at boot (#1551)
https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#PAMName=

Fixes #1548
2025-02-16 14:00:33 -03:00
Alfredo Monclus 8ec1b91be5 chore: update jinja req 2025-02-12 07:36:59 -03:00
Alfredo Monclus 4d6c5a35a0 fix: set dev requirements to gtk3 2024-12-15 15:15:22 -03:00
Alfredo Monclus a7b8c4cfeb chore(deps): update pygobject and pycairo dependencies 2024-10-13 13:57:13 -03:00
Alfredo MonclusandMrTylerjet 5ae4e475b6 feat: battery status (#1457)
* Initial commit, added psutil for getting tablet/laptop battery percentage, initial code for getting the values and displaying the icon

* add battery svgs for light theme

* added light styled battery svgs for dark themes

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

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

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

* add toggle to config for settings

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

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

* remove left over commented out code

* only call self.battery_percentage when config is true

* adjust tooltip message

* split creatation of elements from updating elements

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

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

* only create battery_update timer if config setting is true

* new material icons remove old icons

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

* fix: lint

* refactors

* style: update icons to follow themes

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

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

---------

Co-authored-by: MrTylerjet <MrTylerjet@gmail.com>
2024-10-09 17:34:33 -03:00
Alfredo Monclus 66e8a09a66 fix: wait for moonraker if present, this will aid those slow system to not fail the connection on startup and having to retry 2024-09-24 16:52:21 -03:00
Alfredo Monclus cee185e21e fix(installer): platforms that don't have dep binaries available may need to build sdbus from source
close #1430
2024-07-13 16:26:08 -03:00
Alfredo Monclus 05bbe4cdd3 refactor(installer): add an additional check to env removal in case an invalid external variable was set
https://github.com/dw-0/kiauh/issues/488
2024-07-09 16:56:59 -03:00
dependabot[bot] a559b817bd build(deps): bump python-mpv from 1.0.6 to 1.0.7 (#1411)
Bumps [python-mpv](https://github.com/jaseg/python-mpv) from 1.0.6 to 1.0.7.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.6...v1.0.7)

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 20:58:38 -03:00
breakheart 0ef9021e82 change sh to bash (#1404)
'[[' used in line 14 is not supported by sh
2024-06-20 23:01:37 -03:00
Alfredo Monclus abdbd5aa12 installer: clarify the reconnect to the user 2024-06-07 10:04:38 -03:00
Alfredo Monclus 40ce34f93b installer: fix for nm 2024-06-04 17:24:44 -03:00
Alfredo Monclus 4334535783 add dev requirements 2024-06-04 09:45:39 -03:00
Alfredo Monclus e112786c02 installer: fix typos 2024-06-03 14:27:33 -03:00
dependabot[bot] 50481f6dc1 build(deps): bump requests from 2.32.2 to 2.32.3 (#1388)
Bumps [requests](https://github.com/psf/requests) from 2.32.2 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.2...v2.32.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 09:58:28 -03:00
Alfredo Monclus b90a6f6037 installer: to be more effective disable dhcpd and reboot when installing nm 2024-06-03 08:44:14 -03:00
Alfredo Monclus 7ce29ab539 make the installer start nm 2024-06-02 07:02:41 -03:00
Alfredo Monclus a06d880f17 installer: cleaner questions, split default statement 2024-06-02 06:48:11 -03:00
Alfredo Monclus 06e69a71f3 installer: ask for network-manager 2024-06-02 06:48:11 -03:00
Alfredo Monclus 67767e3742 deps: cleanup 2024-06-02 06:48:11 -03:00
Bruno d0e9dd0352 KlipperScreen Install Fix (#1385)
Fixed Syntax Error from line 154 when running install script.
2024-05-31 07:45:59 -03:00
Alfredo Monclus 1578665b71 installer: always cleanup old env 2024-05-30 09:01:16 -03:00
Alfredo Monclus 9889f551cc Revert "printer: add pwm tool count to init"
This reverts commit 6aad788018.
2024-05-29 14:28:42 -03:00
Alfredo Monclus 6aad788018 printer: add pwm tool count to init 2024-05-29 14:27:25 -03:00
Alfredo Monclus e39c286f00 deps: requests 2.32 doesn't support 3.7 2024-05-27 22:34:04 -03:00
Alfredo Monclus 6815e9cabc network: improvements in error handling 2024-05-25 23:56:07 -03:00
dependabot[bot] bf4d361403 build(deps): bump requests from 2.31.0 to 2.32.2 in /scripts (#1374)
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.2)

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

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

drop support for old methods

* rescan changes

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

start using  PEP 572 assignment expressions

Update FAQ

improve how unsupported versions are informed

this should be clearer on why we refuse to continue

* add more asign-expressions
2024-05-24 19:13:19 -03:00
Alfredo Monclus 564db518da update translation files 2024-05-23 23:38:47 -03:00
dependabot[bot] b4507aef62 build(deps): bump python-mpv from 1.0.5 to 1.0.6 (#1354)
Bumps [python-mpv](https://github.com/jaseg/python-mpv) from 1.0.5 to 1.0.6.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.5...v1.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 06:17:15 -03:00
dependabot[bot] 2ab8d3f985 build(deps): bump jinja2 from 3.1.3 to 3.1.4 (#1356)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 06:14:33 -03:00
alfrix ab658e58f7 installer: fix a dep issue 2024-05-04 18:04:14 -03:00
dependabot[bot] c873ebe261 build(deps): bump websocket-client from 1.6.1 to 1.8.0 (#1349)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.6.1 to 1.8.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.6.1...v1.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 15:43:47 -03:00
alfrix 9a56026612 installer: explain the options a bit more 2024-04-28 22:37:09 -03:00
alfrix 8b861cd039 deps: drop python3-distutils fixes #1345, also drop virtualenv
distutils was needed previous to the switch to pygobject, now the gobject library marks that package as needed if necessary, so there is no need for adding it explicitly

virtualenv is faster to install packages it was particularly notorious on numpy, but since i've dropped numpy and matplotlib, it doesn't make much difference and adds unnecesary dependencies
2024-04-26 22:58:41 -03:00
Alfredo Monclus 6cd1a8e12f Add an alternative to X close #1289 (#1306)
* Changes to allow using cage-kiosk

Wayland support close #1289

* installer: many improvements

* installer: add notes about wayland status

* deps: don't pull xserver with updates
2024-04-03 14:32:32 -03:00
alfrix e5280b8d7a deps: don't pull in networkmanager with the updates close #1319 2024-04-03 13:56:02 -03:00