fix xmtr cannot start in xface4 environment
This commit is contained in:
parent
a782f4f0fe
commit
d41e424ce4
@ -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
|
||||
|
||||
5
mtr.spec
5
mtr.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: mtr
|
||||
Version: 0.93
|
||||
Release: 2
|
||||
Release: 3
|
||||
Epoch: 2
|
||||
Summary: Ping and Traceroute Network Diagnostic Tool
|
||||
License: GPLv2 and BSD
|
||||
@ -68,6 +68,9 @@ make test
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 18 2022 liyunqing <liyunqing@kylinos.cn> - 2:0.93-3
|
||||
- modify fix xmtr cannot start in Xface4 environment
|
||||
|
||||
* Fri May 28 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 2:0.93-2
|
||||
- modify net-xmtr.desktop file for Xfce4 Traceroute
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user