New Slax is Coming !

Non release banter
jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

New Slax is Comming !

Post#16 by jssouza » 24 Nov 2017, 03:51

francois wrote:
24 Nov 2017, 02:34
There is no module building device. I am not shure there ever will be.
At https://github.com/Tomas-M/linux-live/b ... mium/build, you can see how the chromium slack bundle is made. Similarly you can make your own bundle.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

New Slax is Comming !

Post#17 by francois » 26 Nov 2017, 03:24

Hum! :worship:

So what he wrote was that former Slackware modules will not be compatible with debian system. Not more.
Prendre son temps, profiter de celui qui passe.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

New Slax is Comming !

Post#18 by fulalas » 28 Nov 2017, 03:19

francois wrote:
24 Nov 2017, 02:34
Tomas proposition for missing wifi applet in taskbar:

Code: Select all

apt install network-manager-gnome
nm-applet &
And this command works without internet access?

beny
Full of knowledge
Full of knowledge
Posts: 2083
Joined: 02 Jan 2011, 11:33
Location: italy

New Slax is Comming !

Post#19 by beny » 28 Nov 2017, 22:31

the wired connection work out of the box but i do not know if the apt setup remain in changes

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

New Slax is Comming !

Post#20 by francois » 30 Nov 2017, 01:12

@fulalas:
As beny says wired internet worked out of the box.

@beny:
You need to save changes or find a way to bundle the downloaded packages. There is no standard procedure for making modules, though as proposed jssouza there is an example for chromium.

04-chromium-build script:

Code: Select all

apt-get update
apt-get install --yes --no-install-recommends chromium

. ../../cleanup

rm -Rf /usr/share/icons/gnome/256x256

mv /usr/bin/chromium /usr/bin/chromium-launcher

(cd rootcopy && cp --parents -afr * /)
chown -R guest.users /home/guest

savechanges /mnt/sda6/slax/optional/the-name-of-your-bundle.sb
The essential commands in this script seems to be:

Code: Select all

apt-get install --yes --no-install-recommends package1 package2 package-x #to install the desired .deb package and libraries
savechanges /run/initramfs/memory/data/slax/xx-package-name.sb #to save slax bundle, save change folder has to be emptied beforehand and afterwards
Wifi.
Tomas does not seem interested to provide the wifi drivers. So he leaves that to the user of the wifi thread.
wicd is now functional

Grub entry for persistence.
To save changes grub2 entry example:

Code: Select all

    menuentry "SLAX 921 " {
    set root=(hd0,2)
    linux /slax/boot/vmlinuz load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 slax.flags=perch
    initrd /slax/boot/initrfs.img
    }
Where:
slax.flags=perch
perch meaning permanent changes.

Edited as of 180304.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

New Slax is Comming !

Post#21 by francois » 30 Nov 2017, 03:10

