USBview encountering error

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








up vote
0
down vote

favorite












I am having problems using the USB ports on my Acer Aspire one. I have download the USBview app and when open it I get the following error:



Invalid desktop entry file: /usr/share/applications/usbview.desktop


I am using ubuntu 16.04.










share|improve this question



























    up vote
    0
    down vote

    favorite












    I am having problems using the USB ports on my Acer Aspire one. I have download the USBview app and when open it I get the following error:



    Invalid desktop entry file: /usr/share/applications/usbview.desktop


    I am using ubuntu 16.04.










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am having problems using the USB ports on my Acer Aspire one. I have download the USBview app and when open it I get the following error:



      Invalid desktop entry file: /usr/share/applications/usbview.desktop


      I am using ubuntu 16.04.










      share|improve this question















      I am having problems using the USB ports on my Acer Aspire one. I have download the USBview app and when open it I get the following error:



      Invalid desktop entry file: /usr/share/applications/usbview.desktop


      I am using ubuntu 16.04.







      usb usbview






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 1 at 3:32









      Terrance

      17.6k23885




      17.6k23885










      asked Feb 1 at 1:42









      Ken Hill

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          It looks as though USBView installs the desktop file for Ubuntu 17.10 running Wayland as it tries to run a command sudo-to-root that is not compatible with Ubuntu 16.04.



          Try installing gksu for GTK sudo.



          sudo apt install gksu


          Then copy and paste the following line to update the Desktop File:



          sudo bash -c 'sed -i "s/sudo-to-root -X -c/gksudo/" /usr/share/applications/usbview.desktop'


          Hope this helps!






          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%2f1001918%2fusbview-encountering-error%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
            0
            down vote













            It looks as though USBView installs the desktop file for Ubuntu 17.10 running Wayland as it tries to run a command sudo-to-root that is not compatible with Ubuntu 16.04.



            Try installing gksu for GTK sudo.



            sudo apt install gksu


            Then copy and paste the following line to update the Desktop File:



            sudo bash -c 'sed -i "s/sudo-to-root -X -c/gksudo/" /usr/share/applications/usbview.desktop'


            Hope this helps!






            share|improve this answer
























              up vote
              0
              down vote













              It looks as though USBView installs the desktop file for Ubuntu 17.10 running Wayland as it tries to run a command sudo-to-root that is not compatible with Ubuntu 16.04.



              Try installing gksu for GTK sudo.



              sudo apt install gksu


              Then copy and paste the following line to update the Desktop File:



              sudo bash -c 'sed -i "s/sudo-to-root -X -c/gksudo/" /usr/share/applications/usbview.desktop'


              Hope this helps!






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                It looks as though USBView installs the desktop file for Ubuntu 17.10 running Wayland as it tries to run a command sudo-to-root that is not compatible with Ubuntu 16.04.



                Try installing gksu for GTK sudo.



                sudo apt install gksu


                Then copy and paste the following line to update the Desktop File:



                sudo bash -c 'sed -i "s/sudo-to-root -X -c/gksudo/" /usr/share/applications/usbview.desktop'


                Hope this helps!






                share|improve this answer












                It looks as though USBView installs the desktop file for Ubuntu 17.10 running Wayland as it tries to run a command sudo-to-root that is not compatible with Ubuntu 16.04.



                Try installing gksu for GTK sudo.



                sudo apt install gksu


                Then copy and paste the following line to update the Desktop File:



                sudo bash -c 'sed -i "s/sudo-to-root -X -c/gksudo/" /usr/share/applications/usbview.desktop'


                Hope this helps!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 1 at 3:56









                Terrance

                17.6k23885




                17.6k23885



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1001918%2fusbview-encountering-error%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