Try using compiz. In compizconfig use commands to set that actions. In my case I use the windows key instead of Fn because it doesn't work