Frictional Games Forum

Full Version: Menu entries
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've installed Amnesia on Ubuntu 10.04 64 bit, and I've found a curious bug: if the game's installed as a super user (sudo/su) the .desktop files are placed in /usr/share/applications as usual, but they won't appear in gnome's menu because the lack of a ';' at the end of the second line ("Categories=Game" should be changed in "Categories=Game;", of course it's also needed to give them read permissions for all users [sudo chmod a+r /usr/share/applications/Amnesia*]).
They do appear in gnome's menu if they are placed in user's $HOME/.local/share/applications folder without any correction, but I don't know if this is a gnome's bug or anything...

By the way, just as quick workaround to make the game work if it's installed in a system directory (in my case /opt/Amnesia):
sudo find /opt/Amnesia -type d -exec sudo chmod 755 '{}' \;
sudo find /opt/Amnesia -type f -exec sudo chmod a+r,a-w,u+w '{}' \;
That is curious. Also strange that it doesn't show up under gnome on Fedora. I'll look into that for future installers/patches