OK, new update, new version number!
So the catch-22 with icon files is that if you use an absolute path, you can't see the icon when the squashfs isn't mounted. If you use icon names, you can select from the available system icons, but there's no Apple icon there. So what I've done in the latest package is just used a generic floppy for the emulator.
The way it was done before was with the --icon flag to pnd_make, but if you do that, it appends one icon to the PND and ignores the icon settings in the file. So, all your programs inside the PND get the same icon. Obviously this won't do.
I also discovered after a few unfortunate segfaults that all files in the squashfs/unionfs need to be world writeable(!) or things go badly wrong. This is because the files are are all owned by root, but the program is actually running as your user, so you need to make sure these extremely insecure permissions are intact.
Is there a know workaround or solution to this? IMHO the files inside the squasfs/unionfs ought to be owned by the currently logged-in user and have appropriate permissions, 0644 or 0755 or whatever is most suited to the situation. Any user being able to write any file in the squasfs is a big security hole, and while this doesn't sound like a big deal for a game console, imagine a mischievous older sibling deleting their younger sib's Tetris highscore... tears would ensue.
Directories in /home should probably be mode 0700 too, to help discourage such tampering.
Anyway, the latest file is attached and here is an
alternate download link in case the board borks:
https://mega.nz/#!oURywByZ!qrLUiP0AxvuVRl7wD8GmvDkss5--dK5XaGFCLDmYfr8
If you want to return to the classic Apple icon, it's possible, just takes a few steps. I tried to automate it somehow so that the icon would install on its own but I never got it working. I think the fact that I had the permissions set the "right" way instead of the above "pandora" way when I was testing that feature were part of the problem. Sadly, I have to give the Pandora back now (it was only a loan) so I don't have more time to fix the automation.
Here's how to restore the apple icon manually:
- Start the Apple II program to make sure the squashfs is mounted.
- Hit fn-6 to take it out of fullscreen
- Open a terminal and type the following commands. Enter your password as necessary.
sudo xdg-icon-resource install --size 32 /mnt/utmp/linapple/linapple-apple2.png
- sudo exo-desktop-item-edit ~/Desktop/linapple#0.desktop
[*]
The first command should run silently, except for the password prompt.
[*]
The second command will pop up a window where you can edit the properties of the desktop icon. Click on the floppy drive icon next to the word "Icon:"
[*]
Drop down the "Select icon from:" menu and make sure "Applications" is selected.
[*]
Scroll down until you find the linapple-apple2 icon. Click it. Click OK.
[*]
Click Save.
Good luck! Please provide feedback, although I may not be able to do much until I buy my own Pandora. It's a great little unit! My only gripe is that the modifier key and certain punctuation key locations leave something to be desired from a programmer's perspective. To do any serious work on it you have to SSH into it. (I tried attaching a USB keyboard but it failed to enumerate. I have a BT keyboard but it's at home and I'm on vacation.)
View attachment linapple_1.1b-v1.7.0.2.pnd