GDebi Package Installer not launching, and won't install .deb files on the ~/Desktop 18.10Is it safe to use gdebi instead of Ubuntu Software Center to install .deb files?How to install .deb files the old fashion way?Gdebi-core package is not availableCould not find package gdebiI can't install Gdebi Package InstallerGdebi as default package installer in ubuntu 17.10gdebi installer exits without installing the .deb file in 17.10How to install Unity desktop on 18.10?Ubuntu Desktop 18.10 UEFI grub not bootingUbuntu Desktop 18.10 UEFI not booting - cannot install

Is this a crown race?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

What can I do if someone tampers with my SSH public key?

Short story about an infectious indestructible metal bar?

Unfamiliar notation in Diabelli's "Duet in D" for piano

Create chunks from an array

Use Mercury as quenching liquid for swords?

Can Witch Sight see through Mirror Image?

I am the person who abides by rules but breaks the rules . Who am I

Is it a Cyclops number? "Nobody" knows!

How to recover against Snake as a heavyweight character?

Tool for measuring readability of English text

What exactly is the meaning of "fine wine"?

Is the differential, dp, exact or not?

What does "rhumatis" mean?

Unidentified signals on FT8 frequencies

The (Easy) Road to Code

Can inspiration allow the Rogue to make a Sneak Attack?

What does *dead* mean in *What do you mean, dead?*?

Should I file my taxes? No income, unemployed, but paid 2k in student loan interest

How to distinguish easily different soldier of ww2?

How do property taxes on school district bonds work?

Are small insurances worth it?

What is the orbit and expected lifetime of Crew Dragon trunk?



GDebi Package Installer not launching, and won't install .deb files on the ~/Desktop 18.10


Is it safe to use gdebi instead of Ubuntu Software Center to install .deb files?How to install .deb files the old fashion way?Gdebi-core package is not availableCould not find package gdebiI can't install Gdebi Package InstallerGdebi as default package installer in ubuntu 17.10gdebi installer exits without installing the .deb file in 17.10How to install Unity desktop on 18.10?Ubuntu Desktop 18.10 UEFI grub not bootingUbuntu Desktop 18.10 UEFI not booting - cannot install













1















This morning I discovered that I can't launch GDebi. When I try to launch it from the SUPER menu, it puts its name in the top bar with a spinning cursor, stays there for about 10 seconds, and then disappears.



When I type sudo -H gdebi-gtk in the terminal, it launches fine.



Here's the desktop file...



[Desktop Entry]
Name=GDebi Package Installer
GenericName=Package Installer
Comment=Install and view software packages
Exec=sudo -H gdebi-gtk %f
Icon=gnome-mime-application-x-deb
Terminal=false
Type=Application
Categories=System;
MimeType=application/vnd.debian.binary-package;
NotShowIn=KDE;
X-Ubuntu-Gettext-Domain=gdebi
StartupNotify=true
Keywords=package;apt;dpkg;install


Here's some file info...



$ cd /usr/bin
$ ll gdebi*
lrwxrwxrwx 1 root root 20 Dec 31 2017 gdebi -> ../share/gdebi/gdebi*
lrwxrwxrwx 1 root root 24 Dec 31 2017 gdebi-gtk -> ../share/gdebi/gdebi-gtk*

$ ll /usr/share/gdebi
total 104K
drwxr-xr-x 3 root root 4.0K Jun 12 13:47 ./
drwxr-xr-x 527 root root 20K Oct 19 10:35 ../
-rwxr-xr-x 1 root root 4.0K Dec 31 2017 gdebi*
drwxr-xr-x 3 root root 4.0K Jun 12 14:04 GDebi/
-rwxr-xr-x 1 root root 3.5K Dec 31 2017 gdebi-gtk*
-rw-r--r-- 1 root root 4.2K Feb 25 2010 gdebi.png
-rw-r--r-- 1 root root 60K Jul 2 2015 gdebi.ui


Any idea why gdebi won't launch?










