diff options
-rw-r--r-- | Makefile | 3 | ||||
-rwxr-xr-x | gnome-root-terminal/gnome-root-terminal | 2 | ||||
-rw-r--r-- | gnome-root-terminal/gnome-root-terminal.desktop | 6 |
3 files changed, 11 insertions, 0 deletions
@@ -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 |