I was having a discussion about openSUSE with a colleague when he questioned me on software updates that just run silently in the background. I replied that yes, it’s possible, in fact on the command line one may use the
--non-interactive flag with zypper.
Otherwise, open YasT > Online Update and at the configuration window select Configuration > Online Update.
As shown in the above screenshot, check the “automatic online update” and finally select “skip interactive patches” and “agree with licenses”. You may set the update frequency to daily or weekly, as it suits you. Selecting “delta rpms” ensures that less bandwidth is used as delta packages contain only the difference between the old and new package rather than having to download whole packages every time a software has a version change.
That’s it. Your system should now update quietly in the background.
The post Setting up a quiet auto-update for openSUSE appeared first on HACKLOG.
I used to have random notes in text files scattered on the disk. Then I tried being an organized person by using things like Google Docs… but, after some time I would find myself coming back to the simple text editor when in need of quick notes. On my openSUSE laptop I would either fire up Gedit or if the terminal is already open I’d use Vim.
A few days ago while searching for some packages in the openSUSE repo, I came across the
vim-plugin-vimwiki package for Vim. It turned out to be a handy plugin for the Vim text editor.
sudo zypper in vim-plugin-vimwiki
At next launch of Vim, type
ww and press “enter” to start the wiki.
Screenshot of gVim
A folder named “vimwiki” will be created in the home directory of the user. For example for the user “ish”, the following message will appear upon typing
Vimwiki: Make new directory: /home/ish/vimwiki
A first blank file named “index.wiki” will be created in the “vimwiki” directory. The wiki has support for links, which are created using double brackets, e.g [[Hello Wiki]]. The text between the brackets become click-able and the file “~/vimwiki/Hello Wiki.wiki” is created.
One can navigate through the pages by pressing “enter” while the cursor is on the “link text” and using the backspace button to go to the previous page.
What about existing text files?
The existing text files can be renamed with a
.wiki extension and moved to the vimwiki directory. Then use the double brackets to link to that file.
I find the Vim Wiki being a simple & effective solution to take quick (re-usable) notes in an organized manner. Surely other solutions exist but at the moment I’d stick to Vim Wiki.
The post Build a personal wiki using Vim appeared first on HACKLOG.