B
bashcommando
Guest
Hello everybody,
I finally figured out how to create a desktop enviroment! However I cannot post in the tutorials section because I am not a staff member.
Note: If you have Red hat just replace apt-get with yum
Note: If you have Arch Linux replace "apt-get install" with "pacman -i"
4. Now it is time for some preparing for some more.
5. A text editor should pop up.
6. Now press Ctrl+X, followed by Y, followed by Enter. Then type:
7. Now here is the trick:
If you have Debian:
If you have any other distribution I am sorry but I don't know how to integrate it.
If you know how to convert any of this to a different distribution please put it in the comments so I can add it to the tutorial.
I finally figured out how to create a desktop enviroment! However I cannot post in the tutorials section because I am not a staff member.
- You need at least 3 things to make a desktop environment: A panel/dock, A window manager, and a background manager. You can find some by using Google, DuckDuckGo, or some other search engine.
- After you have picked these think of what it would look like together. Now take that picture and think of a good name for it. Just for a example, let's say I picked LXPanel, Compiz, and hsetroot. I think a nice name for that is frost.
- Now it is time to get coding. If you don't know how to code just follow my lead. If you do know how to code, we will be using C, Shell Script, and Metlab(For Red hat Distributions). Let's start by opening up a terminal and typing the following:
Code:
sudo apt-get install (Name of window manager here)
sudo apt-get install (Name of panel or dock here)
sudo apt-get install hsetroot (or xsetroot for experienced users)
sudo apt-get install nano
Note: If you have Arch Linux replace "apt-get install" with "pacman -i"
4. Now it is time for some preparing for some more.
Code:
mkdir /etc/[Name of desktop] (e.x. /etc/frost/)
mkdir /etc/[Name of desktop]/src
nano /etc/[Name of desktop]/src/base.c
Code:
#include <stdio.h>
int main(void)
{
system("[Name of window manager]&[Name of panel or dock]&hsetroot -fill /etc/[Name of desktop]/bck.jpg");
}
Code:
gcc -o [Name of Desktop] /etc/[Name of Desktop]/src/base.c
chmod 755 [Name of Desktop]
cp [Name of Desktop] /bin/
If you have Debian:
Code:
dpkg-reconfigure -plow [Name of desktop]
If you know how to convert any of this to a different distribution please put it in the comments so I can add it to the tutorial.
Last edited: