Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wvega/1055247 to your computer and use it in GitHub Desktop.
Save wvega/1055247 to your computer and use it in GitHub Desktop.
Create a GNOME/KDE Desktop Entry for an additional Firefox profile
SOURCE=/usr/share/applications/mozilla-firefox.desktop
TARGET=~/.local/share/applications/firefox-development.desktop
sed s/"^Exec=.*"/"Exec=firefox %u -P development -no-remote"/ $SOURCE > ${TARGET}.tmp
sed s/"^Name=.*"/"Name=Firefox (Development)"/ ${TARGET}.tmp > $TARGET
rm ${TARGET}.tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment