Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Files
Files
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 436
    • Issues 436
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 28
    • Merge Requests 28
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • FilesFiles
  • Issues
  • #574

Closed
Open
Opened Aug 08, 2018 by Pat Kelly@tablepc

searching text inside an XML file

Lately I have been working with the keys in the gnome schema files. These are XML files located in /usr/share/glib-2.0/schemas/

Most of the time I am look for a key, but I don't know which XML file it's in. I thought I could use the nautilus search feature to search the text inside the files for the key name I was looking for, but when I have tried this I get no results.

I can open the files with gedit and search the file content with gedit and that works fine, but there a big bunch of files to look through and visual searching is not the most reliable.

I thought there might be a problem with the file permissions and/or location so I copied them all to another disk into a directory I own and made sure the permission would not restrict reading the files. I can open the files with gedit as described above, but nautilus search would still not find anything based on the text inside the files even when I searched for text that I have verified was inside the files. I have looked in the "Files -> Preferences" but I did not find anything that would help.

Nautilus search works fine to find files based on contained text for other file types like odt. Why can't nautilus find an xml file based on contained text?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/nautilus#574