Either system tray icons or unity-control-center icons disappear - how can I have both?

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








up vote
1
down vote

favorite












Note: I'm using Unity desktop on 18.04.



First, most of the icons in unity-control-center are missing after I installed then uninstalled mate-desktop and caja.



Screenshot



I tried reinstalling all of the installed unity* packages, still no result.



I resolved the problem by removing export XDG_CURRENT_DESKTOP=Unity from my .profile file and rebooting, however it leads to some applications' tray icons not appearing, for example the one for Discord, which I use frequently. Re-inserting that line resolved Discord's system tray, but then the Control Center problem comes back.



Question: How do I resolve these issues at the same time?







share|improve this question


























    up vote
    1
    down vote

    favorite












    Note: I'm using Unity desktop on 18.04.



    First, most of the icons in unity-control-center are missing after I installed then uninstalled mate-desktop and caja.



    Screenshot



    I tried reinstalling all of the installed unity* packages, still no result.



    I resolved the problem by removing export XDG_CURRENT_DESKTOP=Unity from my .profile file and rebooting, however it leads to some applications' tray icons not appearing, for example the one for Discord, which I use frequently. Re-inserting that line resolved Discord's system tray, but then the Control Center problem comes back.



    Question: How do I resolve these issues at the same time?







    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Note: I'm using Unity desktop on 18.04.



      First, most of the icons in unity-control-center are missing after I installed then uninstalled mate-desktop and caja.



      Screenshot



      I tried reinstalling all of the installed unity* packages, still no result.



      I resolved the problem by removing export XDG_CURRENT_DESKTOP=Unity from my .profile file and rebooting, however it leads to some applications' tray icons not appearing, for example the one for Discord, which I use frequently. Re-inserting that line resolved Discord's system tray, but then the Control Center problem comes back.



      Question: How do I resolve these issues at the same time?







      share|improve this question














      Note: I'm using Unity desktop on 18.04.



      First, most of the icons in unity-control-center are missing after I installed then uninstalled mate-desktop and caja.



      Screenshot



      I tried reinstalling all of the installed unity* packages, still no result.



      I resolved the problem by removing export XDG_CURRENT_DESKTOP=Unity from my .profile file and rebooting, however it leads to some applications' tray icons not appearing, for example the one for Discord, which I use frequently. Re-inserting that line resolved Discord's system tray, but then the Control Center problem comes back.



      Question: How do I resolve these issues at the same time?









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 24 at 19:20









      Zanna

      47.9k13117227




      47.9k13117227










      asked May 18 at 13:55









      Aryo Adhi

      7331836




      7331836




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          I managed to resolve it myself by doing a workaround via alacarte for each problematic applications;



          1. Open up alacarte and navigate to your application (you can manually edit, but make sure to know what to do. Using alacarte is the safe way)

          2. Add this string before the actual command: env XDG_CURRENT_DESKTOP=Unity

          3. Save, and close

          4. (Optional) Manually modify ~/.config/autostart/*.desktop of your application and add the same string after Exec= if that still happens.

          5. Comment out/delete export XDG_CURRENT_DESKTOP=Unity from your .profile

          It appears that adding that line to .profile causes a bug on Unity in 18.04.






          share|improve this answer




















            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%2f1037770%2feither-system-tray-icons-or-unity-control-center-icons-disappear-how-can-i-hav%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
            1
            down vote













            I managed to resolve it myself by doing a workaround via alacarte for each problematic applications;



            1. Open up alacarte and navigate to your application (you can manually edit, but make sure to know what to do. Using alacarte is the safe way)

            2. Add this string before the actual command: env XDG_CURRENT_DESKTOP=Unity

            3. Save, and close

            4. (Optional) Manually modify ~/.config/autostart/*.desktop of your application and add the same string after Exec= if that still happens.

            5. Comment out/delete export XDG_CURRENT_DESKTOP=Unity from your .profile

            It appears that adding that line to .profile causes a bug on Unity in 18.04.






            share|improve this answer
























              up vote
              1
              down vote













              I managed to resolve it myself by doing a workaround via alacarte for each problematic applications;



              1. Open up alacarte and navigate to your application (you can manually edit, but make sure to know what to do. Using alacarte is the safe way)

              2. Add this string before the actual command: env XDG_CURRENT_DESKTOP=Unity

              3. Save, and close

              4. (Optional) Manually modify ~/.config/autostart/*.desktop of your application and add the same string after Exec= if that still happens.

              5. Comment out/delete export XDG_CURRENT_DESKTOP=Unity from your .profile

              It appears that adding that line to .profile causes a bug on Unity in 18.04.






              share|improve this answer






















                up vote
                1
                down vote










                up vote
                1
                down vote









                I managed to resolve it myself by doing a workaround via alacarte for each problematic applications;



                1. Open up alacarte and navigate to your application (you can manually edit, but make sure to know what to do. Using alacarte is the safe way)

                2. Add this string before the actual command: env XDG_CURRENT_DESKTOP=Unity

                3. Save, and close

                4. (Optional) Manually modify ~/.config/autostart/*.desktop of your application and add the same string after Exec= if that still happens.

                5. Comment out/delete export XDG_CURRENT_DESKTOP=Unity from your .profile

                It appears that adding that line to .profile causes a bug on Unity in 18.04.






                share|improve this answer












                I managed to resolve it myself by doing a workaround via alacarte for each problematic applications;



                1. Open up alacarte and navigate to your application (you can manually edit, but make sure to know what to do. Using alacarte is the safe way)

                2. Add this string before the actual command: env XDG_CURRENT_DESKTOP=Unity

                3. Save, and close

                4. (Optional) Manually modify ~/.config/autostart/*.desktop of your application and add the same string after Exec= if that still happens.

                5. Comment out/delete export XDG_CURRENT_DESKTOP=Unity from your .profile

                It appears that adding that line to .profile causes a bug on Unity in 18.04.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 18 at 14:11









                Aryo Adhi

                7331836




                7331836






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037770%2feither-system-tray-icons-or-unity-control-center-icons-disappear-how-can-i-hav%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491