1. I bent two small L-brackets from metal plumber's tape and screwed them into the cabinet door.
2. I marked the positions of the brackets on the lip of the trash can to align the can so the door will open and close.
3. The marks are visible through the trash can liner bags, making it easy to hang up the trash can.
4. Put the liner inside the trash can and hang the trash can on the brackets.
Now when we open the cabinet door, the trash can swings out for full access.