How to set a default MATE theme through SSH?How to config the Mate src in FreebsdHow to set Sublime Text as...

GPU chip implementation on CPU - will it be faster?

How should I face my manager if I make a mistake because a senior coworker explained something incorrectly to me?

Why do banks “park” their money at the European Central Bank?

Is gzip atomic?

Why are non-collision-resistant hash functions considered insecure for signing self-generated information

Was it ever possible to target a zone?

Does norwegian.no airline overbook flights?

How to respectfully refuse to assist co-workers with IT issues?

Why isn't "I've" a proper response?

How to gently end involvement with an online community?

Thank God it's Friday, tomorrow is THE weekend. Why the definite article?

How to determine car loan length as a function of how long I plan to keep a car

How do you harvest carrots in creative mode?

Is there any practical application for performing a double Fourier transform? ...or an inverse Fourier transform on a time-domain input?

How to find out the average duration of the peer-review process for a given journal?

Did anyone try to find the little box that held Professor Moriarty and his wife after the Enterprise D crashed?

I don't have the theoretical background in my PhD topic. I can't justify getting the degree

How do we calculate energy of food?

How much authority do teachers get from *In Loco Parentis*?

Algorithms vs LP or MIP

What is this symbol: semicircles facing each other?

Why would an IIS hosted site prompt for AD account credential if accessed through a hostname or IP, but not through servername?

How many US airports have 4 or more parallel runways?

How do I, an introvert, communicate to my friend and only colleague, an extrovert, that I want to spend my scheduled breaks without them?



How to set a default MATE theme through SSH?


How to config the Mate src in FreebsdHow to set Sublime Text as default text editor?How to set environment variables under MATE?How to set size of mate-panel via command line (not via dconf)?How to add more virtual desktops to fedora mate?figuring out which theme am I running under Debian-mate?Mate doesn't load environment variable when using menu launcher






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I am currently trying to create a Debian virtual machine using Packer.
Everything is mostly working, but I am stuck on a small problem :
I cannot seem to set a default theme and icon theme in my post-install.sh script.



The post-install script is launched through SSH and I think it is the problem.



The command to change the theme is



dconf write /org/mate/desktop/interface/gtk-theme "'Arc-Dark'"


It works if I type it manually in a terminal when the VM is finished and exported, but it is not what I want.



The only idea I got was



exec su - user (to connect as the user, as the post-install script is executed by root)


and then



dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Arc-Dark'"


But infortunately it did not work
If anyone has suggestions, that would be greatly appreciated. I feel like I am missing something very simple.



I am also willing to switch to another desktop environment if themes can be set through the command line easily.



Thank you.










share|improve this question







New contributor



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




























    0















    I am currently trying to create a Debian virtual machine using Packer.
    Everything is mostly working, but I am stuck on a small problem :
    I cannot seem to set a default theme and icon theme in my post-install.sh script.



    The post-install script is launched through SSH and I think it is the problem.



    The command to change the theme is



    dconf write /org/mate/desktop/interface/gtk-theme "'Arc-Dark'"


    It works if I type it manually in a terminal when the VM is finished and exported, but it is not what I want.



    The only idea I got was



    exec su - user (to connect as the user, as the post-install script is executed by root)


    and then



    dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Arc-Dark'"


    But infortunately it did not work
    If anyone has suggestions, that would be greatly appreciated. I feel like I am missing something very simple.



    I am also willing to switch to another desktop environment if themes can be set through the command line easily.



    Thank you.










    share|improve this question







    New contributor



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
























      0












      0








      0








      I am currently trying to create a Debian virtual machine using Packer.
      Everything is mostly working, but I am stuck on a small problem :
      I cannot seem to set a default theme and icon theme in my post-install.sh script.



      The post-install script is launched through SSH and I think it is the problem.



      The command to change the theme is



      dconf write /org/mate/desktop/interface/gtk-theme "'Arc-Dark'"


      It works if I type it manually in a terminal when the VM is finished and exported, but it is not what I want.



      The only idea I got was



      exec su - user (to connect as the user, as the post-install script is executed by root)


      and then



      dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Arc-Dark'"


      But infortunately it did not work
      If anyone has suggestions, that would be greatly appreciated. I feel like I am missing something very simple.



      I am also willing to switch to another desktop environment if themes can be set through the command line easily.



      Thank you.










      share|improve this question







      New contributor



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











      I am currently trying to create a Debian virtual machine using Packer.
      Everything is mostly working, but I am stuck on a small problem :
      I cannot seem to set a default theme and icon theme in my post-install.sh script.



      The post-install script is launched through SSH and I think it is the problem.



      The command to change the theme is



      dconf write /org/mate/desktop/interface/gtk-theme "'Arc-Dark'"


      It works if I type it manually in a terminal when the VM is finished and exported, but it is not what I want.



      The only idea I got was



      exec su - user (to connect as the user, as the post-install script is executed by root)


      and then



      dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Arc-Dark'"


      But infortunately it did not work
      If anyone has suggestions, that would be greatly appreciated. I feel like I am missing something very simple.



      I am also willing to switch to another desktop environment if themes can be set through the command line easily.



      Thank you.







      linux debian mate-desktop






      share|improve this question







      New contributor



      h_d_g 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



      h_d_g 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






      New contributor



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








      asked yesterday









      h_d_gh_d_g

      1




      1




      New contributor



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




      New contributor




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



























          0






          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          h_d_g 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%2f536828%2fhow-to-set-a-default-mate-theme-through-ssh%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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










          draft saved

          draft discarded


















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













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












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
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f536828%2fhow-to-set-a-default-mate-theme-through-ssh%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...