executable icon is missing for Ubuntu 18.04












0















I recently updated my Ubuntu from 16.04 to 18.04, and one problem is the icon for the executable is the same as the one for a text file. (ArucoDetect is an executable, and others are usual text files)



ArucoDetect is an executable



In Ubuntu 16.04, the executable have it's own icon like



executable



How can I configure Ubuntu 18.04 so the executable can have it's own special icon?










share|improve this question



























    0















    I recently updated my Ubuntu from 16.04 to 18.04, and one problem is the icon for the executable is the same as the one for a text file. (ArucoDetect is an executable, and others are usual text files)



    ArucoDetect is an executable



    In Ubuntu 16.04, the executable have it's own icon like



    executable



    How can I configure Ubuntu 18.04 so the executable can have it's own special icon?










    share|improve this question

























      0












      0








      0








      I recently updated my Ubuntu from 16.04 to 18.04, and one problem is the icon for the executable is the same as the one for a text file. (ArucoDetect is an executable, and others are usual text files)



      ArucoDetect is an executable



      In Ubuntu 16.04, the executable have it's own icon like



      executable



      How can I configure Ubuntu 18.04 so the executable can have it's own special icon?










      share|improve this question














      I recently updated my Ubuntu from 16.04 to 18.04, and one problem is the icon for the executable is the same as the one for a text file. (ArucoDetect is an executable, and others are usual text files)



      ArucoDetect is an executable



      In Ubuntu 16.04, the executable have it's own icon like



      executable



      How can I configure Ubuntu 18.04 so the executable can have it's own special icon?







      gnome nautilus icons 18.04 executable






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 16 '18 at 23:46









      user3667089user3667089

      241210




      241210






















          2 Answers
          2






          active

          oldest

          votes


















          1














          If you have problem than you can find gcc and add line -no-pie It is default executable because Ubuntu 18.04 has problem with Wayland that is why position independent executable. Just no pie! Than it works fine for me.






          share|improve this answer


























          • I tried compiled with -no-pie (only one dash in the front) and it solves it. Do you know whether there's any downside for compiling with this flag?

            – user3667089
            2 days ago











          • Check makefile! You can find "gcc" with end of compilation like gcc main.c -o executable -no-pie than you see an executable and you can click executable. or ./executable in terminal. // UPDATED i.imgur.com/SFoD5uB.png

            – Jens Eckervogt
            2 days ago





















          0














          Change your application's name to ArucoDetect.appimage






          share|improve this answer
























          • It does changes the icon by adding .appimage but shouldn't it work without having to add that extension?

            – user3667089
            Jun 7 '18 at 18:37











          • Is this the same Problem? stackoverflow.com/questions/50412577/…

            – Tim
            Jun 7 '18 at 19:18











          • No this file is an executable. Even if I do chmod a+x again on the file the icon still doesn't change.

            – user3667089
            Jun 7 '18 at 21:25











          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%2f1037171%2fexecutable-icon-is-missing-for-ubuntu-18-04%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














          If you have problem than you can find gcc and add line -no-pie It is default executable because Ubuntu 18.04 has problem with Wayland that is why position independent executable. Just no pie! Than it works fine for me.






          share|improve this answer


























          • I tried compiled with -no-pie (only one dash in the front) and it solves it. Do you know whether there's any downside for compiling with this flag?

            – user3667089
            2 days ago











          • Check makefile! You can find "gcc" with end of compilation like gcc main.c -o executable -no-pie than you see an executable and you can click executable. or ./executable in terminal. // UPDATED i.imgur.com/SFoD5uB.png

            – Jens Eckervogt
            2 days ago


















          1














          If you have problem than you can find gcc and add line -no-pie It is default executable because Ubuntu 18.04 has problem with Wayland that is why position independent executable. Just no pie! Than it works fine for me.






          share|improve this answer


























          • I tried compiled with -no-pie (only one dash in the front) and it solves it. Do you know whether there's any downside for compiling with this flag?

            – user3667089
            2 days ago











          • Check makefile! You can find "gcc" with end of compilation like gcc main.c -o executable -no-pie than you see an executable and you can click executable. or ./executable in terminal. // UPDATED i.imgur.com/SFoD5uB.png

            – Jens Eckervogt
            2 days ago
















          1












          1








          1







          If you have problem than you can find gcc and add line -no-pie It is default executable because Ubuntu 18.04 has problem with Wayland that is why position independent executable. Just no pie! Than it works fine for me.






          share|improve this answer















          If you have problem than you can find gcc and add line -no-pie It is default executable because Ubuntu 18.04 has problem with Wayland that is why position independent executable. Just no pie! Than it works fine for me.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 days ago

























          answered 2 days ago









          Jens EckervogtJens Eckervogt

          415




          415













          • I tried compiled with -no-pie (only one dash in the front) and it solves it. Do you know whether there's any downside for compiling with this flag?

            – user3667089
            2 days ago











          • Check makefile! You can find "gcc" with end of compilation like gcc main.c -o executable -no-pie than you see an executable and you can click executable. or ./executable in terminal. // UPDATED i.imgur.com/SFoD5uB.png

            – Jens Eckervogt
            2 days ago





















          • I tried compiled with -no-pie (only one dash in the front) and it solves it. Do you know whether there's any downside for compiling with this flag?

            – user3667089
            2 days ago











          • Check makefile! You can find "gcc" with end of compilation like gcc main.c -o executable -no-pie than you see an executable and you can click executable. or ./executable in terminal. // UPDATED i.imgur.com/SFoD5uB.png

            – Jens Eckervogt
            2 days ago



















          I tried compiled with -no-pie (only one dash in the front) and it solves it. Do you know whether there's any downside for compiling with this flag?

          – user3667089
          2 days ago





          I tried compiled with -no-pie (only one dash in the front) and it solves it. Do you know whether there's any downside for compiling with this flag?

          – user3667089
          2 days ago













          Check makefile! You can find "gcc" with end of compilation like gcc main.c -o executable -no-pie than you see an executable and you can click executable. or ./executable in terminal. // UPDATED i.imgur.com/SFoD5uB.png

          – Jens Eckervogt
          2 days ago







          Check makefile! You can find "gcc" with end of compilation like gcc main.c -o executable -no-pie than you see an executable and you can click executable. or ./executable in terminal. // UPDATED i.imgur.com/SFoD5uB.png

          – Jens Eckervogt
          2 days ago















          0














          Change your application's name to ArucoDetect.appimage






          share|improve this answer
























          • It does changes the icon by adding .appimage but shouldn't it work without having to add that extension?

            – user3667089
            Jun 7 '18 at 18:37











          • Is this the same Problem? stackoverflow.com/questions/50412577/…

            – Tim
            Jun 7 '18 at 19:18











          • No this file is an executable. Even if I do chmod a+x again on the file the icon still doesn't change.

            – user3667089
            Jun 7 '18 at 21:25
















          0














          Change your application's name to ArucoDetect.appimage






          share|improve this answer
























          • It does changes the icon by adding .appimage but shouldn't it work without having to add that extension?

            – user3667089
            Jun 7 '18 at 18:37











          • Is this the same Problem? stackoverflow.com/questions/50412577/…

            – Tim
            Jun 7 '18 at 19:18











          • No this file is an executable. Even if I do chmod a+x again on the file the icon still doesn't change.

            – user3667089
            Jun 7 '18 at 21:25














          0












          0








          0







          Change your application's name to ArucoDetect.appimage






          share|improve this answer













          Change your application's name to ArucoDetect.appimage







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 7 '18 at 15:33









          TimTim

          11




          11













          • It does changes the icon by adding .appimage but shouldn't it work without having to add that extension?

            – user3667089
            Jun 7 '18 at 18:37











          • Is this the same Problem? stackoverflow.com/questions/50412577/…

            – Tim
            Jun 7 '18 at 19:18











          • No this file is an executable. Even if I do chmod a+x again on the file the icon still doesn't change.

            – user3667089
            Jun 7 '18 at 21:25



















          • It does changes the icon by adding .appimage but shouldn't it work without having to add that extension?

            – user3667089
            Jun 7 '18 at 18:37











          • Is this the same Problem? stackoverflow.com/questions/50412577/…

            – Tim
            Jun 7 '18 at 19:18











          • No this file is an executable. Even if I do chmod a+x again on the file the icon still doesn't change.

            – user3667089
            Jun 7 '18 at 21:25

















          It does changes the icon by adding .appimage but shouldn't it work without having to add that extension?

          – user3667089
          Jun 7 '18 at 18:37





          It does changes the icon by adding .appimage but shouldn't it work without having to add that extension?

          – user3667089
          Jun 7 '18 at 18:37













          Is this the same Problem? stackoverflow.com/questions/50412577/…

          – Tim
          Jun 7 '18 at 19:18





          Is this the same Problem? stackoverflow.com/questions/50412577/…

          – Tim
          Jun 7 '18 at 19:18













          No this file is an executable. Even if I do chmod a+x again on the file the icon still doesn't change.

          – user3667089
          Jun 7 '18 at 21:25





          No this file is an executable. Even if I do chmod a+x again on the file the icon still doesn't change.

          – user3667089
          Jun 7 '18 at 21:25


















          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%2f1037171%2fexecutable-icon-is-missing-for-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

          數位音樂下載

          When can things happen in Etherscan, such as the picture below?

          格利澤436b