Skip to content

Instantly share code, notes, and snippets.

@hkaya

hkaya/cortex.sh Secret

Created Sep 11, 2019
Embed
What would you like to do?
#!/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