Duplicated .desktop shortcut in Gnome Launcher in Ubuntu 18.04












0















All my custom .desktop in ~/.local/share/applications/ are all duplicated in Gnome Launcher (the Show Applications button). I think my case was similar like this one but happen in Ubuntu 18.04 LTS, no solutions of it works by the way.



Here is what I have tried to fix the problem:




  • Remove the duplicated .desktop and make a new one -> Fail.

  • Move the duplicated .desktop to somewhere else and move back -> When I move it to upper dir, the shortcut in Gnome Launcer disappear. But when I move it back, the duplicated shortcut also return.

  • Remove catalogs -> Nothing change.


Here is the screenshot of my problem:
duplicate shortcut



Here is my content of 2 .desktop files that be duplicated.



OALD



[Desktop Entry]
Name=OALD
Comment=Open OALD online in Firefox
Exec=firefox "https://www.oxfordlearnersdictionaries.com"
Icon=oald
Type=Application
Categories=Education;
Keywords=dictionary; internet; web app;
Actions=private-mode


[Desktop Action private-mode]
Name=Open in Private Mode
Exec=firefox -private-window "https://www.oxfordlearnersdictionaries.com"


Disk Man...



[Desktop Entry]
Name=Disk Manager
Comment=Open df cmd in Terminal
Icon=harddisk
Type=Application
Categories=Utility;
Keywords=disk;manager;terminal;
StartupNotify=true
Exec=gnome-terminal -t "Disk Manager" --hide-menubar -- "bash dm.sh"
Actions=pct;detail;

[Desktop Action pct]
Name=Display used in percent
Exec=gnome-terminal -t "Disk Manager: use% Mode" --hide-menubar -- "bash dm.sh -p"

[Desktop Action detail]
Name=See detail
Exec=gnome-terminal -t "Disk Manager: Detail" --hide-menubar -- "df -h"


The problem just happens recently. And I can assure to you that two files about only exist in the ~/.local/share/applications/ dir.



I hope you guy could give me some advise to get rid of those duplicated things.










share|improve this question





























    0















    All my custom .desktop in ~/.local/share/applications/ are all duplicated in Gnome Launcher (the Show Applications button). I think my case was similar like this one but happen in Ubuntu 18.04 LTS, no solutions of it works by the way.



    Here is what I have tried to fix the problem:




    • Remove the duplicated .desktop and make a new one -> Fail.

    • Move the duplicated .desktop to somewhere else and move back -> When I move it to upper dir, the shortcut in Gnome Launcer disappear. But when I move it back, the duplicated shortcut also return.

    • Remove catalogs -> Nothing change.


    Here is the screenshot of my problem:
    duplicate shortcut



    Here is my content of 2 .desktop files that be duplicated.



    OALD



    [Desktop Entry]
    Name=OALD
    Comment=Open OALD online in Firefox
    Exec=firefox "https://www.oxfordlearnersdictionaries.com"
    Icon=oald
    Type=Application
    Categories=Education;
    Keywords=dictionary; internet; web app;
    Actions=private-mode


    [Desktop Action private-mode]
    Name=Open in Private Mode
    Exec=firefox -private-window "https://www.oxfordlearnersdictionaries.com"


    Disk Man...



    [Desktop Entry]
    Name=Disk Manager
    Comment=Open df cmd in Terminal
    Icon=harddisk
    Type=Application
    Categories=Utility;
    Keywords=disk;manager;terminal;
    StartupNotify=true
    Exec=gnome-terminal -t "Disk Manager" --hide-menubar -- "bash dm.sh"
    Actions=pct;detail;

    [Desktop Action pct]
    Name=Display used in percent
    Exec=gnome-terminal -t "Disk Manager: use% Mode" --hide-menubar -- "bash dm.sh -p"

    [Desktop Action detail]
    Name=See detail
    Exec=gnome-terminal -t "Disk Manager: Detail" --hide-menubar -- "df -h"


    The problem just happens recently. And I can assure to you that two files about only exist in the ~/.local/share/applications/ dir.



    I hope you guy could give me some advise to get rid of those duplicated things.










    share|improve this question



























      0












      0








      0


      1






      All my custom .desktop in ~/.local/share/applications/ are all duplicated in Gnome Launcher (the Show Applications button). I think my case was similar like this one but happen in Ubuntu 18.04 LTS, no solutions of it works by the way.



      Here is what I have tried to fix the problem:




      • Remove the duplicated .desktop and make a new one -> Fail.

      • Move the duplicated .desktop to somewhere else and move back -> When I move it to upper dir, the shortcut in Gnome Launcer disappear. But when I move it back, the duplicated shortcut also return.

      • Remove catalogs -> Nothing change.


      Here is the screenshot of my problem:
      duplicate shortcut



      Here is my content of 2 .desktop files that be duplicated.



      OALD



      [Desktop Entry]
      Name=OALD
      Comment=Open OALD online in Firefox
      Exec=firefox "https://www.oxfordlearnersdictionaries.com"
      Icon=oald
      Type=Application
      Categories=Education;
      Keywords=dictionary; internet; web app;
      Actions=private-mode


      [Desktop Action private-mode]
      Name=Open in Private Mode
      Exec=firefox -private-window "https://www.oxfordlearnersdictionaries.com"


      Disk Man...



      [Desktop Entry]
      Name=Disk Manager
      Comment=Open df cmd in Terminal
      Icon=harddisk
      Type=Application
      Categories=Utility;
      Keywords=disk;manager;terminal;
      StartupNotify=true
      Exec=gnome-terminal -t "Disk Manager" --hide-menubar -- "bash dm.sh"
      Actions=pct;detail;

      [Desktop Action pct]
      Name=Display used in percent
      Exec=gnome-terminal -t "Disk Manager: use% Mode" --hide-menubar -- "bash dm.sh -p"

      [Desktop Action detail]
      Name=See detail
      Exec=gnome-terminal -t "Disk Manager: Detail" --hide-menubar -- "df -h"


      The problem just happens recently. And I can assure to you that two files about only exist in the ~/.local/share/applications/ dir.



      I hope you guy could give me some advise to get rid of those duplicated things.










      share|improve this question
















      All my custom .desktop in ~/.local/share/applications/ are all duplicated in Gnome Launcher (the Show Applications button). I think my case was similar like this one but happen in Ubuntu 18.04 LTS, no solutions of it works by the way.



      Here is what I have tried to fix the problem:




      • Remove the duplicated .desktop and make a new one -> Fail.

      • Move the duplicated .desktop to somewhere else and move back -> When I move it to upper dir, the shortcut in Gnome Launcer disappear. But when I move it back, the duplicated shortcut also return.

      • Remove catalogs -> Nothing change.


      Here is the screenshot of my problem:
      duplicate shortcut



      Here is my content of 2 .desktop files that be duplicated.



      OALD



      [Desktop Entry]
      Name=OALD
      Comment=Open OALD online in Firefox
      Exec=firefox "https://www.oxfordlearnersdictionaries.com"
      Icon=oald
      Type=Application
      Categories=Education;
      Keywords=dictionary; internet; web app;
      Actions=private-mode


      [Desktop Action private-mode]
      Name=Open in Private Mode
      Exec=firefox -private-window "https://www.oxfordlearnersdictionaries.com"


      Disk Man...



      [Desktop Entry]
      Name=Disk Manager
      Comment=Open df cmd in Terminal
      Icon=harddisk
      Type=Application
      Categories=Utility;
      Keywords=disk;manager;terminal;
      StartupNotify=true
      Exec=gnome-terminal -t "Disk Manager" --hide-menubar -- "bash dm.sh"
      Actions=pct;detail;

      [Desktop Action pct]
      Name=Display used in percent
      Exec=gnome-terminal -t "Disk Manager: use% Mode" --hide-menubar -- "bash dm.sh -p"

      [Desktop Action detail]
      Name=See detail
      Exec=gnome-terminal -t "Disk Manager: Detail" --hide-menubar -- "df -h"


      The problem just happens recently. And I can assure to you that two files about only exist in the ~/.local/share/applications/ dir.



      I hope you guy could give me some advise to get rid of those duplicated things.







      gnome-shell .desktop






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 7 at 16:50









      pomsky

      33.1k11103135




      33.1k11103135










      asked Feb 7 at 16:45









      Star LightStar Light

      306




      306






















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


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116438%2fduplicated-desktop-shortcut-in-gnome-launcher-in-ubuntu-18-04%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
















          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%2f1116438%2fduplicated-desktop-shortcut-in-gnome-launcher-in-ubuntu-18-04%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

          Questions related to Moebius Transform of Characteristic Function of the Primes

          List of scandals in India

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