Created
March 18, 2020 12:33
-
-
Save mvidaldp/461f00d2a43a0c1cd8c0f0b689288809 to your computer and use it in GitHub Desktop.
How to make Linux launchers (.desktop) use environment variables (normally on .bashrc)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
# Note that this is not a complete launcher entry | |
# make sure you modify the Exec parameter of your launcher like this example | |
Exec=sh -c "YOURVAR=yourpathorvalue /usr/bin/yourApp" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment