New Slax is Coming !

Non release banter
raja
Samurai
Samurai
Posts: 135
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and v4.0-rc1-64
Location: Chennai,India

New Slax is Comming !

Post#16 by raja » 22 Nov 2017, 11:35

A Debian 9.1 base, puppy/porteus derivative (dog stretch). takes up just 85-95 mb of ram on fresh boot.
Linux Kernel-4.4.120-32 bit; Linux kernel-4.15.7-64 bit.

User avatar
francois
Contributor
Contributor
Posts: 5415
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 » 24 Nov 2017, 02:34

Interesting experience. A very small debian Debian 9 Stretch system. Tomas found a way to make clean shutdown of systemd. He explains in details how he has constructed his slax-debian system in details. For now, to me the interface seems rough and not polished. I added plank and synaptic and changed the wallpaper. There is no module building device. I am not shure there ever will be. Oh! And and a big advantage is that it is in root mode. :D

Fluxbox.
Startup file is in /root/.fluxbox/

Adding an autostart folder for .desktop files /etc/xdg/autostart and installing plank.

Code: Select all

apt-get install xfce4-terminal thunar    # to be able to copy paste from the web to the file manager or to the terminal
apt-get install apfbautostart plank     # xcompmgr is already installed for plank
Then add plank and after any desired package thru apt-get and dragging from application from /usr/share/application.

Add at the end of /root/.fluxbox/autostart any command needed to start some needed package, for example for plank:

Code: Select all

plank &
Mod4+d key to ShowDesktop.

Changing the wallpaper:

Code: Select all

fbsetbg /path/to/my/image.image
Plank and xfce4.

Code: Select all

root@slax:~# apt-get update
root@slax:~# apt-get install xfce4 terminal             #to be able to copy paste from webbroser
root@slax:~# apt-get install mpv smplayer ristretto kodi minidlna
root@slax:~# apt-get remove wicd
root@slax:~# apt-get install xfce4
root@slax:~# apt-get install plank xcompmgr xarchiver gparted leafpad network-manager network-manager-gnome
#and proceed to final settings before saving plank+packages (see the following)
Modify ~/.xinitrc to include

Code: Select all

startxfce4
Modify /etc/xdg/autostart to add
plank.desktop
xcompmgr.desktop

To mount the hard disk drive partitions:

Code: Select all

blkid    #to find the partion UUID

then:
https://crunchbang.org/forums/viewtopic.php?id=18613

File structure. The partition structure where slax reside is at
/run/initramfs/memory/data/
I am sure that a brokenman wrapper on that type of system would be a great asset. B)
Prendre son temps, profiter de celui qui passe.

jssouza
DEV Team
DEV Team
Posts: 644
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

New Slax is Comming !

Post#18 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: 5415
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#19 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: 1124
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

New Slax is Comming !

Post#20 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: 742
Joined: 02 Jan 2011, 11:33
Location: italy

New Slax is Comming !

Post#21 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: 5415
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#22 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: 5415
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#23 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: 742
Joined: 02 Jan 2011, 11:33
Location: italy

New Slax is Comming !

Post#24 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
DEV Team
DEV Team
Posts: 644
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

New Slax is Comming !

Post#25 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: 742
Joined: 02 Jan 2011, 11:33
Location: italy

New Slax is Comming !

Post#26 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: 5415
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#27 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: 1915
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current Xfce x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

New Slax is Coming !

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

Linux porteus 4.18.3-porteus #1 SMP PREEMPT Sat Aug 18 16:50:00 UTC 2018 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

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

New Slax is Coming !

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

A file manager, finally! :)

User avatar
francois
Contributor
Contributor
Posts: 5415
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#30 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.

Post Reply