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? [SOLVED]

#1 Post by Sky Aisling »

Issue Solved see: http://www.murga-linux.com/puppy/viewto ... 609#979609

Hello,
I've attempted to install Mahjongg and Frozen Bubble.
Many games are listed in the 'Fun' section of 'Menu'.
None of the menu items except ACE-solitaire.swf execute. (I understand ACE is a .swf and separate from the other downloads)
I'm only looking for the two games not the whole slate of games.
Can anyone see what I am missing?
Do I need all that Perl code? Can I un-install to thin down my save file?

Thank you in advance for any suggestions.
Attachments
MountHome12-26-17a.jpg
(23.62 KiB) Downloaded 750 times
Uninstall-Games.png
(92 KiB) Downloaded 748 times
Last edited by Sky Aisling on Mon 08 Jan 2018, 03:07, edited 1 time in total.

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

#2 Post by Mike Walsh »

Hallo, Sky.

TBH, if you've installed those games from the PPM, there ought to be .desktop entries in /usr/share/applications. Have you actually done a re-boot, or a restart of 'X' since installing them?

I ask, because although the installation of Menu entries is all part of the package install process (if they are in the package to start with, that is), they don't always show up in the Menu until after 'X' has been re-started. Don't ask me why; it's just one of Pup's peculiarities sometimes. Least, that's how it works for me...


Mike. :wink:

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Games - How to Execute?

#3 Post by Sky Aisling »

Hi Mike, :D

Yes, the games are listed in Applications as .desktop.
They do not execute from the Applications folder.

I've done a search on several games and attempted to execute from other sections of the file system with no joy.

Yes, system has been rebooted many times and a restart of X.

Thank you for the quick reply.

Sky
Attachments
Games-search-example.png
(47.29 KiB) Downloaded 714 times

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#4 Post by bigpup »

If you are getting these using PPM (Puppy Package Manager).
These games are coming from repositories for Ubuntu.
That can be a problem, because there are usually more than one listed for a specific game.
Try to get the one that is just the name of the game.
Example:
Mahjongg
Not KMahjongg, or GMahjongg, etc.......

I am in Xenialpup 7.5 which is close to Tahrpup for using stuff from Ubuntu.
Mahjongg_3.18.0-1 downloaded and installed OK.
It runs from the menu entry in fun.

Frozen Bubble does seem to need a lot of Perl stuff and like 18 dependencies.

The Perl stuff for Tahrpup is in the Tahrpup devx sfs.
So you need to load the Tahrpup devx sfs.
grab it from quickpet.

There is info here about getting it to work.
http://murga-linux.com/puppy/viewtopic. ... 997#877997
Last edited by bigpup on Sun 07 Jan 2018, 21:45, edited 1 time in total.

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

#5 Post by Mike Walsh »

Hi again, Sky.

Mm. Okay. Right; can you open up 'mahjongg.desktop' in Geany, then do a copy'n'paste in your next reply, so's I can see what it looks like?

There are right (and wrong) ways to write .desktop entries, y'see. I've discovered, much to my disgust, that many 'professionally' put-together packages, from some of the major distros, even, have very badly-written .desktop entries. Most of our Puppy Forum 'packagers' do a way better job.....many of whom are complete amateurs, when all's said & done.

Stuff from Canonical, especially, often has mucho extraneous crap included, 'cos they're trying to cater for multiple DEs, y'see. Gnome; Unity; KDE; XFCE, etc.....and they all handle Menu entries in different ways. Usually, for Puppy packages, we tend to strip out all the superfluous junk, and try to just leave a clean, tidy, minimal bare-bones entry that will, nevertheless, do the job. You just want your Menu entry to start your application; what else d'you want it to do? Get up on the table, and start tap-dancing? :lol:

Anyway, it would be much appreciated if I could take a gander at the Mahjongg .desktop entry, please. We can then decide what needs doing from there.

EDIT:-

(There you go. bigpup may have hit the nail on the head with that last reply..)


Mike. :wink:

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Games - How to Execute?

#6 Post by Sky Aisling »

bigpup, yes, i am getting downloads from PPP/Ubuntu Trusty Universe.
Will putting Tahrpup devx sfs into mount/home slow down or confuse my mount/home? I am running devx-tahrpup64_6.0.5.sfs. See screenshot above.

Mike
,

[Desktop Entry]
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
Categories=GNOME;GTK;Game;BoardGame;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-games
X-GNOME-Bugzilla-Component=BugBuddyBugs
X-GNOME-Bugzilla-Version=2.26.1
StartupNotify=true
X-Ubuntu-Gettext-Domain=gnome-games

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

#7 Post by Mike Walsh »

Hallo, Sky.

See, if that was me, I'd condense all that down to this:-

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 
Categories=Game;
Don't need all that 'X-Gnome' and 'X-Ubuntu' stuff. Pup's got no use for it at all.

