XFCE Gui-based automatic proxy not woring

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm trying to figure out a way to set proxy for a particular wireless network connection that doesn't involve rebooting the machine or logging in and out.



Gnome has a feature that allows system-wide manual proxy configuration that fit the criteria well*. XFCE, only have an automatic proxy setting, probably involving PAC files, so I'm trying to get that to work, here's how I do it:



Screenshot



PAC URL = "file:///etc/itbproxy.pac"



itbproxy.pac is as following:



function FindProxyForUrl(url, host)
return "PROXY some.proxy.site:8080; DIRECT";



Thing is, no resource points the correct usage of the said feature, no manuals, no tutorials or how-tos (I might have missed it). Everything on google involves editing environment variables, which is kind of cumbersome. The try on the screenshot fails. All connection went directly (it still connects when I edit the script to a nonexistent proxy server and removed the DIRECT fallback). Question is:



  1. How to properly use the fields? Have I did it right, or is there something I miss?

  2. Since I'm just going to need something that "just works", any input about alternatives fitting the said criteria (no reboot or relogin) is also appreciated.

Thanks!



*nb: just in case it is relevant, the distro is kali-linux










share|improve this question









New contributor




Ganthet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    0
    down vote

    favorite












    I'm trying to figure out a way to set proxy for a particular wireless network connection that doesn't involve rebooting the machine or logging in and out.



    Gnome has a feature that allows system-wide manual proxy configuration that fit the criteria well*. XFCE, only have an automatic proxy setting, probably involving PAC files, so I'm trying to get that to work, here's how I do it:



    Screenshot



    PAC URL = "file:///etc/itbproxy.pac"



    itbproxy.pac is as following:



    function FindProxyForUrl(url, host)
    return "PROXY some.proxy.site:8080; DIRECT";



    Thing is, no resource points the correct usage of the said feature, no manuals, no tutorials or how-tos (I might have missed it). Everything on google involves editing environment variables, which is kind of cumbersome. The try on the screenshot fails. All connection went directly (it still connects when I edit the script to a nonexistent proxy server and removed the DIRECT fallback). Question is:



    1. How to properly use the fields? Have I did it right, or is there something I miss?

    2. Since I'm just going to need something that "just works", any input about alternatives fitting the said criteria (no reboot or relogin) is also appreciated.

    Thanks!



    *nb: just in case it is relevant, the distro is kali-linux










    share|improve this question









    New contributor




    Ganthet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to figure out a way to set proxy for a particular wireless network connection that doesn't involve rebooting the machine or logging in and out.



      Gnome has a feature that allows system-wide manual proxy configuration that fit the criteria well*. XFCE, only have an automatic proxy setting, probably involving PAC files, so I'm trying to get that to work, here's how I do it:



      Screenshot



      PAC URL = "file:///etc/itbproxy.pac"



      itbproxy.pac is as following:



      function FindProxyForUrl(url, host)
      return "PROXY some.proxy.site:8080; DIRECT";



      Thing is, no resource points the correct usage of the said feature, no manuals, no tutorials or how-tos (I might have missed it). Everything on google involves editing environment variables, which is kind of cumbersome. The try on the screenshot fails. All connection went directly (it still connects when I edit the script to a nonexistent proxy server and removed the DIRECT fallback). Question is:



      1. How to properly use the fields? Have I did it right, or is there something I miss?

      2. Since I'm just going to need something that "just works", any input about alternatives fitting the said criteria (no reboot or relogin) is also appreciated.

      Thanks!



      *nb: just in case it is relevant, the distro is kali-linux










      share|improve this question









      New contributor




      Ganthet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm trying to figure out a way to set proxy for a particular wireless network connection that doesn't involve rebooting the machine or logging in and out.



      Gnome has a feature that allows system-wide manual proxy configuration that fit the criteria well*. XFCE, only have an automatic proxy setting, probably involving PAC files, so I'm trying to get that to work, here's how I do it:



      Screenshot



      PAC URL = "file:///etc/itbproxy.pac"



      itbproxy.pac is as following:



      function FindProxyForUrl(url, host)
      return "PROXY some.proxy.site:8080; DIRECT";



      Thing is, no resource points the correct usage of the said feature, no manuals, no tutorials or how-tos (I might have missed it). Everything on google involves editing environment variables, which is kind of cumbersome. The try on the screenshot fails. All connection went directly (it still connects when I edit the script to a nonexistent proxy server and removed the DIRECT fallback). Question is:



      1. How to properly use the fields? Have I did it right, or is there something I miss?

      2. Since I'm just going to need something that "just works", any input about alternatives fitting the said criteria (no reboot or relogin) is also appreciated.

      Thanks!



      *nb: just in case it is relevant, the distro is kali-linux







      gnome xfce proxy






      share|improve this question









      New contributor




      Ganthet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Ganthet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 11 mins ago





















      New contributor




      Ganthet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 17 mins ago









      Ganthet

      12




      12




      New contributor




      Ganthet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Ganthet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Ganthet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Ganthet is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478126%2fxfce-gui-based-automatic-proxy-not-woring%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Ganthet is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          Ganthet is a new contributor. Be nice, and check out our Code of Conduct.












          Ganthet is a new contributor. Be nice, and check out our Code of Conduct.











          Ganthet is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478126%2fxfce-gui-based-automatic-proxy-not-woring%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)