Guide/Workflow to make a respin?

Help on all MX Re-spins
Message
Author
User avatar
agnivo007
Posts: 720
Joined: Mon May 04, 2020 11:39 pm

Guide/Workflow to make a respin?

#1 Post by agnivo007 »

Can we have a proper guide/chronological workflow/tips/tricks related to making a respin for public consumption?

I'm looking to work on LXQT or other DE respin soon and need an official (from devs here and others are welcome too) list of workflow or things to maintain in the final iso for public distribution.

TIA
- Roy, Kolkata, IN. "REDUCE-REUSE-RECYCLE-REPURPOSE"
MX-21-AHS-KDE on [ H110M-H : Modded BIOS | Core i3-9350K | 8GB DDR4 | SP A60 NVMe PCIe3x4 | Samsung Evo 870 SSD | WD Black Mobile HDD ]

User avatar
agnivo007
Posts: 720
Joined: Mon May 04, 2020 11:39 pm

Re: Guide/Workflow to make a respin?

#2 Post by agnivo007 »

Umm....? :confused:
- Roy, Kolkata, IN. "REDUCE-REUSE-RECYCLE-REPURPOSE"
MX-21-AHS-KDE on [ H110M-H : Modded BIOS | Core i3-9350K | 8GB DDR4 | SP A60 NVMe PCIe3x4 | Samsung Evo 870 SSD | WD Black Mobile HDD ]

User avatar
rasat
Posts: 650
Joined: Tue Dec 19, 2017 12:19 pm

Re: Guide/Workflow to make a respin?

#3 Post by rasat »

Good idea. MX Snapshot does a good job, not much needed to say besides the provided options. The main thing is to know what to add in /etc/skel which includes the installer and setup files of /home. The information is there in the form but scattered.

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: Guide/Workflow to make a respin?

#4 Post by SwampRabbit »

agnivo007 wrote: Thu Feb 18, 2021 1:40 am Can we have a proper guide/chronological workflow/tips/tricks related to making a respin for public consumption?

I'm looking to work on LXQT or other DE respin soon and need an official (from devs here and others are welcome too) list of workflow or things to maintain in the final iso for public distribution.

TIA
Apologies on no one from the MX Team responding yet, as you already know we are always pretty busy.
I assume that there were no replies mainly for that reason and for the following...

1) You're asking for an "official" thing for creating "unofficial" respins
2) There are about 4 ways (off the top of my head) to just start creating a respin, and tons of workflow possibilities after that
3) Creating a respin and what is in it is up to the person doing the respin
4) All of the above and more almost create a huge endless document of possibilities based on what you asked
5) Back to #1 here and the fact that we are busy doing official things for the official versions of MX

There are lots of threads here about respins and what not.
And honestly outside of learning the live persistence, remastering, and MX-snapshot... everything else is up to the respiner.
One respin may just be MX with a few applications, another may be a whole differnet DE with additional configs replacing the MX ones.
And there is the whole legalese and ensuring you don't violate things like that too

rasat mentioned /etc/skel, which is a whole big discussion in of itself and may or may not even be needed to discuss depending on what the respin entails.

But the basics are:
1) start with whatever version of MX you want to base your respin on (MX-19, MX AHS, MX-KDE, MX-BASE, MX-Workbench, etc) (Live USB, VM, physical, build-iso, etc, etc)
2) change whatever you want, however you want
3) remaster cc if running Live USB
4) MX-Snapshot (general snapshot)

The catch is #2 up there.

You don't see major actual respins or ones that are maintained long because of the fact that doing it properly and maintaining it is not a trivial thing and because of the endless possibilities that may exist. Heck, you might as well make it part time job. 9_9
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
Jerry3904
Administrator
Posts: 23194
Joined: Wed Jul 19, 2006 6:13 am

Re: Guide/Workflow to make a respin?

#5 Post by Jerry3904 »

Good job, SR--thanks!

I *intended* to do something today, now that RPi is released, but couldn't think of how to start since I've only done one and it isn't applicable.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
asqwerth
Developer
Posts: 7932
Joined: Sun May 27, 2007 5:37 am

Re: Guide/Workflow to make a respin?

#6 Post by asqwerth »

Has the OP searched for and viewed Dolphin_Oracle's whole series of videos on building a custom antiX iso (MATE) from the antiX net iso?

While this used the alpha of antiX17 as the base and the antiX version of the snapshot tool, the general points should still be applicable to someone making their custom iso snapshot from MX (or MX base iso by m_pav).

If I'm wrong, perhaps @dolphin_oracle can clarify what has changed.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
dolphin_oracle
Developer
Posts: 22247
Joined: Sun Dec 16, 2007 12:17 pm

Re: Guide/Workflow to make a respin?

#7 Post by dolphin_oracle »

@asqwerth mostly the video series is still valid. there are antiX packages that are different that MX's versions these days due to the way we handle systemd/nosystemd. but the general principles are the same.

