trunkmaster / nextspace

NeXTSTEP-like desktop environment for Linux
https://trunkmaster.github.io
GNU General Public License v3.0
1.88k stars 68 forks source link

Create a live CD #242

Closed alexmyczko closed 2 years ago

alexmyczko commented 4 years ago

would that be hard to create? i have no idea of non-debian based linux distributions.

trunkmaster commented 4 years ago

I've never created a live CD. Do you know how to create Debian based live CD?

It would be great if you create live CD and share results of you work (build scripts, configuration files)! Could you?

alexmyczko commented 4 years ago

Yeah I do that http://livecd.gnustep.org after all, but it was painful everytime different, and I'm behind 2 years.

For Fedora/CentOS you might want to check: https://wiki.centos.org/HowTos/InstallFromUSBkey

nicktelindert commented 4 years ago

I have some spare time so i could look into it

trunkmaster commented 4 years ago

@alexmyczko, let's change title to "Create Live CD". So this topic can be used as task and discussion. I assign this issue to @nicktelindert.

nicktelindert commented 4 years ago

I will start with it tonight, i think i have a basic idea about how to do it.

trunkmaster commented 4 years ago

@nicktelindert I guess boot only will be great step ahead. Do not hesitate to ask questions if you face with problems.

nicktelindert commented 4 years ago

@trunkmaster I think i use the livecd-tools from redhat, which seem pretty easy to use. But i need DNF for that. I probably use a virtualmachine to build the ISO because i run Debian 10 on my system. I hope to have a test ISO in the upcoming week

nicktelindert commented 4 years ago

@trunkmaster BTW building NextSpace in CentOS 8 or RHEL seems nearly impossible. They removed alot of development packages which are required to build NextSpace. And for most of them no third party repository was available. I mostly used pkgs.org to search for third party packages.

trunkmaster commented 4 years ago

@nicktelindert I know that RedHat removed some packages from RHEL/CentOS 8. It's better to build live CD with CentOS 7. I've made missed packages for CentOS 8 by myself using srpms from 7 (it's not that hard). I'll try to find specs and send you.

nicktelindert commented 4 years ago

I am using CentOS 7 now in a VM, the kernel is too old to install on my xps 13 that's why i've tried CentOS 8. I hadn't thought of using the srpms of centos 7. Thanks for mentioning it.

nicktelindert commented 4 years ago

I put my Kickstart script on my own github: https://github.com/nicktelindert/nextspace-build-iso

Not tested yet, am still working on it.

nicktelindert commented 4 years ago

A test ISO: https://drive.google.com/open?id=1s-jG79uuR0hyrexpZFo7YE1LQNNuLxGw Please help me test and report issues.

BertrandDekoninck commented 4 years ago

Great ! Tested in Virtualbox. I can set the monitor resolution, the keyboard layout, choose the locale (with no effect as Workspace isn’t translated yet in French). I didn't manage to have sound yet, and the iso misses a bunch of apps (and app wrappers too) to demonstrate the system could be usefull. But Nextspace itself is impressive.

Bertrand Dekoninck

nicktelindert commented 4 years ago

Great ! Tested in Virtualbox. I can set the monitor resolution, the keyboard layout, choose the locale (with no effect as Workspace isn’t translated yet in French). I didn't manage to have sound yet, and the iso misses a bunch of apps (and app wrappers too) to demonstrate the system could be usefull. But Nextspace itself is impressive.

Bertrand Dekoninck

I look into the audio issue, do you know which chip you used in virtualbox?

nicktelindert commented 4 years ago

For suggestions on base apps i recommend to post suggestions here: https://github.com/nicktelindert/nextspace-build-iso/issues/3

HankG commented 4 years ago

I didn't see where the default login was listed anywhere (it didn't auto-login for me). I found it in the build script: username=nextspace password= ``

nicktelindert commented 4 years ago

Its listed on my github page

Op za 29 feb. 2020 23:08 schreef Hank G notifications@github.com:

I didn't see where the default login was listed anywhere (it didn't auto-login for me). I found it in the build script: username=nextspace password= ``

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/trunkmaster/nextspace/issues/242?email_source=notifications&email_token=AN6TRKXFRW5ZRSBYWFRWAADRFGDOLA5CNFSM4KXKBDD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMHI3Y#issuecomment-592999535, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN6TRKVWZZMP4VPTQBN5VM3RFGDOLANCNFSM4KXKBDDQ .

trunkmaster commented 4 years ago

A test ISO: https://drive.google.com/open?id=1s-jG79uuR0hyrexpZFo7YE1LQNNuLxGw Please help me test and report issues.

Execlent! I've tested in VirtualBox - everything works. Well done. Although after login I've got alerts from Workspace about inability to mount something? Is it some specific for livecd?

Some ideas:

HankG commented 4 years ago

I can't seem to bring up the preferences app to set the display size. I installed it to a HD to make sure that wasn't what was causing the problem. I got the same behavior. It looks like it launches, there is a menu, but I never get the actual window.

trunkmaster commented 4 years ago

@HankG, something wrong with UI model files (gorm). Look at Console for error messages (Workspace->Tools->Console).

HankG commented 4 years ago

No not seeing any. The launching is after all the "Dock iconMouseDown" unless the guessed offsets are off screen... image

trunkmaster commented 4 years ago

Have you double-clicked on Preferences application icon in Dock?

HankG commented 4 years ago

Have you double-clicked on Preferences application icon in Dock?

Doh...no I've been going through applications each time...

trunkmaster commented 4 years ago

Preferences panel opens only after double-click on appicon - it's a designed behaviour.

HankG commented 4 years ago

I see that now :). OPENSTEP it did both ways but current behavior makes sense.

trunkmaster commented 4 years ago

You're right. Probably I need to make it behave as OPENSTEP did.

HankG commented 4 years ago

You're right. Probably I need to make it behave as OPENSTEP did.

Not necessarily but for this it was a bit confusing. PS about to post this to my social media feeds and link to your project: Screenshot from 2020-02-29 17-50-26

trunkmaster commented 4 years ago

Cool. BTW, you can change title of Terminal window to match the OPENSTEP screenshot. :-)

nicktelindert commented 4 years ago

A test ISO: https://drive.google.com/open?id=1s-jG79uuR0hyrexpZFo7YE1LQNNuLxGw Please help me test and report issues.

Execlent! I've tested in VirtualBox - everything works. Well done. Although after login I've got alerts from Workspace about inability to mount something? Is it some specific for livecd?

Some ideas:

  • It will be good to have nextspace plymouth theme visible in VirtualBox. For this we need to have vboxvideo driver included into initrd.
  • I see your build script installs Inkscape - would be great to have an app wrapper in /Applications.
  • SELinux is not disabled in script - may result some problems. I guess it's better to disable it as described in "Install Guide" (wiki).

There is some stuff to be done indeed. On my own version i have included my app wrapper script and some basic apps. Selinux should be disabled though. I added selinux - - disabled in the build script. Main priority now is fixing some bugs and than fill some missing gaps by adding easier wifi control with nm-applet and wmsystemtray. I hope to add some more gnustep apps to create a more complete experience.

trunkmaster commented 4 years ago

Main priority now is fixing some bugs and than fill some missing gaps by adding easier wifi control with nm-applet and wmsystemtray.

Sure, it's an essential parts to make LiveCD usable after install. However I hope Network Preferences module will be implemented anytime soon. It's my next big thing in NEXTSPACE development. Currently I'm busy with finalizing multi-monitor support for GNUstep and adopt it in NEXTSPACE.

I hope to add some more gnustep apps to create a more complete experience.

I've sent you my set of app wrappers in https://github.com/nicktelindert/nextspace-build-iso/issues/3 discussion.

doublet30 commented 4 years ago

I just tested the ISO in virtualbox, it was impressive in my honest opinion. I was wondering if you guys had plans for a CI / CD system. For example, this project could be configured to create packages for all distribution types. RPM for RPM based distros, Deb for Debian Based distros, and Aur for Arch. Package maintainers in those distros could then create CI / CD scripts that look for these packages, and include them into contrib repos when a "stable" release is published, or to an unstable repo when packages are automatically produced when changes are made. Continuous Integration and Deployment can drastically help push a project like this forward and make a presence in all major distributions and derivatives. A bigger presence might also mean more developer contributions. To be honest, I stumbled on this project by just browsing github out of boredom. I'm a software developer for Linux myself and a distro maintainer. I have a soft spot for nostalgic DE's and this just happen to catch my eye. Unfortunately, I have too much of a work load to contribute to this project otherwise it would be the first band wagon I would choose to hop on. But a bigger presence might attract more help. I would love to see this project completed and gaining popularity. Especially since there has been no new work or innovation on Etoile OS in 6 years. Being a smaller dev team, you made a more "functional" WindowMaker / GNUstep DE fork than the guys at EtoileOS did. Kudo's for all the hard work guys! It is definitely exciting and incredible! :)

