1 2 #!/bin/sh 3 4 ################################################# 5 # Simple zenity script to display a dialog from # 6 # which to choose the profile you want for a # 7 # GNOME terminal you want to run. # 8 # (C) 2007 - Antonio Ognio <gnrfan@gnrfan.org> # 9 # License: GPL # 10 ################################################# 11 12 PROFILES=`gconftool-2 --all-dirs /apps/gnome-terminal/profiles` 13 LIST="" 14 for p in $PROFILES; do 15 p=`basename $p` 16 LIST="$LIST FALSE $p " 17 done 18 choosen=`zenity --title "GNOME Terminal" --window-icon /usr/share/icons/gnome/scalable/apps/gnome-terminal.svg --text "Choose one from available profiles:" --list --radiolist --column "" --column "Profiles" $LIST` 19 gnome-terminal --window-with-profile=$choosen & 20
You need to create an account or log in to post comments to this site.