Running love files on Ubuntu
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Running love files on Ubuntu
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.
Also, I can't use 'Open With' because Love isn't on the program list.
Code: Select all
L
L Ö
Ö V
L Ö V E
Ö B E
V E
E Y
Re: Running love files on Ubuntu
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
If that works, then at least you know Löve is installed correctly.
Code: Select all
love epicgamename.love
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: Running love files on Ubuntu
Yeah, that works, but it's a bit of a hassle to go all the way to desktop/workspace/lua/epicgame.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
If that works, then at least you know Löve is installed correctly.Code: Select all
love epicgamename.love
How to set default program?
Code: Select all
L
L Ö
Ö V
L Ö V E
Ö B E
V E
E Y
Re: Running love files on Ubuntu
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
Ok thank you, cheersmurks 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.
Code: Select all
L
L Ö
Ö V
L Ö V E
Ö B E
V E
E Y
- CrackedP0t
- Citizen
- Posts: 69
- Joined: Wed May 07, 2014 4:01 am
- Contact:
Re: Running love files on Ubuntu
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!
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!
/人 ◕‿‿◕ 人\
Here, have an umlaut. Ö
Here, have an umlaut. Ö
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Running love files on Ubuntu
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
I found a way to fix it, simply went into file association, found .love, and clicked "reset".
Code: Select all
L
L Ö
Ö V
L Ö V E
Ö B E
V E
E Y
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Running love files on Ubuntu
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
OK thank you!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.
Code: Select all
L
L Ö
Ö V
L Ö V E
Ö B E
V E
E Y
Who is online
Users browsing this forum: Bing [Bot] and 66 guests