Tutorial on Creating a desktop enviroment

What window manager did you use?

  • Compiz

    Votes: 0 0.0%
  • IceWM

    Votes: 0 0.0%
  • BlackBox

    Votes: 0 0.0%
  • Other

    Votes: 0 0.0%

  • Total voters
    0
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.
  1. 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.
  2. 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.
  3. 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:
Note: If your computer does not know what sudo means then run the "su - root" command and run the following commands without sudo in front of them
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 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.
Code:
mkdir /etc/[Name of desktop] (e.x. /etc/frost/)
mkdir /etc/[Name of desktop]/src
nano /etc/[Name of desktop]/src/base.c
5. A text editor should pop up.
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");
}
6. Now press Ctrl+X, followed by Y, followed by Enter. Then type:
Code:
gcc -o [Name of Desktop] /etc/[Name of Desktop]/src/base.c
chmod 755 [Name of Desktop]
cp [Name of Desktop] /bin/
7. Now here is the trick:
If you have Debian:
Code:
dpkg-reconfigure -plow [Name of desktop]
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.
 
Last edited:


And a screenshot of frost
 

Attachments

  • 2014-04-14-174202_1280x800_scrot.png
    2014-04-14-174202_1280x800_scrot.png
    237 KB · Views: 1,303
If you picked other, I'd like to know what you used. Thanks :D
 

Members online


Latest posts

Top