Posted on
2nd Oct 2024
I had some spare time, because of the Christmas holidays and thought to make a simple script, for getting the hex/ansi values of the main 16 colors used in DOS and various BBS stuff, like ANSI drawing and MODs.
It uses DMENU for selection and also XCLIP to copy the color code into the clipboard. Y...
Posted on
2nd Oct 2024
Below is a theme for the dialog command, of Linux, that lets you build GUI menus in the shell. Feel free to use it and edit, as you like ;)
A preview of it...
To use it, save it as .dialogrc in your home directory.
#
# Run-time configuration file for dialog
#
# Types of values:
#
# Number...
Posted on
2nd Oct 2024
Customize your file manager to launch an emulator when you double click an ISO file. Normally, double clicking an ISO file opens a file archive program which is useless!
This way we can use our file manager as a very easy way to launch ROMs and our favorite emulators, with just a double click, thu...
Posted on
2nd Oct 2024
First use the XRANDR command to find the monitors connected to your system. Just type xrandr. You will see something like this:
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 16384 x 16384
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left in...
Posted on
2nd Oct 2024
A quick way to scan your local network for devices, like a Raspberry Pi is the following:
sudo arp-scan -l
I use it all the time to find my RPis, so i made an alias for that. Added it to your .bash_aliases or .bashrc file like this:
alias netscan="sudo arp-scan -l"