That cool window in GNOME Shell is only displayed for applications that use PolicyKit. For example, to trigger this window for Synaptic, run this in a terminal:
pkexec synaptic
You can't use pkexec for all applications but only for those that have a pkexec policy file under /usr/share/polkit-1/actions/.
For this you can use the command gksu-polkit. It largely behaves the same as gksudo, but taps into the policykit framework. To use it install the package 'gksu-polkit'.
That cool window in GNOME Shell is only displayed for applications that use PolicyKit. For example, to trigger this window for Synaptic, run this in a terminal:
You can't use
pkexec
for all applications but only for those that have apkexec
policy file under/usr/share/polkit-1/actions/
.For this you can use the command
gksu-polkit
. It largely behaves the same as gksudo, but taps into the policykit framework. To use it install the package 'gksu-polkit'.