Welcome to the forums!
Yes, if the file is in your Desktop folder then you must first change directory (cd) into that folder:
Alternately you can use the full path:
tar -zxvf /home/mnemonic/Desktop/filename.tar.gz
Also if your Linux has a GUI desktop environment and a GUI archive manager (such as file-roller for example) you can typically just double-click on it.