Category Archives: python

Spin-FM RC4 released

The file manager got its RC4 out today. This is close to the final release – but bugs and issues might still exist. Also supporting or more added features might still come.

The main theme now looks like this. And there are multiple themes to choose from.

Code is available at the project’s Github: https://github.com/postman721/Spin-Fm

Current main features include:

  • USB Device Monitoring:
    Automatically detects USB devices using pyudev and displays them in a dedicated left panel. Click or right-click to mount/unmount devices.
  • Tabbed File Browser:
    Navigate your filesystem using multiple tabs with back/forward navigation and an address bar.
  • Multiple Selection and Clipboard Operations:
    Select multiple files/folders using standard selection techniques (e.g., Ctrl/Shift) and perform bulk operations like delete, cut, copy, and paste.
  • Context Menus:
    Right-click on items to access additional file operations.
  • Theming:
    Apply custom CSS themes to change the look and feel of the application. Themes are stored in the themes/ directory.
  • Trash Management:
    Easily empty your trash directory via the File menu.

Python with decoupled variables

Sometimes a need to get variables into your Python code, without hard-coding them into the program itself will arise.

Here is how it can handled.

    sudo apt install python3-decouple -y

Add this into your py program’s import lines:

from decouple import config

Next, you need to create .env file and insert variables into it.

touch .env

nano .env

SOME_VAR=some_value

Then in your code, you would refer to your variable like this:

some_var=config(“SOME_VAR”)

Multiple Python programs upgraded to next versions

Power-Manager QT is upgraded to support systemctl commands. It has “Are you sure” dialogs on every entry now. https://github.com/postman721/Power-Manager-QT

Vol2x-Reloaded is upgraded. It gains awareness of system sound & microphone levels: https://github.com/postman721/Vol2X-Reloaded

Albix (Pyqt5+Pygame music player). Is upgraded to next version: https://github.com/postman721/Albix