• 0 Posts
  • 17 Comments
Joined 3 years ago
cake
Cake day: June 3rd, 2023

help-circle





  • Try explicitly setting your DNS servers to either cloudflare (1.1.1.1 and 1.0.0.1) or google (8.8.8.8 and 8.8.4.4) and see if that has any effect.

    If that does not help, make sure you’re getting a good signal from your router. Move your PC and router closer together for testing purposes to rule out wifi interference.

    Troubleshooting issues like that are often a matter of ruling things out as best you can to track down the cause.












  • When I press Super + PrtSc, a bash script performs the following:

    Takes a screenshot of the entire desktop (import -window root) and saves it as ~/screenshot.png…

    Analyzes the screenshot to calculate the “mean brightness” value of the image. It converts the image to grayscale and determines the average pixel brightness (a value between 0 and 1, where 0 is black and 1 is white).

    Checks if the image is dark by comparing the mean brightness to a threshold of 0.2. If the mean brightness is less than 0.2 (i.e., the image is very dark), it applies a negative filter to the image (convert -negate), effectively inverting the colors (black becomes white and vice versa).

    Sends the image to a printer (lp command) named MF741C-743C for printing.