Xubuntu / Xfce: How to add Keyboard shortcut for Terminal and Suspend action?

I am using Xubuntu (an elegant and easy-to-use Linux distribution, based on Ubuntu, using Xfce as the graphical desktop). Xubuntu has shortcut for locking the screen. It is CTRL+ALT+Del. But, there was no shortcut for Suspend action (keeping the computer in Sleep mode). If you would like to add keyboard shortcuts on Ubuntu, you may … Read more

SMPlayer: An alternative to VLC Media Player

SMPlayer is a free and open source media player for Windows and Linux. It is a graphical user interface (GUI) for the award-winning MPlayer. SMPlayer is a very good alternative to VLC media player. It is faster than VLC and can play almost all video and audio formats. You don’t need to download and install … Read more

Magento: Send confirmation email on new customer registration

Magento has the feature to verify the authenticity of newly registered customers before activating their account. When a user registers to your Magento shop, then he/she will get a confirmation email with a confirmation link. The customer’s account will be activated only after he/she clicks that confirmation link. By default this feature is not activated … Read more

Magento: You cannot define a correlation name ‘attribute_idx’ more than once [SOLVED]

Problem: I am having the following error when I browse Layered Navigation on Magento. You cannot define a correlation name ‘attribute_idx’ more than once Cause: This is because a block has been duplicated. You have to check your layout xml files to check if you have included same block at same place twice. Solution: To … Read more

[SOLVED] Warning: Your Magento folder does not have sufficient write permissions

You might get this error when you go to Magento Connect Manager (System -> Magento Connect -> Magento Connect Manager) of your Magento installation. This means that Magento Connect is unable to write files to your server. Warning: Your Magento folder does not have sufficient write permissions. The solution to this problem is to set … Read more

Magento: Unable to select custom attribute on product collection

Problem: I had added a new product attribute. Suppose the attribute code is ‘test’. I have been trying to fetch/select that newly added product attribute. Here is my Magento collection code:- $collection = Mage::getModel('catalog/product') ->getCollection() ->addAttributeToSelect('test') ->addAttributeToFilter('url_key', 'SOME_URL_KEY') ->getFirstItem(); I don’t see the attribute ‘test’ when I print the collection data. echo "<pre>"; print_r($collection->getData()); echo … Read more

Vi commands: Simple and Quick tutorial [Linux]

VI is a display oriented interactive text editor originally created for the Unix operating system. It is available by default on all UNIX systems. It is supplied with all Linux distributions. Here is a simple and quick VI command tutorial. Note: VI commands are CASE SENSITIVE. Modes There are two modes in vi: command mode … Read more