Unable to change theme using terminal but can do via Tweaks

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











up vote
3
down vote

favorite
1












I did



gsettings set org.gnome.desktop.wm.preferences theme Adwaita


but nothing happens, except that when I do



gsettings get org.gnome.desktop.wm.preferences theme


I do get Adwaita (But the theme doesn't change).



But in GNOME Tweaks I am able to change it manually.



I would like to do it via terminal so that I can change it with Cron. Any suggestions on what I did wrong?










share|improve this question



























    up vote
    3
    down vote

    favorite
    1












    I did



    gsettings set org.gnome.desktop.wm.preferences theme Adwaita


    but nothing happens, except that when I do



    gsettings get org.gnome.desktop.wm.preferences theme


    I do get Adwaita (But the theme doesn't change).



    But in GNOME Tweaks I am able to change it manually.



    I would like to do it via terminal so that I can change it with Cron. Any suggestions on what I did wrong?










    share|improve this question

























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      I did



      gsettings set org.gnome.desktop.wm.preferences theme Adwaita


      but nothing happens, except that when I do



      gsettings get org.gnome.desktop.wm.preferences theme


      I do get Adwaita (But the theme doesn't change).



      But in GNOME Tweaks I am able to change it manually.



      I would like to do it via terminal so that I can change it with Cron. Any suggestions on what I did wrong?










      share|improve this question















      I did



      gsettings set org.gnome.desktop.wm.preferences theme Adwaita


      but nothing happens, except that when I do



      gsettings get org.gnome.desktop.wm.preferences theme


      I do get Adwaita (But the theme doesn't change).



      But in GNOME Tweaks I am able to change it manually.



      I would like to do it via terminal so that I can change it with Cron. Any suggestions on what I did wrong?







      18.04 themes cron gtk3 gsettings






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 9 at 16:51









      pomsky

      22.8k77198




      22.8k77198










      asked Sep 9 at 16:17









      Nikhil

      1227




      1227




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          4
          down vote



          accepted










          That key is no longer used in GNOME, window decorations are now dictated by the GTK+ theme.



          To check the current theme, run



          gsettings get org.gnome.desktop.interface gtk-theme


          You can use set to load your preferred theme.






          share|improve this answer




















          • Thanks for the answer. Could you please tell me where can I find all these key details?
            – Nikhil
            Sep 9 at 16:52







          • 1




            @Nikhil Try using the GUI application "dconf Editor" to browse and search for keys.
            – pomsky
            Sep 9 at 16:53










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1073690%2funable-to-change-theme-using-terminal-but-can-do-via-tweaks%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          4
          down vote



          accepted










          That key is no longer used in GNOME, window decorations are now dictated by the GTK+ theme.



          To check the current theme, run



          gsettings get org.gnome.desktop.interface gtk-theme


          You can use set to load your preferred theme.






          share|improve this answer




















          • Thanks for the answer. Could you please tell me where can I find all these key details?
            – Nikhil
            Sep 9 at 16:52







          • 1




            @Nikhil Try using the GUI application "dconf Editor" to browse and search for keys.
            – pomsky
            Sep 9 at 16:53














          up vote
          4
          down vote



          accepted










          That key is no longer used in GNOME, window decorations are now dictated by the GTK+ theme.



          To check the current theme, run



          gsettings get org.gnome.desktop.interface gtk-theme


          You can use set to load your preferred theme.






          share|improve this answer




















          • Thanks for the answer. Could you please tell me where can I find all these key details?
            – Nikhil
            Sep 9 at 16:52







          • 1




            @Nikhil Try using the GUI application "dconf Editor" to browse and search for keys.
            – pomsky
            Sep 9 at 16:53












          up vote
          4
          down vote



          accepted







          up vote
          4
          down vote



          accepted






          That key is no longer used in GNOME, window decorations are now dictated by the GTK+ theme.



          To check the current theme, run



          gsettings get org.gnome.desktop.interface gtk-theme


          You can use set to load your preferred theme.






          share|improve this answer












          That key is no longer used in GNOME, window decorations are now dictated by the GTK+ theme.



          To check the current theme, run



          gsettings get org.gnome.desktop.interface gtk-theme


          You can use set to load your preferred theme.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 9 at 16:50









          pomsky

          22.8k77198




          22.8k77198











          • Thanks for the answer. Could you please tell me where can I find all these key details?
            – Nikhil
            Sep 9 at 16:52







          • 1




            @Nikhil Try using the GUI application "dconf Editor" to browse and search for keys.
            – pomsky
            Sep 9 at 16:53
















          • Thanks for the answer. Could you please tell me where can I find all these key details?
            – Nikhil
            Sep 9 at 16:52







          • 1




            @Nikhil Try using the GUI application "dconf Editor" to browse and search for keys.
            – pomsky
            Sep 9 at 16:53















          Thanks for the answer. Could you please tell me where can I find all these key details?
          – Nikhil
          Sep 9 at 16:52





          Thanks for the answer. Could you please tell me where can I find all these key details?
          – Nikhil
          Sep 9 at 16:52





          1




          1




          @Nikhil Try using the GUI application "dconf Editor" to browse and search for keys.
          – pomsky
          Sep 9 at 16:53




          @Nikhil Try using the GUI application "dconf Editor" to browse and search for keys.
          – pomsky
          Sep 9 at 16:53

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1073690%2funable-to-change-theme-using-terminal-but-can-do-via-tweaks%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What does second last employer means? [closed]

          List of Gilmore Girls characters

          One-line joke