Pages

Sunday, June 24, 2012

How to add website shortcuts to the Favorites list of Mint Menu



Everybody has his own favorite websites to visit frequently. Normally to open these websites we will open the web browser, type the url address or get it from bookmarks. A quicker that we usually use is to create shortcut launchers for these sites on the desktop or on the panel. However, because I prefer a clean desktop, I added these shortcuts to the Favorites list of the Mint Menu on my Linux Mint 13 (MATE) box. Here is how my Mint Menu looks with shortcuts of my favorite websites on the Favorites list:


Add website shortcuts to the Favorites list of Mint Menu

To add website shortcuts to the Favorites list of the Mint Menu, you need to create desktop shortcuts for them. To avoid confusion, I store all the new desktop shortcuts into the default folder for them, ie /usr/share/applications. To create a new shortcut in MATE, just open the terminal and run the following command:
 sudo mate-desktop-item-edit /usr/share/applications --create-new  

A create launcher window will appear, on which you can create a new launcher. You need to give the launcher a name, then the command to use a web-browser to open the website url. To change the shortcut icon ( which will appear on the Mint Menu later on, just double click on the icon image and select the logo for your website shortcut). Here is an example of my shortcut for Facebook:

Add website shortcuts to the Favorites list of MintMenu

Click OK and you will have a launcher for Facebook.

To add the new shortcuts to the Favorites list of the Mint Menu,  you just need to append these launchers to the file ~/.linuxmint/mintMenu/applications.list.

Here is how this file looks to have my Mint Menu in the above screenshot:
 location:/usr/share/applications/firefox.desktop  
 location:/usr/share/applications/gimp.desktop  
 location:/usr/share/applications/pidgin.desktop  
 location:/usr/share/applications/banshee.desktop  
 separator  
 location:/usr/share/applications/mate-terminal.desktop  
 location:/usr/share/applications/pluma.desktop  
 separator  
 location:/usr/share/applications/BBC.desktop  
 location:/usr/share/applications/Gmail.desktop  
 location:/usr/share/applications/Wikipedia.desktop  
 location:/usr/share/applications/Facebook.desktop  
 location:/usr/share/applications/ED.desktop  
 location:/usr/share/applications/RFA.desktop  

After you edit this file, right click on the Mint Menu button on the panel, select the "Reload plugins" option and the Mint Menu will have a new Favorites list.

For quicker access, you also need to set the Mint Menu to always display the Favorites list at when opening up. To do so, hit Alt + F2 and type "mateconf-editor" and the mate configuration window will appear. You go to apps >  MintMenu then check the line "start_with_favorites" and after that, the Mint Menu will always show the Favorites list when you open it up:

Chicken Shoot 2 Edition 2012


RELEASE
iNFOS

Chicken Shoot 2 Edition 2012 MULTI9
(c) TopWare Interactive

 
Ripped: Company Intro Release date: 24/06/2012
Files: 22x10.00MB Language: Multilanguage

RELEASE
NOTES

CHICKEN SHOOT 2 is a Classic Fun Shooter with adventure elements
You don't have to think too much .... just blow the chickens away
In each mission the player can collect a number of things and can
receive many extra points for different actions. In this way it is
easy - especially in the first levels - to score lots of points
but the levels increase in difficulty from mission to mission and
becomes a true challenge with a high addiction factor. The
implementation of numerous and varied gimmicks - individually made
for each level - offers the player many hours of exciting gameplay

Features:

About 12.000 hand-drawn chicken animations
2 exciting single player modes: Classic and Arcade
6 different weapons with various shooting range
Internet-gaming option for up to 4 players with Online Highscore
Multiplayer Mode for up to 4 players (DirectPlay Support for
network sessions over TCP/ IP)
6 various levels and 1 additional bonus level
Amusing and exciting surroundings with lots of funny gimmicks
Game- in-game included

1. Unzip & Unrar
2. Start setup.exe
3. Start game with Kurka.exe
use one of these serial:

UVZY-V5R3-NQWK-SJN3
WHZZ-3FNS-NN9Z-SX2E
GF2X-JHFM-P5X3-DG35
JY83-SGDR-9X2S-UFG8

4. Have Fun!!!

NOTES

Support the software developers. If you like this game, BUY IT!

ALiAS GREETS

DiViNE - RELOADED - 0x0007
RESTORE - BAMBOOCHA - PROFiT
PROPHET - CYGNUS - HI2U

Multi Router Traffic Grapher – MRTG on Linux



The Multi Router Traffic Grapher (MRTG) is a network or resource monitoring tool used by System Administrators across the Globe. MRTG generates HTML pages containing PNG images, which provides a real time visual representation of network traffic and system resources.
STEP 1: Install MRTG with required packages

# yum install mrtg net-snmp net-snmp-utils -y

STEP 2: Configure snmpd

If you need to monitor localhost including interface and other stuff such as CPU, memory etc, configure snmpd. Open /etc/snmp/snmpd.conf,

# vim /etc/snmp/snmpd.conf

Do changes in it as follows to only allow access from localhost:

com2sec   local      localhost       public

group      rwroup     v1         local
group     rwgroup    v2c         local
group      rwgroup    usm        local

view      all        included       .1   80

access   rwgroup    “”  any   noauth    exact  all    all    none
syslocation BSNL, India
syscontact Root

Save and close the file. Restart snmpd:

# chkconfig snmpd on; service snmpd restart

Make sure you see interface IP, by running the following command:

# snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex

Sample Outputs:
IP-MIB::ipAdEntIfIndex.121.xx.yy.zzz = INTEGER: 2
IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1

STEP 3: Configure MRTG,

Use cfgmaker command to creates /etc/mrtg/mrtg.cfg file, enter:
# cfgmaker –global ‘WorkDir: /var/www/mrtg’ –output  /etc/mrtg/mrtg.cfg public@localhost

Options Description:
    • - -global ‘WorkDir: /var/www/mrtg’ : A place – workdir to store MRTG graphs.
    • - -output /etc/mrtg/mrtg.cfg: configure output filename
    • public@localhost : public is the community name of the device you want to create a configuration for. localhost is the DNS name or the IP number of an SNMP-manageable device i.e. our local server.
Finally, run indexmaker to create web pages which display the status of an array of mrtg interface status pages:

# indexmaker –output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg

STEP 4: Verify Cron Job

# cat /etc/cron.d/mrtg

*/5 * * * * LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg –lock-file /var/lock/mrtg/mrtg_l –confcache-file /var/lib/mrtg/mrtg.ok

Now, restart crond service to make it live instantly.

# chkconfig crond on; service crond restart

STEP 5: To view graph,

You need Apache web server to view graphs, simply type the following to install httpd:

# yum install httpd

# chkconfig httpd on ; service httpd start

Now, open http://bubu-online.blogspot.com/mrtg/ . Use your server name instead of bubu-online.blogspot.com.


Mount ISO Image Under Linux



An ISO image is an disk image of an optical disc using a conventional ISO format. ISO image files typically have a file extension of .ISO. The name “ISO” is taken from the ISO 9660 file system used with CD-ROM media, but an ISO image can also contain UDF file system because UDF is backward-compatible to ISO 9660. You can mount an ISO images via the loop device under Linux.

To mount ISO file,

# mkdir /mnt/data

# mount -o loop,ro linuxarticles.iso /mnt/data
where,

ro =  Mount the filesystem read-only.

loop = Mount as a loop device.

Note: A loop device is a pseudo-device that makes a file accessible as a block device.

# cd /mnt/data

# ls -l