we build from scratch using debian and mx repo packages, so we don't start with an iso. I know some distros do that, but the antiX build system is pretty good, especially for hand-crafting stuff.
if you start from an iso, SwampRabbit's list is pretty good.

the main thing to watch is to remove settings packages, or else you risk us overwriting custom configs with package updates.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
rasat
Posts: 650
Joined: Tue Dec 19, 2017 12:19 pm

Re: Guide/Workflow to make a respin?

#8 Post by rasat »

agnivo007 wrote: Thu Feb 18, 2021 1:40 am ...need an official (from devs here and others are welcome too) list of workflow or things to maintain in the final iso for public distribution.
Didn't noticed this particular request for an "official" guide. Doesn't correspond to asking for "unofficial" respins as was mentioned by SwampRabbit. This doesn't mean that an unofficial guide could not be created and posted in the MX Respins forum. If becomes useful, later be tagged as a sticker. Is there anyone to take the task?

User avatar
dreamer
Posts: 906
Joined: Sun Oct 15, 2017 11:34 am

Re: Guide/Workflow to make a respin?

#9 Post by dreamer »

It shouldn't be that difficult, but there are probably a few things to consider.

Let's assume you know how to make a personal respin with MX Snapshot. That is straight-forward. MX Snapshot will guide you through the process.

So the problems start to arise when doing a customized respin intended for distribution. From a legal perspective as long as you point out that it is an unofficial respin of MX Linux I think you should be good to go.

The process could be pretty simple in theory. The old respin program Systemback could automatically copy user settings to /etc/skel/. This can now be done with MX User Manager (or manually).

However, BitJam pointed out that some of those user files may contain the username and because of that not work correctly. So BitJam advised a cleaning process. This is probably the most complex part. Is it necessary? I'm not 100 % sure (because I have successfully used MX User Manager "copy user" functionality - so anecdotal evidence!), but if BitJam says it's good to do, then you will probably avoid some errors by doing it.

Have a look at this thread:
viewtopic.php?f=100&t=61998&p=612775

The other question is: How much of your home should be copied to /etc/skel/? I don't know. You could try copy everything and replace existing files, but without cleaning that might not be a good idea.

Then there are other questions to consider:
How do you make your desired DE the default DE on your respin? You should probably google the MX forum.

Will the MX Installer and other MX tools launch from your desired DE? This must be tested. As an example htop didn't launch from MATE menu, only from terminal. I didn't figure it out.

There is work to do with autostart desktop files. Maybe some of the autostart files are unnecessary in your chosen DE and others must be added.

There is work to do with (start) menu desktop files. Maybe some of your applications don't show up in your desired DE and other applications show up that you don't want there.

There might be work that has to be done with Qt or GTK integration. MX Xfce generally doesn't try to interfere with other DEs so you might have to set up this integration yourself. I figured out Qt integration in MATE, but then I stopped before I had figured it out for root users. When I say figure out I mean getting it to work. To do it properly you need knowledge about freedesktop specs and maybe even Debian specifics or even MX specifics. To do a nice unofficial respin with a non-official MX DE requires some Linux userland knowledge.

One thing to remember is that it is difficult to make a respin with two DEs that are completely separate. You need to be able to set preferences on a per DE level so that Thunar doesn't launch when you click File Manager in MATE for example. On the other hand you want Thunar to launch when you click File Manager in Xfce. This might not be as simple as selecting the chosen file manager in the Preferred Applications GUI and some work with files might be needed (or commands if you like that).

If you stick with one DE and use one of the default MX DEs: MX Fluxbox, KDE or Xfce then a lot of work has already been done for you and making a customized respin for distribution shouldn't be that hard. The crucial step is successful transfer of your settings from home to /etc/skel/. And this step might involve cleaning of username from file content (I have never done this step because I have never made a customized respin for distribution).

I tried to do a MATE spin for distribution, but I got tired because MATE 1.20 isn't better than Xfce 4.14 and I had a few things I needed to figure out. If you try to make a respin with a non-official DE you will appreciate all the work that went into the official MX DEs.
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
agnivo007
Posts: 720
Joined: Mon May 04, 2020 11:39 pm

Re: Guide/Workflow to make a respin?

#10 Post by agnivo007 »

Thanks for the load of info so far, atleast the discussion has started with points to think about and wonder... great!

I'm planning two respins and I mean to maintain them. (yes, I have spare time) Naming isn't final though: MX-Retro (for so the called potato boxes and "ye olde" hardware, :lol:) and MX-OfficeDesk (general office, clerical work oriented). I'm playing with ICEWM for the former (will post a thread later for help on hiccups encountered) and for the latter, I wish to wait for the bullseye based MX with debian LXQT 0.16.
- Roy, Kolkata, IN. "REDUCE-REUSE-RECYCLE-REPURPOSE"
MX-21-AHS-KDE on [ H110M-H : Modded BIOS | Core i3-9350K | 8GB DDR4 | SP A60 NVMe PCIe3x4 | Samsung Evo 870 SSD | WD Black Mobile HDD ]

Post Reply

Return to “MX Respins”