Ubuntu: Ungenutzte Mikrofongeräte deaktivieren

Wenn ihr eine spezielle Webcam auf einem Desktop-Rechner verwendet, solltet ihr niemals das Mikrofon benutzen. So deaktiviert ihr es. Dies kann nützlich sein, wenn "intelligente" Voice-Chat- oder Telefon-Software das Mikrofon zufällig auswählt. Wenn ihr alle bis auf einen deaktiviert, könnt ihr dies vermeiden.

  1. sudo apt install pavucontrol
  2. Starte pavucontrol
  3. Geht auf die Registerkarte "Konfiguration" ganz rechts
  4. Deaktiviert das Mikrofon eurer Webcam, indem ihr im Dropdown-Menü...

Code Snippet: Print Shuffled List of Google Meet Participants

Open the participants list in Google Meet, then paste this snippet into your browser console:

userListLabel = 'Teilnehmer'
userNameSelector = `div[aria-label="${userListLabel}"] [avatar-tooltip-id] > div:nth-child(2) span:first-child`
userNames = Array.from(document.querySelectorAll(userNameSelector)).map((span) => span.innerHTML)
userNames.sort((a, b) => 0.5 - Math.random())

Fix deprecation warning when adding additional apt repositories in Ubuntu

When running Ubuntu 22.04 or newer, using apt-key for adding signing keys to the list of trusted keys for package repositories is deprecated. Here's how to convert to the newly recommended method. Keys have been saved to the keyring file in /etc/apt/trusted.gpg but now should be placed into their own keyring in /etc/apt/trusted.gpg.d/

Error message

The error message looks like this:

W: http://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), se...

HowTo update Snap packages that have problems updating

If you get a notification that a Snap package like Slack needs to be closed for a pending update, it's not immediately obvious what Ubuntu wants you to do. Also, if it's the snap-store itself that needs to be updated, you can't use the GUI updater since it can't be running during the upgrade

Regular Upgrades for apps like Slack

Image

It needs the slack app to be closed so it can install an update that is pending. What you'll need to do:

  • Close all of the application's windows
  • If it's Sla...

Unsere Werte: Kurzfassung

Dies ist die Kurzfassung unserer Werte für unsere Webseite, Angebote, etc. Für das Team haben wir eine ausführliche Darstellung der Werte mit Leitfäden für die Umsetzung im Arbeitsalltag.

Technische Exzellenz

Herausragende technische Ergebnisse in unseren Projekten sind unser zentraler Anspruch und unser Selbstverständnis. Unsere Kunden und Mitarbeitenden wissen, dass makandra für höchste Qualität steht - und das ohne Kompromisse.

Integrität

Unsere Kommunikation ist i...

Keyword für eine beliebige Suche im Browser hinzufügen

Viele Websites bieten eine Sucheingabe an. Bei Seiten die du regelmäßig besuchst, möchtest du vielleicht das Keyword deinem Browser hinzufügen.

Das ermöglicht es dir, die Website direkt über die Adressleiste zu durchsuchen. Wenn du z.B. eine Suchmaschine für makandra cards mit dem Keyword m hast, dann kannst du nach einer Card suchen, indem du m some query eingibst.

Firefox

  1. Öffne die gewünschte Website mit der Sucheingabe
  2. Klicke mit der rechten Maustaste auf die Sucheingabe und drücke "Add a Keyword for this Search..."
  3. Wä...

HowTo: Scale Qt application KeePassXC

If you have a notebook with WQHD-display the scaling of Qt applications could be negatively affected. E.g. the KeepassXC icons and text could be rendered so large that KeePassXC is not usable and there aren't settings in the application for downscaling.

Fix with a .desktop file

The scaling of virtualbox, vlc and zoom wasn't an issue, therefore this fix is only for KeepassXC. The application was installed with snap, but the principle is the same when installed differently. Copy your keepassxc_keepassxc.desktop file in `/var/lib/snapd/de...

Ubuntu with Gnome: move and resize windows easily

On Ubuntu I always had a hard time resizing windows as window borders are so thin that they are hard to grab.

Using the mouse

My solution for Ubuntu Mate was to resize windows with ALT + right mouse and move them with ALT + left mouse.

Ubuntu with Gnome Shell (Ubuntu 20.04) uses different shortcuts. You have to use the super key (windows key) with mouse-wheel-click to resize.

If this feels awkward to you, you can change this using the Tweaks application:

  • select Windows > Window Action Key > Alt
  • enable Windows > R...

Google Meet: Vergrößern eines geteilten Bildschirms

Wenn eine andere Person in einem Meet Call ihren Bildschirm teilt, könnte der Text schwer lesbar sein, weil die hohe Anzahl an UI Elementen viel Platz einnehmen.

Hier sind ein paar Dinge, die du tun kannst, um den geteilten Bildschirm zu vergrößern:

  • Fixiere den geteilten Bildschirm indem zu mit der Maus darüberfährst und den Pin Icon drückst.
  • Fahre über dein eigenes Bild und klicke auf den Minimize Icon.
  • Im Meet Menü (die drei Punkte) ändere dein Layout zu "Focus"
  • Verkleinere den Bildschirm (!) indem du CTRL+minus ein paar...

GPG in Thunderbird 78+

