There is a product called Fray Check that can be found at fabric stores. You may be able to run a line of CA glue depending how the linen absorbs the glue.
Good luck with the project!