SOLVED: Activate module cheatcode

Non release banter
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5000
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

SOLVED: Activate module cheatcode

Post#1 by francois » 21 Nov 2013, 04:18

I have read or maybe dreamed about an activate cheatcode for module (to be put into the booloader instructions). I think that fanthom just issued it recently. Does someone knows what it is?

Sorry that google friend could not answer my quest. :(
Last edited by francois on 24 Nov 2013, 13:45, edited 1 time in total.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4593
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Activate module cheatcode

Post#2 by fanthom » 21 Nov 2013, 20:50

not really sure what you mean but probably you could use 'load=' 'extramod=' or 'cliexec=/guiexec=' cheatcodes.
Please add [Solved] to your thread title if the solution was found.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5512
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Activate module cheatcode

Post#3 by brokenman » 22 Nov 2013, 16:24

Yes I was going to say you probably dreamed of the load= cheatcode. If this is true then please seek help.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5000
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Activate module cheatcode

Post#4 by francois » 22 Nov 2013, 17:23

please seek help
@brokenman: I appreciate your comment, this is what I needed to have the sufficient introspection to take care about it. I will be ok. Unless, you predict very bad worschach interpretation on my part. However, dreaming about cheatcodes is not as serious as dreaming about mate or porteus. Which I strongly suspect in your case. :wink:

On the more serious aspect of the provided answers:
fanthom wrote:not really sure what you mean but probably you could use 'load=' 'extramod=' or 'cliexec=/guiexec=' cheatcodes.
These were what I was looking for: load and extramod cheatcodes. Quite handy functions. However, they do not exactly fit the use I thought or dreamed about :lol: , there is no unload function included into them. Would it be difficult to implement a noload module cheatcode ? This would be a way to remove one or more modules that could be malfunctioning without having to reboot the system. Just tell me if I seem too lazy just because I do not want to reboot the system.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 545
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: Activate module cheatcode

Post#5 by phhpro » 24 Nov 2013, 05:20

...
Last edited by phhpro on 03 Feb 2016, 22:02, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4593
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Activate module cheatcode

Post#6 by fanthom » 24 Nov 2013, 11:01

Would it be difficult to implement a noload module cheatcode ?
not sure if you are joking but this cheat is there since we started this project:

Code: Select all

noload=module
noload=module[1];module[n]

   ... Disable loading of any modules specified. This affects all the
       modules on the Porteus booting mendia, including /base and /modules
       folders, so using noload=kde will disable loading of all modules
       with 'kde' in the name. It is useful with the copy2ram cheatcode,
       because any un-used module is not copied to ram.  Multiple modules
       can be listed, but they must be separated by semicolons, with no
       spaces.
       Example: 'noload=lxde;devel' will prevent the loading of any
       modules with a name containing the strings 'lxde' or 'devel'
please read all the documentation mentioned in the forum header.
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 5000
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Activate module cheatcode

Post#7 by francois » 24 Nov 2013, 13:45

Thanks fanthom. This is exactly what I was looking for. I never had to use the noload cheatcode.

I made this thread to find an answer to phhpro on the chat. I will revise the cheat codes list and definition. We have a lot for porteus, its one of its distinctive features.

Conclusion: whatever manipulation to the system you want to do, have a look into the cheatcodes list and definition n in the /boot/doc folder.

Thanks a lot.
Voltaire: Le mieux est l'ennemi du bien.

Post Reply