Run:
gksudo gedit /usr/share/applications/gdebi.desktop
make it read:-
[Desktop Entry] Name=GDebi Package Installer GenericName=Package Installer Comment=Install and view software packages Exec=gksudo 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
SAVE the file.
Now try right-clicking a .deb and selecting "Open with > GDebi Package Installer"
Run:
gksudo gedit /usr/share/ applications/ gdebi.desktop
make it read:-
[Desktop Entry] mime-applicatio n-x-deb application/ vnd.debian. binary- package; Gettext- Domain= gdebi package; apt;dpkg; install
Name=GDebi Package Installer
GenericName=Package Installer
Comment=Install and view software packages
Exec=gksudo gdebi-gtk %f
Icon=gnome-
Terminal=false
Type=Application
Categories=System;
MimeType=
NotShowIn=KDE;
X-Ubuntu-
StartupNotify=true
Keywords=
SAVE the file.
Now try right-clicking a .deb and selecting "Open with > GDebi Package Installer"