I think it is the pilots responsibility to keep the place as clean as they can, within reason, vacuum cleaners are not normally supplied or part of cockpit equipment so the best we can do is clear away all loose rubbish etc. and take the plastic bag, that hangs off the back of the console etc., with us to give to the cleaners, or left in an obvious place, like a toilet, if they are not yet on board.
In one airline I worked for one particular captain carried a soft haired paint brush and did a good job on the console during the turn round. Same airline, we lent a B737-200 to Aer Lingus, when it came back in time for our sumer season the radar had to be removed only to reveal dozens of bug cards that had been 'posted' down the side, deliberate or otherwise!