I understand that Linux is an open source OS, in other words I have the ability to change whatever I want with the source code of the system. Where is the source code located? For example I would like to add a new event to the mouse which let the user logout when the mouse pointer is moved left then right. Can someone provide me with some lessons or anything that would me to understand how changes to the Source code happens?
closed as too broad by Wilf, bain, Braiam, psusi, Sylvain Pineau Jul 29 at 15:43
There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.
What are you asking is not always so simple. Here you can find a guide from title CompilingEasyHowTo: after you download the source code of the program or package wanted you can modify and recompile it.
It's needed to keep present what is a Linux_distribution (excerpt from wikipedia):
So after that you downloaded the source code you can read and modify it before you compile it again. But it is not a trivial task, especially on a running system.
You can start to refer to other posts, e.g. here, to obtain some informations about the source code, how to obtain and so on.
Many programs do not need do be compiled again to choose their settings. Some other yes. Sometimes you need to install a specific program and you need to search for it.
A way to modify the actions related to the mouse gestures is to install a program that will do it for you. The hard way is to compile a kernel module or to modify X system.
A suggestion: go easy at the beginning and increase the difficulties with time and experience.