How to change an executable application to "game"

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
BikeToAustralia
Level 1
Level 1
Posts: 2
Joined: Fri Oct 18, 2013 7:08 pm

How to change an executable application to "game"

Post by BikeToAustralia » Wed Mar 06, 2019 8:29 am

I want Tales of Maj'Eyal to be in my GUI menu under games. How do I make it so? It is installed already.

User avatar
PeterRJG
Level 1
Level 1
Posts: 35
Joined: Mon Dec 14, 2009 8:00 am

Re: How to change an executable application to "game"

Post by PeterRJG » Wed Mar 06, 2019 3:16 pm

BikeToAustralia wrote:
Wed Mar 06, 2019 8:29 am
I want Tales of Maj'Eyal to be in my GUI menu under games. How do I make it so? It is installed already.
Which window manager are you using? MATE, Cinnamon? They all have their own way of menuing. Most likely, you'll need to manually edit the menu file (or use a menu editor app) to add your game. Since most of them are xml files, they're fairly easy to understand and edit.

User avatar
Flemur
Level 17
Level 17
Posts: 7076
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: How to change an executable application to "game"

Post by Flemur » Wed Mar 06, 2019 4:07 pm

I think you'll need to change a .desktop file in:
/usr/share/applications
so it has

Code: Select all

"Categories=Game;ActionGame;"
(at least the "Game;" part).

To find which .desktop file to edit, try,

Code: Select all

cd /usr/share/applications
grep -i tales *.desktop
The try

Code: Select all

sudo cp the-file-you-found.desktop the-file-you-found.desktop.save
sudo <your-editor>  the-file-you-found.desktop
IOW, make a copy, for safety, then edit it as root; <your-editor> = gedit or whatever;
Disclaimer: I forget if it's bad to use 'sudo' with gedit..."pkexec gedit"?
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 19.1 Xfce/fluxbox
Manjaro openbox/fluxbox

User avatar
PeterRJG
Level 1
Level 1
Posts: 35
Joined: Mon Dec 14, 2009 8:00 am

Re: How to change an executable application to "game"

Post by PeterRJG » Thu Mar 07, 2019 3:23 am

Doesn't the above assume that the game the OP installed is XDG Base compliant? There may well not be anything to create a .desktop file from. I may be wrong of course.

Me? I'd just install dmenu or rofi, bind it to Super+M or some such and use it instead. Leave them finicky menus behind. :D Ahem...well, that's just me, though.

Post Reply

Return to “Software & Applications”