Tiny Core Linux

Tiny Core Base => CorePlus => Topic started by: Richa Rd on February 07, 2021, 10:33:55 PM

Title: Installs two Windows Managers in onboot.lst
Post by: Richa Rd on February 07, 2021, 10:33:55 PM
I am using a bootable USB memory stick with TC Plus 11.1 X86 created by Rufus on Windows 10.
From the main menu I select  "Boot Core Plus with Joe's Window Manager".
It boots ok to JWM and now I click on TC-install icon and do a frugal install to sda1 ext4 and leaving all other parameters at default.
When install is finished I reboot to the HDD installation which starts with JWM ok.
Upon checking onboot.lst I find flwm_topside as well as jwm in the boot list.
Is this by design or is it a bug? I am aware I can remove the unwanted WM with the Apps tool.
This is the onboot.lst :-
Code: [Select]
Xvesa.tcz
aterm.tcz
flwm_topside.tcz
wbar.tcz
jwm.tcz
Title: Re: Installs two Windows Managers in onboot.lst
Post by: jazzbiker on February 08, 2021, 04:03:40 AM
Hi, Richa Rd!

This can hardly be named the bug, as everything works as desired :) Extensions are mounted as loop filesystems with mountpoint /tmp/tcloop and don't consume RAM. It consumes about 16 kB of RAM to mount one loop filesystem irrespective to its size. So You will save 16 kB of RAM if You will delete flwm_topside.tcz from Your onboot.lst.

You can check Your already mounted filesystems calling "mount" without any arguments.

Each WM extension when loaded writes its name into the "/etc/sysconfig/desktop". You can have several WMs loaded and during "startx" only one of them will be envoked. You can write to "/etc/sysconfig/desktop" manually too, the changes will take effect during the next X server start.
Title: Re: Installs two Windows Managers in onboot.lst
Post by: Rich on February 08, 2021, 11:19:07 AM
Hi Richa Rd
The last window manager listed in your  onboot.lst  file is the one that will get started.

... Is this by design or is it a bug? ...
It's a minor bug.
Title: Re: Installs two Windows Managers in onboot.lst
Post by: Rich on February 08, 2021, 12:16:29 PM
Hi Juanito
Examining the CorePlus-10.1  ISO, here's what I think is happening:
The remainder of this post can be read by opening the attachment below.

I kept getting  Internal Server Error  while trying to post this.
The first 3 lines of the attachment are enough to trigger the error.
Title: Re: Installs two Windows Managers in onboot.lst
Post by: Juanito on February 09, 2021, 05:53:48 AM
If we remove flwm_topside from the list, will it still be included in the default case?
Title: Re: Installs two Windows Managers in onboot.lst
Post by: Rich on February 09, 2021, 08:37:48 AM
Hi Juanito
Yes it will. The default menu entry for the CorePlus ISO includes the  desktop=flwm_topside  boot code.
Title: Re: Installs two Windows Managers in onboot.lst
Post by: Juanito on February 09, 2021, 09:18:27 AM
xbase.lst adjusted on the server
Title: Re: Installs two Windows Managers in onboot.lst
Post by: Rich on February 09, 2021, 09:20:26 AM
Hi Juanito
This affects  CorePlus  only, right?
Title: Re: Installs two Windows Managers in onboot.lst
Post by: Juanito on February 09, 2021, 10:23:43 AM
As far as I know, yes - and will start with the next iso created.