The brand-new PN400 Phase Noise Test System is available for purchase! →

setup.sh launcher icon

Forums › SM Series Discussions › setup.sh launcher icon

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #241806
    jjoonathan
    Participant

    Hey, 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,
    J

    echo “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/applications

    Attachments:
    You must be logged in to view attached files.
    #241808
    jjoonathan
    Participant

    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

    • 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
    #241811
    AndrewAndrew
    Moderator

    Awesome! We’ll definitely take a look at this. I think we tried to do something similar in the past.

    Thanks!

    • This reply was modified 4 years, 2 months ago by AndrewAndrew.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.