Ubuntu: apt error message “Key is stored in legacy trusted.gpg keyring”

After upgrading to Ubuntu 22.04 running apt shows an error message saying “Key is stored in legacy trusted.gpg keyring“: The key needs to be exported from the legacy keyring and then imported back to the current system. List the keys and find the key ID of the repository that is…

Read More

Linux / Ubuntu / hdparm: Identifying drive features and setting sleep patterns

Preparing the storage Install hdparm and smartmontools Install hdparm and the SMART monitoring tools. Identify the right hard drive Make sure you identify the correct drive, as some of the commands will destroy data. If you don’t understand the commands, then check them first. You have been warned. Identify the…

Read More

Linux: Configure locale and keyboard layout when remotely accessing from a Mac

At work I have to remote into several different Linux systems from a Mac and there is always the pain of having to handle different keyboard layouts if using Synergy or VMs. The conversion from a Mac keyboard layout doesn’t translate correctly when the Linux system has the keyboard configured…

Read More