From 3059d6e0e7a790fd2902b083e82f60f5c2d6b4c4 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sun, 16 Oct 2022 09:10:55 +0200 Subject: [PATCH] Use xfce-terminal instead of xterm --- xfce-xterm-launcher-log-age | 2 +- xfce-xterm-launcher-update | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xfce-xterm-launcher-log-age b/xfce-xterm-launcher-log-age index 4b04980..0a06ba2 100755 --- a/xfce-xterm-launcher-log-age +++ b/xfce-xterm-launcher-log-age @@ -22,7 +22,7 @@ my @dirs = ("$ENV{HOME}/bin/hosts", my $i = 0; for (@desktop_files) { my $content = read_file($_); - my ($exec) = $content =~ m/^Exec=xterm -e (.*)/m; + my ($exec) = $content =~ m/^Exec=(?:xterm|xfce4-terminal) -e (.*)/m; next unless defined $exec; my $age = age($exec); say $log join("\t", $^T, ++$i, $exec, $age); diff --git a/xfce-xterm-launcher-update b/xfce-xterm-launcher-update index 704b733..84c4207 100755 --- a/xfce-xterm-launcher-update +++ b/xfce-xterm-launcher-update @@ -42,7 +42,7 @@ for my $xterm_script (@xterm_scripts) { content_fields => { Name=> $name, Type=> 'Application', - Exec=> "xterm -e $name", + Exec=> "xfce4-terminal -e $xterm_script", Terminal=> 'false', Icon=> icon_file($name), Path=> "$ENV{HOME}/tmp",