Use xfce-terminal instead of xterm

This commit is contained in:
Peter J. Holzer 2022-10-16 09:10:55 +02:00
parent 357d10f4af
commit 3059d6e0e7
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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",