Now open /usr/share/applications/gparted.desktop with gedit or nano (as root)
find the line which says
exec=gksu gparted
and change this to
exec=gparted
save the file.
This script kills gnome-volume-manager and then starts gparted.On closing gparted , it runs gnome-volume-manager , so that the CDs and USB drives will be automounted.
The bug still persists in the official Feisty.I just wrote a shell script to kill gnome-volume- manager and then start gparted.
$sudo mv /usr/bin/gparted /usr/bin/gpart
$sudo gedit /usr/bin/gparted
Add the following lines:-
#!/bin/sh manager gnome-volume- manager
killall gnome-volume-
gksu /usr/bin/gpart
/usr/bin/
exit
Save the file.
$sudo chmod a+x /usr/bin/gparted
Now open /usr/share/ applications/ gparted. desktop with gedit or nano (as root)
find the line which says
exec=gksu gparted
and change this to
exec=gparted
save the file.
This script kills gnome-volume- manager and then starts gparted.On closing gparted , it runs gnome-volume- manager , so that the CDs and USB drives will be automounted.