Forums › SM Series Discussions › setup.sh launcher icon
- This topic has 2 replies, 2 voices, and was last updated 2 years, 4 months ago by Andrew.
- AuthorPosts
jjoonathanParticipantHey, so I keep making Ubuntu launcher icons for spike, reinstalling, forgetting how to do it, figuring it out, and then rediscovering my old notes after figuring it out again. If you could add this to setup.sh maybe you could save me from myself.
You probably want to substitute an icon that isn’t a screenshot, too, but this one is fine in a pinch.
Cheers,
Jecho “Adding launcher icon..”
ICON_FILE=./com.signalhound.spike.png
APP_TEMPLATE=./com.signalhound.spike.desktop
APP_DEST=/usr/share/applications/com.signalhound.spike.desktop
sudo install -m 644 $ICON_FILE /usr/share/icons
cat $APP_TEMPLATE | sed s:INSTALL_DIR:$(pwd):g | sudo tee $APP_DEST >/dev/null
sudo update-desktop-database /usr/share/applicationsAttachments:
You must be logged in to view attached files.
jjoonathanParticipant- This reply was modified 2 years, 4 months ago by jjoonathan. Reason: New link with correct permissions
- This reply was modified 2 years, 4 months ago by jjoonathan. Reason: New download link
The forum software murdered the attachments, here they are on Dropbox:
https://www.dropbox.com/s/40xcq1pmlu41tsz/setup_sh_and_aux_files.zip?dl=0
AndrewModerator- This reply was modified 2 years, 4 months ago by Andrew.
Awesome! We’ll definitely take a look at this. I think we tried to do something similar in the past.
Thanks!
- AuthorPosts
You must be logged in to reply to this topic.