Spin-FM 2.0 RC1 released

The Python file manager has reached its next version. RC1 brings:

Moving to Pyside2:

sudo apt install pyside2-*

  • Close tabs button added: This will always close the latest opened tab.
  • Copy, paste, move to functionalities improved.
  • More tabs added.
  • Green theme added.
  • Removing permanent delete, due to its risks
  • Please notice that on all file & folder actions, the addressbar object name tells what is being processed.
  • Back and forward store only the most recent locations.

When the content of the folder or location changes and does not seem to refresh, remember to refresh the tree via addressbar navigation. For example: Type /home and hit return/enter from the keyboard.

Do not paint your selections for copying, moving or deletion with a mouse: This will likely cause issues. Press CTRL and point and click through the objects.

After selected, right-click and choose a proper menu action.

For copying and moving: Select for copying or moving. For deletion: Delete objects.

After copying or moving selection, navigate to your target location and choose Copy to.. or Move to… from the right-click menu.

Full list of features and the program itself can be found from my Github:

https://github.com/postman721/Spin-Fm/tree/2x-series-development

Finally, here are some screenshots:

Getting external screen to work on Lenovo Ideapad 1 laptop (Debian based systems)

External screen might not work out of the box with Lenovo Ideapad 1 laptops.

The following steps were performed on PostX Gnu/Linux (based on Debian 11) to remedy the situation.

  • Remove nomodest entry from grub config file:

sudo nano /etc/default/grub
sudo update-grub

  • Reboot the system.
  • Install arandr to identify & setup the (external) display:

sudo apt install -y arandr

  • Save configuration to an sh file(screen.sh here) and make it autostart. Openbox as an example:

nano .config/openbox/autostart

bash screen.sh &
exec openbox

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

Setting up an AKS cluster using az tool from a local workstation

1. Required tools: az and kubectl.

My host is Debian 11. First thing I need to do is to install az tool to it. According to: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt , I chose my installation method to be the bash command below:

curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

After the installation is complete, I have the az command available to use. I also need kubectl to access my deployed cluster from my local workstation. This is again just few commands. Some good instructions can be found from: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ As I love one-liners, here is the command I used to get kubectl installed and ready to go on my Debian 11:

curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && chmod +x ./kubectl && sudo mv ./kubectl /usr/local/bin/kubectl

2.Beginning to make AKS cluster with the az tool.

Azure docs are great reference here: https://docs.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-cli Before going any further, the login to the Azure using az tool needs to happen.

az login

“A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with az login --use-device-code.”

If I would not want to open a browser to login, I could use the -u flag
az login -u your_user@outlook.com

Continue reading