The application menu names in XFCE is provided by the package “Garcon” ( http://wiki.xfce.org/dev/garcon ). You can directly edit the file installed by that package to change the name of the menu. In my arch linux system the files are in “/usr/share/desktop-directories” directory.
$ ls -l /usr/share/desktop-directories/
-rw-r–r– 1 root root 3306 Sep 17 07:43 xfce-accessories.directory
-rw-r–r– 1 root root 2766 Sep 17 07:43 xfce-development.directory
-rw-r–r– 1 root root 2241 Sep 17 07:43 xfce-education.directory
-rw-r–r– 1 root root 3115 Sep 17 07:43 xfce-games.directory
-rw-r–r– 1 root root 3276 Sep 17 07:43 xfce-graphics.directory
-rw-r–r– 1 root root 3210 Sep 17 07:43 xfce-multimedia.directory
-rw-r–r– 1 root root 1748 Nov 11 15:33 xfce-network.directory
-rw-r–r– 1 root root 2654 Sep 17 07:43 xfce-office.directory
-rw-r–r– 1 root root 3223 Sep 17 07:43 xfce-other.directory
-rw-r–r– 1 root root 2803 Sep 17 07:43 xfce-screensavers.directory
-rw-r–r– 1 root root 3462 Sep 17 07:43 xfce-settings.directory
-rw-r–r– 1 root root 2517 Sep 17 07:43 xfce-system.directory
Change the menu name in those files and restart xfce panel.
Puppet is a powerful configuration management and automation tool. Using the client server architecture of puppet, one can manage hundreds or even thousands of servers. Puppet saves lot of time for the system administrator. In this article I am going to give detailed steps to install and configure puppet Client/Server model in CentOS machines. Here I am using two VMs called puppet-server and puppet-client to demonstrate the puppet Client/Server setup.
Puppet package is provided in EPEL repository. We need to enable it to install puppet using YUM. On both puppet-server and puppet-client, install EPEL repository.
Note : I am using CentOS 5.7, so I am going to install EPEL for CentOS 5.
Update : Released 4.1 with cast/director/rating code update.
I am happy to announce the version 4 of IMDB movie fetcher. This release contains two new features and many bug fixes. This release adds colored output and “similar title” suggestions.
Arch Linux aur package is here . Download it and follow below steps
wget [--right click the above here link and copy paste the url here--]
tar zxvf imdbmoviefetcher.tar.gz
sudo pacman -U imdbmoviefetcher-4.0-1-any.pkg.tar.xz
Most of the time bash script need user input values to generate the data that is presented to user. There are many ways to accept user data in bash like reading data interactively, getting from parameters etc. But there are some situations where bash always need a set of data to generate the output. It will be a burden on the user to input the same data again and again, each time he executes the script. In that situations, storing the value in a configuration file will help. That file can be edited by user, if he requires to pass another set of data. You can see this concept in the BSD style init scripts, were boot parameters are stored in a centralized file like rc.conf.
Today I faced a problem with the script in which I was trying to produce colorized output based on the user preferences. It is unnecessary to ask user each time for his color preference. Instead of that he can just put the input in a configuration file and ask the script to read it. Another option is to hard code the color values in the script itself, but that will make it difficult for the user, if he want to change the color preference later. Continue reading
Linux uses framebuffer to show graphics in console. It is possible to see pictures or even video in console using framebuffer. In ubuntu the packages such as fbi, fbcat, mplayer etc can be used to see pictures, take screen shot and view video respectively. You need to be in any of the console by pressing CTRL+ALT+F1….6 to use these commands.
Fbi package to view pictures
The fbi package provides the framebuffer image viewer.
sudo apt-get install fbi
sudo fbi /path…/to/image