KWin: Toggle grayscale KDE destop effect with scriptHow can I get a grayscale effect in Kubuntu 18.04 using...

10 year ban after applying for a UK student visa

Emojional cryptic crossword

What are the rules for concealing thieves' tools (or items in general)?

How do you justify more code being written by following clean code practices?

Error in master's thesis, I do not know what to do

Do I need to convey a moral for each of my blog post?

Pre-Employment Background Check With Consent For Future Checks

When did hardware antialiasing start being available?

Should a narrator ever describe things based on a characters view instead of fact?

Air travel with refrigerated insulin

The English Debate

is this saw blade faulty?

Are hand made posters acceptable in Academia?

Would mining huge amounts of resources on the Moon change its orbit?

Determine voltage drop over 10G resistors with cheap multimeter

Why is participating in the European Parliamentary elections used as a threat?

What will the Frenchman say?

Does the Shadow Magic sorcerer's Eyes of the Dark feature work on all Darkness spells or just his/her own?

Isn't the word "experience" wrongly used in this context?

Writing in a Christian voice

Single word to change groups

Why do I have a large white artefact on the rendered image?

Jem'Hadar, something strange about their life expectancy

Have the tides ever turned twice on any open problem?



KWin: Toggle grayscale KDE destop effect with script


How can I get a grayscale effect in Kubuntu 18.04 using KWin?Uninstall kubuntu-desktopHow do I customise desktop effects and toggle between comopsiting window mangers in KDE on Ubuntu 10.10?Kubuntu uses random minimize effectsWhat is a activity in KDE and what can I do with it?Upgrade from Ubuntu with KDE Desktop to KubuntuUsing two keyboards in KDE with a dedicated layout each (typically azerty / bépo)kde install problemGraphics issue on Kubuntu, plasmashell failed to startTurning off “Disable touchpad while typing” doesn't work (KDE)KWin scripting - calling a DBus function with callDBus













0















I'm very new to KDE (running Kubuntu 18.10) and want to be able to quickly toggle grayscale through the terminal. I can make the script to do this but I don't know what to call to toggle the Desktop Effect.



Currently I'm using the extension described in this answer from this Github reop. Everything works great, the only problem is that I want to quickly switch to grayscale instead of going into System Settings > Desktop Behavior >Desktop Effects and click Apply. This is way to many steps for me to use more than once or twice a day.



My question is what command do I call to toggle this from the command line so I can write a script to do this?



I'm looking at the qdbus and trying something like:



qdbus org.kde.KWwin /Effects toggleEffect Grayscale


But nothing happens.









share







New contributor




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

























    0















    I'm very new to KDE (running Kubuntu 18.10) and want to be able to quickly toggle grayscale through the terminal. I can make the script to do this but I don't know what to call to toggle the Desktop Effect.



    Currently I'm using the extension described in this answer from this Github reop. Everything works great, the only problem is that I want to quickly switch to grayscale instead of going into System Settings > Desktop Behavior >Desktop Effects and click Apply. This is way to many steps for me to use more than once or twice a day.



    My question is what command do I call to toggle this from the command line so I can write a script to do this?



    I'm looking at the qdbus and trying something like:



    qdbus org.kde.KWwin /Effects toggleEffect Grayscale


    But nothing happens.









    share







    New contributor




    fizzyh2o 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'm very new to KDE (running Kubuntu 18.10) and want to be able to quickly toggle grayscale through the terminal. I can make the script to do this but I don't know what to call to toggle the Desktop Effect.



      Currently I'm using the extension described in this answer from this Github reop. Everything works great, the only problem is that I want to quickly switch to grayscale instead of going into System Settings > Desktop Behavior >Desktop Effects and click Apply. This is way to many steps for me to use more than once or twice a day.



      My question is what command do I call to toggle this from the command line so I can write a script to do this?



      I'm looking at the qdbus and trying something like:



      qdbus org.kde.KWwin /Effects toggleEffect Grayscale


      But nothing happens.









      share







      New contributor




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












      I'm very new to KDE (running Kubuntu 18.10) and want to be able to quickly toggle grayscale through the terminal. I can make the script to do this but I don't know what to call to toggle the Desktop Effect.



      Currently I'm using the extension described in this answer from this Github reop. Everything works great, the only problem is that I want to quickly switch to grayscale instead of going into System Settings > Desktop Behavior >Desktop Effects and click Apply. This is way to many steps for me to use more than once or twice a day.



      My question is what command do I call to toggle this from the command line so I can write a script to do this?



      I'm looking at the qdbus and trying something like:



      qdbus org.kde.KWwin /Effects toggleEffect Grayscale


      But nothing happens.







      kubuntu kde kwin





      share







      New contributor




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










      share







      New contributor




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








      share



      share






      New contributor




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









      asked 3 mins ago









      fizzyh2ofizzyh2o

      1011




      1011




      New contributor




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





      New contributor





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






      fizzyh2o 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: "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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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
          });


          }
          });






          fizzyh2o 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%2faskubuntu.com%2fquestions%2f1126786%2fkwin-toggle-grayscale-kde-destop-effect-with-script%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








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










          draft saved

          draft discarded


















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













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












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
















          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f1126786%2fkwin-toggle-grayscale-kde-destop-effect-with-script%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...