[Bug 2077240] [NEW] terminal autocomplete doesn't autocomplete filenames due to apport autocomplete script in etc
Cleber Zarate
2077240 at bugs.launchpad.net
Sat Aug 17 19:04:33 UTC 2024
Public bug reported:
While migrating to a new computer from KDE Ubuntu 22.04 to a brand-new
Gnome 22.04 install, I noticed the terminal autocomplete works, however
when pressing "tab" to autocomplete filenames as parameter names for a
command, the autocomplete doesn't work inline, only in the line below
with the full output of ls.
For instance: typing
```
ls -al m<tab>
```
used to autocomplete to
```
ls -al myfile
```
in KDE and older Ubuntu versions I used, but in the new one it's not and instead I see the following:
```
ls -al m
myfile
```
If I log via ssh into my KDE machine and type the autocomplete, it works as it used to, so that ruled out a Terminal or Gnome issue.
Digging further revealed that the /etc/bash-completion.d/apport file
which came in Ubuntu is the file causing this. The file came with the
fresh install. The KDE environment didn't have that file.
I removed that file and autocomplete works as it used to.
There might be a bug in that apport autocomplete needing fixed.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apport 2.20.11-0ubuntu82.6
ProcVersionSignature: Ubuntu 6.5.0-45.45~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-45-generic x86_64
NonfreeKernelModules: falcon_lsm_serviceable falcon_nf_netcontain falcon_kal falcon_lsm_pinned_17106
ApportLog: Error: [Errno 13] Permission denied: '/var/log/apport.log'
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 17 13:56:11 2024
InstallationDate: Installed on 2024-07-18 (30 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.bash_completion.d.apport_completion: [deleted]
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug jammy wayland-session
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2077240
Title:
terminal autocomplete doesn't autocomplete filenames due to apport
autocomplete script in etc
Status in apport package in Ubuntu:
New
Bug description:
While migrating to a new computer from KDE Ubuntu 22.04 to a brand-new
Gnome 22.04 install, I noticed the terminal autocomplete works,
however when pressing "tab" to autocomplete filenames as parameter
names for a command, the autocomplete doesn't work inline, only in the
line below with the full output of ls.
For instance: typing
```
ls -al m<tab>
```
used to autocomplete to
```
ls -al myfile
```
in KDE and older Ubuntu versions I used, but in the new one it's not and instead I see the following:
```
ls -al m
myfile
```
If I log via ssh into my KDE machine and type the autocomplete, it works as it used to, so that ruled out a Terminal or Gnome issue.
Digging further revealed that the /etc/bash-completion.d/apport file
which came in Ubuntu is the file causing this. The file came with the
fresh install. The KDE environment didn't have that file.
I removed that file and autocomplete works as it used to.
There might be a bug in that apport autocomplete needing fixed.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apport 2.20.11-0ubuntu82.6
ProcVersionSignature: Ubuntu 6.5.0-45.45~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-45-generic x86_64
NonfreeKernelModules: falcon_lsm_serviceable falcon_nf_netcontain falcon_kal falcon_lsm_pinned_17106
ApportLog: Error: [Errno 13] Permission denied: '/var/log/apport.log'
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 17 13:56:11 2024
InstallationDate: Installed on 2024-07-18 (30 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.bash_completion.d.apport_completion: [deleted]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2077240/+subscriptions
More information about the foundations-bugs
mailing list