modify fix xmtr cannot start in Xface4 environment

This commit is contained in:
xingwei 2022-10-24 02:25:17 +00:00
parent 952ca15b9e
commit 798f840aec
3 changed files with 9 additions and 3 deletions

View File

@ -7,4 +7,4 @@ if [ "$XDG_SESSION_TYPE" = wayland ]; then
exit 1
fi
/usr/bin/pkexec /usr/bin/xmtr.bin
/usr/bin/pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/bin/xmtr.bin

View File

@ -2,7 +2,7 @@
Name: mtr
Version: 0.95
Release: 1
Release: 2
Epoch: 2
Summary: Ping and Traceroute Network Diagnostic Tool
License: GPLv2 and BSD
@ -89,6 +89,12 @@ make test
%{_mandir}/man8/*
%changelog
* Mon Oct 24 2022 xingwei <xingwei14@h-partners.com> - 2:0.95-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:modify fix xmtr cannot start in Xface4 environment
* Tue Jun 28 2022 YukariChiba <i@0x7f.cc> - 2:0.95-1
- Upgrade version to 0.95

View File

@ -3,7 +3,7 @@ Name=Traceroute
Type=Application
Comment=Traces packets between two network hosts
Exec=xmtr
Terminal=true
Terminal=false
Icon=mtr_icon.xpm
Encoding=UTF-8
X-Desktop-File-Install-Version=0.2