Tiny Core Base > TCB Q&A Forum
Remove SystemTools and Applications from click menu
hoogenboom:
Hello, I'm trying to remove SystemTools and Applications from the click menu. I've followed this post below exactly as far as I can tell. The only thing that happens when I reboot is the /home/tc/.mymenu/.wmx file disappears and the /home/tc/.wmx remains or is rebuilt. It's almost like my /opt/bootlocal.sh isn't running. I've tried putting sudo in front of those commands as well. I understand that JWM can do this with ease but I'm working with a 32MB CF card and cant spare any more space.
Thank you!
--- Quote from: Guy on May 11, 2011, 09:38:58 AM ---The menu is in /home/tc/.wmx
One way to change the menu is:
Copy .wmx to another directory.
For example, lets use /home/tc/.mymenu.
So you have a copy of the menu in /home/tc/.mymenu/.wmx
In /home/tc/.mymenu/.wmx delete System Tools, or make any other changes.
Add the following to /opt/bootlocal.sh
--- Quote ---mv /home/tc/.wmx /home/tc/.wmx_old
cp -r /home/tc/.mymenu/.wmx /home/tc/.wmx
--- End quote ---
When you start the computer, you should have the menu as you set it up in /home/tc/.mymenu/.wmx.
Keep in mind, if you install additional apps, or make changes to On Boot or On Demand, you need to set up the menu again.
To remove it properly, you can do a remaster.
--- End quote ---
gerald_clark:
Either you forgot to do a backup before rebooting or you or you don't have a persistent tce directory.
Misalf:
Maybe this helps
http://forum.tinycorelinux.net/index.php?topic=16417.0
hoogenboom:
I verified that the "Backup" is selected when I reboot. Also, the /home/tc/.mymenu directory persists. I tried just having
#!bin/sh
mv /home/tc/.wmx /home/tc/.wmx_old
in the /opt/bootlocal.sh with sudo and without sudo. Not even that runs. Checking out that link from Misalf now.
Misalf:
BTW, sudo is not needed inside bootsync.sh and bootlocal.sh as those run with root privileges.
Navigation
[0] Message Index
[#] Next page
Go to full version