You can open the inventory with Q, then click on any item to open its description and get the option to discard it! And the rubbish pile minigame is by making the bar as big as possible, yeah. Sorry these things weren't clear enough.