“I found out that Ubuntu has nice way to promote their new release - small banner which informs how many days are left before new version is out. See http://www.ubuntu.com/getubuntu/countdown for details. This banner also links to information page about distribution features and mainly to beta releases which can attract more testers. I think it would be nice if openSUSE had something similar. I would created it by myself but unfortunately I don’t have time right now.”
The same day I received beautiful design from Billy Juliani, added some PHP magic into it and together we created countdown buttons for openSUSE 11.0. The result can be seen here: http://en.opensuse.org/Countdown
Background: Debian and Ubuntu use patched bash, that allows to write handler, which is executed before “command not found” is written. That provides us a way we can help user in solving the problem. You can look at the picture to get the idea:
In first example, user types “epihpany” instead of “epiphany” and handler suggests correct spelling. After this user tries running epiphany, but it is not installed, so handler shows list of packages that provide this program. In the third example, user runs program that is not found, but package providing it is installed (meaning that program is not in user’s path - probably intended to be run only by root).
Package command-not-found and patched bash are available in BuildService or you can download packages directly from repository. Please test the packages and let me know if you have any ideas or in case you have found a bug.
Ah, I almost forgot :) You have to add these 3 lines to /etc/bash.bashrc.local or ~/.bashrc:
if[ -f /etc/bash_command_not_found ]; then
Handler for zsh can be installed in similar fashion. Read README in command-not-found package.