Skip to content

Instantly share code, notes, and snippets.

View jdonohoo's full-sized avatar

Justin Donohoo jdonohoo

View GitHub Profile
@jdonohoo
jdonohoo / keyring-unlock.md
Last active May 27, 2026 17:10
unlock keyring with passphrase on ubuntu 22.04 autologin

GNOME Keyring Auto-Unlock for Autologin Systems

This guide sets up automatic keyring unlocking on Ubuntu/Zorin systems with autologin enabled. This allows startup scripts and services (like RDP) to access stored credentials without manual intervention.

Why Use Passwords on Keyrings?

While empty passwords are simpler for autologin, recent Ubuntu versions have a bug where keyrings with empty passwords can get randomly reset/corrupted after updates. Using a password prevents this data loss.

Prerequisites

@jdonohoo
jdonohoo / Angular-Toastr
Created March 6, 2015 08:50
Angular Service for Toastr
angular.module('app').value('Toastr', toastr);
angular.module('app').factory('Notifier', function (Toastr) {
return {
notifySuccess: function(msg) {
Toastr.success(msg);
console.log(msg);
},
notifyFailure: function(msg) {
Toastr.error(msg);