Show and copy otp keys
Normal users are recommended to get the extension from extensions.gnome.org.
Alternatively, you can check out a version from git, compile the language files, and symlink
~/.local/share/gnome-shell/extensions/otp-keys@osmank3.net
to your clone:
git clone https://github.com/osmank3/otp-keys
If you are using Gnome version older than 45, set branch to gnome-42-44
, then clone:
git clone https://github.com/osmank3/otp-keys -b gnome-42-44
Build and install:
meson otp-keys /tmp/otp-keys-build
ninja -C /tmp/otp-keys-build install
gnome-extensions enable otp-keys@osmank3.net
Under X11, you may need to restart GNOME Shell (Alt+F2, r, ⏎) after that. Under Wayland you need to logout and login again.