I do the guidebook thing, like the OP mentioned, but I also ask my hotel's concierge. If I have time on my own, I usually just kind of wander around and see what makes me hungry and go for that. Usually try to avoid touristy places. Often I'll even stop locals and ask for suggestions.
The OPs second tip sounds like a great one and its something I should use.