Linux Login Update Notifier Script With Python

Introduction Do you ever want to get a notification with the number of updates required when logging into XFCE in debian/ubuntu like systems ? There is a simple python script that can do just that. It uses notify-send command and paired with the magic command that returns the update count, we get the next python script: #!/usr/bin/env python3 import os import subprocess # Run the apt-get command and grep the output command = 'apt-get --simulate upgrade | grep "upgraded....

August 29, 2024 · 2 min · Alex Popescu

Ubuntu Desktop with XRDP: A Quick Guide

Introduction Have you ever wanted to install Ubuntu Desktop and configure it with XRDP? Here’s a short guide to get you through it. Step 1: Installing Ubuntu Desktop Let’s start by installing Ubuntu Desktop. Just run this command: sudo apt -y install ubuntu-desktop Grab a coffee while your terminal goes wild with text. It takes some time for the packages to install. Step 2: Installing XRDP Next, install XRDP to allow remote access:...

June 15, 2024 · 1 min · Alex Popescu