diff demo/workspace/semantic_analysis.sh @ 6:7abb4f6b3a91

changed chrome to run as non-root, changed libreoffice-calc to libreoffice
author Emmanouil Theofanis Chourdakis <e.t.chourdakis@qmul.ac.uk>
date Sat, 01 Dec 2018 12:57:26 +0000
parents d0ac6786c3b9
children c7877910daab
line wrap: on
line diff
--- a/demo/workspace/semantic_analysis.sh	Sat Dec 01 12:46:25 2018 +0000
+++ b/demo/workspace/semantic_analysis.sh	Sat Dec 01 12:57:26 2018 +0000
@@ -29,7 +29,7 @@
 
 echo "Please visit http://0.0.0.0:8001/index.xhtml#/workspace/story_processed"
 echo "login with user:au1/pass:au1 and make your changes, and then press enter here"
-google-chrome --no-sandbox 'http://0.0.0.0:8001/index.xhtml#/workspace/story_processed'
+su apps -c "google-chrome  'http://0.0.0.0:8001/index.xhtml#/workspace/story_processed'"
 cd -
 read
 kill $PID
@@ -43,8 +43,8 @@
 python3 annotation2script.py workspace/story_processed.ann workspace/story_quotes.json
 echo "Please edit the transcript .xls file if necessary. If you want to replace the voices, just record your voice and store them"
 echo "using the filenames under column 'filename' in transcript.xls. Do the same for sfx.xls. Press enter here when you're done"
-libreoffice-calc workspace/transcript.xls
-libreoffice-calc workspace/sfx.xls
+libreoffice workspace/transcript.xls
+libreoffice workspace/sfx.xls
 cd -
 read