You can insert or remove bundles on the fly:
http://www.slax.org/en/internals.php
there is another possibility to add new files and directories to Slax on the fly without installing any packages. Thanks to the fact Slax is running with AUFS as root, we can take some other squashfs compressed filesystem, loop-mount it over a directory which resides outside of the aufs tree (for example over /run/initramfs/memory/bundles/name.sb/

If someone understands this one, the explanation would be appreciated.
Thanks.
Prendre son temps, profiter de celui qui passe.

beny
Full of knowledge
Full of knowledge
Posts: 2083
Joined: 02 Jan 2011, 11:33
Location: italy

New Slax is Comming !

Post#22 by beny » 30 Nov 2017, 10:54

with apt you can change the windows manager i like xfce4 so i have done it, you don't need a boot entry logout from fluxbox and startxfce4,i have done this because in fluxbox file manager do not exist,my arch boot time is a lot too fast ,but i think is a good base to start a devel system,btw debian for me is an alien system,i have to learn it,maybe, apt-get seem outdated

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

New Slax is Comming !

Post#23 by jssouza » 30 Nov 2017, 15:07

francois wrote:
30 Nov 2017, 03:10
You can insert or remove bundles on the fly:
http://www.slax.org/en/internals.php
there is another possibility to add new files and directories to Slax on the fly without installing any packages. Thanks to the fact Slax is running with AUFS as root, we can take some other squashfs compressed filesystem, loop-mount it over a directory which resides outside of the aufs tree (for example over /run/initramfs/memory/bundles/name.sb/
If someone understands this one, the explanation would be appreciated.
Thanks.
francois, what he means is any squashfs module, say a porteus .xzm can be loaded to the live system (aufs). Basically mentioning the mount commands that are used to add a squashfs branch to the aufs system, which is done by the activate script.
Try the following: (assuming you are on the x86_64 slax)
Download a porteus xzm, say http://dl.porteus.org/x86_64/Porteus-v3 ... 6_64-1.xzm from the porteus server. Save it to an external filesystem (USB or HDD). It should not be on the live system.

Next, loop mount the xzm:

Code: Select all

mkdir /run/initramfs/memory/bundles/palemoon.xzm
mount -o loop /mnt/..path..to..palemoon-27.6.0-x86_64-1.xzm /run/initramfs/memory/bundles/palemoon.xzm
Remount and add it to the live system (aufs):

Code: Select all

mount -t aufs -o remount,add:1:/run/initramfs/memory/bundles/palemoon.xzm aufs /
Palemoon should now be activated in Slax! You can check by running palemoon from the terminal. Of course, it would fail because of missing dependencies, but you get the idea.
You can also check that palemoon has been actually activated by issuing:

Code: Select all

slax list

beny
Full of knowledge
Full of knowledge
Posts: 2083
Joined: 02 Jan 2011, 11:33
Location: italy

New Slax is Comming !

Post#24 by beny » 30 Nov 2017, 16:41

ps: when you active changes and use apt from it the system at reboot do not boot anymore ,maybe need a lot of time to write changes but....

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

New Slax is Coming !

Post#25 by francois » 01 Dec 2017, 04:20

@beny:
It is delight to have you on the forum. I thought that we have lost you. Please intervene more often. You are enlightning. :)
I also have discorvered the simplicity and modularity of xfce4. You can work with xfce4-panel xfce4 terminal and thunar only under slax. These add enough functionality. I like the copy/paste functionality of xfce4-terminal of xterm for example. The next time I see Italy, I will have to meet you.

@jssouza:
I am very happy that you are actively involved with porteus. I think that we merited you. I appreciate the patience, the care and simplicity with which you intervene. Your clarifications are welcome. :)
Prendre son temps, profiter de celui qui passe.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

New Slax is Coming !

Post#26 by Blaze » 17 Dec 2017, 08:35

Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

New Slax is Coming !

Post#27 by fulalas » 17 Dec 2017, 23:51

A file manager, finally! :)

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

New Slax is Coming !

Post#28 by francois » 18 Dec 2017, 12:38

Using alternatively with my porteus40 and nemesis-artix plank DE, slax is doing a better job on the performance side. There seems to be something to be understood and learned here. B)
Prendre son temps, profiter de celui qui passe.

apollo
Black ninja
Black ninja
Posts: 75
Joined: 28 Oct 2017, 13:40
Distribution: 4.0 XFCE, Manjaro
Location: .bay.de

New Slax is Coming !

Post#29 by apollo » 18 Dec 2017, 18:57

tried the new beta but wireless on my intel centrino n6300 didn't work out of the box :%)
Performancewise i can't see a big difference to porteus and apt is not the replacement of my choice instead of working with modules. ;)

I stick with Porteus.

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

New Slax is Coming !

Post#30 by Jack » 18 Dec 2017, 19:31

I try it and it look nice but my WiFi didn't work and I try to make it work and could not make it work.

I will stick with Porteus too.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Post Reply