I have added a programme (xvkbd) into my Slacko 5.6 derivative (via a manual remaster) and the pet I used contains a .desktop file which in theory should allow xvkbd to appear in the 'utility' menu.

However, after I reboot I do not initially see xvkbd in the utility menu. I can start xvkbd from the terminal so I know it works fine. I can see the .desktop file in /usr/share/applications so I don't understand why this was not reflected correctly during the boot process.

What I can do to get past this is after booting I can use a terminal to issue 'fixmenus' and 'jwm -restart' commands and then I do see xvkbd appear correctly in the utility menu. As a trial I have then remastered again and added a script into /root/Startup as follows:

Code:

#!/bin/bash
fixmenus
sleep 1
jwm -restart

This works, and now my puppy boots with correct menu contents.

Does anyone have any idea why Puppy sometimes does not update the menus during the boot process?

I dont think there is anything wrong with my .desktop file as I get the same issue with other programmes aswell. Anyway, here is the contents of my xvkbd .desktop file:

hmm theres a big hairy thread all about jwm and its love of menu standards... its simply does not handle desktop file at all...a hacky script does and that hacky script is usually run by installers but if you took a route that does not then it does not ...

jwm -reload will do it after the fixmenus.
No jwm will flicker when using jwm -reload.

Thank you, that is a nice way to get rid of the flicker.

LazY Puppy wrote:

When doing a manual remaster new added Programs won't appear in the menu generally, since /root/.jwmrc is not updated. You can update this by doing a fixmenus with a changed root, like:

Code:

chroot "${Dir-of-your-extracted-SFS}" /usr/sbin/fixmenus 2>/dev/null

Thanks, I will keep a note of that and give it a try.

Geoffrey wrote:

You could try adding to the bottom of the fixmenus script

Code:

touch --no-create /usr/share/applications/

I tried this manually first rather than adding to the script - I rebooted then ran fixmenus via terminal, then tried the 'touch' in terminal without success. I interpret that as meaning it wouldn't work by embedding in fixmenus script either?

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum