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 (.).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076

Title:
  When run as root [gksudo gedit <whatever>]  gedit  tries to open a 2nd
  'untitled document 1'

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/796076/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to