5,710
edits
Changes
Ubuntu
,→Installing SuperCollider
=Upstart to launch/respawn installationsoftware=
*create this in /etc/init/facegraft.conf:
<syntaxhighlight lang="bash">
respawn limit 10 90
</syntaxhighlight>
*start faceswapstarting and stopping the service. from the command line:
<syntaxhighlight lang="bash">
start faceswap
</syntaxhighlight>
stop faceswap
</syntaxhighlight>
<syntaxhighlight lang="bash">
./ls
#do some linux commands here
sudo reboot
</syntaxhighlight>
=Disable Screen Dimming=
<syntaxhighlight lang="bash">gsettings set org.gnome.desktop.session idle-delay 0</syntaxhighlight>
source: http://askubuntu.com/questions/430384/turn-screen-off-when-inactive-setting-from-terminal
=run ofApp on local screen=
<syntaxhighlight lang="bash">
export DISPLAY=:0
~/code/of...
command
</syntaxhighlight>
==v4l2-ctl==
===Installing===
===Using===
*set max zoom with c920:
*set max tele with c920:
*list all controllable settings:
==guvcview==
*comes installed.
*launch it:
*should give you full access to your camera controls.
#make a live ubuntu usb disk in os x. [http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx directions]
#IN OSX: attach your new portable drive, partition it as an OSX Extended Journaled drive.
#Reboot into the live ubuntu usb disk.#IN UBUNTU: start install. select "something else", create three partitions (boot, root, and swap), leaving existing EFI partition from OSX.
#Install Refind to first partition.
==Install rEFInd to partition of external drive==
*download refind flashdrive http://sourceforge.net/projects/refind/files/0.7.4/refind-flashdrive-0.7.4.zip/download
*use diskutil to find number for partition on your external:
**my EFI partition on external drive is /dev/disk2
*unmount:
*use dd to copy flash image to external partition:
=Using H2 with Ubuntu=
==Recording from H2==
==pocketsphinx-continuous with H2==
*
=Custom PC Build=
*install Ubuntu
*Boot to command line. Download CUDA from NVIDIA:
<syntaxhighlight lang="bash">wget http://developer.download.nvidia.com/compute/cuda/7_0/Prod/local_installers/rpmdeb/cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb</syntaxhighlight>
*Install CUDA, follow these instructions: http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#ubuntu-installation
*Add nomodeset to GRUB_LINUX_CMDLINE_DEFAULT: http://askubuntu.com/questions/38780/how-do-i-set-nomodeset-after-ive-already-installed-ubuntu/38782#38782
*Install netatalk and ssh:
<syntaxhighlight lang="bash">sudo apt-get install ssh netatalk</syntaxhighlight>
*Install glew.h, etc. This is easily accomplished through the openFrameworks install dependencies script (if you plan to use oF):
http://openframeworks.cc/setup/linux-codeblocks/
*Install menu-meters: http://blog.dcxn.com/2012/06/06/menu-meters-for-ubuntu/
==Alternate NVIDIA Install options==
*http://www.askmetutorials.com/2015/01/install-uninstall-nvidia-driver-34058.html
*http://askubuntu.com/questions/464354/update-nvidia-drivers-with-xorg-edgers-ppa
=netatalk file sharing with OS X=
*http://outcoldman.com/en/archive/2014/11/09/ubuntu-as-home-server-part-3-afp-server/
*had to install libevent-dev and libtdb-dev:
<syntaxhighlight lang="bash">
sudo apt-get install libevent-dev
sudo apt-get install libtdb-dev
</syntaxhighlight>
=copy ssh key to remote server=
<syntaxhighlight lang="bash">cat ~/.ssh/id_rsa.pub | ssh user@machine "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"</syntaxhighlight>
=Use aptitude to downgrade some packages=
for example installing libcurl4-openssl-dev:
http://askubuntu.com/questions/584901/grive-tools-depends-libcurl4-openssl-dev-but-it-is-not-going-to-be-installed
=Installing SuperCollider=
https://github.com/supercollider/supercollider/wiki/Installing-SuperCollider-on-Ubuntu-systems
*add user to audio group:
<syntaxhighlight lang="bash">sudo adduser rtwomey audio</syntaxhighlight>