Skip to content

Instantly share code, notes, and snippets.

@hkaya

hkaya/cortex.sh Secret

Created September 11, 2019 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkaya/52008481b5669c8443b72f566277b731 to your computer and use it in GitHub Desktop.
Save hkaya/52008481b5669c8443b72f566277b731 to your computer and use it in GitHub Desktop.
#!/bin/bash
chown -R cortex.cortex /home/cortex
export HOME=/home/cortex
umount /dev/shm && mount -t tmpfs shm /dev/shm
su cortex -c 'matchbox-window-manager -use_titlebar no -use_cursor no &'
su cortex -c '/opt/cortex/player/CortexPlayer --start-fullscreen --window-size=7000,7000 --remote-debugging-port=9222 --allow-file-access-from-files --disable-web-security --disable-raf-throttling --in-process-gpu --ignore-certificate-errors'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment