how to determine which composite manager is running The 2019 Stack Overflow Developer Survey...

Working through the single responsibility principle (SRP) in Python when calls are expensive

How do you keep chess fun when your opponent constantly beats you?

Is this wall load bearing? Blueprints and photos attached

Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time?

Can we generate random numbers using irrational numbers like π and e?

Am I ethically obligated to go into work on an off day if the reason is sudden?

How to read αἱμύλιος or when to aspirate

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

What is the role of 'For' here?

Single author papers against my advisor's will?

One-dimensional Japanese puzzle

What can I do if neighbor is blocking my solar panels intentionally?

What force causes entropy to increase?

Can the DM override racial traits?

Make it rain characters

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

Are spiders unable to hurt humans, especially very small spiders?

Loose spokes after only a few rides

Student Loan from years ago pops up and is taking my salary

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Windows 10: How to Lock (not sleep) laptop on lid close?

Mortgage adviser recommends a longer term than necessary combined with overpayments

Can I visit the Trinity College (Cambridge) library and see some of their rare books

What is the padding with red substance inside of steak packaging?



how to determine which composite manager is running



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election ResultsDisable Composite without restarting XDoes Gnome Shell use Mutter?Run mutter window manager standaloneRecursively execute imagemagick composite command in directory treeHow to create a custom Vsync rules for 'Compton'?Composite manager for i3wmHow to get tear-free rendering with nvidia proprietary?ffcast and compton - a shadowy problemWebcam and Desktop composite with v4l2loopback?How do I do to detect both the disk (/dev/sd{x}) device and its sibling tty (/dev/ttyACM{y}) device when a composite USB ACM_MS device is inserted?





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







1















I'm using Arch Linux, and have both Gnome and the i3 window manager installed. When running i3, I'm trying to initiate the composite manager Compton. But trying to do so results in the following error:



compton
[ 04/11/2019 22:32:36.443 register_cm FATAL ERROR ] Another composite manager is already running


I think this means that Compton is already running, or Mutter running, but I'm not sure which.



Is there a command I can use to determine which composite manager is currently running?










share|improve this question





























    1















    I'm using Arch Linux, and have both Gnome and the i3 window manager installed. When running i3, I'm trying to initiate the composite manager Compton. But trying to do so results in the following error:



    compton
    [ 04/11/2019 22:32:36.443 register_cm FATAL ERROR ] Another composite manager is already running


    I think this means that Compton is already running, or Mutter running, but I'm not sure which.



    Is there a command I can use to determine which composite manager is currently running?










    share|improve this question

























      1












      1








      1








      I'm using Arch Linux, and have both Gnome and the i3 window manager installed. When running i3, I'm trying to initiate the composite manager Compton. But trying to do so results in the following error:



      compton
      [ 04/11/2019 22:32:36.443 register_cm FATAL ERROR ] Another composite manager is already running


      I think this means that Compton is already running, or Mutter running, but I'm not sure which.



      Is there a command I can use to determine which composite manager is currently running?










      share|improve this question














      I'm using Arch Linux, and have both Gnome and the i3 window manager installed. When running i3, I'm trying to initiate the composite manager Compton. But trying to do so results in the following error:



      compton
      [ 04/11/2019 22:32:36.443 register_cm FATAL ERROR ] Another composite manager is already running


      I think this means that Compton is already running, or Mutter running, but I'm not sure which.



      Is there a command I can use to determine which composite manager is currently running?







      mutter compton composite






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 3 hours ago









      wxyzwxyz

      1067




      1067






















          2 Answers
          2






          active

          oldest

          votes


















          1














          I don't have either Compton or Mutter installed, but the xcompmgr sample X composition manager doesn't bother to determine if another composition manager is running, but goes on and just calls XCompositeRedirectSubwindows() and handles the error that may be generated by it in the handler installed with XSetErrorHandler:



          static int
          error (Display *dpy, XErrorEvent *ev)
          {
          ...
          if (ev->request_code == composite_opcode &&
          ev->minor_code == X_CompositeRedirectSubwindows)
          {
          fprintf (stderr, "Another composite manager is already runningn");
          exit (1);


          This seems to be the only possible way to do it: XCompositeGetOverlayWindow() will always succeed and map the overlay window, whether it's already in use or not:




          CompositeGetOverlayWindow



          This request indicates that the client wishes to use the Composite Overlay Window of this screen. If this Composite Overlay Window has not yet been mapped, it is mapped by this request.







          share|improve this answer

































            0
















            There is no command to know if any compositor is currently running, as far as I know. But you can use pgrep to know if a given compositor is currently running:



            $ pgrep compton
            18169


            pgrep will give you the PID so you can terminate the process using kill:



            $ kill 18169


            Alternatively, pkill can terminate the process by feeding it the process name instead of the PID:



            $ pkill compton


            Some compositors (like Xfce's) may need a different approach to be deactivated:



            $ xfwm4 --compositor=off --replace





            share|improve this answer
























              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
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f512204%2fhow-to-determine-which-composite-manager-is-running%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              I don't have either Compton or Mutter installed, but the xcompmgr sample X composition manager doesn't bother to determine if another composition manager is running, but goes on and just calls XCompositeRedirectSubwindows() and handles the error that may be generated by it in the handler installed with XSetErrorHandler:



              static int
              error (Display *dpy, XErrorEvent *ev)
              {
              ...
              if (ev->request_code == composite_opcode &&
              ev->minor_code == X_CompositeRedirectSubwindows)
              {
              fprintf (stderr, "Another composite manager is already runningn");
              exit (1);


              This seems to be the only possible way to do it: XCompositeGetOverlayWindow() will always succeed and map the overlay window, whether it's already in use or not:




              CompositeGetOverlayWindow



              This request indicates that the client wishes to use the Composite Overlay Window of this screen. If this Composite Overlay Window has not yet been mapped, it is mapped by this request.







              share|improve this answer






























                1














                I don't have either Compton or Mutter installed, but the xcompmgr sample X composition manager doesn't bother to determine if another composition manager is running, but goes on and just calls XCompositeRedirectSubwindows() and handles the error that may be generated by it in the handler installed with XSetErrorHandler:



                static int
                error (Display *dpy, XErrorEvent *ev)
                {
                ...
                if (ev->request_code == composite_opcode &&
                ev->minor_code == X_CompositeRedirectSubwindows)
                {
                fprintf (stderr, "Another composite manager is already runningn");
                exit (1);


                This seems to be the only possible way to do it: XCompositeGetOverlayWindow() will always succeed and map the overlay window, whether it's already in use or not:




                CompositeGetOverlayWindow



                This request indicates that the client wishes to use the Composite Overlay Window of this screen. If this Composite Overlay Window has not yet been mapped, it is mapped by this request.







                share|improve this answer




























                  1












                  1








                  1







                  I don't have either Compton or Mutter installed, but the xcompmgr sample X composition manager doesn't bother to determine if another composition manager is running, but goes on and just calls XCompositeRedirectSubwindows() and handles the error that may be generated by it in the handler installed with XSetErrorHandler:



                  static int
                  error (Display *dpy, XErrorEvent *ev)
                  {
                  ...
                  if (ev->request_code == composite_opcode &&
                  ev->minor_code == X_CompositeRedirectSubwindows)
                  {
                  fprintf (stderr, "Another composite manager is already runningn");
                  exit (1);


                  This seems to be the only possible way to do it: XCompositeGetOverlayWindow() will always succeed and map the overlay window, whether it's already in use or not:




                  CompositeGetOverlayWindow



                  This request indicates that the client wishes to use the Composite Overlay Window of this screen. If this Composite Overlay Window has not yet been mapped, it is mapped by this request.







                  share|improve this answer















                  I don't have either Compton or Mutter installed, but the xcompmgr sample X composition manager doesn't bother to determine if another composition manager is running, but goes on and just calls XCompositeRedirectSubwindows() and handles the error that may be generated by it in the handler installed with XSetErrorHandler:



                  static int
                  error (Display *dpy, XErrorEvent *ev)
                  {
                  ...
                  if (ev->request_code == composite_opcode &&
                  ev->minor_code == X_CompositeRedirectSubwindows)
                  {
                  fprintf (stderr, "Another composite manager is already runningn");
                  exit (1);


                  This seems to be the only possible way to do it: XCompositeGetOverlayWindow() will always succeed and map the overlay window, whether it's already in use or not:




                  CompositeGetOverlayWindow



                  This request indicates that the client wishes to use the Composite Overlay Window of this screen. If this Composite Overlay Window has not yet been mapped, it is mapped by this request.








                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 2 hours ago

























                  answered 3 hours ago









                  mosvymosvy

                  9,99211236




                  9,99211236

























                      0
















                      There is no command to know if any compositor is currently running, as far as I know. But you can use pgrep to know if a given compositor is currently running:



                      $ pgrep compton
                      18169


                      pgrep will give you the PID so you can terminate the process using kill:



                      $ kill 18169


                      Alternatively, pkill can terminate the process by feeding it the process name instead of the PID:



                      $ pkill compton


                      Some compositors (like Xfce's) may need a different approach to be deactivated:



                      $ xfwm4 --compositor=off --replace





                      share|improve this answer




























                        0
















                        There is no command to know if any compositor is currently running, as far as I know. But you can use pgrep to know if a given compositor is currently running:



                        $ pgrep compton
                        18169


                        pgrep will give you the PID so you can terminate the process using kill:



                        $ kill 18169


                        Alternatively, pkill can terminate the process by feeding it the process name instead of the PID:



                        $ pkill compton


                        Some compositors (like Xfce's) may need a different approach to be deactivated:



                        $ xfwm4 --compositor=off --replace





                        share|improve this answer


























                          0












                          0








                          0









                          There is no command to know if any compositor is currently running, as far as I know. But you can use pgrep to know if a given compositor is currently running:



                          $ pgrep compton
                          18169


                          pgrep will give you the PID so you can terminate the process using kill:



                          $ kill 18169


                          Alternatively, pkill can terminate the process by feeding it the process name instead of the PID:



                          $ pkill compton


                          Some compositors (like Xfce's) may need a different approach to be deactivated:



                          $ xfwm4 --compositor=off --replace





                          share|improve this answer















                          There is no command to know if any compositor is currently running, as far as I know. But you can use pgrep to know if a given compositor is currently running:



                          $ pgrep compton
                          18169


                          pgrep will give you the PID so you can terminate the process using kill:



                          $ kill 18169


                          Alternatively, pkill can terminate the process by feeding it the process name instead of the PID:



                          $ pkill compton


                          Some compositors (like Xfce's) may need a different approach to be deactivated:



                          $ xfwm4 --compositor=off --replace






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 2 hours ago









                          nxnevnxnev

                          2,9262524




                          2,9262524






























                              draft saved

                              draft discarded




















































                              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%2f512204%2fhow-to-determine-which-composite-manager-is-running%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...

                              Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m