Archives For September 30, 2024

Ubuntu 24.10, code-name “Oracular Oriole”, was officially released!

This is the latest short term release with 9 months support until July 2025. It features Linux Kernel 6.11 and GNOME Desktop 47.

And, there are official flavors feature other desktop environments, such as KUbuntu 24.10 and Ubuntu Studio 24.10 with KDE Plasma 6.1, XUbuntu 24.10 with XFCE 4.18, Ubuntu MATE 24.10 with 1.26.

Continue Reading…

Python, the popular free open-source programming language, finally announced 3.13.0 stable this Monday!

Python 3.13 introduced new interactive shell. It’s enabled by default and based on code from the PyPy project.

When you start the new shell in an interactive terminal, it uses colors by default for prompts and tracebacks and supports multi-line editing.

As well, it supports REPL-specific commands such as help, exit, and quit without call them as functions. And, I can finally use clear command in the shell to clear screen.

The new interactive shell also supports interactive help browsing using F1, history browsing using F2, and ‘paste mode’ with F3 for pasting larger blocks of code.

Just in case for those who don’t like the new shell, it can be disabled by setting environment variable. PYTHON_BASIC_REPL=1.

Python 3.13 shell, with colors, multi-line editing, etc support

Continue Reading…

This tutorial shows how to completely disable suspend and/or hibernate function, so your Linux computer will never go to sleep.

Linux can automatically go to sleep when system is idle or laptop lid is closed, though user can configure to disable that behavior via either graphical options or logind.conf configuration file.

But, if you never want to sleep your computer, e.g., for server, then you can completely disable this function. So even the suspend option in power-off menu or the corresponding Linux command won’t work!

image from pixabay.com

Continue Reading…

This tutorial shows how to automatically run custom command, script, or other actions after resuming your Linux PC/laptop from suspend or hibernate.

As you may know, there are quite a few ways to run something automatically at Ubuntu startup. You can use “Startup Applications” utility to run apps or custom commands at login, use crontab to schedule startup jobs, udev rules to auto-configure devices on detection, and systemd-tmpfiles service to auto create, delete, and write configuration files.

But what if your computer does not function properly, or some personal settings do not persist after waking up from sleep?

Without waiting for upstream fixes, you can workaround by creating custom systemd services, to auto-restart the function, or re-configure the settings, and trigger it automatically when waking up from sleep.

Continue Reading…

The popular FFmpeg media library released new version 7.1 a few days ago. Here are the new features and Ubuntu PPA for Ubuntu 22.04 and Ubuntu 24.04 users.

The new release of FFmpeg library added official VVC decoder support. Versatile Video Coding (VVC in short), also known as H.266, has about 50% better compression rate for the same quality compared to HEVC (aka H.265).  It supports resolutions ranging from very low up to 4K, 16K, and 360° videos, as well as YCbCr 4:4:4, 4:2:2 and 4:2:0 with 8–10 bits per component, HDR, variable and fractional frame rates from 0 to 120 Hz, and more.

FFmpeg added experimental VVC decoding support since the last 7.0 version. Now, the decoder goes official and it’s compatible with DVB test content. The release also supports for decoding VVC with Intel Quick Sync Video acceleration. As well, it supports encoding VVC using libvvenc library.

Continue Reading…

As you know, Ubuntu uses PipeWire as replacement of PulseAudio for its default sound server since Ubuntu 23.04. And, it now uses WirePlumber to manage pipewire session and policy.

With WirePlumber, you may configure more about your sound output and input. You can use Linux command to switch default audio input/output device, change volume level, and mute/un-mute sound and microphone.

As well, you may change the audio bit depth, sample rate, resample quality, and other properties for certain sound device.

Continue Reading…