Use xfce-terminal instead of xterm
This commit is contained in:
parent
357d10f4af
commit
3059d6e0e7
|
@ -22,7 +22,7 @@ my @dirs = ("$ENV{HOME}/bin/hosts",
|
||||||
my $i = 0;
|
my $i = 0;
|
||||||
for (@desktop_files) {
|
for (@desktop_files) {
|
||||||
my $content = read_file($_);
|
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;
|
next unless defined $exec;
|
||||||
my $age = age($exec);
|
my $age = age($exec);
|
||||||
say $log join("\t", $^T, ++$i, $exec, $age);
|
say $log join("\t", $^T, ++$i, $exec, $age);
|
||||||
|
|
|
@ -42,7 +42,7 @@ for my $xterm_script (@xterm_scripts) {
|
||||||
content_fields => {
|
content_fields => {
|
||||||
Name=> $name,
|
Name=> $name,
|
||||||
Type=> 'Application',
|
Type=> 'Application',
|
||||||
Exec=> "xterm -e $name",
|
Exec=> "xfce4-terminal -e $xterm_script",
|
||||||
Terminal=> 'false',
|
Terminal=> 'false',
|
||||||
Icon=> icon_file($name),
|
Icon=> icon_file($name),
|
||||||
Path=> "$ENV{HOME}/tmp",
|
Path=> "$ENV{HOME}/tmp",
|
||||||
|
|
Loading…
Reference in New Issue