Skip to content

Instantly share code, notes, and snippets.

View elisiano's full-sized avatar

Elisiano Petrini elisiano

  • Senior Cloud Engineer
  • New Rochelle, NY
View GitHub Profile
### Keybase proof
I hereby claim:
* I am elisiano on github.
* I am elisiano (https://keybase.io/elisiano) on keybase.
* I have a public key whose fingerprint is DD19 5001 E23B 1408 C3B2 EB75 6190 3463 6885 8EEE
To claim this, I am signing this object:
@elisiano
elisiano / ubuntu-plex-xsession.desktop
Created August 26, 2013 12:24
Plex session (to be chosen at X11 login)
[Desktop Entry]
Name=Plex Home Theater
Comment=This session will start Plex Media Center
Exec=plex-standalone.sh
TryExec=plex-standalone.sh
Type=Application
@elisiano
elisiano / ubuntu-plex-standalone.sh
Created August 26, 2013 12:21
Plex standalone script (modified from xbmc-standalone)
#!/bin/sh
export XBMC_HOME=/opt/plexhometheater/share/XBMC
XBMC="/opt/plexhometheater/bin/plexhometheater --standalone"
LOOP=1
CRASHCOUNT=0
LASTSUCCESSFULSTART=$(date +%s)
while [ $(( $LOOP )) = "1" ]
@elisiano
elisiano / ubuntu-install-plex
Last active December 21, 2015 17:29
This gist will install Plex on ubuntu and will also create the necessary xsession
sudo apt-add-repository -y ppa:plexapp/plexht
sudo apt-add-repository -y ppa:pulse-eight/libcec
sudo apt-add-repository -y ppa:jon-severinsson/ffmpeg
sudo apt-get update && sudo apt-get -y dist-upgrade
sudo apt-get install -y plexhometheater
sudo wget -O /usr/local/bin/plex-standalone.sh https://gist.github.com/elisiano/6340872/raw
sudo wget -O /usr/share/xsessions/Plex.desktop https://gist.github.com/elisiano/6340889/raw