hi! thanks for the reply, but the problem if I didnt use the gnome-terminal is that i could never run my program inside a launcher. i could use the "run in terminal" mode. but i cannot use that because the program that i am using it (a very big program) cannot be run using "run in terminal" mode. so for my mount to work, i should be able to launch it without the terminal.
your codes works fine if typed in a terminal. but it doesnt mount if there are no terminal. i thinks the sudo has something to do with it. but im not really sure.