(There is an even easier way! Click me! Put that big white finger over me and push!)
OBSOLETE -- DO NOT READ; FOLLOW ABOVE LINK
This extends beyond the range of Love, but it works.
I was thinking there has to be an easier way than what I posted earlier. It was for advanced users, and people with no fear. Good news! I have found a solution that will satisfy everyone. I linked to this in my original -- and more complicated -- solution for opening .love files with love-unstable. This assumes you are using love-unstable from bartbes' love-unstable PPA.Look it up, add the PPA, update available repositories and follow what's below.
By default, you can open any .love application by double-clicking on it. But if you need to run it with love-unstable, then here's how you do it:
From a terminal, copy love
cp /usr/share/applications/love.desktop ~/.local/share/applications
Open love.desktop in your home folder
gedit ~/.local/share/applications/love.desktop
Make the following modifications:
[Desktop Entry]
Name=LÖVE unstable
MimeType=application/x-love-game;
Exec=/usr/bin/love-unstable
Comment=Games development framework in lua
Comment[es]=Entorno de desarrollo de videojuegos en lua
Type=Application
Categories=Development;Game;
Terminal=false
Icon=love-app
NoDisplay=true
Save the file as love-unstable.desktop
Then, modify mimetypes.list
gedit ~/.local/share/applications/mimeapps.list
Add this under the [Added Associations] heading:
application/x-love-game=love-unstable.desktop
Save. Done. Right-click and the new entry should now be there in the right-click menu. Yay!
[Ubuntu 11.04+] GNOME 3 context menu entry for love-unstable
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
[Ubuntu 11.04+] GNOME 3 context menu entry for love-unstable
Last edited by Lovechild on Thu Mar 08, 2012 7:02 am, edited 2 times in total.
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: [Ubuntu 11.04+] GNOME 3 context menu entry for love-unst
For gnome users that already have the ppa with love-unstable:
Open up properties on a .love file Select the Open With tab, and add a new app use a custom command, and add "love-unstable" Reselect love if you want love 0.7.2 as default Now you should have the the open-with menu available.
Open up properties on a .love file Select the Open With tab, and add a new app use a custom command, and add "love-unstable" Reselect love if you want love 0.7.2 as default Now you should have the the open-with menu available.
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Re: [Ubuntu 11.04+] GNOME 3 context menu entry for love-unst
And you're using GNOME 2, right?
If you can do this in Ubuntu 11.10 with GNOME 3, then I want to know how to enable it!
If you can do this in Ubuntu 11.10 with GNOME 3, then I want to know how to enable it!
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: [Ubuntu 11.04+] GNOME 3 context menu entry for love-unst
I am using Ubuntu 11.04 with gnome 2.32.1Lovechild wrote:And you're using GNOME 2, right?
If you can do this in Ubuntu 11.10 with GNOME 3, then I want to know how to enable it!
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Re: [Ubuntu 11.04+] GNOME 3 context menu entry for love-unst
Yeah see, GNOME 3 is totally different. You should check it out some time, you know, before you post about GNOME 2 stuff in a thread about GNOME 3.josefnpat wrote:I am using Ubuntu 11.04 with gnome 2.32.1Lovechild wrote:And you're using GNOME 2, right?
If you can do this in Ubuntu 11.10 with GNOME 3, then I want to know how to enable it!
It's why I specified GNOME 3.
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot], Google [Bot] and 5 guests