Posts in Category: script

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...

Search the Internet with DMENU

Search the Internet with DMENU

Posted on 21st Jan 2025

As i showed in a previous post, with fzf, we can also use dmenu as a method to input text. It's not that difficult, but tricky yes. So, with this method, i built a BASH script, to search the Internet with the search engines i prefer, from everywhere i am at the desktop. No need to pull the termi...

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...