share|improve this question




























    1















    This morning I discovered that I can't launch GDebi. When I try to launch it from the SUPER menu, it puts its name in the top bar with a spinning cursor, stays there for about 10 seconds, and then disappears.



    When I type sudo -H gdebi-gtk in the terminal, it launches fine.



    Here's the desktop file...



    [Desktop Entry]
    Name=GDebi Package Installer
    GenericName=Package Installer
    Comment=Install and view software packages
    Exec=sudo -H gdebi-gtk %f
    Icon=gnome-mime-application-x-deb
    Terminal=false
    Type=Application
    Categories=System;
    MimeType=application/vnd.debian.binary-package;
    NotShowIn=KDE;
    X-Ubuntu-Gettext-Domain=gdebi
    StartupNotify=true
    Keywords=package;apt;dpkg;install


    Here's some file info...



    $ cd /usr/bin
    $ ll gdebi*
    lrwxrwxrwx 1 root root 20 Dec 31 2017 gdebi -> ../share/gdebi/gdebi*
    lrwxrwxrwx 1 root root 24 Dec 31 2017 gdebi-gtk -> ../share/gdebi/gdebi-gtk*

    $ ll /usr/share/gdebi
    total 104K
    drwxr-xr-x 3 root root 4.0K Jun 12 13:47 ./
    drwxr-xr-x 527 root root 20K Oct 19 10:35 ../
    -rwxr-xr-x 1 root root 4.0K Dec 31 2017 gdebi*
    drwxr-xr-x 3 root root 4.0K Jun 12 14:04 GDebi/
    -rwxr-xr-x 1 root root 3.5K Dec 31 2017 gdebi-gtk*
    -rw-r--r-- 1 root root 4.2K Feb 25 2010 gdebi.png
    -rw-r--r-- 1 root root 60K Jul 2 2015 gdebi.ui


    Any idea why gdebi won't launch?










    share|improve this question


























      1












      1








      1


      1






      This morning I discovered that I can't launch GDebi. When I try to launch it from the SUPER menu, it puts its name in the top bar with a spinning cursor, stays there for about 10 seconds, and then disappears.



      When I type sudo -H gdebi-gtk in the terminal, it launches fine.



      Here's the desktop file...



      [Desktop Entry]
      Name=GDebi Package Installer
      GenericName=Package Installer
      Comment=Install and view software packages
      Exec=sudo -H gdebi-gtk %f
      Icon=gnome-mime-application-x-deb
      Terminal=false
      Type=Application
      Categories=System;
      MimeType=application/vnd.debian.binary-package;
      NotShowIn=KDE;
      X-Ubuntu-Gettext-Domain=gdebi
      StartupNotify=true
      Keywords=package;apt;dpkg;install


      Here's some file info...



      $ cd /usr/bin
      $ ll gdebi*
      lrwxrwxrwx 1 root root 20 Dec 31 2017 gdebi -> ../share/gdebi/gdebi*
      lrwxrwxrwx 1 root root 24 Dec 31 2017 gdebi-gtk -> ../share/gdebi/gdebi-gtk*

      $ ll /usr/share/gdebi
      total 104K
      drwxr-xr-x 3 root root 4.0K Jun 12 13:47 ./
      drwxr-xr-x 527 root root 20K Oct 19 10:35 ../
      -rwxr-xr-x 1 root root 4.0K Dec 31 2017 gdebi*
      drwxr-xr-x 3 root root 4.0K Jun 12 14:04 GDebi/
      -rwxr-xr-x 1 root root 3.5K Dec 31 2017 gdebi-gtk*
      -rw-r--r-- 1 root root 4.2K Feb 25 2010 gdebi.png
      -rw-r--r-- 1 root root 60K Jul 2 2015 gdebi.ui


      Any idea why gdebi won't launch?










      share|improve this question
















      This morning I discovered that I can't launch GDebi. When I try to launch it from the SUPER menu, it puts its name in the top bar with a spinning cursor, stays there for about 10 seconds, and then disappears.



      When I type sudo -H gdebi-gtk in the terminal, it launches fine.



      Here's the desktop file...



      [Desktop Entry]
      Name=GDebi Package Installer
      GenericName=Package Installer
      Comment=Install and view software packages
      Exec=sudo -H gdebi-gtk %f
      Icon=gnome-mime-application-x-deb
      Terminal=false
      Type=Application
      Categories=System;
      MimeType=application/vnd.debian.binary-package;
      NotShowIn=KDE;
      X-Ubuntu-Gettext-Domain=gdebi
      StartupNotify=true
      Keywords=package;apt;dpkg;install


      Here's some file info...



      $ cd /usr/bin
      $ ll gdebi*
      lrwxrwxrwx 1 root root 20 Dec 31 2017 gdebi -> ../share/gdebi/gdebi*
      lrwxrwxrwx 1 root root 24 Dec 31 2017 gdebi-gtk -> ../share/gdebi/gdebi-gtk*

      $ ll /usr/share/gdebi
      total 104K
      drwxr-xr-x 3 root root 4.0K Jun 12 13:47 ./
      drwxr-xr-x 527 root root 20K Oct 19 10:35 ../
      -rwxr-xr-x 1 root root 4.0K Dec 31 2017 gdebi*
      drwxr-xr-x 3 root root 4.0K Jun 12 14:04 GDebi/
      -rwxr-xr-x 1 root root 3.5K Dec 31 2017 gdebi-gtk*
      -rw-r--r-- 1 root root 4.2K Feb 25 2010 gdebi.png
      -rw-r--r-- 1 root root 60K Jul 2 2015 gdebi.ui


      Any idea why gdebi won't launch?







      gnome nautilus 18.10 gdebi






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 11 '18 at 14:49







      heynnema

















      asked Dec 8 '18 at 15:05









      heynnemaheynnema

      20.2k22258




      20.2k22258




















          2 Answers
          2






          active

          oldest

          votes


















          1














          As far I can understand the installed /usr/share/applications/gdebi.desktop differs from your file:



          $ cat /usr/share/applications/gdebi.desktop
          [Desktop Entry]
          Name=GDebi Package Installer
          GenericName=Package Installer
          Comment=Install and view software packages
          Exec=gdebi-gtk %f
          Icon=gnome-mime-application-x-deb
          Terminal=false
          Type=Application
          Categories=System;
          MimeType=application/vnd.debian.binary-package;
          NotShowIn=KDE;
          X-Ubuntu-Gettext-Domain=gdebi
          StartupNotify=true
          Keywords=package;apt;dpkg;install


          It uses PolicyKit's pkexec to be ran as root:



          $ dpkg -L gdebi | grep policy
          /usr/share/polkit-1/actions/com.ubuntu.pkexec.gdebi-gtk.policy


          So you should not use sudo for it.



          I have just tested on my Ubuntu 18.10 VM - I can install manually downloaded deb-file:



          apt-get download meld
          gdebi-gtk meld*.deb


          above I entered password and got Meld installed.



          So consider to remove your self-made desktop file and reinstall the application with



          sudo apt-get install --reinstall gdebi gdebi-core



          Also you can try to reinstall PolicyKit-related components:



          sudo apt-get install --reinstall policykit-1 python3-apt



          I have checked your discovery about installation of deb-file from ~/Desktop folder.



          And guess what?

          I can confirm this issue on clean Ubuntu 18.10 installation. It is unbelievable.

          I'm completely can not understand the modern GNOME philosophy.

          But by the way I have reported bug 1807761 against nautilus-desktop executable (as it controls the desktop in 18.10) (and to upstream as bug 782) to help other users.



          On upstream the bug is closed with comment:




          António Fernandes commented:




          Thanks for taking the time to report this.



          Thay version of nautilus is no longer supported upstream, and nautilus-desktop is absent from the latest version (a shell extension is available as replacement).



          So, a bug fix is not expectable from this side.





          Conclusion: on modern GNOME you can't install deb-files from desktop. This will not be fixed in 18.10. And it is completely unpredictable what will be prohibited next time in 19.04.



          Update: Ubuntu 18.04 LTS is affected too.






          share|improve this answer

























          • Thanks for your help! Now I do remember adding sudo -H in the Exec= line because gdebi hadn't been asking for user password when double-clicking on .deb files (when gdebi is set as the default app for .deb files). Since reinstalling, I wonder if that problem returns...

            – heynnema
            Dec 8 '18 at 15:26











          • Actually, it didn't ask for user password when I clicked the install button.

            – heynnema
            Dec 8 '18 at 15:31











          • Possible Wayland issue or something similar. On MATE running on top of Xorg it works as expected.

            – N0rbert
            Dec 8 '18 at 15:32







          • 1





            Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine! I removed all other files from my Desktop, thinking that one of them may have been causing the problem, but that's not it. So... the problem occurs when .deb files are on the Desktop.

            – heynnema
            Dec 10 '18 at 14:46






          • 1





            Thank goodness! I'm not crazy. Thanks for taking the time to help.

            – heynnema
            Dec 11 '18 at 2:03



















          1














          Go figure... reinstalling gdebi and gdebi-core fixed the launch problem. But the original problem remains.



          Update #1:



          So, now I recall... I previously had a problem where if gdebi is set as the default app for .deb files, when double-clicking on a .deb file, gdebi would open, and when I clicked on the Install Package button, where it should have asked for my user password, it just quit instead.



          However, if I started gdebi first, and opened the .deb file manually, then clicked Install Package, it would properly ask for my user password, and would install the .deb file as expected.



          My previous fix was to modify the .desktop file's Exec= line from:



          Exec=gdebi-gtk %f



          to



          Exec=sudo -H gdebi-gtk %f



          The reinstall undid that fix, cured the launch problem, but the user password and quit problem is back.



          Update #2:



          I reinstalled policykit-1 and python3-apt at the suggestion of @NOrbert. No joy.



          Update #3:



          Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine!



          @NOrbert has confirmed the problem.






          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',
            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%2f1099387%2fgdebi-package-installer-not-launching-and-wont-install-deb-files-on-the-des%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














            As far I can understand the installed /usr/share/applications/gdebi.desktop differs from your file:



            $ cat /usr/share/applications/gdebi.desktop
            [Desktop Entry]
            Name=GDebi Package Installer
            GenericName=Package Installer
            Comment=Install and view software packages
            Exec=gdebi-gtk %f
            Icon=gnome-mime-application-x-deb
            Terminal=false
            Type=Application
            Categories=System;
            MimeType=application/vnd.debian.binary-package;
            NotShowIn=KDE;
            X-Ubuntu-Gettext-Domain=gdebi
            StartupNotify=true
            Keywords=package;apt;dpkg;install


            It uses PolicyKit's pkexec to be ran as root:



            $ dpkg -L gdebi | grep policy
            /usr/share/polkit-1/actions/com.ubuntu.pkexec.gdebi-gtk.policy


            So you should not use sudo for it.



            I have just tested on my Ubuntu 18.10 VM - I can install manually downloaded deb-file:



            apt-get download meld
            gdebi-gtk meld*.deb


            above I entered password and got Meld installed.



            So consider to remove your self-made desktop file and reinstall the application with



            sudo apt-get install --reinstall gdebi gdebi-core



            Also you can try to reinstall PolicyKit-related components:



            sudo apt-get install --reinstall policykit-1 python3-apt



            I have checked your discovery about installation of deb-file from ~/Desktop folder.



            And guess what?

            I can confirm this issue on clean Ubuntu 18.10 installation. It is unbelievable.

            I'm completely can not understand the modern GNOME philosophy.

            But by the way I have reported bug 1807761 against nautilus-desktop executable (as it controls the desktop in 18.10) (and to upstream as bug 782) to help other users.



            On upstream the bug is closed with comment:




            António Fernandes commented:




            Thanks for taking the time to report this.



            Thay version of nautilus is no longer supported upstream, and nautilus-desktop is absent from the latest version (a shell extension is available as replacement).



            So, a bug fix is not expectable from this side.





            Conclusion: on modern GNOME you can't install deb-files from desktop. This will not be fixed in 18.10. And it is completely unpredictable what will be prohibited next time in 19.04.



            Update: Ubuntu 18.04 LTS is affected too.






            share|improve this answer

























            • Thanks for your help! Now I do remember adding sudo -H in the Exec= line because gdebi hadn't been asking for user password when double-clicking on .deb files (when gdebi is set as the default app for .deb files). Since reinstalling, I wonder if that problem returns...

              – heynnema
              Dec 8 '18 at 15:26











            • Actually, it didn't ask for user password when I clicked the install button.

              – heynnema
              Dec 8 '18 at 15:31











            • Possible Wayland issue or something similar. On MATE running on top of Xorg it works as expected.

              – N0rbert
              Dec 8 '18 at 15:32







            • 1





              Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine! I removed all other files from my Desktop, thinking that one of them may have been causing the problem, but that's not it. So... the problem occurs when .deb files are on the Desktop.

              – heynnema
              Dec 10 '18 at 14:46






            • 1





              Thank goodness! I'm not crazy. Thanks for taking the time to help.

              – heynnema
              Dec 11 '18 at 2:03
















            1














            As far I can understand the installed /usr/share/applications/gdebi.desktop differs from your file:



            $ cat /usr/share/applications/gdebi.desktop
            [Desktop Entry]
            Name=GDebi Package Installer
            GenericName=Package Installer
            Comment=Install and view software packages
            Exec=gdebi-gtk %f
            Icon=gnome-mime-application-x-deb
            Terminal=false
            Type=Application
            Categories=System;
            MimeType=application/vnd.debian.binary-package;
            NotShowIn=KDE;
            X-Ubuntu-Gettext-Domain=gdebi
            StartupNotify=true
            Keywords=package;apt;dpkg;install


            It uses PolicyKit's pkexec to be ran as root:



            $ dpkg -L gdebi | grep policy
            /usr/share/polkit-1/actions/com.ubuntu.pkexec.gdebi-gtk.policy


            So you should not use sudo for it.



            I have just tested on my Ubuntu 18.10 VM - I can install manually downloaded deb-file:



            apt-get download meld
            gdebi-gtk meld*.deb


            above I entered password and got Meld installed.



            So consider to remove your self-made desktop file and reinstall the application with



            sudo apt-get install --reinstall gdebi gdebi-core



            Also you can try to reinstall PolicyKit-related components:



            sudo apt-get install --reinstall policykit-1 python3-apt



            I have checked your discovery about installation of deb-file from ~/Desktop folder.



            And guess what?

            I can confirm this issue on clean Ubuntu 18.10 installation. It is unbelievable.

            I'm completely can not understand the modern GNOME philosophy.

            But by the way I have reported bug 1807761 against nautilus-desktop executable (as it controls the desktop in 18.10) (and to upstream as bug 782) to help other users.



            On upstream the bug is closed with comment:




            António Fernandes commented:




            Thanks for taking the time to report this.



            Thay version of nautilus is no longer supported upstream, and nautilus-desktop is absent from the latest version (a shell extension is available as replacement).



            So, a bug fix is not expectable from this side.





            Conclusion: on modern GNOME you can't install deb-files from desktop. This will not be fixed in 18.10. And it is completely unpredictable what will be prohibited next time in 19.04.



            Update: Ubuntu 18.04 LTS is affected too.






            share|improve this answer

























            • Thanks for your help! Now I do remember adding sudo -H in the Exec= line because gdebi hadn't been asking for user password when double-clicking on .deb files (when gdebi is set as the default app for .deb files). Since reinstalling, I wonder if that problem returns...

              – heynnema
              Dec 8 '18 at 15:26











            • Actually, it didn't ask for user password when I clicked the install button.

              – heynnema
              Dec 8 '18 at 15:31











            • Possible Wayland issue or something similar. On MATE running on top of Xorg it works as expected.

              – N0rbert
              Dec 8 '18 at 15:32







            • 1





              Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine! I removed all other files from my Desktop, thinking that one of them may have been causing the problem, but that's not it. So... the problem occurs when .deb files are on the Desktop.

              – heynnema
              Dec 10 '18 at 14:46






            • 1





              Thank goodness! I'm not crazy. Thanks for taking the time to help.

              – heynnema
              Dec 11 '18 at 2:03














            1












            1








            1







            As far I can understand the installed /usr/share/applications/gdebi.desktop differs from your file:



            $ cat /usr/share/applications/gdebi.desktop
            [Desktop Entry]
            Name=GDebi Package Installer
            GenericName=Package Installer
            Comment=Install and view software packages
            Exec=gdebi-gtk %f
            Icon=gnome-mime-application-x-deb
            Terminal=false
            Type=Application
            Categories=System;
            MimeType=application/vnd.debian.binary-package;
            NotShowIn=KDE;
            X-Ubuntu-Gettext-Domain=gdebi
            StartupNotify=true
            Keywords=package;apt;dpkg;install


            It uses PolicyKit's pkexec to be ran as root:



            $ dpkg -L gdebi | grep policy
            /usr/share/polkit-1/actions/com.ubuntu.pkexec.gdebi-gtk.policy


            So you should not use sudo for it.



            I have just tested on my Ubuntu 18.10 VM - I can install manually downloaded deb-file:



            apt-get download meld
            gdebi-gtk meld*.deb


            above I entered password and got Meld installed.



            So consider to remove your self-made desktop file and reinstall the application with



            sudo apt-get install --reinstall gdebi gdebi-core



            Also you can try to reinstall PolicyKit-related components:



            sudo apt-get install --reinstall policykit-1 python3-apt



            I have checked your discovery about installation of deb-file from ~/Desktop folder.



            And guess what?

            I can confirm this issue on clean Ubuntu 18.10 installation. It is unbelievable.

            I'm completely can not understand the modern GNOME philosophy.

            But by the way I have reported bug 1807761 against nautilus-desktop executable (as it controls the desktop in 18.10) (and to upstream as bug 782) to help other users.



            On upstream the bug is closed with comment:




            António Fernandes commented:




            Thanks for taking the time to report this.



            Thay version of nautilus is no longer supported upstream, and nautilus-desktop is absent from the latest version (a shell extension is available as replacement).



            So, a bug fix is not expectable from this side.





            Conclusion: on modern GNOME you can't install deb-files from desktop. This will not be fixed in 18.10. And it is completely unpredictable what will be prohibited next time in 19.04.



            Update: Ubuntu 18.04 LTS is affected too.






            share|improve this answer















            As far I can understand the installed /usr/share/applications/gdebi.desktop differs from your file:



            $ cat /usr/share/applications/gdebi.desktop
            [Desktop Entry]
            Name=GDebi Package Installer
            GenericName=Package Installer
            Comment=Install and view software packages
            Exec=gdebi-gtk %f
            Icon=gnome-mime-application-x-deb
            Terminal=false
            Type=Application
            Categories=System;
            MimeType=application/vnd.debian.binary-package;
            NotShowIn=KDE;
            X-Ubuntu-Gettext-Domain=gdebi
            StartupNotify=true
            Keywords=package;apt;dpkg;install


            It uses PolicyKit's pkexec to be ran as root:



            $ dpkg -L gdebi | grep policy
            /usr/share/polkit-1/actions/com.ubuntu.pkexec.gdebi-gtk.policy


            So you should not use sudo for it.



            I have just tested on my Ubuntu 18.10 VM - I can install manually downloaded deb-file:



            apt-get download meld
            gdebi-gtk meld*.deb


            above I entered password and got Meld installed.



            So consider to remove your self-made desktop file and reinstall the application with



            sudo apt-get install --reinstall gdebi gdebi-core



            Also you can try to reinstall PolicyKit-related components:



            sudo apt-get install --reinstall policykit-1 python3-apt



            I have checked your discovery about installation of deb-file from ~/Desktop folder.



            And guess what?

            I can confirm this issue on clean Ubuntu 18.10 installation. It is unbelievable.

            I'm completely can not understand the modern GNOME philosophy.

            But by the way I have reported bug 1807761 against nautilus-desktop executable (as it controls the desktop in 18.10) (and to upstream as bug 782) to help other users.



            On upstream the bug is closed with comment:




            António Fernandes commented:




            Thanks for taking the time to report this.



            Thay version of nautilus is no longer supported upstream, and nautilus-desktop is absent from the latest version (a shell extension is available as replacement).



            So, a bug fix is not expectable from this side.





            Conclusion: on modern GNOME you can't install deb-files from desktop. This will not be fixed in 18.10. And it is completely unpredictable what will be prohibited next time in 19.04.



            Update: Ubuntu 18.04 LTS is affected too.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 10 '18 at 22:06

























            answered Dec 8 '18 at 15:21









            N0rbertN0rbert

            23.9k650112




            23.9k650112












            • Thanks for your help! Now I do remember adding sudo -H in the Exec= line because gdebi hadn't been asking for user password when double-clicking on .deb files (when gdebi is set as the default app for .deb files). Since reinstalling, I wonder if that problem returns...

              – heynnema
              Dec 8 '18 at 15:26











            • Actually, it didn't ask for user password when I clicked the install button.

              – heynnema
              Dec 8 '18 at 15:31











            • Possible Wayland issue or something similar. On MATE running on top of Xorg it works as expected.

              – N0rbert
              Dec 8 '18 at 15:32







            • 1





              Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine! I removed all other files from my Desktop, thinking that one of them may have been causing the problem, but that's not it. So... the problem occurs when .deb files are on the Desktop.

              – heynnema
              Dec 10 '18 at 14:46






            • 1





              Thank goodness! I'm not crazy. Thanks for taking the time to help.

              – heynnema
              Dec 11 '18 at 2:03


















            • Thanks for your help! Now I do remember adding sudo -H in the Exec= line because gdebi hadn't been asking for user password when double-clicking on .deb files (when gdebi is set as the default app for .deb files). Since reinstalling, I wonder if that problem returns...

              – heynnema
              Dec 8 '18 at 15:26











            • Actually, it didn't ask for user password when I clicked the install button.

              – heynnema
              Dec 8 '18 at 15:31











            • Possible Wayland issue or something similar. On MATE running on top of Xorg it works as expected.

              – N0rbert
              Dec 8 '18 at 15:32







            • 1





              Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine! I removed all other files from my Desktop, thinking that one of them may have been causing the problem, but that's not it. So... the problem occurs when .deb files are on the Desktop.

              – heynnema
              Dec 10 '18 at 14:46






            • 1





              Thank goodness! I'm not crazy. Thanks for taking the time to help.

              – heynnema
              Dec 11 '18 at 2:03

















            Thanks for your help! Now I do remember adding sudo -H in the Exec= line because gdebi hadn't been asking for user password when double-clicking on .deb files (when gdebi is set as the default app for .deb files). Since reinstalling, I wonder if that problem returns...

            – heynnema
            Dec 8 '18 at 15:26





            Thanks for your help! Now I do remember adding sudo -H in the Exec= line because gdebi hadn't been asking for user password when double-clicking on .deb files (when gdebi is set as the default app for .deb files). Since reinstalling, I wonder if that problem returns...

            – heynnema
            Dec 8 '18 at 15:26













            Actually, it didn't ask for user password when I clicked the install button.

            – heynnema
            Dec 8 '18 at 15:31





            Actually, it didn't ask for user password when I clicked the install button.

            – heynnema
            Dec 8 '18 at 15:31













            Possible Wayland issue or something similar. On MATE running on top of Xorg it works as expected.

            – N0rbert
            Dec 8 '18 at 15:32






            Possible Wayland issue or something similar. On MATE running on top of Xorg it works as expected.

            – N0rbert
            Dec 8 '18 at 15:32





            1




            1





            Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine! I removed all other files from my Desktop, thinking that one of them may have been causing the problem, but that's not it. So... the problem occurs when .deb files are on the Desktop.

            – heynnema
            Dec 10 '18 at 14:46





            Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine! I removed all other files from my Desktop, thinking that one of them may have been causing the problem, but that's not it. So... the problem occurs when .deb files are on the Desktop.

            – heynnema
            Dec 10 '18 at 14:46




            1




            1





            Thank goodness! I'm not crazy. Thanks for taking the time to help.

            – heynnema
            Dec 11 '18 at 2:03






            Thank goodness! I'm not crazy. Thanks for taking the time to help.

            – heynnema
            Dec 11 '18 at 2:03














            1














            Go figure... reinstalling gdebi and gdebi-core fixed the launch problem. But the original problem remains.



            Update #1:



            So, now I recall... I previously had a problem where if gdebi is set as the default app for .deb files, when double-clicking on a .deb file, gdebi would open, and when I clicked on the Install Package button, where it should have asked for my user password, it just quit instead.



            However, if I started gdebi first, and opened the .deb file manually, then clicked Install Package, it would properly ask for my user password, and would install the .deb file as expected.



            My previous fix was to modify the .desktop file's Exec= line from:



            Exec=gdebi-gtk %f



            to



            Exec=sudo -H gdebi-gtk %f



            The reinstall undid that fix, cured the launch problem, but the user password and quit problem is back.



            Update #2:



            I reinstalled policykit-1 and python3-apt at the suggestion of @NOrbert. No joy.



            Update #3:



            Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine!



            @NOrbert has confirmed the problem.






            share|improve this answer





























              1














              Go figure... reinstalling gdebi and gdebi-core fixed the launch problem. But the original problem remains.



              Update #1:



              So, now I recall... I previously had a problem where if gdebi is set as the default app for .deb files, when double-clicking on a .deb file, gdebi would open, and when I clicked on the Install Package button, where it should have asked for my user password, it just quit instead.



              However, if I started gdebi first, and opened the .deb file manually, then clicked Install Package, it would properly ask for my user password, and would install the .deb file as expected.



              My previous fix was to modify the .desktop file's Exec= line from:



              Exec=gdebi-gtk %f



              to



              Exec=sudo -H gdebi-gtk %f



              The reinstall undid that fix, cured the launch problem, but the user password and quit problem is back.



              Update #2:



              I reinstalled policykit-1 and python3-apt at the suggestion of @NOrbert. No joy.



              Update #3:



              Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine!



              @NOrbert has confirmed the problem.






              share|improve this answer



























                1












                1








                1







                Go figure... reinstalling gdebi and gdebi-core fixed the launch problem. But the original problem remains.



                Update #1:



                So, now I recall... I previously had a problem where if gdebi is set as the default app for .deb files, when double-clicking on a .deb file, gdebi would open, and when I clicked on the Install Package button, where it should have asked for my user password, it just quit instead.



                However, if I started gdebi first, and opened the .deb file manually, then clicked Install Package, it would properly ask for my user password, and would install the .deb file as expected.



                My previous fix was to modify the .desktop file's Exec= line from:



                Exec=gdebi-gtk %f



                to



                Exec=sudo -H gdebi-gtk %f



                The reinstall undid that fix, cured the launch problem, but the user password and quit problem is back.



                Update #2:



                I reinstalled policykit-1 and python3-apt at the suggestion of @NOrbert. No joy.



                Update #3:



                Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine!



                @NOrbert has confirmed the problem.






                share|improve this answer















                Go figure... reinstalling gdebi and gdebi-core fixed the launch problem. But the original problem remains.



                Update #1:



                So, now I recall... I previously had a problem where if gdebi is set as the default app for .deb files, when double-clicking on a .deb file, gdebi would open, and when I clicked on the Install Package button, where it should have asked for my user password, it just quit instead.



                However, if I started gdebi first, and opened the .deb file manually, then clicked Install Package, it would properly ask for my user password, and would install the .deb file as expected.



                My previous fix was to modify the .desktop file's Exec= line from:



                Exec=gdebi-gtk %f



                to



                Exec=sudo -H gdebi-gtk %f



                The reinstall undid that fix, cured the launch problem, but the user password and quit problem is back.



                Update #2:



                I reinstalled policykit-1 and python3-apt at the suggestion of @NOrbert. No joy.



                Update #3:



                Oh oh oh... fresh clue! The problem with gdebi-gtk occurs when trying to install a .deb file on my Desktop. However, if I move that same .deb into a fresh new folder on my Desktop, or into my Downloads folder, gdebi-gtk works fine!



                @NOrbert has confirmed the problem.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 11 '18 at 2:06

























                answered Dec 8 '18 at 15:21









                heynnemaheynnema

                20.2k22258




                20.2k22258



























                    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%2f1099387%2fgdebi-package-installer-not-launching-and-wont-install-deb-files-on-the-des%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

                    Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

                    fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap

                    Where else does the Shulchan Aruch quote an authority by name?Parashat Metzora+HagadolPesach/PassoverShulchan Aruch UTF-8Anonymous glosses in the Shulchan AruchWhy is the Shulchan Aruch definitive?Siman 32, Kitzur Shulchan Aruch: UntranslatedLitvaks/Yeshivish and Shulchan AruchBuying a Shulchan AruchEnglish version of SHULCHAN ARUCHIs there any place where Shulchan Aruch rules with the Rosh against the Rif and Rambam?Are there practices where Sepharadim do not hold by Shulchan Aruch?5th part of the shulchan aruch