diff --git a/docs/Android.md b/docs/Android.md index 0dfa557a..5b71dbcb 100644 --- a/docs/Android.md +++ b/docs/Android.md @@ -12,7 +12,7 @@ This article describe how to use KlipperScreen from an Android device using XSer It's recommended that you use [VNC](VNC.md) instead or at least install [earlyoom](https://packages.debian.org/en/stable/earlyoom) -1. [First installl KlipperScreen](Installation.md) +1. [First install KlipperScreen](Installation.md) 2. Download the apk of XServer-XSDL or ViewTouch from the [official sourceforge](https://sourceforge.net/projects/libsdl-android/files/apk/XServer-XSDL/). @@ -113,7 +113,7 @@ Even after enabling the "Stay Awake" option in the Developer/USB Debugging optio 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): +Append the following argument (must be on separate lines): ``` -s 0 diff --git a/docs/Developers.md b/docs/Developers.md index c600da61..ebdb529e 100644 --- a/docs/Developers.md +++ b/docs/Developers.md @@ -1,9 +1,9 @@ # Developer Guide -Basic setup for an enviroment to do development of KlipperScreen. +Basic setup for an environment to do development of KlipperScreen. !!! note "Alfrix Note:" - I use a standard Linux distro with a desktop enviroment. + I use a standard Linux distro with a desktop environment. ## Clone the repo Clone your fork, for example: diff --git a/docs/Hardware/GPIO_35.md b/docs/Hardware/GPIO_35.md index 78b61810..7f5827a1 100644 --- a/docs/Hardware/GPIO_35.md +++ b/docs/Hardware/GPIO_35.md @@ -1,5 +1,5 @@ -How i installed the 3.5" (A) type of screen on RaspberryOS Bookworm (Debian 12) +How I installed the 3.5" (A) type of screen on RaspberryOS Bookworm (Debian 12) Update: I've tested Bullseye (Debian 11) and it works, but [rotation was not working](#rotation) @@ -43,7 +43,7 @@ sudo reboot Some screens will not behave correctly and/or display wrong colors, this usually due to the wrong [SPI](https://en.wikipedia.org/wiki/Serial_Peripheral_Interface) speed -In my case the maximum i could achieve is 22.22Mhz +In my case the maximum I could achieve is 22.22Mhz ``` dtoverlay=piscreen,drm,speed=22222222 ``` @@ -62,7 +62,7 @@ dtoverlay=piscreen,drm,speed=22222222 So even if you can enter any number, it will be approximated to a value from that formula - That's why i used 22.222.222 (400 / 18) + That's why I used 22.222.222 (400 / 18) reboot to test any changes. @@ -104,7 +104,7 @@ fbcon=map:11 I have tried the type (B) version 2, and it's quite different, this screen has a different initialization sequence, probably due to being IPS -so you will need the waveshare35b-v2 dtb of the [waveshare repo](https://github.com/waveshare/LCD-show), to be copied into the apropriate folder +so you will need the waveshare35b-v2 dtb of the [waveshare repo](https://github.com/waveshare/LCD-show), to be copied into the appropriate folder: ``` git clone https://github.com/waveshare/LCD-show @@ -113,9 +113,9 @@ sudo cp LCD-show/waveshare35b-v2-overlay.dtb /boot/firmware/overlays/waveshare35 the config would be something like this, another major difference is that this display will default to vertical -the maximum speed i could achieve with mine was 33mhz (400mhz/12) without color aberration, -but i ended up with 30mhz to have some margin -this overlay supports an fps value, default is 30 i changed it to 60 +the maximum speed I could achieve with mine was 33mhz (400mhz/12) without color aberration, +but I ended up with 30mhz to have some margin +this overlay supports an fps value, default is 30 I changed it to 60 this screen was never super responsive but with this configuration is quite tolerable in my opinion. ``` title="/boot/firmware/config.txt" @@ -150,7 +150,7 @@ EndSection ``` !!! tip - notice that i'm using fbdev and not fbturbo, you can use fbturbo if you like (remeber to install it) + notice that I'm using fbdev and not fbturbo, you can use fbturbo if you like (remember to install it) at this point this still did not work: @@ -173,7 +173,7 @@ Fatal server error: [ 172.068] (EE) no screens found(EE) ``` -so i checked out the configuration and found: +so I checked out the configuration and found: ``` title="default contents of /usr/share/X11/xorg.conf.d/20-noglamor.conf" Section "Device" diff --git a/docs/Hardware/HDMI.md b/docs/Hardware/HDMI.md index 9e977c29..81d4d646 100644 --- a/docs/Hardware/HDMI.md +++ b/docs/Hardware/HDMI.md @@ -47,7 +47,7 @@ options on brackets are optional |-----------------|----------------------------------------------------------------------------------------| | M | Calculate timings using [CVT](https://en.wikipedia.org/wiki/Coordinated_Video_Timings) | | R | CVT reduced blanking (refresh rate must be 60Hz) | -| - | Bits per pixel, A.K.A. BitDepth usuallly 24 | +| - | Bits per pixel, A.K.A. BitDepth usually 24 | | @ | acceptable refresh rates are 50, 60, 70 or 85 Hz only | | e | Force enable | | D | Force enable Digital mode | diff --git a/docs/Multi_instance.md b/docs/Multi_instance.md index c66d765d..70166b40 100644 --- a/docs/Multi_instance.md +++ b/docs/Multi_instance.md @@ -1,6 +1,6 @@ Multiple instances of KlipperScreen -*Dificulty: Advanced* +*Difficulty: Advanced* This article describes different methods of adding remote desktop clients (VNC or Xserver-XSDL) that do not support installing KS directly. If your remote device runs GNU/Linux then you should install KlipperScreen directly, instead of the methods described below. @@ -96,7 +96,7 @@ Test your new service sudo systemctl start KlipperScreen_tablet ``` -Optional: After veryfing it works, make it load when the system starts +Optional: After verifying it works, make it load when the system starts ```sh sudo systemctl enable KlipperScreen_tablet ``` diff --git a/docs/Panels/Temperature.md b/docs/Panels/Temperature.md index efc79392..0b470ba1 100644 --- a/docs/Panels/Temperature.md +++ b/docs/Panels/Temperature.md @@ -1,6 +1,6 @@ # Temperature -This panel is available when there is at least one device with a temperature sensor asociated, +This panel is available when there is at least one device with a temperature sensor associated, this includes extruders, heaters, sensors and temperature_fans. There are 3 main modes of operation: diff --git a/docs/Troubleshooting/Rotation.md b/docs/Troubleshooting/Rotation.md index a944267c..e7c7dd5e 100644 --- a/docs/Troubleshooting/Rotation.md +++ b/docs/Troubleshooting/Rotation.md @@ -41,7 +41,7 @@ here are some examples: # Valid rotation options are normal,inverted,left,right Option "PreferredMode" "1920x1080" - # May be necesary if you are not getting your prefered resolution. + # May be necessary if you are not getting your preferred resolution. EndSection ``` Save the file and restart KlipperScreen. diff --git a/docs/Troubleshooting/Touch_issues.md b/docs/Troubleshooting/Touch_issues.md index 33c1b6be..027a22fc 100644 --- a/docs/Troubleshooting/Touch_issues.md +++ b/docs/Troubleshooting/Touch_issues.md @@ -140,7 +140,7 @@ Output: In this case the device is the ADS7846 Touchscreen, yours may be different -Reset the old calibration: (set the 0° roation matrix: 1 0 0 0 1 0 0 0 1) +Reset the old calibration: (set the 0° rotation matrix: 1 0 0 0 1 0 0 0 1) ```sh DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1 ``` diff --git a/docs/macros.md b/docs/macros.md index 706f16d2..ba1ca5b8 100644 --- a/docs/macros.md +++ b/docs/macros.md @@ -54,8 +54,8 @@ gcode: description: Helper: park toolhead used in PAUSE and CANCEL_PRINT variable_extrude: 1.0 gcode: - ##### set park positon for x and y ##### - # default is your max posion from your printer.cfg + ##### set park position for x and y ##### + # default is your max position from your printer.cfg {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %} {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %} @@ -163,7 +163,7 @@ if it loads too fast and your extruder can't keep up, you should adjust the `max All gcode_macros with the attribute `rename_existing` are hidden , because these are default Klipper Gcodes and these should be implemented in KlipperScreen itself with buttons already. -[This is the same behaiviour of other UIs](https://docs.mainsail.xyz/overview/features/hide-macros-outputs-or-fans#macros-with-rename_existing) +[This is the same behaviour of other UIs](https://docs.mainsail.xyz/overview/features/hide-macros-outputs-or-fans#macros-with-rename_existing) [LOAD_FILAMENT and UNLOAD_FILAMENT are also hidden](#load_filament-unload_filament) diff --git a/panels/job_status.py b/panels/job_status.py index af17af90..c6aa1ed9 100644 --- a/panels/job_status.py +++ b/panels/job_status.py @@ -468,7 +468,7 @@ class Panel(ScreenPanel): def new_print(self): self._screen.screensaver.close() if "virtual_sdcard" in self._printer.data: - logging.info("reseting progress") + logging.info("resetting progress") self._printer.data["virtual_sdcard"]["progress"] = 0 self.update_progress(0.0) self.set_state("printing") diff --git a/panels/network.py b/panels/network.py index c8da7ac9..4dd52e65 100644 --- a/panels/network.py +++ b/panels/network.py @@ -30,7 +30,7 @@ class Panel(ScreenPanel): message = ( _("Failed to initialize") + "\n" + "This panel needs NetworkManager installed into the system\n" - + "And the apropriate permissions, without them it will not function.\n" + + "And the appropriate permissions, without them it will not function.\n" + f"\n{e}\n" ) self.error_box.add( diff --git a/screen.py b/screen.py index e37c20c7..85c9b908 100755 --- a/screen.py +++ b/screen.py @@ -187,7 +187,7 @@ class KlipperScreen(Gtk.Window): def state_execute(self, state, callback): self.screensaver.close() if 'printer_select' in self._cur_panels: - logging.debug(f"Connected printer chaged {state}") + logging.debug(f"Connected printer changed {state}") return False if state in ("printing", "paused"): self.set_screenblanking_timeout(self._config.get_main_config().get('screen_blanking_printing')) @@ -786,7 +786,7 @@ class KlipperScreen(Gtk.Window): def toggle_shortcut(self, show): if show and not self.printer.get_printer_status_data()["printer"]["gcode_macros"]["count"] > 0: self.show_popup_message( - _("No elegible macros:") + "\n" + _("No eligible macros:") + "\n" + _("macros with a name starting with '_' are hidden") + "\n" + _("macros that use 'rename_existing' are hidden") + "\n" + _("LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude") + "\n" diff --git a/scripts/KlipperScreen-install.sh b/scripts/KlipperScreen-install.sh index 0862d11f..6a376ca7 100755 --- a/scripts/KlipperScreen-install.sh +++ b/scripts/KlipperScreen-install.sh @@ -129,7 +129,7 @@ create_virtualenv() python3 -m venv "${KSENV}" if ! . "${KSENV}/bin/activate"; then - echo_error "Could not activate the enviroment, try deleting ${KSENV} and retry" + echo_error "Could not activate the environment, try deleting ${KSENV} and retry" exit 1 fi diff --git a/scripts/Uninstall.sh b/scripts/Uninstall.sh index 72440190..6747ef3f 100755 --- a/scripts/Uninstall.sh +++ b/scripts/Uninstall.sh @@ -6,7 +6,7 @@ echo "* Stopping service" sudo service KlipperScreen stop echo "* Removing unit file" sudo rm /etc/systemd/system/KlipperScreen.service -echo "* Removing enviroment" +echo "* Removing environment" sudo rm -rf ~/.KlipperScreen-env echo "!! Please remove $(dirname `pwd`) manually" echo "Done" diff --git a/scripts/sample-launch_klipperscreen.sh b/scripts/sample-launch_klipperscreen.sh index bde85587..3d5e3bb7 100755 --- a/scripts/sample-launch_klipperscreen.sh +++ b/scripts/sample-launch_klipperscreen.sh @@ -9,7 +9,7 @@ export XCLIENT=change_me export DISPLAY=change_me if [ $XCLIENT == "change_me" ]; then - echo "launch_klipperscreen.sh for XSDL/XServer Clients has not been cofigured properly. Please edit this file to point to your XServer Client" + echo "launch_klipperscreen.sh for XSDL/XServer Clients has not been configured properly. Please edit this file to point to your XServer Client" exit fi @@ -34,12 +34,12 @@ fi case "$1" in start) - echo -n "Starting Klipper Screen Xclient Deamon .... " + echo -n "Starting Klipper Screen Xclient Daemon .... " setsid "$PYKLIPPERSCREEN" "$PYKLIPPERPARAM" #>/dev/null 2>&1 < /dev/null & echo "running" ;; stop) - echo -n "Stopping Klipper Screen Xclient Deamon .... " + echo -n "Stopping Klipper Screen Xclient Daemon .... " PID=`ps -ef|grep KlipperScreen-env/bin/python|awk '{print $2}'` kill -9 $PID echo "stopping"