Page 1 of 1

Running love files on Ubuntu

Posted: Sun Jun 15, 2014 12:43 am
by iPoisonxL
Hi! I have a small problem running love files. I installed love and all, but when I open a love file it just opens Archive Manager. Love even changed the little icon from a box to the LÖVE logo, so I'm not sure what I'm missing.

Also, I can't use 'Open With' because Love isn't on the program list.

Re: Running love files on Ubuntu

Posted: Sun Jun 15, 2014 4:40 am
by T-Bone
I've never had that problem on Ubuntu, but you can always try to run it from the terminal. Open a terminal, navigate to the folder containing the .love (or move the .love to your home forlder) and type

Code: Select all

love epicgamename.love
If that works, then at least you know Löve is installed correctly.

Re: Running love files on Ubuntu

Posted: Sun Jun 15, 2014 12:30 pm
by iPoisonxL
T-Bone wrote:I've never had that problem on Ubuntu, but you can always try to run it from the terminal. Open a terminal, navigate to the folder containing the .love (or move the .love to your home forlder) and type

Code: Select all

love epicgamename.love
If that works, then at least you know Löve is installed correctly.
Yeah, that works, but it's a bit of a hassle to go all the way to desktop/workspace/lua/epicgame.

How to set default program?

Re: Running love files on Ubuntu

Posted: Sun Jun 15, 2014 1:11 pm
by murks
I can't tell you how ubuntu does this, but apparently ubuntu uses the file command to detect the type of file, so it sees the .love file as a zip file, and that's why it opens the archive manager. Just read up on how to do the file association stuff for your version of ubuntu.

Re: Running love files on Ubuntu

Posted: Sun Jun 15, 2014 2:28 pm
by iPoisonxL
murks wrote:I can't tell you how ubuntu does this, but apparently ubuntu uses the file command to detect the type of file, so it sees the .love file as a zip file, and that's why it opens the archive manager. Just read up on how to do the file association stuff for your version of ubuntu.
Ok thank you, cheers

Re: Running love files on Ubuntu

Posted: Tue Jun 17, 2014 9:42 pm
by CrackedP0t
Find the Love.desktop file in /usr/share/applications, and open it in a text editor.
Edit the "command" line to read "love %f" (without the quotes)
Right click on the .love file, select properties, and navigate to the "open with" tab.
Select LOVE.
Done!

Re: Running love files on Ubuntu

Posted: Wed Jun 18, 2014 9:03 am
by bartbes
It seems newer versions of nautilus changed their behaviour wrt desktop files and file associations, I've modified it in the repo too, so next release it should be fixed.

Re: Running love files on Ubuntu

Posted: Wed Jun 18, 2014 11:33 pm
by iPoisonxL
I found a way to fix it, simply went into file association, found .love, and clicked "reset".

Re: Running love files on Ubuntu

Posted: Thu Jun 19, 2014 8:53 pm
by bartbes
The specific problem was love not showing up in the list, it's still set as a default association, but if you ever add another association you can't select love anymore. A bit awkward, to say the least. In any case, that should be fixed in the next release.

Re: Running love files on Ubuntu

Posted: Fri Jun 20, 2014 8:22 pm
by iPoisonxL
bartbes wrote:The specific problem was love not showing up in the list, it's still set as a default association, but if you ever add another association you can't select love anymore. A bit awkward, to say the least. In any case, that should be fixed in the next release.
OK thank you!