Monthly Archives: November 2020

PanelX is released

Here is a Pyqt5 panel that shows opened windows.
Written with less than 50 lines of code for Linux.

Notice. This panel is meant to be transparent. Install xcompmgr, compiz etc.

License: PanelX v.0.1 Copyright (c) 2020 JJ Posti
This program comes with ABSOLUTELY NO WARRANTY
For details see: http://www.gnu.org/copyleft/gpl.html.
This is free software, and you are welcome to redistribute it under GPL Version 2, June 1991″)

Dependencies(packages may be different depending on distribution):

sudo apt-get install -y xcompmgr python3-pyqt5 python3-wnck python3-gi gir1.2-wnck-3.0

To get transparency running do something like this on your startup scripts:

xcompmgr &

To run the actual panel on the background:

python panelx.py &

Get the the program from its Github page: https://github.com/postman721/PanelX

Quick password based file encryption with ccrypt.

Gnugpg is in many ways the champion of encryption on Linux(personal opinion).

Sometimes there is a need to do quick password based encryption. This can be achieved with ccrypt.

Ccrypt should be available on standard Debian/Ubuntu or Centos8 repository resources.

I use Debian base here, but the steps should be similar on Centos8 or equivalent.

sudo apt-get install ccrypt -y

echo “I am going to be encrypted” >> ./example.txt

ccrypt ./example.txt

At this point a password for the encryption is needed. For this example, I used: hello.

After the encryption, my file will be found as: example.txt.cpt.

If I now try to read this cpt file, there will be nothing that can be understood on the output.

To decrypt and make the file readable again: ccdecrypt ./example.txt.cpt

After decryption, the example.txt is again found as a clear text file.