diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-03-10 01:58:58 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-03-10 01:58:58 +0000 |
commit | f0ced9e4c8ba13f7d499695d57680fc191a94b1c (patch) | |
tree | d84aaabe76552aed27f8bd6484b5ce0e09c4f539 /xsh | |
parent | dd3f46b0432179b53d8e091c06765f657f3055bf (diff) |
xsh: Use x-terminal-emulator instead of rxvt (and leave - commented out - some experimental probing).
Diffstat (limited to 'xsh')
-rwxr-xr-x | xsh | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -16,13 +16,22 @@ function termwrapper () { # da_*) LANG=da;; # esac - if [ "x$PRG" != "x" ]; then -# if [ -z $PRG ]; then - rxvt +sb -sl 500 -n "$title" -title "$title" -e $PRG & +# case `readlink /etc/alternatives/x-terminal-emulator | xargs basename` in +# rxvt*) +# opts="+sb -sl 500 -n \"$title\" -title \"$title\"" +# ;; +# esac + + if [ -n "$PRG" ]; then +# rxvt +sb -sl 500 -n "$title" -title "$title" -e $PRG & # exec rxvt +sb -sl 500 -n "$title" -title "$title" -e $PRG + x-terminal-emulator +sb -sl 500 -n "$title" -title "$title" -e $PRG & +# x-terminal-emulator $opts -e $PRG & else - rxvt +sb -sl 500 -n "$title" -title "$title" & +# rxvt +sb -sl 500 -n "$title" -title "$title" & # exec rxvt +sb -sl 500 -n "$title" -title "$title" + x-terminal-emulator +sb -sl 500 -n "$title" -title "$title" & +# x-terminal-emulator $opts & fi } |