Create a file named 'something.desktop' and add the following code.
If you are familiar with the commands on launching the 'something.desktop', it will list all the files in the home directory in a terminal.
And, make sure to make 'something.desktop' executable. Fro making any file executable the code is
chmod +x /path/to/your/something.desktop
Edit it with your own values
[Desktop Entry]
Type=Application
Name=IPT
GenericName=IPT
Comment=IPT Desktop icon developed by Mritunjay
Categories=Network;Security;
X-KeepTerminal=true
Icon=/usr/img/ip.png
Exec=gnome-terminal --tab --title="List files" --command="bash -c '/home; ls; $SHELL'"
NoDisplay=true
I have answered it on U&L also.
/bin/false
– steeldriver Mar 10 '15 at 3:01