Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 452656 | Differences between
and this patch

Collapse All | Expand All

(-)screenlets/src/lib/__init__.py (-1 / +1 lines)
Lines 2350-2356 Link Here
2350
			out = '$HOME/.config/Screenlets/%sScreenlet.log' % name
2350
			out = '$HOME/.config/Screenlets/%sScreenlet.log' % name
2351
		else:
2351
		else:
2352
			out = '/dev/null'
2352
			out = '/dev/null'
2353
		os.system('python -u %s > %s &' % (slfile, out))
2353
		os.system('python2 -u %s > %s &' % (slfile, out))
2354
		return True
2354
		return True
2355
	else:
2355
	else:
2356
		print "Screenlet '%s' could not be launched." % name
2356
		print "Screenlet '%s' could not be launched." % name
(-)screenlets/src/lib/session.py (-1 / +1 lines)
Lines 100-106 Link Here
100
	
100
	
101
		procs = proc.split('\n')
101
		procs = proc.split('\n')
102
		if len(procs) <= 1:
102
		if len(procs) <= 1:
103
			os.system('python -u ' + screenlets.INSTALL_PREFIX + '/share/screenlets-manager/screenlets-daemon.py &')
103
			os.system('python2 -u ' + screenlets.INSTALL_PREFIX + '/share/screenlets-manager/screenlets-daemon.py &')
104
			print 'No Daemon, Launching Daemon'
104
			print 'No Daemon, Launching Daemon'
105
		self.connect_daemon()
105
		self.connect_daemon()
106
	
106
	
(-)screenlets/src/lib/utils.py (-1 / +1 lines)
Lines 125-131 Link Here
125
			code.append('Encoding=UTF-8')
125
			code.append('Encoding=UTF-8')
126
			code.append('Version=1.0')
126
			code.append('Version=1.0')
127
			code.append('Type=Application')
127
			code.append('Type=Application')
128
			code.append('Exec= python -u %s/%sScreenlet.py' % (path, name))
128
			code.append('Exec= python2 -u %s/%sScreenlet.py' % (path, name))
129
			code.append('X-GNOME-Autostart-enabled=true')
129
			code.append('X-GNOME-Autostart-enabled=true')
130
			#print code
130
			#print code
131
			f = open(starter, 'w')
131
			f = open(starter, 'w')
(-)screenlets/src/share/screenlets-manager/screenlets-manager.py (-1 / +1 lines)
Lines 863-869 Link Here
863
				elif os.path.exists('%s/icon.png' % path):
863
				elif os.path.exists('%s/icon.png' % path):
864
					code.append('Icon=%s/icon.png' % path)
864
					code.append('Icon=%s/icon.png' % path)
865
				code.append('Type=Application')
865
				code.append('Type=Application')
866
				code.append('Exec= python -u %s/%sScreenlet.py' % (path, name))
866
				code.append('Exec= python2 -u %s/%sScreenlet.py' % (path, name))
867
				code.append('X-GNOME-Autostart-enabled=true')
867
				code.append('X-GNOME-Autostart-enabled=true')
868
				#print code
868
				#print code
869
				f = open(starter, 'w')
869
				f = open(starter, 'w')

Return to bug 452656