diff -ur vrml/inst/vrml_browse.m vrml-new/inst/vrml_browse.m
--- vrml/inst/vrml_browse.m	2012-04-16 10:01:20 +0100
+++ vrml-new/inst/vrml_browse.m	2012-06-19 14:46:09 +0100
@@ -96,7 +96,7 @@
 b_opt = [out_option," ",bop," ",best_option, " ",geo_option] ;
 
 
-b_temp = "/tmp/octave_vrml_output.wrl" ;
+b_temp = fullfile (getenv ("TMP"), "octave_vrml_output.wrl");
 b_log  = " &> /tmp/octave_vrml_browser.log";
 
 new_browser = 0 ;
@@ -123,7 +123,7 @@
 
 				# ####################################
 				# Check that temp file exists ########
-[status, dum] = system (["test -e ",b_temp]);
+status = exist (b_temp, "file");
 if !length (s)
 
   if verbose
