Launching apps with Terminal=true does not work / refers to xterm

Bug #1873428 reported by Alex
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
budgie-desktop (Ubuntu)
Invalid
Undecided
Unassigned
budgie-extras (Ubuntu)
New
Undecided
Unassigned

Bug Description

Trying to launch an app via the app launcher that is supposed to launch in a terminal window (Terminal=true in the corresponding .desktop file) does not work (e.g. htop, vim). An entry in journalctl alerts

sh: 1: exec: xterm: not found

which is not installed (by default).
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: Budgie:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-04-13 (4 days ago)
InstallationMedia: Ubuntu-Budgie 20.04 LTS "Focal Fossa" - Beta amd64 (20200411)
Package: budgie-desktop 10.5.1-6
PackageArchitecture: all
ProcVersionSignature: Ubuntu 5.4.0-24.28-generic 5.4.30
Tags: focal
Uname: Linux 5.4.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Ubuntu budgie (ubuntu-budgie) wrote :

Please run apport-collect 1873428 so that the details of your system is attached to this report.

So that we can assess which package is correct please describe what your app launcher looks like (screenshot)

Changed in budgie-desktop (Ubuntu):
status: New → Incomplete
Revision history for this message
Alex (darthead) wrote : Dependencies.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
Alex (darthead) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Alex (darthead) wrote : ProcEnviron.txt

apport information

Revision history for this message
Alex (darthead) wrote :

The problem occurs in both the default AppMenu Widget and the Alt+F2 app launcher (which I assume both access the same launcher entries). Do you really want me to provide a screenshot of those or is it clear what I am referring to?

Revision history for this message
Alex (darthead) wrote :

I have also checked the my x-terminal-emulator alternative, it seems correct and I can also open a terminal with Ctrl+Alt+t without any problems.

x-terminal-emulator -> /usr/bin/tilix.wrapper

Revision history for this message
Ubuntu budgie (ubuntu-budgie) wrote :

Ok - you are referring to 20.04. The default appmenu is the grid/list view menu - not the classic budgie desktop menu.

The Alt+F2 pop-up is from budgie-desktop.

Your issue is this: https://github.com/elementary/applications-menu/issues/53#issuecomment-524092049

Its a GLIB issue - with no real resolution. Adding xterm is a workaround, but its not something we will be doing out of the box since having multiple terminal's in the menu is confusing.

We could in theory hard-code something for UB's tilix terminal for the menu but that will break other distros.

I'll add the issue to the 20.04 release notes but there isn't anything we can readily do here.

Changed in budgie-desktop (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Ubuntu budgie (ubuntu-budgie) wrote :

Note - from the linked issue GLIB code there is a list of terminals that are supported.

You could do a wacky "workaround" to fool GLIB to assume one of them is installed

e.g.

    sudo ln -s /usr/bin/tilix /usr/bin/nxterm

Revision history for this message
fossfreedom (fossfreedom) wrote :

Reassign to budgie-extras - maybe we can add the above workaround in the budgie-network-applet package postinst/prerm

Linking issue to track: https://github.com/UbuntuBudgie/budgie-extras/issues/315

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.