Under the hood of zypper-upgraderepo gem

Zypper-upgraderepo came in my mind the day I realized to abandon the old method of download and burn the ISO to upgrade my openSUSE Linux distro. There is nothing wrong on reinstalling everything from zero and clean up all the junk accumulated, but the good ability of Yast and Zypper to keep the system in good conditions after several package installations and removals, made me think to take advantage of the dist-upgrade command.

Sysroot does not seem to be an OS tree

Sometimes error messages can result in more scared than they are, especially those strictly related to the boot loading. In that situation, when the error message is not much clear, we wrongly assume that a clean reinstallation is the only solution.

Populate the KDE service menu

Often we rely on CLI applications or small scripts to elaborate files and most of the time we would like to have quick access to them while browsing our filesystem with a file manager like Dolphin. Luckily, an highly configurable environment like KDE, overcomes this issue allowing every user to populate the contextual menu.

Show a dialog with Kdialog (part 3)

This third part is dedicated to another set of constrained choice dialogs, useful to drive the user among a discrete number of options and easier handling certain input data in our scripts. Besides the file dialogs seen in the second part, Kdialog offers menus, with single and multiple-choice, and particular input dialogs which may return date, a color or a system icon.

Enhancing search and replace with Vim

Vim is a powerful text editor, appreciated for a large number of plugins, syntax highlighter and the small memory requirements, it can also run in console or virtual terminal flawless. Once configured, customized and get accustomed with keyboard’s combinations, it reveals great features for every programmer. One of them is the advanced use of search & replace command.