Jump to content

Odd result showing up when I type "g <space>" in Alfred


Recommended Posts

I'm on Ventura 13.0 + Alfred Alfred 5.0.4 Pre-release Build 2090

 

I have the standard built in "Google Suggest" workflow with "g" being the keyword trigger. I never had any other items show up in the past, until today. Now there's a weird file that's part of an old Linux system that I backed up years ago showing up when I type "g". See below. I'm not sure what's suddenly causing this lone result to appear for this keyword, but I'd love to troubleshoot why it's popping up here and see if there's a way to eliminate it.

 

image.thumb.png.3cd2647a7d31f4bdfc2ba1fc2ad99bee.png

 

And here are my Features → Default Results prefs:

image.thumb.png.5c014d551a1a8e00f699ed32dbc3f30c.png

Link to comment

Btw: here is the result of Alfred's diags on this particular file...

 

Starting Diagnostics...

File: 'gnome-vfs-daemon.service'
Path: '/Users/luke/Desktop/fpbx-backup/usr/share/dbus-1/services'

-----------------------------------------------------------

Check file cache database...

 File cache integrity is ok

-----------------------------------------------------------

Check if file is readable...

 Alfred has permissions to read this file.

-----------------------------------------------------------

Check if volume '/' is indexed by macOS...

 Indexing is enabled on this drive

-----------------------------------------------------------

Check direct file metadata...

 Direct metadata available

Display Name: gnome-vfs-daemon.service
 Other Names: 
Content Type: com.apple.service-application
   Last Used: 

-----------------------------------------------------------

Check mdls file metadata...

 Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "gnome-vfs-daemon.service"
com_apple_metadata_modtime         = 395153134
kMDItemContentCreationDate         = 2013-07-10 12:45:34 +0000
kMDItemContentCreationDate_Ranking = 2022-04-24 00:00:00 +0000
kMDItemContentModificationDate     = 2013-07-10 12:45:34 +0000
kMDItemContentType                 = "com.apple.service-application"
kMDItemContentTypeTree             = (
    "com.apple.service-application",
    "com.apple.application-bundle",
    "com.apple.application",
    "public.executable",
    "com.apple.localizable-name-bundle",
    "com.apple.bundle",
    "public.directory",
    "public.item",
    "com.apple.package"
)
kMDItemDateAdded                   = 2022-04-24 23:43:06 +0000
kMDItemDisplayName                 = "gnome-vfs-daemon.service"
kMDItemDocumentIdentifier          = 0
kMDItemFSContentChangeDate         = 2013-07-10 12:45:34 +0000
kMDItemFSCreationDate              = 2013-07-10 12:45:34 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 0
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 0
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "gnome-vfs-daemon.service"
kMDItemFSNodeCount                 = (null)
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 82
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2013-07-10 00:00:00 +0000
kMDItemKind                        = "Application"
kMDItemLogicalSize                 = 82
kMDItemPhysicalSize                = 4096

-----------------------------------------------------------

Check file is in search scope...

 File exists within Alfred's default search scope

-----------------------------------------------------------

 Troubleshooting passed

 

Link to comment

The content type tree contains "com.apple.application-bundle", so it's being treated as an Application, which is part of the default results.

 

You could drag this folder to the Spotlight Privacy, then type 'reload' into Alfred, or just continue typing your g search, and it'll no longer match.

Link to comment

@luckman212 The main content type is "com.apple.service-application" so it's not cached by Alfred like other applications. The result you see is directly from the macOS metadata query, being treated as a file.

 

macOS treats the - in the file name are treated as spaces by the index, so "g " is matching because it leads on to typing e.g. "g v"

 

I can get the same behaviour if I have Folders selected in my default search, and name a folder "gnome-vfs-daemon"

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...