Hi,
Yesterday I read in DistroWatch this QA about a software called "CDE" ( Code, Data and Environment) and found it very interesting:
http://distrowatch.com/weekly.php?issue=20140915#qa
this peace of software can do the execution of some encapsulated software from a Linux distribution into another different Linux distribution.
I have made the next prove within TC and works!
I work now with ub-dCore-trusty. In this TC I can't found a version of xonclock in the form of xonclock.sce, but I found a desktop clock called Buici (it looks a little primitive, not like xonclock).
I boot my TC4.7 with xonclock in the desktop, then I run:
$ cde xonclock
it creates a subdirectory called /cde-package
Then I boot my ub-dCore-trusty and go to this subdirectory and execute the newly created file xonclock.cde
tc@ubt-dC5x-ordjd$ cd /mnt/sda4/cde-package
tc@ubt-dC5x-ordjd:/mnt/sda4/cde-package$./xonclock.cde
and in the desktop appears a nice xonclock.
Next I was going to /tmp and created a /package subdirectory,in this a /opt subdirectory and copied /cde-package into it, renamed this /cde-package to /xonclock-cde and executed in /tmp:
tc@ubt-dC5x-ordjd:/tmp$ mksquashfs package xonclock-cde.sce
copied this .sce to /mnt/sda1/ubdc5/sce/
put in sceboot.lst this xonclock-cde.sce, created in /home/tc/.X.d a xonclock file with "/opt/xonclock-cde/xonclock.cde &" in it and finally reboot.
Now I got the xonclock in my desktop in ub-dCore-trusty! (coming from my TC4.7!)
Have a look into this peace of software!