Page 1 of 1

Porteus modules directory subfolders?

Posted: 13 May 2016, 02:55
by cyrus104
To help keep the modules folder organized I would like to use sub folders. Is this currently possible? Then I can run lean and only move a folder from optional to module as needed.

Thanks

Re: Porteus modules directory subfolders?

Posted: 13 May 2016, 03:36
by donald
Hello cyrus
There is no need to move Folders around.
you could use the "extramod" cheatcode
extramod=/path/folder_with_modules
extramod=/path/folder_with_modules;/path2/folder_with_modules

... This cheatcode lets you load modules from one or more external
folders that are located outside of the /porteus directory.
Multiple folders can be specified, with full paths separated by
a semicolon without any spaces.
Examples:
'extramod=/mnt/sdb3/porteus-modules'
'extramod=/mnt/sdb3/porteus-modules;/mnt/sdc4/inkscape_modules'
or if the system is already running:

Code: Select all

activate /path/to_folder_with_xzm
Example:
guest@localhost:~$ activate /mnt/sda2/Porteus/Progs/audacity
all modules in the "audacity-folder will be activated.
(use deactivate to reverse the activation.)