love
love copied to clipboard
Cannot change window icon on Linux
Original report by Vexatos (Bitbucket: Vexatos, GitHub: Vexatos).
As mistakenly pointed out in #1471, changing the window icon in conf.lua (or calling setIcon manually) works on Windows, but not on Linux using love 11.2. The attached file was confirmed to work on Windows 10, and to not change the icon on Linux Mint 19.1 Cinnamon (restarting Cinnamon to refresh didn't do anything, either).
Original comment by Bart van Strien (Bitbucket: bartbes, GitHub: bartbes).
Where are you looking for the icon? Depending on the location and the desktop environment, it may not be displaying the window icon at all, but rather the application icon. A possible implementation for finding (and thus setting) an application icon involves matching a window to a process, then matching that to a desktop file and using its icon. This means that if you end up shipping for linux, and deploying a desktop file, the correct icon should be found.
Original comment by Vexatos (Bitbucket: Vexatos, GitHub: Vexatos).
I am just running the attached .love file using love directly. It is looking for the icon inside the file as it is set in conf.lua.