Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:adding_a_desktop_to_microcore [2011/04/18 07:25] – external edit 127.0.0.1wiki:adding_a_desktop_to_microcore [2018/09/26 09:00] (current) – updated tcedir location bernhard
Line 4: Line 4:
 There are two ways to install/load core extensions: There are two ways to install/load core extensions:
  
-1) Place them into your persistent tce directory and they will be loaded when your system boots.+  - Place them into your persistent tce directory and they will be loaded when your system boots. 
 +  - Load them via bootloader. (essentially, gzipped cpio files)
  
-2) Load them via bootloader. (essentially, gzipped cpio files) +==== Downloading and installing core elements ====
- +
-==== #Downloading and installing core elements ====+
 First you need to cd to your tce dir First you need to cd to your tce dir
-^tc@box:~$ cd `cat /opt/.tce_dir`^+ 
 +^cd /etc/sysconfig/tcedir^ 
 + 
 +until Core Release 4.2 this was 
 + 
 +^cd `cat /opt/.tce_dir`^ 
 Download core elements Download core elements
 ^tc@box:/mnt/hda1/tce$ wget -c http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/microcore/Xlibs.gz ^tc@box:/mnt/hda1/tce$ wget -c http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/microcore/Xlibs.gz
Line 25: Line 30:
 It's good to know there is an Xvesa variant that you can download as an extension. It's newer and has numlock support but bigger in size by ~400kb. If you want to go with Xvesa it's your choice to use the core element or the extension. It's good to know there is an Xvesa variant that you can download as an extension. It's newer and has numlock support but bigger in size by ~400kb. If you want to go with Xvesa it's your choice to use the core element or the extension.
  
-==== #Download an X server ====+==== Download an X server ====
 You have the choice of which X server you would like to use. The server used in TinyCore is Xvesa and is available in the MicroCore section of the download area and should be placed in the tce dir.  Other X servers are available in the extension repo and should be placed in tce/optional. I will list all the available servers and the commands to download and install each. You have the choice of which X server you would like to use. The server used in TinyCore is Xvesa and is available in the MicroCore section of the download area and should be placed in the tce dir.  Other X servers are available in the extension repo and should be placed in tce/optional. I will list all the available servers and the commands to download and install each.
  
Line 34: Line 39:
 tc@box:/mnt/hda1/tce$ md5sum -c Xvesa.core.gz.md5.txt^ tc@box:/mnt/hda1/tce$ md5sum -c Xvesa.core.gz.md5.txt^
 Xvesa extension: Xvesa extension:
-^tc@box:/mnt/hda1/tce$ tce-load -w -i Xvesa.tcz^ +^tc@box:/mnt/hda1/tce$ tce-load -wi Xvesa.tcz^ 
-Xfbdev +Xfbdev: 
-^cd `cat /opt/.tce_dir`/optional +^cd `cat /opt/.tce_dir`/optional^ 
-tc@box:/mnt/hda1/tce/optional$ tce-load -w -i Xfbdev.tcz^+^tc@box:/mnt/hda1/tce/optional$ tce-load -wi Xfbdev.tcz^
  
-Full blown Xorg +Full-blown Xorg: 
-^tc@box:/mnt/hda1/tce/optional$ tce-load -w -i Xorg-7.4.tcz^ +^tce-load -wi Xorg-7.4.tcz^ 
-==== #Download and install a window manager ==== + 
-There are many window managers available for TinyCore and MicroCore in the repository. The default used in TinyCore is flwm, and will be used in this example, you may use any WM you like, just replace flwm.tcz with the WM you want in the following command. +==== Download and install a window manager ==== 
-^tc@box:/mnt/hda1/tce/optional$ tce-load -w -i flwm.tcz^+There are many window managers available for TinyCore and MicroCore in the repository. The default used in TinyCore is flwm (Fast Light Window Manager), and will be used in this example. You may use any WM you like. Just replace flwm.tcz with the WM you want in the following command: 
 +^tc@box:/mnt/hda1/tce/optional$ tce-load -wi flwm.tcz^ 
 +Get wbar and aterm, too.
  
 Note: you may browse the extension repository at Note: you may browse the extension repository at
-http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/tcz_2x.html +''http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/tcz_2x.html'' 
-Please use the tce-load -w -i command to download and install chosen WM to avoid dependency problems.+Please use the ''tce-load -w -i'' command to download and install chosen WM to avoid dependency problems.
 You can also use a cli version of the appbrowser available in the repo to search for and install a WM and other extensions You can also use a cli version of the appbrowser available in the repo to search for and install a WM and other extensions
-^tc@box:/mnt/hda1/tce/optional$ tce-load -w -i appbrowser-cli.tcz +<code>tc@box:/mnt/hda1/tce/optional$ tce-load -w -i appbrowser-cli.tcz 
-tc@box:/mnt/hda1/tce/optional$ appbrowser-cli^ +tc@box:/mnt/hda1/tce/optional$ appbrowser-cli 
-==== #Start the Xserver and WM ==== +</code> 
-The command "startxmust be run from your home dir + 
-^tc@box:/mnt/hda1/tce/optional$ cd +==== Start the Xserver and WM ==== 
-tc@box:~$ startx^ +The command ''startx'' must be run from your home dir 
-==== #Conclusion ==== +<code> 
-You should now have a working desktop environment similar to the one found in TinyCore. Use the appbrowser to add extensions to fill out your OS. If you had a persistent tce dir set up prior to following this guide, the desktop will be started automatically during subsequent boots.  You can boot to the CLI by using the bootcode "text." Use the command "startx" to start the Xserver and WM from the command line.+tc@box:/mnt/hda1/tce/optional$ cd 
 +tc@box:~$ startx 
 +</code>
  
 +==== Conclusion ====
 +You should now have a working desktop environment similar to the one found in TinyCore. Use the appbrowser to add extensions to fill out your OS. If you had a persistent tce dir set up prior to following this guide, the desktop will be started automatically during subsequent boots.  You can boot to the CLI by using the bootcode ''text''. Use the command ''startx'' to start the Xserver and WM from the command line. If you have any problem, please feel free to ask on forum.tinycorelinux.net.
Print/export
QR Code
QR Code wiki:adding_a_desktop_to_microcore (generated for current page)