Xfce and volume step

Does your Xfce change the volume settings in %5 steps but you want 2%?

Find the pulsaudio plugin location in xconf:

xfconf-query -c xfce4-panel -l -v | grep pulseaudio
/plugins/plugin-8                            pulseaudio

Use that to set the step to 2%:

xfconf-query -c xfce4-panel -p /plugins/plugin-8/volume-step -n -t int -s 2

Nginx, WebDAV and tmp

Want to have a WebDAV mountable temporary file storage? Supporting Windows? With the following hack overriding PROPPATCH it works for me:

server {
	...

	location /tmp {
        alias /var/www/tmp;
        autoindex on;

        if ($request_method = PROPPATCH) { # Unsupported, allways return OK.
            add_header Content-Type 'text/xml';
            return     207 '<?xml version="1.0"?><a:multistatus xmlns:a="DAV:"><a:response><a:propstat><a:status>HTTP/1.1 200 OK</a:status></a:propstat></a:response></a:multistatus>';
        }

        dav_methods PUT DELETE MKCOL COPY MOVE;
        dav_ext_methods PROPFIND OPTIONS LOCK UNLOCK;
        dav_ext_lock zone=tmp;
        dav_access user:rw group:rw all:rw;

        client_max_body_size 0;
        create_full_put_path on;
        client_body_temp_path /tmp/;

        open_file_cache off;
	}
}

Jenkins Jelly override

Want to override a packaged jelly file? Maybe headerContent.jelly, from

core/src/main/resources/jenkins/views/JenkinsHeader/headerContent.jelly

Put it here

$EXPLODED/war/WEB-INF/classes/jenkins/views/JenkinsHeader/headerContent.jelly

in the epxloded war location.

A restart may be required.

Bullseye, HDMI and out of sync sound

Watching a video with Firefox on Debian Bullseye via an HDMI display and the sound keeps getting out of sync? Booting with

intel_iommu=on,igfx_off

helped me. See #867548.

Minikube, Podman and Proxy

Running minikube behind a proxy with podman? Setup all http_proxy environment variables and podman still won’t use your proxy?

Configuring sudo to heep this variables:

Defaults        env_keep += "http_proxy https_proxy ftp_proxy no_proxy HTTP_PROXY HTTPS_PROXY"

worked for me.

Trigger Jenkins SCM polling

Want to trigger SCM polling for a certain job? Use

Jenkins.instance.getAllItems( Job.class ).
  find { job -> job.fullName == 'p1' }.
  each { job ->
    job.getSCMTrigger().run()
  }

nc10, root on luks, modules=dep and missing cipher

Trying to boot debian buster on a Samsung nc10 with crypted root? Getting

Check that kernel supports aes-xts-plain64 cipher

when you switch initramfs to modules=dep?

Adding ecb to /etc/initramfs-tools/modules and running update-initramfs -k all -u worked for me.

Nextcloud, Collabora and 404s

Running your own docker based Collabora Online server? Getting 404s after an update with these log entries:

https://.../browser/.../cool.html?WOPISrc=...

Seems like some URLs where changed:

Seems like /loleaflet has been renamed to /browser and lool to cool in latest collabora version.

See #1904 and Proxy Settings.

MariaDB and lost+found

Having /var/lib/mysql on a separate partition? MariaDB thinks lost+found is a Database? Create /etc/mysql/conf.d/ignore.cnf with

[mysqld]
ignore-db-dir=lost+found

Restart MariaDB and drop the database:

drop database `lost+found`;

Focal and Black Screen

Performing a minimal Ubuntu 20.04 install on a server? Black screen after rebooting? Switch to console via ALT+F1 and change in /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_TERMINAL=console

Run update-grub and reboot.