January 26, 2024

Pipewire no sound after Debian 12 upgrade

Pipewire no sound after Debian 12 upgrade

I’ve been performing in-place upgrades of Debian for years. Always some new problem to fix afterward. Debian 12 was no different.

Off-subject i was forced to apt purge, deborphan , dpkg --purge --force-depends on quite a few items before being able to fully perform upgrade/updates.

Problem: No audio after automated upgrade to Pipewire systems.

Solution:
Reference: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2255

cd  /etc/alsa/conf.d/
sudo mv 50-pulseaudio.conf{,.bak}
sudo mv 50-oss.conf{,.bak}
sudo mv 50-pipewire.conf{,.bak}
sudo mv 50-jack.conf{,.bak}
sudo mkdir backup
sudo mv ./*.bak ./backup/

sudo apt reinstall pipewire pipewire-pulse pipewire-alsa pipewire-jack wireplumber
## internets recommended 'wireplumber' over 'pipewire-media-session'

history -a
reboot

# rejoice

You may choose to do it differently, but essentially, remove all 50-*.conf that deal specifically with sound, then reinstall the packages to recreate a proper 50-pipewire.conf.

Written with StackEdit.

November 28, 2023

Vmware-tools missing MSI C++ Redistributable


Problem:

Cannot install VMware-tools due to missing MS Visual C++ Redistributable MSI.

Solution:

  1. Download troubleshooter. Ignore the fact that it is for workstations, use it on your server too.
    https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d

  2. Run it, click “Next”, click “Uninstalling”, Choose “Not-Listed”, “Next”…
    For every MSI ID in the form {46E11E7F-....} that the vmware-tools installer complains about, copy/paste the ID from the dialog into the Troubleshooter’s field and click “Next”.

  3. Retry vmtools installation, and re-run the troubleshooter as needed for each MSI ID in fault.

I had to do this for 4 different C++ redistributable ID’s before vm-tools was installable.

Good luck!


Written with StackEdit.

SEO: Microsoft Visual C++ 2022 X86 Minimum Runtime The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installation package vc_runtimeMinimum_x86.msi

October 27, 2023

Customize SublimeText 3 highlighted-line background-color the easy way

Problem:
How to customize / modify / change the background color of the line i’m working on in sublime text 3?

Caveat:
Each Color-Scheme is independent. If you modify, then change schemes, you will ahve to modify again.

Solution:
Preferences > Cusomize Color Scheme >
In the globals section, add "line_highlight": "#color", where #color is the hexadecimal color of your choice.

Example:

    "globals":  
{
"line_highlight": "#155199",
},

enter image description here

as always, Good Luck!
edited with https://stackedit.io