Page 1 of 1

Games - How to Execute?

Posted: Mon 08 Jan 2018, 06:50
by Sky Aisling
@Mike

I slimmed down Mahjongg.
to this coding:

Code: Select all

[Desktop Entry]
Encoding =UTF-8
Name=Mahjongg
Comment=Disassemble a pile of tiles by removing matching pairs
Exec=/usr/games/mahjongg
Icon=/usr/share/icons/hicolor/24x24/apps/gnome-mahjongg.png
Terminal=false
Type=Application
StartupNotify=true
X-Ubuntu-Gettext-Domain=gnome-mahjongg - NOTE: I didn't add this line?
Then rebooted.
The last line: X-Unbuntu-Gettext-Domain=gnome-mahjongg appeared after the reboot. I didn't add that line. It replaced the line: Categories=Game;
The program executes from applications, /usr/games/gnome-mahjongg but not /usr/games/mahjongg.
Is this correct?
I kept a backup of the original coding.

EDIT: You're right Mike. "If it ain't broke, don't fix it." I changed coding back to original. Thank you for the re-coding suggestion. I learned a lot from playing with the change.

Posted: Mon 08 Jan 2018, 10:40
by Mike Walsh
Morning, Sky.

Oh, stuff like that does sometimes happen.....and there's no rhyme or reason as to why.

I'll take this view, though; whatever it is you've done to get things working, if it's all starting/running as it should from the Menu, then for crying out loud, leave it the hell alone!!! :lol: :lol:

Don't mess about with it any more; if it's behaving itself, all well & good. And don't worry too much about whether it's 'correct', or not; even unorthodox methods will do the job. If it does what you want it to.....great.

(Believe me, even the 'experts' can make a mess of things. I've been editing and altering .desktop entries for a long time.....and they sometimes still surprise me, and do things I wouldn't expect them to!

It's a non-stop learning curve, mate...)


Glad to hear it's sorted. Nice one.


Mike. :wink:

azami

Posted: Mon 08 Jan 2018, 11:45
by foxpup
Maybe this will interest you:
http://murga-linux.com/puppy/viewtopic.php?t=102007
offlinegames from azami