Skip to content

Instantly share code, notes, and snippets.

@ChriRas
ChriRas / readme.md
Last active November 25, 2023 19:55
Set up default audio device on Ubuntu 20.04 LTS

Problem

I have a notebook connected to a port replicator. I want to use the build-in speakers and microfone and not the external ones. If I boot my notebook in my port replicator Ubuntu changes the devices to external.

Solution

  1. Find your internal speaker
pactl list short sinks
@dangtrinhnt
dangtrinhnt / simplesamlphp
Created April 2, 2014 09:12
nginx configuration for simplesamlphp
server {
listen 80;
root /var/www/simplesamlphp/www;
index index.php index.html index.htm;
server_name localhost;
ssl on;
ssl_certificate /etc/simplesamlphp_cert/simplesamlphp.crt;