trunkmaster commented 4 years ago

@doublet30, I'm glad you found my project interesting. It wil be great to have CI/CD and automatic package building. Unfortunately, I'm busy writing code at this stage of project. Many thanks to @nicktelindert for building the ISO image so more people can try NEXTSPACE. Without @nicktelindert help no LiveCD image will exist.

If you know how to setup CI/CD and spare tiny portion of your time - we'll get huge results. Current project state is a result of one developer - me. I do it on my spare time but everyday. I hope you're able to find some time to help us bring the NEXTSPACE to world. It's funny anyway.

nicktelindert commented 4 years ago

@trunkmaster I do it with pleasure:) I did setup a jenkins server for CI never used it for CD though. But i leave that task to someone else, but i could assist someone if they want to do the task with Jenkins.

nicktelindert commented 4 years ago

I do have some issues with the plymouth splash. I changed it in my build script and than run dracut - f but somehow it doesnt change the theme. Does anybody have a suggestion?

trunkmaster commented 4 years ago

@trunkmaster I do it with pleasure:) I did setup a jenkins server for CI never used it for CD though. But i leave that task to someone else, but i could assist someone if they want to do the task with Jenkins.

If it is configured like Travis you can add config file via pull request.

trunkmaster commented 4 years ago

I do have some issues with the plymouth splash. I changed it in my build script and than run dracut - f but somehow it doesnt change the theme. Does anybody have a suggestion?

For VM you need to add kernel module with supported KMS video driver (vboxvideo). For VMware kernel already conains appropriate video driver.

nicktelindert commented 4 years ago

I do have some issues with the plymouth splash. I changed it in my build script and than run dracut - f but somehow it doesnt change the theme. Does anybody have a suggestion?

For VM you need to add kernel module with supported KMS video driver (vboxvideo). For VMware kernel already conains appropriate video driver.

Those are already installed in my build, and the plymouth splash works fine now after installation but not on the livecd itself. So i will look into it later, now i try to figure out how to add the user created by anaconda to the audio group automatically.

BertrandDekoninck commented 4 years ago

This live-cd is a great way to test NextSpace. I've installed the system in VirtualBox using the anaconda installer provided by the live-cd. It works like a charm, much more efficient than a classical Centos install followed by the install of nextspace packages. But there are some rough edges.

