حرف شما درسته اما ترمینال پیغام زیر رو میده !
arashk@Vaio-Linux:~$ gksudo kate /etc/hdparm.conf
The program 'gksudo' is currently not installed. You can install it by typing:
sudo apt-get install gksu
arashk@Vaio-Linux:~$ sudo apt-get install gksu
[sudo] password for arashk:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.