Thunderbird 78 and newer handles GPG differently than previous versions as previously the extension Enigmail was used to handle GPG functionality. Now Thunderbird has GPG built-in, Enigmail is no longer needed and no longer works.

The main implication due to this is that Thunderbird uses its own keystore. Therefore you don't have to enter a passphrase for your key. The good news is that you can, if you want and know what you do, use your system GPG (as ...

Ubuntu: So testest du die tatsächliche Ausgabe eures Mikrofons

Um das Mikrofon zu testen, kannst du entweder die Amplitude in den Einstellungen checken oder eine Zeitschleife erstellen.

Starte Loopback-Funktion

pactl load-module module-loopback latency_msec=1000

Die Wirkung ist in etwa so:

  • Sag “Hallo”
  • Das Echo deines “Hallo” ertönt 1 Sekunde später

Stoppe die Loopback-FUnktion

pactl unload-module module-loopback

Linux: Blasse Farben in Google Chrome reparieren

Wenn die von Chrome gerenderten Farben falsch aussehen (z.B. wird aus einem kräftigen Rot ein Braunton), versuche, die Farbprofile für alle Bildschirme zu deaktivieren. Du kannst dies unter Settings / Color tun.

Sollte das nicht helfen, kannst du auch versuchen auf chrome://flags/ zu gehen und die Einstellung Force color profile aktivieren. Dadurch wird Chrome gezwungen, ein bestimmtes Farbprofil (z. B. "sRGB") anstelle der Farbe des aktuellen Monitors des Fensters zu verwenden.

Disabling Bluetooth on your Thinkpad permanently

Persistently disabling Bluetooth across reboots is not trivial on some Ubuntus (I'm using 16.04 LTS).

Instead of configuring systemd or editing config files, you may also disable Bluetooth in your BIOS:

  • Interrupt start-up with a hotkey (ENTER on my X260)
  • Enter BIOS configuration utility
  • Go to Security
  • Go to I/O Port Access
  • Set Bluetooth to Disabled
  • Save changes and reboot

Image

Ubuntu: Fix screensaver not locking the screen

If the default lock function of your desktop environment isn't working you can try this workaround with xautolock.

sudo apt-get install xautolock

Autolock runs a command after a given duration of inactivity. Your screensaver or "locker" usually has a programmatic way to lock the screen. How that command looks like depends on which environment you're using.

MATE

  • Go to Control Center and "Startup Applications".
  • Add a new application with the command xautolock -time 10 -locker "mate-screensaver-command -l"

The time is...

Erstellen eines neuen Google Meet-Meetings mit nur einem Klick

Gehe auf meet.new um schnell ein Meeting mit willkürlicher ID zu erstellen.

Wir schlagen dir vor ein Bookmark für https://meet.new/ in deinem Browser hinzuzufügen.

Linux: PDF-Dokumente bearbeiten

Hier sind einige hilfreiche Tools um PDF-Dokumente unter Linux/Ubuntu zu verändern:

Xournal (Ubuntu 14.04+)

Text, Bilder und handschriftliche Notizen hinzufügen. Keine geometrischen Formen. Kann existierenden Text nicht ändern.
Einfaches Tool, um Text oder eine Unterschrift einzufügen.

uPdf (old Ubuntus)

Text, Bilder und geometrische Formen hinzufügen. Funktioniert, hat aber eine sehr schlechte Benutzeroberfläche.

[PDF-Arranger](https://wiki.ubuntuusers...

Working around Thinkpad + ThinkVision issues on Ubuntu

The centerpiece of our home office setup usually consists of a docking station which charges the notebook and acts as a proxy to various peripheral devices.

For reference, I am running Ubuntu 18.04 on a Thinkpad T480. You might not run into the same issues on other devices.

Lately I switched to using the ThinkVision P27h monitor. The neat thing is that it made my docking station unessential:

  • The monitor offe...

Ubuntu MATE: Was tun, wenn der Desktop einfriert

Wenn dein PC nicht mehr auf Eingaben reagiert, kannst du deine MATE-Sitzung möglicherweise neu starten:

  • Öffne ein weiteres Terminal mit CTRL+ALT+F1.
  • Melde dich mit deinem User und Passwort an
  • killall mate-session

Wenn du erfolgreich bist, solltest du die visuelle Anmeldeaufforderung sehen (sie wechselt automatisch zurück auf CTRL+ALT+F7).

Gehe danach zurück zu CTRL+ALT+F1 und melde dich mit exit ab, sodass niemand mit physischem Zugang zu deinem PC deine Session verwenden kann. Die Sitzung wird nicht durch den Bildschirms...

Cards haben jetzt einen Lesemodus

makandra cards verfügt jetzt über einen "Lesemodus", der die aktuelle Karte in einem minimalen Layout anzeigt. Dies ist nützlich für Präsentationen.

Image

Wir haben ein paar Keyboard Shortcuts hinzugefügt, um bei der Navigation zu helfen:

  • Du kannst den Lesemodus aktivieren, indem zu auf R oder den Buch-Icon klickst.
  • Du kannst mit den Cursortasten links und rechts zwischen den Karten navigieren.
  • Um den Lesemodus zu beenden, drücke R oder Escape.
  • Um die aktuelle Karte zu bearbeiten,...