However; bearing in mind the comments about Perl, what d'you get if you open a terminal, enter that exec line:-

Code: Select all

/usr/games/mahjongg
.....and hit 'Enter'? Terminal output is good stuff for trouble-shooting..!

Personally, I would expect to find mahjongg's executable in either /usr/bin or /usr/local/bin. AFAIK, Pup doesn't use the /usr/games directory at all...

Open PFind - file finder, and do a search for 'mahjongg'. What matches do you get?


Mike. :wink:

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Games - How to Execute?

#8 Post by Sky Aisling »

bigpup,

I did a search in PPM on

Mahjongg_3.18.0-1
PPM/Fun

Searched Respositories:
ubuntu-trusty-universe
ubuntu-trusty-main
ubuntu-trusty-multiverse
puppy-tahr64
puppy-noarch

"Sorry, no matching package name."

I haven't yet loaded Tahrpup devx sfs.
I will load Tahrpup devx sfs to mount/home sda1 and report back on that test shortly.

Mike,

Code: Select all

/usr/games/mahjongg
No such file or directory.

I'll slim down the coding as you suggested.
News at 11. :)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

Re: Games - How to Execute?

#9 Post by bigpup »

Sky Aisling wrote:bigpup, yes, i am getting downloads from PPP/Ubuntu Trusty Universe.
Will putting Tahrpup devx sfs into mount/home slow down or confuse my mount/home? I am running devx-tahrpup64_6.0.5.sfs. See screenshot above.
Sorry, I did not notice you already had the correct devx sfs loaded.
I assume by stating "I am running devx-tahrpup64_6.0.5.sfs." that you have it loaded?

I am going to bootup Tahrpup 6.0.5 and see what it does for me.

In PPM you have recently updated the data base?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Games - How to Execute?

#10 Post by Sky Aisling »

bigpup,
I assume by stating "I am running devx-tahrpup64_6.0.5.sfs." that you have it loaded?
NO! I just checked sfs-load-on-the-fly and devx-tahrpup64_6.0.5.sfs was not loaded. I've loaded it now. I'll do another test and respond in a few minutes.
In PPM you have recently updated the data base?
About a 5 weeks ago I updated ubuntu-trusty-universe but not the rest of the repositories:
ubuntu-trusty-main
ubuntu-trusty-multiverse
puppy-tahr64
puppy-noarch

EDIT: Frozen Bubble is now working after loading devx-tahrpup64_6.0.5.sfs
Last edited by Sky Aisling on Mon 08 Jan 2018, 01:11, edited 1 time in total.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#11 Post by bigpup »

Update all of them.


Mahjongg working for me from PPM download and install.

Ok, in the Trusty repositories it is Mahjongg 3.10.2
Put mohjongg in the search slot and hit the search icon.
What is displayed is the search results.
The other columns do not apply to a search results.

Sorry for the posted image quality.
Had to make it smaller to show in forum.
Attachments
capture21161.jpg
(26.03 KiB) Downloaded 621 times
capture31620.jpg
(48.23 KiB) Downloaded 651 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Games - How to Execute?

#12 Post by Sky Aisling »

bigpup,
I'm going to slim down the coding in Mahjoggn as Mike suggests and update repros as you suggest then carry on from there.
Looks like we almost have it solved. :)

More news after dinner. :wink:

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#13 Post by bigpup »

Frozen Bubble.

Have the Tahrpup64 devx sfs loaded.
Downloaded Frozen Bubble from a listed search of PPM.
Frozen Bubble and a bunch of dependencies installed.
Frozen Bubble_2.212

Menu>Fun>Frozen Bubble
Attachments
capture22154.jpg
(72.9 KiB) Downloaded 632 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#14 Post by bigpup »

Just noticed the updated info.
I think I was composing the post when you updated the info.

We are Puppy!
Resistance is futile :lol:
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Games - How to Execute?

#15 Post by Sky Aisling »

bigpup writes:
Update all of them.
I updated all the repositories in Puppy Package Manager (PPM).
I downloaded Mahjongg 3.10.2 from Puppy Package Manager.

Mahjongg 3.10.2 is now working.
Frozen Bubble is now working.


I want to slim down the Mahjongg code as Mike suggests.
I'll work on that later tonight.

There are 33 games listed in menu/fun, most of which do not activate.
Some do, however, like Hexalate and IQPuzzle and gPlanarity.
Issue is solved as I was only looking for the two games, Mahjongg and Frozen Bubble. But, I'll continue to see about either getting the rest running or taking them off the menu.
Thank you bigpup and Mike Walsh
Puppy Rules!
Attachments
Fun-Menu-1.png
(169.29 KiB) Downloaded 636 times

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