I filed a bug, describing an issue where, unless xterm is installed, desktop entries requiring the terminal wouldn't launch at all. Initially I was shot down and the conversation became quickly unproductive but somehow resulted in actually identifying the issue. Turns out the terminals were hardcoded and naturally qterminal is not among them, so we have a two fold workaround in:
I don't think many people would want to create a desktop entry for a terminal program. Some will, sure. Not many.
Additionally, there are two work arounds:
- install xterm
- don't use Terminal=true and call the terminal expicitly with the likes of Exec=qterminal -e some-command
That said, I don't think it's worth the effort to SRU.
I built the patch for part 2 but my local build failed, likely due to the fact I wasn't building pcmanfm-qt against the proper libfm-qt (It was before the new version landed).
@wxl I think we just need to set aside some time on IRC when you are available, so you can help me finish it out.
This appears to work properly with the LXQt 0.14.0 update in Disco. I made a desktop file for AlsaMixer to test:
[Desktop Entry] Version=1.0 Name=AlsaMixer Type=Application Comment=Show ALSA Audio Mixer Terminal=true Exec=alsamixer Icon=multimedia-volume-control
It worked as intended opening my default terminal, Qterminal.