With keyboard/mouse it's pretty much a case by case basis if it will work correctly or not in linux.
As for choosing linux when you want to, I don't know of any way to do that. When you run in linux, you can go back to the PS3 by typing a command or if you're really lazy like I am, you can hold the power button on for ~5 seconds (while it's off) and it will always boot into the PS3 game os (even if you last used linux). However, you need to readjust your screen settings each time you do that.
YDL is more supported and has more users, so if you have any trouble you will be able to find more guides/support for that. However, there is really no way to answer that question. Just choose the one that appeals to you the most. Everyone has an opinion about which distribution is the best for the PS3. I am not going to steer you one direction or the other.
As for choosing linux when you want to, I don't know of any way to do that. When you run in linux, you can go back to the PS3 by typing a command or if you're really lazy like I am, you can hold the power button on for ~5 seconds (while it's off) and it will always boot into the PS3 game os (even if you last used linux). However, you need to readjust your screen settings each time you do that.
YDL is more supported and has more users, so if you have any trouble you will be able to find more guides/support for that. However, there is really no way to answer that question. Just choose the one that appeals to you the most. Everyone has an opinion about which distribution is the best for the PS3. I am not going to steer you one direction or the other.