Duplicate applications icons in Ubuntu dock












15















I'm using Ubuntu 17.10 with GNOME shell and Numix-Circle icon theme.



When I hover over the Numix icon for Nightly Web Browser, which is pinned to the dock I get the title "Nightly Web Browser".



enter image description here



But when I launch the program, another icon pops up at the bottom, with the name "Nightly".



enter image description here










share|improve this question





























    15















    I'm using Ubuntu 17.10 with GNOME shell and Numix-Circle icon theme.



    When I hover over the Numix icon for Nightly Web Browser, which is pinned to the dock I get the title "Nightly Web Browser".



    enter image description here



    But when I launch the program, another icon pops up at the bottom, with the name "Nightly".



    enter image description here










    share|improve this question



























      15












      15








      15


      3






      I'm using Ubuntu 17.10 with GNOME shell and Numix-Circle icon theme.



      When I hover over the Numix icon for Nightly Web Browser, which is pinned to the dock I get the title "Nightly Web Browser".



      enter image description here



      But when I launch the program, another icon pops up at the bottom, with the name "Nightly".



      enter image description here










      share|improve this question
















      I'm using Ubuntu 17.10 with GNOME shell and Numix-Circle icon theme.



      When I hover over the Numix icon for Nightly Web Browser, which is pinned to the dock I get the title "Nightly Web Browser".



      enter image description here



      But when I launch the program, another icon pops up at the bottom, with the name "Nightly".



      enter image description here







      17.10 icons gnome-shell ubuntu-dock






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 25 '18 at 11:01









      pomsky

      29.5k1190116




      29.5k1190116










      asked Nov 10 '17 at 19:37









      Chantz GarrettChantz Garrett

      9817




      9817






















          1 Answer
          1






          active

          oldest

          votes


















          24















          1. Open Files and go to your /usr/share/applications folder. Look for the "Nightly" file and copy it.

          2. Paste the file in ~/.local/share/applications. It should look like a file with the name <filename>.desktop.

          3. Right click on this .desktop file and open with Text Editor.

          4. Launch "Nightly" from "Activities".

          5. Run xprop WM_CLASS in Terminal.

          6. Place the cursor over the opened "Nightly" window. The cursor should turn into a crosshair already. Click. You should get a WM_CLASS string for "Nightly" in Terminal.


          7. In the .desktop file opened in Text Editor and add the following line



            StartupWMClass=OBTAINED-VALUE


            In place of OBTAINED-VALUE put a value you got from step 6 without any quotes.



          8. Save the .desktop file.






          share|improve this answer





















          • 2





            I am trying to do the same with PyCharm. Got "sun-awt-X11-XFramePeer", "jetbrains-pycharm-ce" as the output for step 6. I used StartupWMClass=jetbrains-pycharm-ce and it works.

            – d4nyll
            Jan 11 '18 at 15:59






          • 3





            9. Rename .desktop file to OBTAINED-VALUE.desktop (e.g. jetbrains-phpstorm.desktop instead phpstorm.desktop), works in Ubuntu 18.04

            – Aleksey Deryagin
            Jul 12 '18 at 16:29













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


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f975178%2fduplicate-applications-icons-in-ubuntu-dock%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          24















          1. Open Files and go to your /usr/share/applications folder. Look for the "Nightly" file and copy it.

          2. Paste the file in ~/.local/share/applications. It should look like a file with the name <filename>.desktop.

          3. Right click on this .desktop file and open with Text Editor.

          4. Launch "Nightly" from "Activities".

          5. Run xprop WM_CLASS in Terminal.

          6. Place the cursor over the opened "Nightly" window. The cursor should turn into a crosshair already. Click. You should get a WM_CLASS string for "Nightly" in Terminal.


          7. In the .desktop file opened in Text Editor and add the following line



            StartupWMClass=OBTAINED-VALUE


            In place of OBTAINED-VALUE put a value you got from step 6 without any quotes.



          8. Save the .desktop file.






          share|improve this answer





















          • 2





            I am trying to do the same with PyCharm. Got "sun-awt-X11-XFramePeer", "jetbrains-pycharm-ce" as the output for step 6. I used StartupWMClass=jetbrains-pycharm-ce and it works.

            – d4nyll
            Jan 11 '18 at 15:59






          • 3





            9. Rename .desktop file to OBTAINED-VALUE.desktop (e.g. jetbrains-phpstorm.desktop instead phpstorm.desktop), works in Ubuntu 18.04

            – Aleksey Deryagin
            Jul 12 '18 at 16:29


















          24















          1. Open Files and go to your /usr/share/applications folder. Look for the "Nightly" file and copy it.

          2. Paste the file in ~/.local/share/applications. It should look like a file with the name <filename>.desktop.

          3. Right click on this .desktop file and open with Text Editor.

          4. Launch "Nightly" from "Activities".

          5. Run xprop WM_CLASS in Terminal.

          6. Place the cursor over the opened "Nightly" window. The cursor should turn into a crosshair already. Click. You should get a WM_CLASS string for "Nightly" in Terminal.


          7. In the .desktop file opened in Text Editor and add the following line



            StartupWMClass=OBTAINED-VALUE


            In place of OBTAINED-VALUE put a value you got from step 6 without any quotes.



          8. Save the .desktop file.






          share|improve this answer





















          • 2





            I am trying to do the same with PyCharm. Got "sun-awt-X11-XFramePeer", "jetbrains-pycharm-ce" as the output for step 6. I used StartupWMClass=jetbrains-pycharm-ce and it works.

            – d4nyll
            Jan 11 '18 at 15:59






          • 3





            9. Rename .desktop file to OBTAINED-VALUE.desktop (e.g. jetbrains-phpstorm.desktop instead phpstorm.desktop), works in Ubuntu 18.04

            – Aleksey Deryagin
            Jul 12 '18 at 16:29
















          24












          24








          24








          1. Open Files and go to your /usr/share/applications folder. Look for the "Nightly" file and copy it.

          2. Paste the file in ~/.local/share/applications. It should look like a file with the name <filename>.desktop.

          3. Right click on this .desktop file and open with Text Editor.

          4. Launch "Nightly" from "Activities".

          5. Run xprop WM_CLASS in Terminal.

          6. Place the cursor over the opened "Nightly" window. The cursor should turn into a crosshair already. Click. You should get a WM_CLASS string for "Nightly" in Terminal.


          7. In the .desktop file opened in Text Editor and add the following line



            StartupWMClass=OBTAINED-VALUE


            In place of OBTAINED-VALUE put a value you got from step 6 without any quotes.



          8. Save the .desktop file.






          share|improve this answer
















          1. Open Files and go to your /usr/share/applications folder. Look for the "Nightly" file and copy it.

          2. Paste the file in ~/.local/share/applications. It should look like a file with the name <filename>.desktop.

          3. Right click on this .desktop file and open with Text Editor.

          4. Launch "Nightly" from "Activities".

          5. Run xprop WM_CLASS in Terminal.

          6. Place the cursor over the opened "Nightly" window. The cursor should turn into a crosshair already. Click. You should get a WM_CLASS string for "Nightly" in Terminal.


          7. In the .desktop file opened in Text Editor and add the following line



            StartupWMClass=OBTAINED-VALUE


            In place of OBTAINED-VALUE put a value you got from step 6 without any quotes.



          8. Save the .desktop file.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 10 '17 at 23:06

























          answered Nov 10 '17 at 23:00









          pomskypomsky

          29.5k1190116




          29.5k1190116








          • 2





            I am trying to do the same with PyCharm. Got "sun-awt-X11-XFramePeer", "jetbrains-pycharm-ce" as the output for step 6. I used StartupWMClass=jetbrains-pycharm-ce and it works.

            – d4nyll
            Jan 11 '18 at 15:59






          • 3





            9. Rename .desktop file to OBTAINED-VALUE.desktop (e.g. jetbrains-phpstorm.desktop instead phpstorm.desktop), works in Ubuntu 18.04

            – Aleksey Deryagin
            Jul 12 '18 at 16:29
















          • 2





            I am trying to do the same with PyCharm. Got "sun-awt-X11-XFramePeer", "jetbrains-pycharm-ce" as the output for step 6. I used StartupWMClass=jetbrains-pycharm-ce and it works.

            – d4nyll
            Jan 11 '18 at 15:59






          • 3





            9. Rename .desktop file to OBTAINED-VALUE.desktop (e.g. jetbrains-phpstorm.desktop instead phpstorm.desktop), works in Ubuntu 18.04

            – Aleksey Deryagin
            Jul 12 '18 at 16:29










          2




          2





          I am trying to do the same with PyCharm. Got "sun-awt-X11-XFramePeer", "jetbrains-pycharm-ce" as the output for step 6. I used StartupWMClass=jetbrains-pycharm-ce and it works.

          – d4nyll
          Jan 11 '18 at 15:59





          I am trying to do the same with PyCharm. Got "sun-awt-X11-XFramePeer", "jetbrains-pycharm-ce" as the output for step 6. I used StartupWMClass=jetbrains-pycharm-ce and it works.

          – d4nyll
          Jan 11 '18 at 15:59




          3




          3





          9. Rename .desktop file to OBTAINED-VALUE.desktop (e.g. jetbrains-phpstorm.desktop instead phpstorm.desktop), works in Ubuntu 18.04

          – Aleksey Deryagin
          Jul 12 '18 at 16:29







          9. Rename .desktop file to OBTAINED-VALUE.desktop (e.g. jetbrains-phpstorm.desktop instead phpstorm.desktop), works in Ubuntu 18.04

          – Aleksey Deryagin
          Jul 12 '18 at 16:29




















          draft saved

          draft discarded




















































          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%2f975178%2fduplicate-applications-icons-in-ubuntu-dock%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

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          張江高科駅