Posts with Tag: script

MPV in Android with Termux

MPV in Android with Termux

Posted on 5th Mar 2025

Below is a script, for use in Termux, to launch MPV via the terminal/termux and watch videos. For the script to work properly, you have to install MPV-Android, preferably from not Google Play, use FDroid instead. Install it and make sure to allow it to use the sdcard for accessing files. Also, k...

One script to Update them all...

One script to Update them all...

Posted on 5th Feb 2025

I regularly use apt to update/upgrade system packages, but i usually forget to update snap packages/apps or github repositories or appimages... For the last one, i haven't found a global solution, but for the others, i did. Below is a simple script, that will update and upgrade your system, based...

Find device in local network by MAC address

Find device in local network by MAC address

Posted on 2nd Feb 2025

I am making some scripts and wanted to know the IP of specific devices (ex. smartphones). To identify the device, the MAC address is enough and a sure way. Some one could use arp-scan or nmap to do so, but in my case, i didn't want to use root privileges. I wanted a way, that would be: Quick...

Dragster...

Dragster...

Posted on 20th Jan 2025

Lately i found my self, looking for ways to make stuff more quickly. One way, for sure is the terminal, but still not everything can be done with a terminal and sometimes is quicker to drag'n'drop something, somewhere, than open a terminal cd to a directory and execute a command. Even with GUI app...

Draw on X11 desktop with python using xlib

Draw on X11 desktop with python using xlib

Posted on 10th Jan 2025

This is a small example on how to draw some text, on a X11 Desktop, with Python and XLib. Nothing fancy... the script can output any text given in the command line and also use colors and a font you prefer. I made it, as a way to display info on the desktop, even when using fullscreen applications l...