Comment 28 for bug 796076

NoOp (glgxg) wrote :

I'll probably get my hands slapped for this; but in the interim you can create an alias so that you do not have to type 'gksudo gksudo' or 'gksu gksu' each time:

$ gedit ~/.bashrc

Scroll down the the alias section & add the last two lines shown here:

# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
alias gksudo='gksudo gksudo'
alias gksu='gksu gksu'

Save & exit. Then:

$ . ~/.bashrc
Note that there is a space following the first dot (.).