Skip to content

Instantly share code, notes, and snippets.

@rhoconlinux
Last active March 7, 2016 11:52
Show Gist options
  • Select an option

  • Save rhoconlinux/347dc08265c081b47f47 to your computer and use it in GitHub Desktop.

Select an option

Save rhoconlinux/347dc08265c081b47f47 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment