Greetings.
2 different sized icons are provided in the YAAC distribution for just this purpose (and are documented in the index for YAAC built-in help under the topic "desktop shortcuts"), but they are .ico files for use on Microsoft Windows. However, the Raspbian desktop manager will accept these files (they are used in the NW Digital Radio SD card image for their DRAWS hat). Look for <yaacInstallDirectory>/images/yaaclogo*.ico and pick one of the appropriate resolution (NWDigitalRadio used yaaclogo64.ico). Note that I'm not sure why the Exec= string in your desktop file starts with /YAAC; you can specify the YAAC.jar file with a directory prefix and YAAC will find its auxiliary files by reverse-engineering the location of the YAAC.jar file. For example, Exec=java -jar /home/pi/YAAC/YAAC.jar Hope this helps. Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of Keith Kaiser <wa0tjt@...> Sent: Monday, January 20, 2020 4:09 PM To: [email protected] Subject: [yaac-users] Icon of YAAC on Raspberry Pi Desktop I'd like to have an icon I can use to launch YAAC, I'd also like to add it to the menu system. For the desktop, I right clicked on the desktop and created YAAC.desktop. Then using sudo I entered; [Desktop Entry] Name=YAAC Comment=Launch YAAC Icon=/usr/share/pixmaps/yaac.xpm Exec=/YAAC java -jar YAAC.jar Type=Application Encoding=UTF-8 Terminal=false Categories=Network;HamRadio; Then rebooted: After: Double clicking it only returns: "Invalid desktop entry file.'/home/pi/Desktop/YAAC.desktop'" I've Googled for how to do this (generically, not just for YAAC) but none of the sites makes it any more clear than what I did. Can someone point out where to find this information or help me get it working? |