Porteus modules directory subfolders?

Post here if you are a new Porteus member and you're looking for some help.
cyrus104
White ninja
White ninja
Posts: 6
Joined: 08 May 2016, 22:41
Distribution: porteus 3.1
Location: USA

Porteus modules directory subfolders?

Post#1 by cyrus104 » 13 May 2016, 02:55

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

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Porteus modules directory subfolders?

Post#2 by donald » 13 May 2016, 03:36

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.)

Post Reply