Moin, ich hab folgendes Problem: Ich möchte das Spiel Clonk Rage spielen. Dazu habe ich mir die vom Hersteller angebotene Linux-Version heruntergeladen (http://www.clonk.de/cr.php?lng=de). Im Wiki-Artikel zum Spiel (Clonk Rage) sind drei Pakete aufgeführt, die man angeblich benötigt. Also hab ich überprüft, ob diese vorhanden sind, bzw. libsdl-mixer1.2 nachinstalliert. Danach hab ich, wie im Wiki-Artikel beschrieben, das Installationsskript ausgeführt. Daraufhin erscheint eine Meldung "Clonk Rage installiert." Im Menü kann ich jetzt Clonk Rage finden, wenn ich aber draufklicke passiert einfach gar nichts.
Angeblich sollte auch ein Ordner für Konfigurationsdateien erzeugt worden sein (unter ~/.clonk/rage), der ist allerdings auch nicht vorhanden.
Im Installationsskript steht folgendes:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | #!/bin/sh # installs a menu entry, registers a mime type and installs icons. # http://freedesktop.org/wiki/Specifications/basedir-spec [ -n "$XDG_DATA_HOME" ] || XDG_DATA_HOME="${HOME}/.local/share" # http://freedesktop.org/wiki/Specifications/desktop-entry-spec desktopdir="${XDG_DATA_HOME}/applications" # http://freedesktop.org/wiki/Specifications/shared-mime-info-spec mimedir="${XDG_DATA_HOME}/mime" # http://freedesktop.org/wiki/Specifications/icon-theme-spec icondir="${XDG_DATA_HOME}/icons/hicolor/48x48" bindir="$(cd "$(dirname "$0")" && pwd)" # gnome-panel does not pick up the new entry if the directory didn't exist. see http://bugzilla.gnome.org/458113 if [ ! -d "${desktopdir}" ] ; then maybe_restart=" You may have to restart your session for the menu entry to appear." else maybe_restart="" fi mkdir -p "${desktopdir}" mkdir -p "${mimedir}/packages" mkdir -p "${icondir}/apps" mkdir -p "${icondir}/mimetypes" desktopfile="clonk_rage.desktop" cat > ${desktopdir}/${desktopfile} <<EOH [Desktop Entry] # Installed by the Clonk Rage installer Version=1.0 Name=Clonk Rage Type=Application Comment=An entertaining, action-packed game of strategy, tactics, and skill. Icon=clonk-rage Categories=Game;ActionGame; MimeType=application/x-vnd.clonk.c4key;application/vnd.clonk.c4group StartupNotify=true StartupWMClass=Clonk Rage EOH echo "Path=${bindir}" >> ${desktopdir}/${desktopfile} if test $(uname -m) = x86_64; then echo "Exec=\"${bindir}/clonk64\" %F" >> ${desktopdir}/${desktopfile} else echo "Exec=\"${bindir}/clonk\" %F" >> ${desktopdir}/${desktopfile} fi ln -sf "${bindir}/icons/cr.png" "${icondir}/apps/clonk-rage.png" mimefile="packages/de_clonk.xml" cat > ${mimedir}/${mimefile} <<EOH <?xml version="1.0" encoding="UTF-8"?> <!-- Installed by the Clonk Rage installer --> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/vnd.clonk.c4group"> <alias type="application/clonk4" /> <comment>Clonk 4 Group</comment> <comment xml:lang="de">Clonk-4-Gruppe</comment> <magic priority="50"> <match type="string" value="\x1e\x8c" offset="0" /> </magic> <glob pattern="*.c4g" /> <glob pattern="*.c4d" /> <glob pattern="*.c4f" /> <glob pattern="*.c4p" /> <glob pattern="*.c4u" /> </mime-type> <mime-type type="application/x-vnd.clonk.c4key"> <sub-class-of type="text/plain"/> <comment>Clonk Registration</comment> <comment xml:lang="de">Clonk-Registrierung</comment> <magic priority="50"> <match type="string" value="Cuid=" offset="0" /> </magic> <glob pattern="*.c4k" /> </mime-type> </mime-info> EOH ln -sf "${bindir}/icons/c4g.png" "${icondir}/mimetypes/application-vnd.clonk.c4group.png" ln -sf "${bindir}/icons/c4k.png" "${icondir}/mimetypes/application-x-vnd.clonk.c4key.png" update-mime-database "${mimedir}" # thumbnailer gconftool-2 --type=string --set /desktop/gnome/thumbnailers/application@vnd.clonk.c4group/command "${bindir}/c4group %i -et Title.png %o" gconftool-2 --type=bool --set /desktop/gnome/thumbnailers/application@vnd.clonk.c4group/enable true message="Clonk Rage installed.${maybe_restart}" zenity --info --text "${message}" || kdialog --msgbox "${message}" || xmessage -buttons okay -default okay "${message}" |
Unter einer früheren Version von Ubuntu (ich weiß nicht mehr, welche) hatte es mal funktioniert.
Warum geht es jetzt nicht bzw. was kann/muss ich tun, damit es funktioniert?