Forums › SM Series Discussions › setup.sh launcher icon
- This topic has 2 replies, 2 voices, and was last updated 4 years, 2 months ago by
Andrew.
- AuthorPosts
- July 31, 2022 at 3:12 pm #241806
jjoonathan
ParticipantHey, 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.July 31, 2022 at 3:46 pm #241808jjoonathan
ParticipantThe forum software murdered the attachments, here they are on Dropbox:
https://www.dropbox.com/s/40xcq1pmlu41tsz/setup_sh_and_aux_files.zip?dl=0
- This reply was modified 4 years, 2 months ago by
jjoonathan. Reason: New link with correct permissions
- This reply was modified 4 years, 2 months ago by
jjoonathan. Reason: New download link
August 1, 2022 at 8:58 am #241811 - This reply was modified 4 years, 2 months ago by
- AuthorPosts
- You must be logged in to reply to this topic.
