Does anyone know of a way to enable support for the F keys on bluetooth keyboards in ubuntu?

If not, is it possible to use virtual keyboards for this? I've got a weird problem where I accidentally set a book in evince to presentation mode, and I can't seem to turn that off again.