Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mintmenu crashed if exec line in desktop files didn't work #53

Closed
raveit65 opened this issue Jan 19, 2014 · 3 comments
Closed

mintmenu crashed if exec line in desktop files didn't work #53

raveit65 opened this issue Jan 19, 2014 · 3 comments

Comments

@raveit65
Copy link
Contributor

fedora bugzilla report:
https://bugzilla.redhat.com/show_bug.cgi?id=1054781

my test results with using mate-panel-test-applets:
gnome-weather.desktop
Icon=org.gnome.Weather.Application
Exec=/usr/share/org.gnome.Weather.Application/org.gnome.Weather.Application
DBusActivatable=true
StartupNotify=true

terminal output:
(mintMenu.py:32449): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Fehler in Zeile 1: Entität endete nicht mit einem Semikolon; wahrscheinlich haben Sie ein &-Zeichen benutzt, ohne eine Entität beginnen zu wollen - umschreiben Sie das »&« als &
Binding to Hot Key: Super_L
/usr/share/org.gnome.Weather.Application/org.gnome.Weather.Application

Unfortunately there isn't more output, gnome-weather simply doesn't start.

fedorautils.destop (which needs a terminal)
[Desktop Entry]
Name=Fedora Utils
GenericName=Fedora Utils
Icon=fedorautils
Comment=Software, Codec Installs & System Tweaks
Exec=fedorautils
Terminal=true
Type=Application
Categories=System;Utility;X-Fedora;
Keywords=clean;codec;fix;postinstall;propietary;repo;

terminal output:

(mintMenu.py:32449): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Fehler in Zeile 1: Entität endete nicht mit einem Semikolon; wahrscheinlich haben Sie ein &-Zeichen benutzt, ohne eine Entität beginnen zu wollen - umschreiben Sie das »&« als &
running manually...
sh: x-terminal-emulator: Kommando nicht gefunden.

Note, in fedora we don't have this command.

google translation:
(mintMenu.py: 32449): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand without an entity want to start - you rewrite the "&" as &

@clefebvre
Copy link
Member

Fixed the crash.
Fixed using x-terminal-emulator instead of mate-terminal.
Didn't add support for DbusActivatable, I found the spec on freedesktop but I couldn't find any implementation anywhere. If somebody wants to do the ground work and come back to me with either a pull request, a patch, or even a "dbus-send" command I can run, I'd be happy to fix this as well.

@raveit65
Copy link
Contributor Author

Thx Clem, i will try out to find the right dbus-send command

@stefano-k
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants