In Australia the way of getting rid of domestic trash in cities is pretty standard: empty your kitchen bin into the wheelie bin outside, and once a week wheel that bin the kerb outside of your home where the “garbos” will empty it into their truck.
Why not give these bins wheels, powered by solar?
The kitchen bin will need to be connected to a power socket, but that in turn can be solar-powered. When it is close to being full, the kitchen bin rolls out to the wheelie bin outside (which is solar powered). A hoist, just like those used by trash trucks, empties the kitchen bin into the wheelie bin.
Once a week the wheelie bin goes for a wander to a local, designated spot. There, the trash truck empties all of the wheelie bins that have queued up, and then they go home.
This is more efficient for the trash truck, especially if it will be self driving in the future.
And it saves humans the tedious task of taking the trash out.