rhoconlinux
2/23/2016 - 2:52 PM

open-as-root-pantheon-files

open-as-root-pantheon-files

#!/bin/bash

#http://ubuntuhandbook.org/index.php/2015/02/open-as-root-elementary-os-freya/
#http://webdarek.tumblr.com/post/69092764284/elementary-os-in-order-to-create-open-terminal
cd /tmp/
sudo mkdir -p /usr/share/contractor/
wget https://gist.githubusercontent.com/rhoconlinux/477498d479252227db30/raw/554e8d7ff53e30af103d0596870b13cdcde1a637/open-terminal-here-pantheon.contract -O terminal.contract
wget https://gist.githubusercontent.com/rhoconlinux/c29f7b99b7b1ece0f4bf/raw/a8e8c148ecb672b3ed0e9fca5bfcbae816e8d29b/open-as-root-pantheon.contract -O openroot.contract 
sudo mv *.contract /usr/share/contractor/
cd