Category Archives: python3

PostX Gnu/Linux 0.9 is released

Plenty of things changed, minimalism and functionality remained.

All the material is here: https://www.techtimejourney.net/PostX_09/

Here is a mandatory screenshot. Remember to read the release notes in detail. There might be small manual adjustments you need to make. Also, at the end of this post there is a part that you should run as a script, to fix some issues that came apparent after this release. These issues will be addressed in future builds.

F6 key pressed: Tint2 and clock with a day appearing.

Important0: Spin-FM/sfm no trash found: mkdir -p .local/share/Trash/files

Important1: https://github.com/postman721/Cyberpunk-Dark-Volume-OSD-On-Screen-Display/blob/main/README.md

The wandering keyboard issue.

Keyboard is not a fixed entity and thus its numbering will move upon fresh install. This will do harm to osd. Here is a fix for it.

sudo apt install evtest #Install evtest

sudo evtest #Find your keyboard

sudo nano /usr/share/osd.py #Open osd.py

KEYBOARD_DEVICE = “/dev/input/event4” #Modify the number to match the device number of keyboard.

Exit Openbox and login again.

Important2: Fix for sources and troublesome firmware. Save the script below, for example, script.sh. Then do sudo bash script.sh and run it. It will fix the sources list and remove a troublesome firmware. Notice that Nvidia part is only needed when Lightdm or other X resources are stopped and you are actually installing Nvidia proprietary from nvidia.com



#!/bin/bash

# Script to remove raspi-firmware, purge Debian Nvidia drivers, and set up sources for Nvidia and non-free firmware

# 1. Remove raspi-firmware (for Raspberry Pi users)
echo "Removing raspi-firmware..."
sudo apt-get remove --purge -y raspi-firmware

# 2. Remove Debian Nvidia drivers if present - needed only when using proprietary drivers from nvidia.com
#echo "Removing Debian's Nvidia drivers..."
#sudo apt-get remove --purge -y nvidia*

# 3. Overwrite the apt sources list with the new repositories
echo "Overwriting the apt sources list..."

cat <<EOL | sudo tee /etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main non-free-firmware contrib non-free
deb-src http://deb.debian.org/debian bookworm main non-free-firmware contrib non-free

deb http://deb.debian.org/debian bookworm-updates main non-free-firmware contrib non-free
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware contrib non-free

deb http://security.debian.org/debian-security/ bookworm-security main non-free-firmware contrib non-free
deb-src http://security.debian.org/debian-security/ bookworm-security main non-free-firmware contrib non-free

deb http://deb.debian.org/debian bookworm-backports main non-free-firmware contrib non-free
deb-src http://deb.debian.org/debian bookworm-backports main non-free-firmware contrib non-free
EOL

# 4. Update the package list
echo "Updating package list..."
sudo apt-get update

echo "Setup complete."




Multiple projects advanced as PostX Gnu/Linux 0.9 approaches

Based on Debian Bookworm having X11 and Openbox. PostX Gnu/Linux release is likely to happen in next 3 weeks or so.

https://github.com/postman721/Spin-Fm

https://github.com/postman721/Quick-Terminal-generic

https://github.com/postman721/Albix

https://github.com/postman721/Metapad

Have already had their new releases.

Also, I have created a new repository: https://github.com/postman721/PostX

Which for now, has some source materials in it. When release is done, I will also likely release the PostX Gnu/Linux building script. In these days it is good to share. And of course, after more than a decade of Debian I am considering to go ahead and building something else for awhile, maybe OpenSuse derivative is on the horizon. Whatever the future holds, PostX Gnu/Linux will stay active on Debian side and will see an increase on automated builds(currently working on it), which means easier and more predictable times of release.

Albix Player 4.5 released

Albix Player is a sleek and user-friendly media player built with Python and PyQt5.

Albix media player

Features
– Add Songs: Easily add multiple songs to your playlist.
– Play/Pause: Control playback with intuitive play and pause buttons.
– Stop Playback: Completely stop the current song.
– Remove Songs: Remove selected songs from your playlist.
– Playback Slider: Seek through songs using the playback slider.
– Volume Control: Adjust the playback volume to your preference.
– Playlist Management: Efficiently manage your list of songs.
– Error Handling: Gracefully handles playback errors and missing files.
– Responsive UI: Interactive buttons with hover effects for enhanced user experience.
– Video Playback: Play local video files.
– Radio Stations: Stream live radio stations directly from the application.

More info and download from project’s Github page: https://github.com/postman721/Albix