LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2004, 03:56 PM   #1
orgee
Member
 
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Rep: Reputation: 15
how to change default SUDO editor???


I just cant adapt to Vi, mainly because I dont want to.. And VISUDO uses Vi, is there any way to change the editor that visudo uses??
 
Old 10-12-2004, 05:04 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Recompile sudo so it evaluates the editor variable.

It's considered bad practice, but since this is Linux
you can choose to do silly things, too ;) While you're
at it - enable insults! :D


Cheers,
Tink
 
Old 10-12-2004, 05:16 PM   #3
orgee
Member
 
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Original Poster
Rep: Reputation: 15
Ah gotcha, hehe thanks man. Today is just my cleaning day, removing alot of software from default slack 10 FULL install hehe...

Btw, i see youre on slackware too and you use fluxbox.. I use the same thing. I was wondering though, if I wanted to keep my system able to run gnome type programs, but remove the gnome desktop and all things related to it, what packages would I need to keep? So far i've removed alot, but i've kept the ones I wasnt sure I needed or not. I know libgnome and all the GTK libs i would need.
 
Old 10-12-2004, 07:39 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The (somewhat inconvenient) way to find that out
is to ldd all binaries that AREN'T part of the Gnome
desktop, filter the libraries list you get against the
gnome packages and remove the ones that you
find aren't required ... should be script-able, I don't
have too many gnome-based apps so I checked
them by hand.


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changing default editor zyphonic Linux - General 8 11-14-2005 07:35 AM
sudo: How can i change the ownership of particular files? anoopp Linux - Security 1 03-18-2005 02:03 AM
change to unprivileged user without sudo? german Linux - Security 2 01-28-2005 01:32 PM
Changing default editor Tony Empire Linux - Software 5 12-27-2004 12:45 PM
how can I change the default editor (vipw, crontab -e) or pager? Xavius Linux - Newbie 1 04-05-2004 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration