I wrote something to that effect here. https://trisquel.info/en/forum/open-gui-command-line#comment-95254
Check if it applies to your situation.
I wrote something to that effect here. https://trisquel.info/en/forum/open-gui-command-line#comment-95254
Check if it applies to your situation.