mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
Before, the desktop entry file would only work correctly if the user has added `$HOME/.local/bin` to his or her PATH. The PATH variable is an implementation detail and the user shouldn't be exposed to it. Now, the shell is used to look for executables in the aforementioned folder. System-wide installations remain intact.
21 lines
629 B
Desktop File
21 lines
629 B
Desktop File
# If you want electrum to appear in a linux app launcher ("start menu"), install this by doing:
|
|
# sudo desktop-file-install electrum.desktop
|
|
|
|
[Desktop Entry]
|
|
Comment=Lightweight Bitcoin Client
|
|
Exec=sh -c 'PATH="$HOME/.local/bin:$PATH" electrum %u'
|
|
GenericName[en_US]=Bitcoin Wallet
|
|
GenericName=Bitcoin Wallet
|
|
Icon=electrum
|
|
Name[en_US]=Electrum Bitcoin Wallet
|
|
Name=Electrum Bitcoin Wallet
|
|
Categories=Finance;Network;
|
|
StartupNotify=false
|
|
Terminal=false
|
|
Type=Application
|
|
MimeType=x-scheme-handler/bitcoin;
|
|
Actions=Testnet;
|
|
|
|
[Desktop Action Testnet]
|
|
Exec=sh -c 'PATH="$HOME/.local/bin:$PATH" electrum --testnet %u'
|
|
Name=Testnet mode
|