Kategorie: Code
-
Ubuntu preload – preload often used applications to memory
A great application which should be installed by default. Preload checks and analyses the users behaviour and then begins to preload often used applications to the system memory, before they have been started. If you have 8 GB of RAM or more available, it absulutely makes sense to preload applications like Firefox, Thunderbird, Spotify. If
-
Ubuntu/Debian – automatically dim display on battery
I needed something to power up display to 100% while on AC Power and to automatically dim it to 50% while on battery. Unfortunately this can’t be configured in UI in system settings. Hey, Apple, you haven’t something like this either. I did some research and script triggered by udev should do the trick. 1.
-
Adding Watermark and Temp to the Image using macgick
The probably most tricky part of preparing the Image for the Website.For documentation purposes. The workaround to name the file TEMP.bakjpg is due to the deletion of remaining *.jpg files in the directory in the last step of the script. rm *.jpg Therefore i am renaming the image capt*.jpg to TEMP.bakjpg to prevent the current
-
EOS 1000D Shutter Count
Using gphoto2 the commandline tool allows me to read the shutter count of the weathercam. gphoto2 can be easily installed on linux based systems as well as on macOS using brew. On macOS you have to install brew first to then install gphoto2 using brew install gphoto2 Connect your Canon EOS 1000D using your mini-USB
![[ˈmʊʁksn̩]](https://mrxn.at/wp-content/uploads/2025/04/IMG_7766.jpeg.pagespeed.ce.NhhWe0WnxW.jpg)