Debian APT keys: Keyrings and other stuff

Debian APT key management A short story in 4 steps: motivation: apt-key is/is being deprecated. question: How to install keys for other repos - for example, mkusb being the case, but incl. other Ubuntu PPAs - in a organized, manageable and easy-to-reverse manner? solution: StackOverflow example: export GNUPGHOME="$(mktemp -d)" gpg --recv-keys --keyserver keyserver.ubuntu.com 54B8C8AC gpg --export 54B8C8AC | sudo tee /etc/apt/trusted.gpg.d/mkusb-archive-keyring.gpg cat <<-SOURCE | sudo tee /etc/apt/sources.list.d/mkusb.list deb [signed-by=/etc/apt/trusted.gpg.d/mkusb-archive-keyring.gpg] http://ppa.launchpad.net/mkusb/ppa/ubuntu focal main SOURCE downsides: MySQL can, and will overwrite your apt list file. ...

2022-03-09 · 1 min · EK

Arch instalation, the Every Possibile Way (TM) (MBR-BIOS / GPT-EFI)

Took me a while, but I made it, once. Took few hours to test and reinstall a few times, just to be sure that it - in fact - really works. Common loadkeys slovene # EFI check: if OK (list exists), boot == EFI. ls /sys/firmware/efi/efivars dhcpcd ip addr list timedatectl set-ntp true MBR, BIOS cfdisk # MBR # /dev/vda1: 9G - type Linux, BOOTABLE # /dev/vda2: 1023M - type Linux Swap mkfs.ext4 /dev/vda1 mkswap /dev/vda2 swapon /dev/vda2 mount /dev/vda1 /mnt EFI, GPT cfdisk # GPT # /dev/vda1: 512M - type EFI System # /dev/vda2: 8G - type Linux Root (X86-64) # /dev/vda2: 1.5G - type Linux Swap mkfs.ext4 /dev/vda2 mkswap /dev/vda3 swapon /dev/vda3 mount /dev/vda2 /mnt Common pacman -Sy pacman -S archlinux-keyring pacstrap /mnt base linux linux-firmware genfstab -U /mnt >> /mnt/etc/fstab arch-chroot /mnt pacman -S vim curl htop wget tmux dhcpcd grub lolcat cowsay neofetch zsh zsh-completions ln -sf /usr/share/zoneinfo/Europe/Ljubljana /etc/localtime hwclock --systohc sed -i '/^#sl_SI.UTF-8/s/^#//' /etc/locale.gen sed -i '/^#en_US.UTF-8/s/^#//' /etc/locale.gen locale-gen vim /etc/locale.conf LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANGUAGE=en_US.UTF-8 :wq echo "KEYMAP=slovene" > /etc/vconsole.conf echo "cassandra" > /etc/hostname vim /etc/hosts 127.0.0.1 localhost ::1 localhost 127.0.1.1 cassandra.localdomain cassandra :wq systemctl enable dhcpcd MBR grub-install /dev/vda grub-mkconfig -o /boot/grub/grub.cfg EFI pacman -Sy efibootmgr grub-install --target=x86_64-efi --efi-directory /efi/ --bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg Common passwd useradd -m user -s /usr/bin/zsh passwd user exit umount -R /mnt reboot All credits due: the Arch Wiki Allmighty(TM) ...

2020-06-13 · 2 min · EK

Pulseaudio: Bluetooth Streaming

I found a post that u/tausciam wrote on r/linux: Pulseaudio can turn your computer into bluetooth speakers for your phone O yeah, I want bluetooth speakers with some sound quality! Quick re-post: edit file (append/vim/*) echo "load-module module-bluetooth-policy" >> /etc/pulse/system.pa echo "load-module module-bluetooth-discover" >> /etc/pulse/system.pa (re)pair phone to a computer done Cheers

2020-04-14 · 1 min · EK

Installing NotesUp on Ubuntu

Your Linux flavor of Microsoft OneNote installation You know, you love Microsoft OneNote. But there is one small problem. It is for windows only. And there is another one. You really, really prefer to write markdown, and see it rendered to life. 5 minute search on uncle DuckDuckGo gave you the result: Notes-Up program, for Elementary OS. All nice and shiny, but there is a twist. You use ubuntu, the PPA archive on their Github is old and does not have Release file. There is only 1 thing left: compile it from sources. ...

2020-04-04 · 2 min · EK

OrangePi PC2 / Armbian / Pat WL2K

Introduction As per KM4ACK’s great video tutorial, I’ve decided to set up Pat (the Winlink client) on my notebook. It worked flawlessly, so I’ve decided to re-do it - just this time, on OrangePi PC2, running Armbian Buster. The tutorial in the video is not quite straightforward for this platform. It’s written for Raspberry Pi, and the main problem we’re having with it, that we use arm64 (or aarch64) architecture. Files, compiled for Raspberry Pi, are armhf. ...

2020-03-31 · 3 min · EK