Re: Desktop launcher as root



On Sun, 30 Apr 2006 04:20:09 +0200
Thilo Six <T.Six@xxxxxx> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Peter Garrett wrote the following on 30.04.2006 04:00:

<snip>

sudo update-alternatives --config editor

mc is aliased to `PAGER=/usr/share/vim/vim64/macros/less.sh EDITOR=nano
HISTFILE=~/.mc/mc_history mc'


Peter

bye Thilo

Umm - I thnk that sailed right over my head...
I just installed mc on my laptop, and

sudo update-alternatives --config editor

showed mcedit as the selected editor. I knew of this because the same
thing happened on my other machines when I installed mc on them.

For example, suddenly "visudo" brought up "mcedit" instead of
"nano" ( notice that one would naturally expect visudo to bring up vi /
vim - but by default on Ubuntu it doesn't, since the alternative for
"editor" is nano by default, which makes for interesting experiences on IRC
help channels...

me: OK , hit escape
newperson: Huh?
me: to save the file and quit the editor type :wq!
newperson: that doesn't work either - what are you smoking?

And so on...

Peter
--


"Hyperlinks subvert hierarchy."

-The Cluetrain Manifesto

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



Relevant Pages

  • Re: Listing Partitions?
    ... >> I guess I'm looking for either the GUI analog of nano within Kubuntu's ... > of us seldom bother with (that of running a graphical text editor with ... > novice-friendly console text editor of your choice (ae, ee, nano, joe, ... > know offhand which ones are made easy in a KDE-based distribution. ...
    (comp.os.linux.misc)
  • Re: man dangling symlink question
    ... >>these, plus emacs, xemacs, nano, etc. will be alternatives for editor. ... when you exit it grabs the text and makes the log entry. ...
    (Debian-User)
  • Re: trailing blank line in a text file
    ... >> No in vi and nano I do not see anything. ... but in gedit (gui editor) it shows what I displayed above. ... > in Unix/Linux, a \n is the same as a line feed. ...
    (Fedora)
  • Re: SLRN/Nano mouse paste problem
    ... > across into Nano when its open as SLRN's editor. ... left swipe - middle paste ... Does vi work in slrn for you, ...
    (news.software.readers)
  • Re: Differences in RH Fedora coming from Debian
    ... there is also a reason to teach 'vi' in classes like that. ... I mean if you use emacs, nano, etc, they ... I would then be stuck with ed for editing. ... If I was going to put a staticly linked editor in /bin/ for emergencies ...
    (Debian-User)