def start(self): if not self.commandserver: size_w = getDesktop(0).size().width() size_h = getDesktop(0).size().height() self.commandserver = datasocket.CommandServer() datasocket.onCommandReceived.append(self.onCommandReceived) datasocket.onBrowserClosed.append(self.onBrowserClosed) container = eConsoleAppContainer() shellFile = "export QT_QPA_FONTDIR=/usr/share/fonts QT_QPA_PLATFORM=linuxfb; /usr/bin/stalker " + self.url container.execute(shellFile)
def start(self, url): if not self.commandserver: size_w = getDesktop(0).size().width() size_h = getDesktop(0).size().height() self.commandserver = datasocket.CommandServer() datasocket.onCommandReceived.append(self.onCommandReceived) datasocket.onBrowserClosed.append(self.onBrowserClosed) container = eConsoleAppContainer() container.execute( "export QT_QPA_PLATFORM=linuxfb; /usr/bin/qthbbtv") self.sendUrl(url)
def start(self): if not self.commandserver: size_w = getDesktop(0).size().width() size_h = getDesktop(0).size().height() self.commandserver = datasocket.CommandServer() datasocket.onCommandReceived.append(self.onCommandReceived) datasocket.onBrowserClosed.append(self.onBrowserClosed) container = eConsoleAppContainer() if config.plugins.Stalker.boxkey.value == True: container.execute("export QT_QPA_FONTDIR=/usr/share/fonts QT_QPA_PLATFORM=linuxfb:fb=/dev/fb/0; /usr/bin/stalker-mac") else: container.execute("export QT_QPA_FONTDIR=/usr/share/fonts QT_QPA_PLATFORM=linuxfb:fb=/dev/fb/0; /usr/bin/stalker")