Search – How to Search the Ubuntu Source Code

searchsource code

How can I search through the source code used in Ubuntu?

There is a notification message that I'd like to modify to include more data, but it's not obvious which package it's a part of. But it includes a pretty specific string that would be easy to search on. I know there are a large number of projects included in ubuntu, but I'm hoping there's a good way to find the source when it's not apparent what program is responsible.

Best Answer

There's an Ubuntu Code Search website that lets you search the source code of all packages in the Ubuntu repositories: http://ubuntu-codesearch.surgut.co.uk/

The above site appears to have been down for a while now. I'll try to get in contact with the maintainer.

Edit: I spoke to the maintainer, and this project isn't much of a priority at the moment. I'd recommend using the Debian Code Search instead, as we share a lot of packages/code with them: https://codesearch.debian.net/

Related Question