fix xmtr cannot start in Xface4 environment
(cherry picked from commit 915a6f12e4280f5306d84f71c36f933421441c84)
This commit is contained in:
parent
9c61c96687
commit
77a252abdf
@ -7,4 +7,4 @@ if [ "$XDG_SESSION_TYPE" = wayland ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/usr/bin/pkexec /usr/bin/xmtr.bin
|
/usr/bin/pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/bin/xmtr.bin
|
||||||
|
|||||||
6
mtr.spec
6
mtr.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: mtr
|
Name: mtr
|
||||||
Version: 0.94
|
Version: 0.94
|
||||||
Release: 4
|
Release: 5
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Summary: Ping and Traceroute Network Diagnostic Tool
|
Summary: Ping and Traceroute Network Diagnostic Tool
|
||||||
License: GPLv2 and BSD
|
License: GPLv2 and BSD
|
||||||
@ -90,6 +90,10 @@ make test
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 18 2022 liyunqing <liyunqing@kylinos.cn> - 2:0.94-5
|
||||||
|
- modify mtr-gtk-pkexec-wrapper.sh and net-xmtr.desktop
|
||||||
|
to fix xmtr cannot start in Xface4 environment
|
||||||
|
|
||||||
* Sat Jun 25 2022 gaihuiying <eaglegai@163.com> - 2:0.94-4
|
* Sat Jun 25 2022 gaihuiying <eaglegai@163.com> - 2:0.94-4
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
@ -3,7 +3,7 @@ Name=Traceroute
|
|||||||
Type=Application
|
Type=Application
|
||||||
Comment=Traces packets between two network hosts
|
Comment=Traces packets between two network hosts
|
||||||
Exec=xmtr
|
Exec=xmtr
|
||||||
Terminal=true
|
Terminal=false
|
||||||
Icon=mtr_icon.xpm
|
Icon=mtr_icon.xpm
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
X-Desktop-File-Install-Version=0.2
|
X-Desktop-File-Install-Version=0.2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user