Frictional Games Forum (read-only)
Menu entries - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html)
+---- Forum: Linux - ATDD (https://www.frictionalgames.com/forum/forum-32.html)
+---- Thread: Menu entries (/thread-3961.html)



Menu entries - Soulsuke - 09-08-2010

Hi,
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 '{}' \;


RE: Menu entries - Urkle - 09-08-2010

That is curious. Also strange that it doesn't show up under gnome on Fedora. I'll look into that for future installers/patches