Month: January 2013

NIce backgrounds with Fedora with Yearly calnedar

Here is something that you can try

sudo yum install yearcalendar-backgrounds

This will install 3 wallpapers with yearly calendars. There is no interesting background in the calendar but then you get the clarity since there is no background. The calendars are quite nice by the way.

dnsmasq – use with Network Manager.

Niles Machine Company
Niles Machine Company (Photo credits:


Well if you have not heard about dnsmasq:


Dnsmasq is lightweight, easy to configure DNS forwarder and DHCP server.
It is designed to provide DNS and, optionally, DHCP, to a small network.
It can serve the names of local machines which are not in the global
DNS. The DHCP server integrates with the DNS server and allows machines
with DHCP-allocated addresses to appear in the DNS with names configured
either in each host or in a central configuration file. Dnsmasq supports
static and dynamic DHCP leases and BOOTP for network booting of diskless


and for the installation :


sudo yum install dnsmasq


So, now that it is installed, all you need to do is add the following in file: /etc/NetworkManager/NetworkManager.conf




in the main section. Restart your network manager using sysctl and you should see that command:




should show result like below: 185 IN A 185 IN A 185 IN A 185 IN A
;; Query time: 50 msec
;; WHEN: Mon Jan 14 17:16:39 2013
;; MSG SIZE rcvd: 215


If it does not, then you might want to add a dispatcher to Network Manager that adds localhost to your “/etc/resolv.conf” file. And here is the name of the file – /etc/NetworkManager/dispatcher.d/localhost-prepend and the contents


# Prepend localhost to resolv.conf for dnsmasq

if [[ ! $(grep /etc/resolv.conf) ]]; then
  sed -i '1s|^|nameserver|' /etc/resolv.conf


Thats all there is to it 🙂



Enhanced by Zemanta

lightweight pdf viewer – zathura.

Zathura is a lightweight viewer for pdf which works on plugins. Here is shor description :

Zathura is a highly configurable and functional PDF viewer based on the Poppler
rendering library and the GTK+ toolkit. The idea behind zathura is an
application that provides a minimalist and space saving interface as well as
an easy usage that mainly focuses on keyboard interaction.

But the viewer will not work unless you install the plugins to display the correct plugin. So, if you want to use it for any real purposes then you will have to install the appropriate plugin as well, so here is what you need to do:

sudo yum install zathura zathura-pdf-poppler

And you have the lightweight viewer working for pdf. Its very good option if you like a viewer alone with not many features, but doing just what it is designed to do 🙂


Enhanced by Zemanta