'Gradient Tool (G)' Linear Shape (Mode) - How to start from mouse cursor?

Perhaps the freehand selection tool will be helpful when using the gradient tool.

Also, perhaps gradient brushes would be more useful? See this post: NEW video. Gradient Brushes in Krita 5