summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-07-09 19:25:12 -0400
committerColin Walters <walters@verbum.org>2010-07-09 19:25:12 -0400
commit8c97f8be438102a209d5d901a2d106b5c4d9303d (patch)
treecc6489d6a33b9717879b201045a17d752f59b654
parentb054db49650d11783ef02e97f136ce0e0f0c8da1 (diff)
downloadhomegit-MOVED-TO-GNOME-8c97f8be438102a209d5d901a2d106b5c4d9303d.tar.gz
homegit-MOVED-TO-GNOME-8c97f8be438102a209d5d901a2d106b5c4d9303d.tar.xz
homegit-MOVED-TO-GNOME-8c97f8be438102a209d5d901a2d106b5c4d9303d.zip
Add gnome-root-terminal
-rw-r--r--Makefile3
-rwxr-xr-xgnome-root-terminal/gnome-root-terminal2
-rw-r--r--gnome-root-terminal/gnome-root-terminal.desktop6
3 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 913468b..c06c72b 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,9 @@ install-bin:
bn=$$(basename $$f); \
ln -sf $$(pwd)/bin/$$bn ~/bin; \
done
+ ln -sf $$(pwd)/gnome-root-terminal/gnome-root-terminal ~/bin/
+ mkdir -p ~/.local/share/applications 2>/dev/null || true
+ ln -sf $$(pwd)/gnome-root-terminal/gnome-root-terminal.desktop ~/.local/share/applications
install-dotfiles:
@for f in dotfiles/*; do \
diff --git a/gnome-root-terminal/gnome-root-terminal b/gnome-root-terminal/gnome-root-terminal
new file mode 100755
index 0000000..998968e
--- /dev/null
+++ b/gnome-root-terminal/gnome-root-terminal
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec gnome-terminal --hide-menubar --disable-factory --name=gnome-terminal-root --class=gnome-terminal-root --title="Root Terminal" --profile=Root -e "sudo su -"
diff --git a/gnome-root-terminal/gnome-root-terminal.desktop b/gnome-root-terminal/gnome-root-terminal.desktop
new file mode 100644
index 0000000..366d528
--- /dev/null
+++ b/gnome-root-terminal/gnome-root-terminal.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Application
+Name=Root Terminal
+Exec=gnome-root-terminal
+Icon=system-config-rootpassword
+StartupNotify=true