Tutorial on Creating a desktop enviroment

Discussion in 'Desktop / X' started by bashcommando, Apr 13, 2014.

?

What window manager did you use?

  1. Compiz

    25.0%
  2. IceWM

    0 vote(s)
    0.0%
  3. BlackBox

    0 vote(s)
    0.0%
  4. Other

    75.0%
  1. bashcommando

    bashcommando Active Member

    Messages:
    135
    Likes Received:
    32
    Trophy Points:
    28
    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: Apr 18, 2014
  2. bashcommando

    bashcommando Active Member

    Messages:
    135
    Likes Received:
    32
    Trophy Points:
    28
    And a screenshot of frost

    Attached Files:

  3. bashcommando

    bashcommando Active Member

    Messages:
    135
    Likes Received:
    32
    Trophy Points:
    28
    If you picked other, I'd like to know what you used. Thanks :D

Share This Page