Thanks for letting me know about this.
I'm kind of stumped at how that would happen as the Zotero PDF utilities are placed by two different methods: via the Zotero profile folder at /opt/zotero/defaults/profile/zotero/, which is seeded into the .zotero home directory when the directory does not exist but the program is run the first time, and via /etc/skel from a preexisting zotero home directory there whenever a user account is first made. So, they are placed in either of those conditions: when the profile exist and when it does not exist, one primary method and one fallback method.
Still, I'm right now uploading a new package of zotero-standalone into the repository, zotero-standalone_4.0.28~uberstudent4. I added a
third fallback method to place the PDF utilities, via the zotero startup script. If the PDF utilities do not exit in the zotero profile--and, again, they
should be there by one of the two possible methods above--then they will get placed there at zotero startup by its script. See the first conditional:
Code:
#!/bin/bash
# Normally, a zotero profile should be copied over from /etc/skel during account creation. Still, get the actual path to the profile in case it was deleted.
ZPROFILE=$(echo $HOME/.zotero/zotero/*.default)
# Normally, these get placed from either /etc/skel or, as a failsafe, from /opt/zotero/defaults/profile/zotero. Still, as another failsafe, force copy over the PDF utils if they do not exist for some reason.
if [ ! -f "$ZPROFILE"/zotero/pdfutils-3.04.put ]; then
cp -f /opt/zotero/defaults/profile/zotero/* "$ZPROFILE"/zotero
chmod 777 "$ZPROFILE"/zotero/pdfinfo.sh
echo "DO NOT REMOVE THIS FILE. It tells your UberStudent system that the Zotero PDF utilities, versions 3.04, have been placed." > "$ZPROFILE"/zotero/pdfutils-3.04.put
fi
# We make a conveinient link to the Zotero database if the directories are in English, to facilitate ease of backup and to make the obscure plain to new users.
if [ ! -h "$HOME/Research/Zotero-Profile" ] && [ ! -f "$HOME/Research/.no-zotero-link" ] && [ -f "$HOME/.home-prep/firstrun-en_us" ] && [ -d "$HOME/.zotero" ]; then
ln -s "$HOME/.zotero/zotero" "$HOME/Research/Zotero-Profile"
echo "You can delete this file after you read it, if you wish. The Zotero symlink contained in this folder points to your Zotero profile, which is a hidden folder located at /home/yourusername/.zotero - you can toggle viewing of hidden folders in Linux by simply hitting Ctrl+H in your file browser. For your convenience, the link was made in UberStudent when you ran Zotero. You should make redundant backups of your Zotero profile, as well as use Zotero Sync. You can configure Dropbox, for example, to follow symlinks, meaning that your Zotero profile will be automatically synced to Dropbox. If you delete the Zotero profile symlink, it will appear again, unless you create a plain hidden file in your Research folder named .no-zotero-link" > "$HOME/Research/about-zotero-link.txt"
/opt/zotero/run-zotero.sh
else
/opt/zotero/run-zotero.sh
fi
Simply exit Zotero Standalone, run the Update Manager to get the new package (plus a whole lot more, I just released the UberStudent 4.3 upgrade into the repository a few hours ago!), and then run Zotero Standalone again. When you again check to see if the PDF utilities are installed, they most definitely should be there. Let me know if otherwise.
Does this fix the issue?
By the way, what program is that running from your panel tray?
Attachment:
clip.png [ 722 Bytes | Viewed 6996 times ]