system-tools: optional start mrxvt from kodi (#708)

system-tools: optional start mrxvt from kodi and bump version
This commit is contained in:
mglae 2016-09-09 03:33:47 +02:00 committed by Christian Hewitt
parent bcc05bae8f
commit 3c4749442f
3 changed files with 11 additions and 3 deletions

View File

@ -1,2 +1,7 @@
8.0.101
- mrxvt can be started from KODI
- correct mrxvt terminal type
- make hddtemp work
8.0.100
- Initial Release

View File

@ -18,7 +18,7 @@
PKG_NAME="system-tools"
PKG_VERSION=""
PKG_REV="100"
PKG_REV="101"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE=""

View File

@ -17,6 +17,9 @@
################################################################################
import xbmcgui
import subprocess
yes = xbmcgui.Dialog().yesno('', 'This is a console-only addon','','Open a terminal window?','No','Yes')
if yes:
subprocess.Popen(["systemd-run","sh","-c",". /etc/profile;exec mrxvt"], shell=False, close_fds=True)
dialog = xbmcgui.Dialog()
dialog.ok('', 'This is a console-only addon')