Skip to content

Instantly share code, notes, and snippets.

@adil192
Last active February 28, 2023 07:50
Show Gist options
  • Save adil192/9ef159ee9b75b185146ab098b1aed627 to your computer and use it in GitHub Desktop.
Save adil192/9ef159ee9b75b185146ab098b1aed627 to your computer and use it in GitHub Desktop.
Authy on Linux without snap

(roughly following instructions from this comment chain: https://www.reddit.com/r/linux4noobs/comments/kkvpm3/comment/hl3asj5/)

  1. Download authy-2.2.2-full.nupkg or newer. Extract it somewhere like your Documents folder.
    https://pkg.authy.com/authy/stable/2.2.2/win32/x64/authy-2.2.2-full.nupkg
    
  2. Install electron with npm:
    npm i -D electron
  3. Run authy manually to check it works:
    ~/node_modules/.bin/electron ~/Documents/authy-2.2.2-full/lib/net45/resources/app.asar
  4. Copy the contents of authy.desktop (attached) into ~/.local/share/applications/authy.desktop, editing the paths as needed. Also save authy-logo.svg (attached) into ~/Documents/authy-2.2.2-full/.
  5. Refresh: update-desktop-database ~/.local/share/applications; and you're done!

Note that this won't auto-update, so make sure to keep on top of updating by downloading the newest nupkg.

Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 2707.07 2707.07" width="2707" height="2707">
<style type="text/css">
.st0{fill:#EC1C24;}
.st1{fill:#FFFFFF;}
</style>
<g transform="translate(-406.5, 0)">
<path class="st0" d="M3010.29,1353.51c0,690.41-559.63,1250.02-1250.03,1250.02c-690.36,0-1249.97-559.61-1249.97-1250.02
c0-690.36,559.61-1249.98,1249.97-1249.98C2450.66,103.53,3010.29,663.15,3010.29,1353.51z"/>
<path class="st1" d="M1653.1,1088.79l299.72,299.61c43.26,43.32,113.51,43.32,156.88,0c43.27-43.31,43.37-113.5,0-156.82
l-299.74-299.73c-214.46-214.51-561.08-217.97-780.1-10.9c-2.04,1.7-4.02,3.48-5.91,5.35c-0.96,0.96-1.74,1.97-2.69,2.83
c-0.98,0.94-1.97,1.78-2.9,2.71c-1.89,1.88-3.62,3.87-5.27,5.83c-207.18,219.11-203.61,565.74,10.87,780.24l299.73,299.67
c43.36,43.29,113.51,43.29,156.86,0c43.38-43.33,43.38-113.6,0.11-156.84l-299.74-299.72c-130.84-130.79-131.72-343.06-2.71-474.97
C1310.09,957.07,1522.24,958.01,1653.1,1088.79L1653.1,1088.79z M2039.94,689.64c-43.31,43.33-43.31,113.51,0.12,156.83
l299.62,299.74c130.76,130.78,131.61,343.02,2.62,474.96c-131.93,128.91-344.01,128.05-474.83-2.75l-299.73-299.7
c-43.34-43.33-113.6-43.33-156.89,0c-43.39,43.29-43.39,113.69,0,156.88l299.63,299.75c214.53,214.5,561.11,217.99,780.17,10.9
c2.03-1.8,3.95-3.47,5.96-5.36c0.92-0.93,1.78-1.88,2.67-2.83c0.98-0.93,1.92-1.79,2.83-2.82c1.92-1.79,3.56-3.75,5.27-5.8
c207.18-219.02,203.71-565.54-10.76-780.17l-299.73-299.63C2153.55,646.24,2083.22,646.24,2039.94,689.64L2039.94,689.64z"/>
</g>
</svg>
[Desktop Entry]
Name=Authy Desktop
Exec=/home/adil/node_modules/.bin/electron lib/net45/resources/app.asar
Icon=/home/adil/Documents/authy-2.2.2-full/authy-logo.svg
Type=Application
StartupNotify=true
Path=/home/adil/Documents/authy-2.2.2-full/
Terminal=false
Hidden=false
StartupWMClass=Authy Desktop
SingleMainWindow=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment