Klakap wrote:Good day, I like tried to change the GUI of ubuntu but nowhere I found the source code of Ubuntu. Please where is it? Is somewhere documentation about creating a new Linux distro from Ubuntu?
Wait, can you explain your intentions a bit more here? Are you trying to change the desktop environment on your personal setup, or are you trying to create a new distro (that is to say, an installation setup for other people to use) based on Ubuntu in the same way that, well, Ubuntu itself is based on Debian?
Because quite honestly, you seem to be confusing some topics which are only tangentially related.
The first thing to understand is that - as I have think I have said more than once before to you, though I may be thinking of someone else, the thread in question was auto-deleted - window managers and desktop environments are orthogonal to distributions. While most distributions have a primary DE, or a set of DEs with separate prepared installations (the [X|K|Ed]Ubuntu variants), that's simply for the convenience of the one installing the distro - you can always change the GUI without reinstalling Linux.
If all you want is to use a different
existing DE on an existing Ubuntu installation (or Debian, Arch, Gentoo, whatever other distro), it probably doesn't require you to access any source code at all. If there is a PPA and an APT repository with the DE in question, that should be possible simply by installing the desired DE with apt-get or Synaptic, logging out of your current session, and selecting the new DE for your session at login. You should be able to switch back and forth between multiple desktops at leisure simply by logging out and in, so long as you have them installed beforehand.
If you want to write a
new DE, then you still don't need the source code for Ubuntu; what you would need to do is study the APIs for X.org and/or Wayland, depending on which display manager(s) you want it to work with. It wouldn't be anything specific to Ubuntu, at least not until you are mostly done and need to start interfacing with the specific distro's default setup - and you presumably would have different 'glue' that could work with multiple distros.
If you really are looking to make a distro, then that's a completely different matter - and in that case, choosing a default GUI is probably the last step, not the first. You would also need to keep in mind that not everyone is going to stick to the default you choose.
I should add that there is no reason to base a new distro on an existing one unless all you want is to tweak the internal structure and/or update policies of the distro (e.g., Mint exists mainly because they wanted a more conservative update policy, and only secondarily to show off Cinnamon Desktop) - and unless you are making a DE or application suite yourself, and want to have a showcase for it, there is no reason
at all to make a new distro just to use a different GUI.