tl:dr: Sorry, you have to read it all.
Dauphin wrote:But I have still some major difficulties to understand the logic behind apps/programs to be installed onto a linux-machine in general and creating a module for PK: In Xubuntu, that I am trying on a different machine, I installed mixxx using the Ubuntu Software Center and I also used already the terminal with get-apt to install something.
You have to realize that a live system and a "normal" installed system do differ. In Porteus,
standard Porteus (=not Kiosk) I mean, you just activate a new module and that's it. When you no longer need it you can deactivate it.
When you need it every time, or want to exchange modules you remove the module you not want from the porteus/base folder, and put the module or modules in there that you need and you have them after every boot.
You sure can also install a program the normal way, but that would be put into the changes folder, bloating it up, instead of being in a new at small xz compressed module.
Or it would be lost when you use "always fresh"
Dauphin wrote:But for the PK-module I do not know what file I have to copy into the module: is it the file "mixxx" I find on my xubuntu-machine under /usr/share/app-install/desktop/ ? Trying to copy this to my module leads to an error "invalid filename" ("Ungültiger Dateiname").
Kiosk differs from standard Porteus, you must always remaster the ISO. You cannot add or remove modules on the fly. That is done so that users cannot change the OS. That only you, the admin, can maker any changes.
You have to copy our mixxx to the extrated ISO and create a new ISO.
But really, for such large changes, I recommend you download a comparable non Kiosk Porteus, extract it and copy it onto an USM stick, remove the firefox and add the mixxx. Of course, after starting X you have to start mixxx manually, but still, I recommend you doing so, since it could be that there are more issues you have to solve, e.g. settings for the sound card that won't work out of the box. And when you finally have it running in standard Porteus, you then extract the Kiosk ISO, remove the firefox module from porteus/base and add your mixxx module. If you need additional settings, e.g. sound card settings, I recommend creating a 999-settings.xzm that holds all your changes.
You sure could also extract and edit an existing module of your Porteus Kiosk, but then you would have to do the very changes to all and every new Porteus kiosk you might want to use in the future, and probably you not wrote down each and every settings you did... and then you start searching and debugging the same cause of troubles over again.
But when all your changes are in your 999-settings.xzm they get loaded as last module (you need to add a number to your mixxx module as well, or it gets loaded after your settings and might reset your very machine specific settings with its default, and that is most probably not what you want.
So, I recommend it naming 020-mixxx.xzm, and when you would need even another module, then name that 021-nedded-dependecies.xzm or such...
Oh, and since you want to only use the standard porteus for checking out if all runs well for your kiosk, I also recommend you only run it via always fresh. You have to either update your 999-settings module after each change prior reboot or put the changes into your porteus/rootcopy folder.
(But know, when you run if from a non Linux filesystem, all files in the rootcopy folder will be executable and writeable by anyone, that is not a good idea, you should reset the permissions to user:root and to not executable. When it is a settings file. It needs to be executable when you added a script or program to a rootcopy (sub)folder.)
And remember to add all stuff (with the right user and permissions) to your 999-settings module prior putting that into your to-be-created Kiosk ISO.
//
I forgot to add: // remember that Kiosk is
Gentoo-based.
So with all the above, it still
could happen that it works as it should on standard Port and fails with Port-Kiosk, but if that
should happen, you then can ask our Kiosk maintainer himself and you can show him what you already did to make it work.
________________________________________________
Hey, gleiches Bundesland! 8)