Articles

Python script to recognize two finger gestures from your synaptic touchpad.

This little python script monitors for two finger guestures from your synaptic touchpad. The guestures are limited to simple up, down, left, right, and (it will work if both your kernel as well as xorg is configured for it. You can check it by using synclient command line tool.).

The script expects the output of "synclient -m N" on its standard input , where N is your choice of refresh milliseconds, 10,20 works great, 100 if ur machine is slow. What I mean is this :

user@host$ synclient -m 20 | python syn_guesture_compiz.py

Gnome Screenshot and "Print Screen" Key Problem


Problem:
How to take Screenshot in GNU/Linux Distribution with Gnome GUI using "Print Screen" Key? Also Screenshot should also contain the Gnome Menu (e.g Application Menu or Menu by pressing Right Click)

Solution:
You can take Screenshot using conventional method by pressing "Print Screen" button on KB for normal desktop Screenshot, But i am shocked when i have followed same method while loading Gnome Right Click Menu. I am not able to take it. It was not happening at all :(. So came up with few quick Workarounds

Work Around - 1

1. Go to Applications -> Accessories -> Take Screenshot
2. Configure Delay in seconds in "Grab After a delay of"
3. Press "Take Snapshot" Button
4. Prepare your Desktop for the Screenshot (This work around

Learning iptables

Before you start to learn 'IPTable' you known about these:

1) IP Address
An Internet Protocol(IP) address is a logical address. A computer network utilizing the IP for
communication between its node. IP addresses are stored as binary numbers, they are displayed in human-
readable notification such as 192.168.1.111(IPv4) and 2001:db8:0:0:547:12:1(IPv6).

2) Network Address
A network address serves as a unique indentifire for a computer on a network. Computer can determine
the addresses of other computers on the network and use thaese addresses to send messages to each other.
You learn more about Network Address learn these:

How does RIP routing protocol work ?

Nowadays in WAN technologies, we use different types of routing protocols to find out the best route to the destination network like EIGRP, OSPF, BGP, IS-IS, and RIP. Every protocol has it’s own unique functionality and usability as well as advantages and disadvantages. For example, Most of ISPs use BGP routing protocol to maintain their large network. But to maintain very small network, it will be very difficult to configure and use BGP routing protocol. Generally people use RIP routing protocol to maintain small network which has limited nodes in WAN.

Lets discuss about the RIP routing protocol, why RIP is being used only for small network and not for large network ? How does it work ? How to configure RIP ? etc.

RIP Routing protocol :-

MythTV: The Open Source PVR

For years now, Linux users have been proud of the fact that their favorite operating system is at the heart of the most popular personal video recorder (PVR) system around: TiVo. 

Not only is TiVo a revolutionary media appliance (ask any TiVo owner if they can imagine living without one), it’s an excellent example of what can be done with embedded Linux. Furthermore, the company behind TiVo has done little to discourage the cult of TiVo hackers that’s developed over the last several years. Odds are that the hackability of the TiVo generates a non-trivial percentage of sales in some regions.