Tiny Core Base > TCB Q&A Forum
FLWM "Exit" menu does not shutdown the computer if Xprogs is not installed
Zlika:
Hi all,
I try to make a custom tinycore image without the Xprogs extension. The problem is that now when I select "Exit" in the window manager menu it only closes the window manager but the computer is not halted.
How could I change that?
Thanks for your replies.
gerald_clark:
Include Xprogs.
Misalf:
Xprogs.tcz is part of the default desktop base on Tiny Core.
If you don't want to use the features provided by Xprogs.tcz (f.e. exittc), you would need to modify the Window Manager accordingly.
I wasn't able to spot the part where it creates the "Exit" part of the menu via the scripts included in the FLWM extension (I'm not used to FLWM).
I suspect that you want to keep the size at a minimum? Otherwise, other WMs might be easier to configure to your needs.
Misalf:
Or extract only the stuff you need from Xprogs.tcz and include it in a self made initrd (i.e. core.gz or an additional cpio archive that you would load in addition to core.gz) or *.tcz .
Zlika:
Hi,
I don't want to include Xprogs because I don't need it and I want to produce a smaller image. The only thing I want is to understand how Xprogs/Exittc hooks the FLWM "Exit" menu to shutdown the computer, so I could do the same without Xprogs. I was not able to understand it by analyzing the Xprogs extension. I tried for example to add a .wmx/SystemTools/Exit script but it is not called on FLWM Exit.
Regards,
Thomas
Navigation
[0] Message Index
[#] Next page
Go to full version