This question deals with Kali Linux.
I need to open a Chrome browser for a specific user such that for this user, the traffic from Chrome will go through a local HTTP(S) proxy.
Currently, I open the browser from a Python code that runs the command:
gksu -wu USERNAME google-chrome
I googled a lot, did not find how to do that, and tried without success many solutions for similar questions.
I consider to do one of the following two things, and will be glad to get help in how to do them:
Change something in the configurations of the system (e.g., making all the HTTP(S) traffic go through the proxy), such that running the abovementioned command will just work fine.
Running additional commands everytime I run the the command.
Doing something else.
Please don't offer me to use another browser; I know that in Firefox it is much more simple.