I have a requirement to change my Firefox User Agent frequently. I tried changing the prefs.js in the settings.xzm But the User Agent defined while building the Kiosk build overrides. Any idea what should I be doing? Should I create a seperate module say name userprefs.xzm and add my prefs.js in it?
Without this creating the entire build is cumbersome.
Any help on this is appreciated
Modify User Agent String in settings.xzm
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
-
- White ninja
- Posts: 8
- Joined: 19 Jan 2018, 09:54
- Distribution: Windows
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Modify User Agent String in settings.xzm
Easiest would be enable remote management (with nested configurations if needed) and update remote config with a cron job running on your server.
Remote management works with PXE boot.
Remote management works with PXE boot.
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 8
- Joined: 19 Jan 2018, 09:54
- Distribution: Windows
Modify User Agent String in settings.xzm
Remote Management is not possible in my case. I have a wierd scenario wherein the user machine must not have a default gateway in the NIC. I was hoping there would be a way to override it using the modules.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Modify User Agent String in settings.xzm
You can use 'run_command=' and sed command to edit $profile/prefs.js and change any text string you want it in.
Google for 'sed' usage examples.
Google for 'sed' usage examples.
Please add [Solved] to your thread title if the solution was found.