You can remember the meaning of 无意 with this easy mnemonic:
I had no (无) idea (意) that I inadvertently stepped onto private property. I'm so sorry!
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.