[Sugar-devel] Activating/Deactivating Fonts

Dave Crossland dave at lab6.com
Wed Jun 22 18:55:13 EDT 2016


Use ~/.fonts instead
On Jun 22, 2016 5:06 PM, "Yash Agarwal" <agrwal.ysh94 at gmail.com> wrote:

> 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?
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160622/f9d4c6cb/attachment-0001.html>


More information about the Sugar-devel mailing list