Games - How to Execute? [SOLVED]

Play with your Puppy.
Post Reply
Message
Author
User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Games - How to Execute?

#16 Post 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.
Last edited by Sky Aisling on Mon 08 Jan 2018, 17:20, edited 1 time in total.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#17 Post 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:

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

azami

#18 Post by foxpup »

Maybe this will interest you:
http://murga-linux.com/puppy/viewtopic.php?t=102007
offlinegames from azami

Post Reply