Page MenuHomeLubuntu

properly launch desktop entries in terminal
Open, NormalPublic

Description

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:

  1. libfm-qt
  2. pcmanfm-qt

Event Timeline

wxl created this task.Nov 18 2018, 10:48 PM
wxl triaged this task as Normal priority.
wxl created this object with edit policy "Administrators".

Do you think this should be SRUed? If so, could you please do le paperwork?

wxl added a comment.Nov 20 2018, 11:06 PM

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:

  1. install xterm
  2. 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.

Understood.

ACK on cherry-picking; do you need me to do this or does someone else want the practice? :)

wxl added a comment.Nov 20 2018, 11:15 PM

I think it's a great opportunity for someone new to figure it out, especially considering how low priority it is.

Part one, libfm-qt was pushed through to proposed, had symbols errors, then got fixed. A new version has landed.

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.

kc2bez added a comment.Tue, Feb 5, 7:35 PM

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.