[Sugar-devel] Activating/Deactivating Fonts
Yash Agarwal
agrwal.ysh94 at gmail.com
Wed Jun 22 17:05:46 EDT 2016
Hello,
the following is regarding this issue
https://github.com/sugarlabs/edit-fonts-activity/issues/43
I can use the following to install a .ttf or .otf file in sugar but I
require root access for it
mv path/to/font/file /usr/share/fonts
fc-cache -f -v
I can use subprocess module to run the commands through my activity but how
do I provide it root access or is there another way to do this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160622/b6ba5a9a/attachment.html>
More information about the Sugar-devel
mailing list