原文链接
在vpnui目录下创建如下脚本
ok@ok-PC:/opt/cisco/anyconnect/bin$ cat vpnui_starter.sh #!/bin/bash pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /opt/cisco/anyconnect/bin/vpnui
在/usr/share/applications下修改desktop文件
ok@ok-PC:/usr/share/applications$ cat com.cisco.anyconnect.gui.desktop [Desktop Entry] Type=Application Name=Cisco Anyconnect Secure Mobility Client Comment=Connect to a private network using the Cisco Anyconnect Secure Mobility Client Exec=sh /opt/cisco/anyconnect/bin/vpnui_starter.sh Icon=cisco-anyconnect Terminal=false Encoding=UTF-8 StartupNotify=true
Popular Ranking
Popular Events
原文链接
在vpnui目录下创建如下脚本
在/usr/share/applications下修改desktop文件