Page 1 of 1

unable to load firefox profile after adding custom module

Posted: 23 Jul 2023, 22:50
by millerthegorilla
Hi, I have added a script in /opt/scripts and have edited the openbox rc.xml which I have tried placing in /etc/xdg/openbox/rc.xml and also in /home/guest/.config/openbox/rc.xml.

The custom rc.xml includes a keybinding to C-A-w (ctrl-alt-w) to launch the script. I know the script works because I have installed it and tested it via ssh.

But when I make the custom Porteus-Kiosk.iso, either with a customized 003-settings.xzm or a custom_wifi.xzm when I install the iso to the hard drive, porteus-kiosk complains that it cannot load the firefox profile, which I guess is because the rc.xml is customized. Because it cannot load the firefox profile, initialisation halts before I am able to ssh into the box to poke about the place.

Is there a correct way to edit rc.xml?

I have seen the run_command in the FAQ, but I would rather avoid multiline sed commands if possible.

Thanks in advance...