How to switch (at boot) the desired one desktop?

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
prougen
White ninja
White ninja
Posts: 4
Joined: 14 Nov 2024, 15:12
Distribution: Linux

How to switch (at boot) the desired one desktop?

Post#1 by prougen » 14 Nov 2024, 15:29

Start from hard disk,
There are all available modules "Desktop"
((( cinnamon, lxde, lxqt, openbox, kde ...

How to switch (at boot) the desired one ?

User avatar
Ed_P
Contributor
Contributor
Posts: 8663
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

How to switch (at boot) the desired one desktop?

Post#2 by Ed_P » 14 Nov 2024, 17:56

Basically change the .xzm endings of the 003 Desktop modules you don't want to boot to .xyzm before booting. :)

Vic
Samurai
Samurai
Posts: 152
Joined: 10 Aug 2016, 05:36
Distribution: Porteux V-0.1 64 KDE
Location: Utopia in Tampa, Florida, USA

How to switch (at boot) the desired one desktop?

Post#3 by Vic » 14 Nov 2024, 18:10

Hi prougen

All you need to do is follow the directions in the cheatcodes.txt file located at /boot/docs/

Please read the entire file because there is alot of cool stuff you can do.

Vic

User avatar
Ed_P
Contributor
Contributor
Posts: 8663
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

How to switch (at boot) the desired one desktop?

Post#4 by Ed_P » 14 Nov 2024, 19:41

I believe your referring to the noload= cheatcode option Vic. So yes, changing the /boot/syslinux/porteus.cfg file before each boot would work also for prougen. :happy62: So would creating multiple MENUs. :)

prougen
White ninja
White ninja
Posts: 4
Joined: 14 Nov 2024, 15:12
Distribution: Linux

How to switch (at boot) the desired one desktop?

Post#5 by prougen » 15 Nov 2024, 02:16

Thank you very much everyone!
For prompt responses...
---
Straightforward solution to the problem
Without hassle??!

Stupidly straightforward

|||||

Unpack any Porteus image to any disk partition.
For example /dev/sda8 ...
(which is mounted on /mnt/sda8)

Copy to /mnt/sda8/porteus
Any files from http://porteus.org/porteus-mirrors.html
/* For example
/* https://linux.rz.rub.de/porteus/x86_64/ ... 1/modules/
With index "003-***.xzm" - optional (cinnamon, gnome, kde5, lxde, lxqt, mate, openbox, xfce)

When starting Porteus from any media (CD, USB)

specify cheat codes:

from=/dev/sda8 changes=/mnt/sda8
...
A window with the option to select is loaded

prougen
White ninja
White ninja
Posts: 4
Joined: 14 Nov 2024, 15:12
Distribution: Linux

How to switch (at boot) the desired one desktop?

Post#6 by prougen » 15 Nov 2024, 02:28

Or wiser (better) (more rational
Make a universal liveCD

Vic
Samurai
Samurai
Posts: 152
Joined: 10 Aug 2016, 05:36
Distribution: Porteux V-0.1 64 KDE
Location: Utopia in Tampa, Florida, USA

How to switch (at boot) the desired one desktop?

Post#7 by Vic » 15 Nov 2024, 19:19

Yes Ed_P !

The "noload=" cheatcode is exactly what I meant.

" creating multiple MENUs."
Place all the DE modules in "base" and make a different menu entry for each DE.
Just remove the DE from the line "noload=" that you want to boot.

Code: Select all

LABEL KDE
MENU LABEL KDE
KERNEL 
INITRD 
APPEND noload=003-XFCE.xzm;003-LMDE.xzm;003-LXQT.xzm;003-CINNAMON.xzm;
TEXT HELP
    Load KDE
    
LABEL XFCE
MENU LABEL XFCE
KERNEL 
INITRD 
APPEND noload=003-kde5.xzm;003-LMDE.xzm;003-LXQT.xzm;003-CINNAMON.xzm;
TEXT HELP
    Load XFCE
Have fun prougen

Vic

User avatar
Ed_P
Contributor
Contributor
Posts: 8663
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

How to switch (at boot) the desired one desktop?

Post#8 by Ed_P » 16 Nov 2024, 04:53

That would work Vic. :)

I think another approach would too; put all the 003- modules in a separate folder and use the extramod= cheatcode.

/porteus/demods/003-XFCE.xzm 003-LMDE.xzm, etc and

APPEND extramod=/porteus/demods/003-XFCE.xzm etc for each DE. :)

The extramod= cheatcode works but may not with a base module like the 003s. I seem to remember doing it but don't recall the results. :hmmm:

Vic
Samurai
Samurai
Posts: 152
Joined: 10 Aug 2016, 05:36
Distribution: Porteux V-0.1 64 KDE
Location: Utopia in Tampa, Florida, USA

How to switch (at boot) the desired one desktop?

Post#9 by Vic » 16 Nov 2024, 05:37

Hi Ed_P

I wondered about the DE.xzm being loaded out of order with "extramod", which is why I picked "noload".

Hey prougen, wassup? Any updates?

Vic

prougen
White ninja
White ninja
Posts: 4
Joined: 14 Nov 2024, 15:12
Distribution: Linux

How to switch (at boot) the desired one desktop?

Post#10 by prougen » 16 Nov 2024, 15:05

In general and in general
What's good about Porteus...

It doesn't load extra garbage, doesn't eat up the hard drive... and memory too.

|||

The optimal solution (in my opinion) is to make a universal liveCD and everyone will be happy.
P.S.
And I need to think about it when the time comes.

Vic
Samurai
Samurai
Posts: 152
Joined: 10 Aug 2016, 05:36
Distribution: Porteux V-0.1 64 KDE
Location: Utopia in Tampa, Florida, USA

How to switch (at boot) the desired one desktop?

Post#11 by Vic » 16 Nov 2024, 17:35

Hey prougen

"make a universal liveCD and everyone will be happy"

That should include all the programs everyone could ever want too. That would be enough to fill a DVD 4.7 GiB and more.

Isomaster is the program for you. Available in the package manager if not already in the ISO.

I like to pick the components I want and keep the whole thing as small as possible.

Have fun

Vic

User avatar
Ed_P
Contributor
Contributor
Posts: 8663
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

How to switch (at boot) the desired one desktop?

Post#12 by Ed_P » 16 Nov 2024, 23:13

Vic wrote:
16 Nov 2024, 17:35
and keep the whole thing as small as possible.
That's basically what each Porteus ISO is. Also why each ISO is a different size.

Post Reply