• I miss the french mac keyboard in NextSpace Preferences app : it isn't listed, even if I selected it in Anaconda. Should I file an issue against Preferences ? • I've reported an issue with new users home creation here [https://github.com/nicktelindert/nextspace-build-iso/issues/14]. The folder is created in /home instead of /Users. • I wanted to compile rik theme but gnustep.sh isn't sourced and I could not find where it is located in NextSpace filesystem. Isn't gnustep-make installed ? Should I install libobjc and clang as well ?

Last two issues which are not related to CD itself, but I report them first here. • I could test more extensively the drag and drop with Workspace, but did not manage at first glance to move or copy a file/directory between Workspace's windows. I eventually manage to achieve move by dragging an icon from the shelf of the first window to the shelf of the second window. A drag between the windows contents themselves doesn't work. I don't know how to copy either. The copy menuentry doesn't work . Is this the intended behaviour or something to adressed ? I don't think it is very usable for now and it's difficult to figure out. I only tried the shelf because I know it's it's a way to do in GWorkspace, but other people will be disappointed.

• I wanted to define Workspace as default program for Firefox to open folders (in the download manager), but I could'nt find the correct way in Firefox dialog : I selected Workspace executable in Workspace.app folder but this doesn't work. Should I file an issue elsewhere ? I've got other issues with Workspace and themes I could discuss later.

trunkmaster commented 4 years ago

This live-cd is a great way to test NextSpace. I've installed the system in VirtualBox using the anaconda installer provided by the live-cd. It works like a charm, much more efficient than a classical Centos install followed by the install of nextspace packages. But there are some rough edges.

• I miss the french mac keyboard in NextSpace Preferences app : it isn't listed, even if I selected it in Anaconda. Should I file an issue against Preferences ?

Do you mean Apple keyboard with French layout? Then you should make setup in Keyboard Preferences: "Model" section for keyboard type and "Layouts" section for French layout.

• I've reported an issue with new users home creation here [https://github.com/[nicktelindert/nextspace-build-iso/issues/14](https://github.com/nicktelindert/nextspace-build-iso/issues/14)]. The folder is created in /home instead of /Users. • I wanted to compile rik theme but gnustep.sh isn't sourced and I could not find where it is located in NextSpace filesystem. Isn't gnustep-make installed ? Should I install libobjc and clang as well ?

Obviously development packages is not installed. nextspace*-dev RPMS place all necessary files into /Developer directory. Environment will be set up with /etc/profile.d/nextspace.sh file automatically at shell launch (for example in Terminal). Please create issue at @nicktelindert project page.

Last two issues which are not related to CD itself, but I report them first here. • I could test more extensively the drag and drop with Workspace, but did not manage at first glance to move or copy a file/directory between Workspace's windows. I eventually manage to achieve move by dragging an icon from the shelf of the first window to the shelf of the second window. A drag between the windows contents themselves doesn't work. I don't know how to copy either. The copy menuentry doesn't work . Is this the intended behaviour or something to adressed ? I don't think it is very usable for now and it's difficult to figure out. I only tried the shelf because I know it's it's a way to do in GWorkspace, but other people will be disappointed.

Please read Workspace's help (Cmd-?) "Working with Files and Folders" section.

• I wanted to define Workspace as default program for Firefox to open folders (in the download manager), but I could'nt find the correct way in Firefox dialog : I selected Workspace executable in Workspace.app folder but this doesn't work. Should I file an issue elsewhere ?

It's not supported yet. Please create and issue in this project.

I've got other issues with Workspace and themes I could discuss later.

nicktelindert commented 4 years ago

@trunkmaster i first finish some issues, development packages will be added in the next release. I find it difficult to say when i will do a next test release. I first want to fix stuff that i consider showstoppers.

BertrandDekoninck commented 4 years ago
• I miss the french mac keyboard in NextSpace Preferences app : it isn't listed, even if I selected it in Anaconda. Should I file an issue against Preferences ?

Do you mean Apple keyboard with French layout? Then you should make setup in Keyboard Preferences: "Model" section for keyboard type and "Layouts" section for French layout.

Yes, an Apple keyboard with French layout. It's listed as Mac variant in Anaconda layouts. I don't understand, which Keyboard Preferences you are talking about ? I meant NextSpace Preferences and I don't see a "Model" section in it. Only a layout section. See below : VirtualBox_NextSpace_05_03_2020_08_28_38

Please read Workspace's help (Cmd-?) "Working with Files and Folders" section. This doesn't work, neither with the menuentry nor with the shortcut. Is the help installed ? By the way, the modyfier key is Alt, not Cmd, after the install for me. I didn't change it.

trunkmaster commented 4 years ago

@BertrandDekoninck I'm sorry. Everything I've taked about doesn't exist in 0.85 release. It's in master.

nicktelindert commented 4 years ago

BTW i take some time off, i probably start again next week. I probably am at week a lot the upcoming time, I expect my country to go in lockdown very soon. My government failed to respond in time and now the infections are rising very quickly. They expect that almost half of the country will be infected.

alexmyczko commented 4 years ago

Can you name your country?

nicktelindert commented 4 years ago

@alexmyczko the Netherlands, we are already out of testkits to test patients and medical personal.

alexmyczko commented 4 years ago

@nicktelindert Don't worry, we're not far behind: https://en.wikipedia.org/wiki/2020_coronavirus_pandemic_in_Europe#Pandemic_by_country (Switzerland)

nicktelindert commented 4 years ago

@alexmyczko Our real numbers are much higher than that, we have a lot of sick people which can not be confirmed because we can't test them. If we count the people who are suspected to have corona our numbers double. The amount of increase of sick people is now pretty much equal to italy. The governments plan is to slowly get the population infected in a controlled manner to build Herd immunity.

alexmyczko commented 4 years ago

that is off topic but are you allowed to work from home? lockdown?

nicktelindert commented 4 years ago

@alexmyczko Yeah most people work from home now. To get this government plan to work we need at least 70% of the people to be infected. So i dont know how i feel about this plan.

nicktelindert commented 4 years ago

It just has been confirmed that we have 6000 infections, so much higher than expected. We started out with a few hundred a few days ago.