Problem creating a Desktop link to Anagramarama in openSUSE 11

I’ve installed Anagramarama and I can get it to run if I go to the Anagramarama folder and click on the executable file “ag”.

But if I try to run it by means of a link I’ve created on the Desktop, there’s a quick flash of a new window, then nothing. I’ve tried running the program in a terminal, to see if that would give me a hint, but the same thing happens.

I imagine that the problem is with the link, but I’ve got no idea how to deal with it.

Has anybody got any suggestions?

Thanks,

John Jones

Please try to run the link You have created using the terminal and see what pops up :slight_smile:

Best regards,
Greg

Small problem there, I’m afraid. I’ve been a Ubuntu user since Dapper Drake, and the openSUSE terminal seems to be a bit different from what I’m used to. If I just type the name of the link (anagramarama.desktop) in the terminal, I get an error message;-

If 'anagramarama.desktop' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf anagramarama.desktop

How do I run it, please?

Ok try this way. First use this command :

su -

this should prompt for the root password which You have to enter. The letters should turn to red colour after You type the password which means You have now all the root power. The prompt should also change from “$” to “#”.

Then just run :

zypper up

Best regards,
Greg

First enter the directory where the link resides. When you’re in that directory type “./anagramarama.desktop”

Best regards,
Greg

This is what I get after running

zypper up
linux-drf1:~ # zypper up
Loading repository data...
Reading installed packages...

The following package updates will NOT be installed:
  DirectFB DirectFB-Mesa curl libSDL-1_2-0 libSDL_mixer-1_2-0 libcurl4 
  libmikmod libopenal1-soft libproxy1 libtheora0 openal-soft phalanx 
  python-libproxy python-numpy sgml-skel yelp 

This is quite possibly because I had to use zypper in connection with a howto regarding updategrub.

I’m still getting the same result when I try to run the anagramarama.desktop link.

Thanks,

John

Sorry ignore the post about the zypper up :slight_smile: I thought this was a different thread. The zypper up is totally irrelevant to your problem.

Best regards,
Greg

Ah right. I’d forgotten about ./ In my own defence, I should point out that I’m a computer user, not a programmer, and by and large, I prefer to use the GUI rather than the terminal where possible. I don’t have any objection to using the terminal, it just seems to me to be very difficult to understand.

Anyway, back to Anagramarama. Running it as root gave me;-

./anagramarama.desktop
*** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable).

I don’t understand this.

Running it as non-root opened Gedit with the following in it;-

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_GB]=gnome-panel-launcher
Name[en_GB]=anagramarama
Exec=/home/john/anagramarama/anagramarama/ag
Name=anagramarama
Icon=gnome-panel-launcher

I still haven’t got a scooby what’s going on.

Cheers,

John

Does the launcher have got execute rights ?

ls -l

to find out. Also compare the launcher with others that are working and I think it should become clear what is wrong. Don’t try to run it as root because it’s not required.

Best regards,
Greg

Here’s what I got after running

ls -l

on the Desktop;-

john@linux-drf1:~/Desktop> ls -l
total 12
-rwxr-xr-x 1 john users 232 Jun  3 11:22 anagramarama.desktop
-rwxr-xr-x 1 john users 195 May 31 15:47 Kyodai Mahjongg.desktop
-rwxr-xr-x 1 john users 312 May 31 15:40 Play Solitaire III.desktop

I can’t see any difference between the three lots of permissions. I’m still lost.

Cheers,

John

Yep the access rights look good. So what’s inside Kyodai Mahjongg.desktop ?
What’s the content of the file if You open it with Gedit ?

Best regards,
Greg

This is what I get if I open the Kyodai Mahjongg.desktop link with Gedit;-

[Desktop Entry]
Name=Kyodai Mahjongg
Exec=env WINEPREFIX="/home/john/.wine" wine C:\\\\Program\\ Files\\\\Kyodai\\ Mahjongg\\ 2006\\\\kmj.exe 
Type=Application
StartupNotify=true
Icon=498A_kmj.0

Very different, but I don’t know how much of that is due to this being a Wine app.

Cheers,

John

So maybe the other one is not a wine app ? :slight_smile: or try any other launcher for example the one that runs firefox.

Best regards,
Greg

Yes, sorry, I’m being dense. I had to create a desktop link to another Linux app, so I used GL-117 and this is what I got in Gedit;-

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_GB]=gl-117
Exec=/usr/games/gl-117
Name[en_GB]=gl117
Name=gl117
Icon=gl-117

Comparing this with the entry for Anagramarama, I can’t see any differences except that a couple of entries are in a different sequence. I don’t know if this is significant?

Incidentally, I don’t know if I made it clear that i didn’t deliberately open Anagramarama in Gedit; it happened when I tried to run it in the terminal using the command

./anagramarama.desktop

Cheers,

John

Yes You made it clear enough. I’ve got no idea why this happens and why the launcher does not work. Everything looks good to me.

Sorry but I’m out of ideas. Good luck in solving this puzzle.

Best regards,
Greg

Sorry but I’m out of ideas. Good luck in solving this puzzle.

No worries. Thanks for trying.

John