On Fri, Aug 21, 2009 at 1:26 AM, Sriram Narayanan<sriramnrn at gmail.com> wrote: > I've seen this suggest feature help some of my colleagues who're > Windows users trying out Ubuntu. Recently, when I tried ?OpenSuse, I > saw that it gave similar help for /usr/sbin/foobar apps too (requring > the user to launch that app using sudo) >
Perhaps belenix could go one step ahead: If an app requires root use privelledges to run, then display a message "Run this command with sudo" or something like that, instead of the usual "Permission denied". Just a suggestion. Completely unrelated: how about adding "Did you mean" kind of suggestions. User tries - "spkg install openoffce". Instead of the usual, package not found, spkg could output a possible list of suggestions - Did you mean openoffice? This can be implemented using the Levenshtein word distance algorithm (http://en.wikipedia.org/wiki/Levenshtein_distance). For invalid names, just calculate the levenshtein distance of the input package name with a list of all the packages and show few of the closest matches.
