Log In  


Recently I learned how to add my own widgets to the tooltray, but I'd also like to remove the default widgets (eyes and clock) to further customize my desktop. Is there a way to do it?



1

Widgets are stored in /system/tooltray. If you delete eyes or clock from there, they would theoretically disappear if you reboot picotron, but system will also regenerate upon reboot. You can localize your system to make permanent changes to it, easily done with localsys (load #localsys and follow its instructions).


2

Hi @Lobo

There will be an easier way in the future, but for now another way is to kill those processes by adding the following snippet to /appdata/system/startup.lua:

local p = fetch"/ram/system/processes.pod"
for i=1,#p do
	if (p[i].name == "eyes" or p[i].name == "clock") then
		send_message(2, {event="kill_process", proc_id=p[i].id})
	end
end

@ooooggll's localsys method will work well too, and opens up other types of customisation, but makes updating slightly more complicated. I haven't yet solved the general problem of how to allow detailed customisation AND allow easy updating without ending up with two versions that need to be merged!


Nice! Thanks for the answers <3



[Please log in to post a comment]