28

January
2013

Slax 7.0.5 with Software Center updates

Hello everybody, a new version of Slax has been released yesterday. Slax 7.0.5 updates KDE to version 4.9.5 and FireFox 18.0.1, furthermore it provides new feature which lets you upload screenshot of any application to Slax website in order to assign it to a module of your choice.

Sorry I didn't publish the release announcement sooner, I wanted to get Software Center prepared so I can show you some screenshot. Here you go :)

If you wish to get your module listed in Top Picks, feel free to send me a nice 128x128px icon and I will add it there.

Vmware users will notice better mouse support thanks to updated UDEV rules, so the mouse will grab and ungrab automatically for you, no need to do that manually anymore.

The acitvate / deactivate functionality has been improved, you can now activate a module by single click (through the software center) and all dependencies will download automatically.

Download Slax 7.0.5 here

User comments
Prcek 2013-01-28 02:49

Tomas, you did just a small mistake in the version of KDE ;-). Can't wait to test the Software center...

Prcek 2013-01-28 02:59

One remark about the Software center: I presumed that after selecting a module in the Software center, it would show me detailed description of the module and the possibility to download/activate it. I was surprised it activated the module without asking.

wahyu 2013-01-28 03:21

nice update... Can't wait to test the Software center... thanks Tomas.

Carlos Felipe Araújo 2013-01-28 04:29

Can I create it on pen-drive using ubuntu or mac os x? I dont have Windows anymore.

And do u know some tool to linux/mac to edit .iso for paste the modules and make a new iso?

Jcsoh 2013-01-28 04:39

Isomaster (32 bits)
http://www.mediafire.com/?yygm1m46gjm6f

Slax 7 also have a makeiso script inside it.

Behind the times 2013-01-28 04:52

Excellent thanks for your hard work

pamaed 2013-01-28 04:56

slax cant detect my wireless card. What can I do?

Tomas M 2013-01-28 06:02

@pamaed: connect it to network by cable and activate the Firmware module in Software Center. That should help.

Going Postal DJ 2013-01-28 11:23

There's a problem in Slax 7.05 Catalan, Firefox 18 don't have Catalan localizations anymore. Now there's only the Valencia regional locales, so Firefox is shown in English.

Tomas M 2013-01-28 11:31

@Going Postal DJ: Thank you for notice, I will investigate tomorrow. Going to sleep now :)

William Wong 2013-01-28 13:19

I agree with @Prcek that the software center should give a frame containing thorough description and screenshot (if it has) just like the software center of Ubuntu.

At least, software center works now. :-)

Hope it would be better in next version of Slax.

Atakan Çal 2013-01-28 21:45

32 bit Turkish iso doesn't working, :'( :'(

vovcik 2013-01-29 01:27

With an address okay but again slow, very slow for UNIX !

jcsoh 2013-01-29 01:40

@ Tomas

I had mentioned this before ie the problem of some modules turning the documentation and software icons on slax desktop and the terminal icon on the bottom task bar, into text file.

Today in both slax 7.04 and 7.05 I encounter the similar problem and I am able to attribute to to a single module (as I am booting a clean slax with and without thta module.

The said module is http://www.slax.org/modules.php?detail=djvulibre from Slax's module repository.

I also tries downloading Djvulibre 3.5..25.3 from http://slackfind.net/en/packages/search/?name=djvulibre&distversion=6

It also give the same error .

I hope you can look into this problem . It happen many times before but I was using my own modules and I never track down the specific module all the while .

Now can you try with the one specific module.

Erik Nordström 2013-01-29 02:03

Many thanks Tomas. So far it works perfect. I am very impressed.

Malik 2013-01-29 03:00

Can Anyone give me k3b module and all dependencies.

Thanks love slax much more than before.

jcsoh 2013-01-29 03:11

K3b (32bits)
> K3b 2.0.2 (i486)
k3b is a DVD / CD Burning program.
http://www.4shared.com/file/tsXukJVb/k3b-202_i486-saman.html

K3b(64bits)
http://backtrack.serveftp.com/doku.php/backtrack/slax_7_modules

Jcsoh 2013-01-29 03:13

For the k3b (64bits) - I think you need to get separate dependincies:-
See this post
http://old.slax.org/forum.php?action=view&parentID=83314&highlight=k3b

The 32bits is an all-in-one package.

iancilos 2013-01-29 04:47

Here are 3 PNG 128px, major manufacturer video card (nvidia, amd, intel)
(click on DOWNLOAD)

http://www.2shared.com/complete/l9u-EXcx/Video.html

Tom I beg you to do the module for nvidia video card. I have the video card nvidia GT240 and only works with proprietary drivers.

Switters 2013-01-29 04:51

I've tried 7.0.5 today, I've a problem with /etc/group, it contains only one record:
slocate:x:21:
(I've installed slocate, with: slax activate slocate)
In version 7.0.4 /etc/group seems ok.

Mark De Silva 2013-01-29 07:22

@Switters

Appears the module for slocate has the /etc/group file with just slocate::21: hence it is overwriting the /etc/group file.

Tomas is the maintainer, I think he needs to modify the module with the run/ directory containing a script to check if slocate::21: is in /etc/group and if not, then add it in, rather than have a group file in etc/.

basically run/add_slocate_group:

#!/bin/sh

if [ -z `grep slocate /etc/group` ]; then
echo "slocate::21:" >> /etc/group
fi

Now that I think about it, do the files in the run/ directories (which are located in /mnt/live/memory/bundles/<bundlename.sb>/run) get executed after each module is loaded or do they get executed after all the modules are loaded and just before the system is about to do the usual slackware startup?

Krosi 2013-01-29 07:32

Hello all,

i have arleady installed Slax 7.0.5 on my hp compaq nc4200,
everthing is ok but wifi is not available ...

how to install driver for wifi?
Intel WLAN WM3B2915ABG

someone can help me ?

Mark De Silva 2013-01-29 08:06

@Krosi

Try to get the firmware module. You need network, so try to use a wire to connect to internet and run the following at the terminal:

slax activate kernel-firmware

Krosi 2013-01-29 08:18

Ok i do this.. so what now ?

Switters 2013-01-29 08:54

@Mark De Silva

Thank you very much. Tomorrow I'll try deactivating slocate.

I'm building a Slax module (mpd) thah need a new user (setuid'ed by the daemon), I run useradd in activate.sh to create it, but could be useful to have some "standard" function in SlaxBuild to add users and groups doing some sanity check before adding them (and maybe ask the administrator the permission to do so).

Krosi 2013-01-29 10:55

I did it and there is no effect...

any idea's ?

Prcek 2013-01-29 11:36

Krosi: Did you restarted your computer? When you activate a module, it is automatically copied to /slax/modules directory. Then you have to restart your computer and it will be activated during boot process. Then your wifi should work (if there was firmware for your card).

Tomas M 2013-01-29 11:37

@Switters: I've fixed the slocate module to not include /etc/group anymore, so it just keeps the group file from Slax, which already has the group anyway. If a buildscript needs to add users, simply put useradd command to /run/activate.sh ... It gets executed after each module is activated.

Switters 2013-01-29 12:26

Hi Tomas,
I've already used useradd, without checking if the user already exists, but I'll add the test.
Another question: if a module requires several libraries it's better to include them in the module (like in the ffmpeg module) or is it better to package them in different modules (one for each library)?
In the first case what could happens if two different module contains the same library but with different version?
What is your suggestion?

PS: thanks for the good work ;-)

Mark De Silva 2013-01-29 15:25

@Switters its been a long standing requirement to keep libraries separate from the actual application. This is to prevent module bloat and also to prevent 2 or 3 different applications which need the same libraries from all containing them simultaneously. As you can imagine, if you have 3 modules with same libraries, your slax footprint would be larger than necessary.

The above being established, you never need to worry about 2 modules containing libraries of different versions. If a library is ever too old to be used, you can simply upgrade the library module and not affect the application.

And btw, my mistake - I forgot the scripts in the run/ directory have to be named "activate.sh" and "deactivate.sh" and not whatever name one wishes to call them.

Mark De Silva 2013-01-29 15:32

@Prcek, actually once you activate a module, its copied into the slax/modules directory AND also activated on the fly. So it should be merged with the system without rebooting, but the driver will have to be modprobed manually. Rebooting would be the easiest way to do it, or Krosi could try to do:

/sbin/modprobe ipw2200

From what I read, the ipw2200 is a unified driver that handles the 2915 as well.

Mark De Silva 2013-01-29 15:39

@Switters, adding users/groups is done via the /run/activate.sh as well as other startup necessities. Sort of like the 'doinst' folder in Slackware installation packages.

As a lot of bundles get converted from Slackware packages, perhaps a better way would be for the activate command to check for etc/passwd, etc/shadow and /etc/group files in the bundles and if so check their contents against the current /etc/password, /etc/shadow and /etc/group files and if not present/the same, then append the bundle file to the system file. I suppose this can be done for the activate command and also at startup when slax is mounting and inserting all the bundles.

remus 2013-01-29 16:19

The adjust date and time is not working.

Mark De Silva 2013-01-29 17:11

I can confirm partially Remus' report on date and time adjustment.

If I adjust the time manually, I get a pop up error :

Error adjusting time zone

Then when I close it I have to wait about 1 minute before the time changes to what I set it.

After this, I can't bring up the adjust time/date settings gui anymore (right click on the time, click 'Adjust Date and Time', doesn't bring up the date/time settings window).

Mark De Silva 2013-01-29 17:20

@Tomas, just a suggestion, but would it be possible to set the load/noload parameter to take in directory as well? As in:

noload=base/kde*
noload=modules/*
load=base/xorg*
load=modules/*parted*

Also I did 'man bootparam' and it doesn't list the slax parameters as mentioned in the documentation, or did I mis-read something?

Also my previous question:

Do the activate.sh scripts in the run/ directories (which are located in /mnt/live/memory/bundles/<bundlename.sb>/run) get executed immediately after each module is loaded or do they get executed after ALL the modules are loaded and just before the system is about to do the usual slackware startup?

Thank you.

Aneryan Tomi 2013-01-29 19:29

ati radeon driver please!!

Krosi 2013-01-29 22:27

@Prcek

Yes i restarded computer and still nothing :(

Switters 2013-01-29 23:49

Ok, I've created the mpd module, the package contains /etc/rc.d/rc.mpd to start/stop the daemon, but it isn't executed at boot (the script is user/group readable/executable). Should I modify /etc/rc.d/rc.local appending "/etc/rc.d/rc.mps start" ?

Manfred 2013-01-30 00:32

@switters:

> Should I modify /etc/rc.d/rc.local appending "/etc/rc.d/rc.mps start

No, first create a /run folder in the bundle's root.
Second create both activate.sh and deactivate.sh in the /run folder.
Third save the line "/etc/rc.d/rc.mps start" in the activate.sh file and
forth save the line "/etc/rc.d/rc.mps stop" in the deactivate.sh file.

Manfred

Krosi 2013-01-30 01:29

some one can help me with my problem, ?

Switters 2013-01-30 01:30

@Manfred
Ok, thank you.

So, the activate.sh is executed each time the module is loaded, right?
I tought it was executed only when running "slax activate", something like a post-install setup.
Mmm... time to re-read documentation and re-think about my activate.sh...

Prcek 2013-01-30 02:13

Krosi: As Mark De Silva pointed out - the driver for your network card is present in linux kernel and should be present in Slax as a kernel module named ipw2200. You can check if the module is loaded by executing 'lsmod | grep ipw2200'.

If it isn't, try 'modprobe ipw2200'. Then look at the kernel messages using dmesg command. There should be something about the module or some error. Look for keywords like firmware, net, wlan, error,... Like this:

dmesg | grep -i firmware
dmesg | grep -i net
dmesg | grep -i wlan
...

If you find something suspicious, paste it here and we can hopefully solve it. But if you don't give us more information than "it isn't working", we cannot help you.

Alex Schütz 2013-01-30 02:50

Very fine, except that I get strange characters when using RXVT terminal with MC.
(Slax 7.0.5 64bit german)
By the way, can you help me to get "Teamviewer" to run with Slax 7.0.5.-64-german?
It needs the "compat32" libraries, and I am at a loss as to guess what to do to get it to run....

iancilos 2013-01-30 03:29

@Tomas
I have following problem with Linux, so even with Slax 7 ...
My Notebook, which has intel video card, like many other notebooks of other brands have problems with the screen backlight. Startup part with the minimum of backlight. Ubuntu and other distros with Grub resolve as follows:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
in
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"

or

GRUB_CMDLINE_LINUX=""
in
GRUB_CMDLINE_LINUX="acpi_osi=Linux acpi_backlight=vendor"

acpi_osi=Linux - sometimes a bios will disable functionality if Windows is not detected. This command forces it to use all functionality.

acpi_backlight=vendor - tells the kernel to use a vendor specific acpi driver (e.g. thinkpad_acpi, sony_acpi, etc.) instead of the default video module (ACPI video.ko driver.). Helps in fixing backlight issues in some cases.

You could integrate this command in the startup parameters of Default? How can I do it manually with Slax?

This parameter has no side effects to the PC that does not have problems with backlight, so no problem.

jcsoh 2013-01-30 03:54

iancilos 2013-01-30 03:29

"acpi_osi=Linux acpi_backlight=vendor"
I haven't tried this with slax 7 , bit with slax 6 , I just add the line required to the config kernel line. I have laptop /net book that need that line.

In my case I am using grub so I edit and add it to grub menu.lst kernel line. Usually I just add it to the end of the line.

iancilos 2013-01-30 04:04

jcsoh 2013-01-30 03:54

I know the solution, I've just written ... I wish Tomas integrate Default on Slax 7, if he wants to do already by Beta-Tester

Pakko 2013-01-30 04:18

You can rename the project "slax" to "Slax".
For use in USB
thanks

Pakko 2013-01-30 04:28

Software Center could add Debian and RPM repositories as does the PPM (Porteus Package Manager)

Mark De Silva 2013-01-30 05:14

Hi Manfred, from Tomas' recent post on how the run/activate.sh is run, if you put '/etc/rc.d/rc.mpd start' in activate.sh it would be run before any of the other n*..z* modules or before the entire system is ready to be booted. I may be wrong (I usually am), but this might not be the right way to do things.

The modules should be inserted into the system to categorically build up a Slackware linux system which will then start like a normal Slackware linux box. In that respect, the run/activate.sh should only be used to prepare the final Slackware system that is going to be run, i.e: to write entries into /etc/passwd or create some softlinks etc.

The proper place to put the /etc/rc.d/rc.mpd start would be in /etc/rc.d/rc.local, so that when the system does start up like a regular Slackware box does, it will execute /etc/rc.d/rc.local which will inturn run '/etc/rc.d/rc.mpd start'.

For on the fly activation, the user can activate the module then run '/etc/rc.d/rc.mpd start' manually to have it run.

Mark De Silva 2013-01-30 05:16

@Krosi, please do what Prcek said:

dmesg | grep -i firmware
dmesg | grep -i net
dmesg | grep -i wlan

Also do

lsmod

and

lspci

and let us see the output. Thanks.

Manfred 2013-01-30 05:39

Hi Mark,

@(de)activate.sh:

your arguments count.

But manually starting a service after module activation would be against
Tomas' module rules which state that services/scripts must run
automatically.

I think Tomas has to inject the dependency logic into livekitlib, too.
I've verified that the dependencies logic found in the 'slax activate' script
is missing in the 'union_append_bundles' function in livekitlib and thus
the modules mostly get activated in the wrong order (as you have stated).

Manfred

Manfred 2013-01-30 05:41

'mostly get activated in the wrong order'

must read:

'mostly get activated in the wrong order during Slax start'

pvtmert 2013-01-30 07:32

Got problems in this version:
first in system settings, i cant set login screen settings; it says you are not allowed to save the configuration
second in wifi settings: system seeing my wifi card (bcm4313) i have installed firmware modules... kernel firmware, both 20120804 and 20130123 installed. also b43-firmware too...
in modules folder i think latest firmware overwriting older one...

here is my modules folder list
1157-libxfce4util.sb
116-apmd.sb
1179-xfwm4-themes.sb
1188-python.sb
1190-perl.sb
1194-fluxbox.sb
1196-kernel-firmware.sb
1198-gettext-tools.sb
1207-nano.sb
1286-yakuake.sb
1302-chntpw.sb
1414-esound.sb
1430-libsigc++.sb
1440-gnome-doc-utils.sb
1531-All-Qt-Languages.sb
1541-gnome-desktop.sb
1543-python3.sb
1592-linux-pam.sb
1621-gdl.sb
1624-gdl3.sb
1662-b43-firmware.sb
1674-intltool.sb
1781-exfat.sb
1784-kde-wallpapers.sb
1796-opera.sb
1822-kernel-firmware.sb
2001-chrome.sb
2035-slocate.sb
291-autoconf.sb
292-automake.sb
294-bison.sb
303-flex.sb
306-gcc-gfortran.sb
307-gcc-gnat.sb
308-gcc-go.sb
309-gcc-java.sb
310-gcc-objc.sb
314-gperf.sb
319-libtool.sb
321-m4.sb
397-kmousetool.sb
405-kruler.sb
448-GConf.sb
462-audiofile.sb
481-expat.sb
494-glib.sb
503-gnome-icon-theme.sb
507-gsettings-desktop-schemas.sb
513-gtk+3.sb
546-libelf.sb
605-libxslt.sb
683-bluez.sb
684-bluez-firmware.sb
685-bluez-hcidump.sb
692-curl.sb
728-links.sb
737-ncftp.sb

Also thanks for fixing or just speeding up login time in kde... in 704 i have to wait 5 minutes now it takes only 10 seconds or less... i have no idea what causing this. can be my usb flash drive...

Mark De Silva 2013-01-30 07:37

@Manfred,

"I think Tomas has to inject the dependency logic into livekitlib, too"

You're absolutely right.

"But manually starting a service after module activation would be against
Tomas' module rules which state that services/scripts must run
automatically."

I'll admit, I think this rule is slightly off if it means what I think its intended to mean. A service can be installed without being run immediately - SSHD comes to mind. You can install it, but not run it till its necessary to connect to your machine, in which case you'd run '/etc/rc.d/rc.sshd start'.

There has to be some rules set for users to write the activate.sh scripts - what can they be used for (adding entries to /etc/passwd, etc), what they should not be used for (starting up services, etc). Without which I believe there would be issues on systems with a large number of modules. All these need to be looked at as a whole with the module writing rules.

Mark De Silva 2013-01-30 07:40

@Pvtmert,

I've got over 164 modules, and my KDE has never taken more than 10 seconds to load on any of the Slax 7 versions. I have a machine using the bcm4312 and even with a vanilla Slax 7.0.5, my wireless is fine (I'm assuming you have issues with your wireless because you never really say whats wrong).

Have you tried a fresh install without your modules on a different USB thumbdrive?

Mark De Silva 2013-01-30 09:34

It would probably be better if there was segregation amongst activating a module at boot time and activating a module dynamically. Pseudo wise:

---------------------------------------
If [ boottime_insertion ]; then
if [ -x /mnt/live/memory/bundles/<modulename>.sb/run/(S|K)*.sh ]; then
execute /mnt/live/memory/bundles/<modulename>.sb/run/(S|K)*.sh
fi
elsif [ dynamic_insertion ]; then
if [ -x /mnt/live/memory/bundles/<modulename>.sb/run/(de)activate.sh ]; then
execute /mnt/live/memory/bundles/<modulename>.sb/run/(de)activate.sh
fi
fi
---------------------------------------

That way one can distinguish between the startup activities one needs to do and the dynamic activities.

For the MPD module, eg. you can have S01.sh which does

---------------------------------------
#!/bin/sh
cat <<EOF >> /etc/rc.d/rc.local
if [ -x /etc/rc.d/rc.mpd ]; then
/etc/rc.d/rc.mpd start
fi
EOF
---------------------------------------

So if running at boot time, this script adds the startup call to rc.local so it starts up when the system starts.

For activate.sh one can have:

---------------------------------------
#!/bin/sh

if [ -x /etc/rc.d/rc.mpd ]; then
/etc/rc.d/rc.mpd start
fi
---------------------------------------
This way when activated dynamically it also auto starts.

The scripts will somewhat be the same, but can differ slightly depending on the activation model (bootime or dynamic). Hope the above is understandable.

Vampirs 2013-01-30 10:16

And how about Intel video card drivers?I already trying make .sb models but nothing.

Mark De Silva 2013-01-30 10:36

Intel drivers are already there, why are you making modules for them?

pvtmert 2013-01-30 11:41

@Mark De Silva

i have did some tests, also found a flash drive so:
Like you said, yes slow login problem caused by flash drive. I dont know why... 5MB per second write Toshiba 4GB login takes 2-3 mins. sometimes more... But Sandisk 4GB 3MB per second write drive 10-30 seconds to login...
I have no boot problems... Running with pxe,perch... im manually starting startx/kde... tried with everything. clean (no modules) clean+persistent modules and modules+persistent... nothing changed too much. but with changes it adds 5-15 seconds to login... Depends on visual effects wallpaper etc...

And I found the problem! problem was google chrome... 2001-chrome.sb causing daemon - like problems when logging into KDE. again i dont know why. with both 7.0.4 and 7.0.5 without chrome everything perfect. With chrome i see these bugs:
cant edit login screen settings because of permission error
device notifier and dolphin device list are empty... they are not showing hdds/usbs
wireless networking not properly working. network manager running. wpa_supplicant does not. network manager showing wifi device 'unavailable' and wireless ap list empty but showing hidden network entry.
you can still connect through konsole/command line.
here is how: only for open networks (not with wpa or wep)
install aircrack-ng
airmon-ng start wlan0 > this will create mon0 for monitor mode to see APs and get their addresses
airodump-ng mon0 > write network bssid or essid and channel somewhere. then do ctrl+c
iwconfig wlan0 channel X > X = 1-2-3-6 whatever... ignore errors if it say some..
iwconfig wlan0 essid Pvt.\ Mert* > if you want use essid. you can use a\ b or "a b" for spaces...
iwconfig wlan0 bssid 00:12:34:56:78:9A > use bssid if you want
i prefer essid much more...
then run dhcpcd for getting ip addresses... if ip communication fail, use dhcpcd -x wlan0 and run it again...

srry for long post but im dying because of these problems... ^^

note: if you want to use chrome, find the file named google-chrome-24.0.1312.56-x86_64-1.txz on the net. then run installpkg /path/to/.txz
it will be installed just for you :)

Ricardo Ordeñana 2013-01-30 15:01

Im trying Slax 7.05, so far so good as always, i'm glad Software Center is finally up, well it isn't finished yet but we're getting there soon. I downloaded Google Chrome and runs good.

Using russian version, it works good. I'm fascinated how i can run an OS from a usb memory so i'm trying further/harder running this new version on a microSD memory, it runs like a charm actually.

Thank you and congratulations for this new release :)

Mark De Silva 2013-01-30 19:34

@Pvtmert, why are you using aircrack to find open networks? I'm well verse with aircrack (used to do a lot of pentesting years ago). You should just use iwlist:

iwlist <wireless iface> scan

If you don't want all the additional information,

iwlist <wireless iface> scan | grep -A5 "Cell"

If you've isolate Chrome as the issue, I suggest you untxz the file to a temp directory (installpkg --root /tmp/temp_dir google-chrome-24.0.1312.56-x86_64-1.txz) and examine the contents to see what may be causing your problems.

You might also want to try booting a fresh slax with ONLY chrome as a module. This will isolate if its actually chrome or chrome's interaction with another of your modules that causing issues.

Mark De Silva 2013-01-30 19:36

@Pvtmert you might want to try getting the chrome module off the software center or through the command line and see if that is any better than your txz package.

pvtmert 2013-01-30 22:30

@Mark De Silva
Chrome module is issue, tried with only chrome gconf and b43 firmware...
but problem happens in clean (no persistent) boot.
I am using txz package version now It doesnt have any problems...

I looked un-zipped file of chrome (/mnt/live/memory/bundles/2001-chrome.sb/) didnt see anything harmful. even 1 script file...
If you have free flash drive try it. put slax 7.0.4 or 5 and gconf + chrome bundles. Then start it up without persistent changes. go to systemsettings>login screen. you will see the text top of the window saying you have no rights to change settings... try to change something it doesnt apply...
Ps. Im using Turkish version... i will try without language bundle...

Mark De Silva 2013-01-30 22:52

Hmmm judging from what you say, it would seem that the permissions of the folders/files in the chrome module are not set properly. Are you using root or did you create your own user?

I'll get the gconf and chome sb modules and try later when I have more free time.

Mark De Silva 2013-01-30 23:11

I can confirm the error with the chrome module. Will look into it when I get back from work.

Graeme 2013-01-31 07:06

I have an old HP laptop. Upgraded last night and lost wifi driver. I also lost the ability to mount anything. Can't see the hard drive or usb drive. This is not a complaint! I really like the new SLAX, I just wish I had a better laptop to run it on :-)

Mark De Silva 2013-01-31 07:28

There was definitely something wrong with the slax 2001-chrome.sb module:

1) usr/bin/chrome script was missing the '/' infront of 'opt'
2) Some permission errors somewhere in the module

- I had to extract the 2001-chrome.sb to a directory with sb2dir
- cd to that directory with the extracted contents and do makepkg -l y -c y to create a chrome.txz package (just to fix the permissions)
- extract the chrome.txz package to a directory (installpkg --root=.....)
- cd to that directory and chmod 4755 opt/google/chrome/chrome-sandbox
- dir2sb the directory to create a new chrome sb module

This new module works fine, no errors with system settings or wireless or anything.

@Pvtmert, if you want this new module, let me know I'll give you a download link. Maybe Tomas would like to look into the module on the slax site as well.

pvtmert 2013-01-31 07:29

@Graeme, this is not your or slax's fault. Remove chrome module and delete persistent data (if you have changes.dat in /slax/changes/ folder) then restart computer... It will be fixed...

And chrome module will fixed soon...

Graeme 2013-01-31 07:59

Thanks pvtmert. I will try this tonight

Mark De Silva 2013-01-31 08:15

@Tomas what is the purpose of deleting the .sb file when its deactivated?

Atakan Çal 2013-02-02 10:46

What about turkish version? It didn't work and doesn't working. Helpp turks please :))

R. Jayaram 2013-02-02 14:40

1. How can I copy files from my PC running on Slax 7.0.5 to Samsung Tablet with Android 2.2 through USB?
2. Sound test is OK... but no sound in videos though Flash is activated. Pl help.

jcsoh 2013-02-02 15:12

When you connected your tablet (It must be turn on) , is there a pop up window ?
Usually two options are offered:-
(a) Recharge device
(b) Use device as usb storage (The actual wording differ)
Choose (b) . Then you can use Slax's dolphin file manager to copy files to and from the tablet.

DO NOT REMOVE /DELETE /MOVE /SHIFT any of the tablet folders. Do not delete files (except for what you add) unless you what they are for .
You can easily brick your tablet.

Android tablet like ereader are designed to be easy to use but they limit user functionality. For eg an ebook drop into a music folder may not be available as the OS expect a book to be in book folder etc. Which is why you must not simply rename /shift folders.

Neeraj 2013-02-02 19:06

Is Slax compatible with raspberrypi? http://www.raspberrypi.org/

pvtmert 2013-02-02 22:34

@Atakan Çal, Dostum sorun nedir? nerede takıldın yardımcı olalım... Ben 7.0.5 Türkçe kullanıyorum...

Manfred 2013-02-03 02:03

@pvtmert: Et wor schön, wenn och du Englisch als Forensproch akzeptiere däts

Wizard57M 2013-02-03 05:54

@Mark Da Silva
Mark, are you saying that in the "normal" usage of deactivating
a Slax module that the module itself is deleted from say your
USB thumb drive or CD? Or is it just removed from the "live"
directory tree? I haven't "deactivated" one to test, I would just
activate optional modules when needed. I don't think the
deactivate script should delete the sb module, not without some
sort of prompt for user confirmation.

@Tomas---I gave Slax 7.0.5 quite a workout for some 24 hours!
Ran it on my Acer Aspire One ZG5 netbook through that
period, both on AC adapter and on battery, through an almost
full battery discharge, then reconnected the AC. Proud to
say I didn't experience any major problems, though I did
notice the battery charge widget did not want to update to
the current charge remaining? I'll run more tests as time
permits, but so far it's looking pretty good! Thank you!
Wiz <{;-)

Mark De Silva 2013-02-03 05:59

@Wiz, yes it deletes the module from the thumb drive or where ever it is. Take a look at the code in the 'slax' script for the deactivate function - it says if you don't use the full path to the module, it will delete the module as well. If you use the full path to the module then it will leave the module. As in:

slax deactivate module1.sb <-- will deactivate the module and delete module1.sb from your thumbdrive

slax deactivate /media/1234567890/slax/modules/module1.sb <-- will only deactivate the module

Wizard57M 2013-02-03 06:01

@R. Jayaram
If Slax can "mount" the drive in your Android tablet, you should
be able to copy files to and from the Slax drive and your tablet,
so for instance if you find a picture that you want and you
download it with Firefox, Konqueror, Opera or other browser,
these can be copied to your tablet. Conversely, files on your
tablet, or other "host" PC, can be copied to your Slax drive.
Use Dolphin file manager for easy handling of files you want
to copy.
Wiz <{;-)

Wizard57M 2013-02-03 06:05

@Mark Da Silva
Hmm, then the deactivate script may need to be rewritten,
as typically a user would not want to delete a module, unless
they really did not like it. So, there needs to be some sort of
user prompt for confirmation prior to deletion.
Guess I didn't encounter this since I don't remember deactivating
a module, just moved them to a different directory on my thumb
drive (I made one under /slax called /optional, then would just
activate them when needed).
Wiz <{;-)

Mark De Silva 2013-02-03 06:11

@Wiz, yeah I fixed the portion in the script that deletes the module. But I wanted to find out the rational behind Tomas doing that, he wouldn't have done it on a whim.

Even with the optional directory you have to be careful with it. If you activate the module from the optional directory and then you deactivate it without the full path to the optional directory, the system will delete the module anyway.

Mark De Silva 2013-02-03 06:14

@Manfred es wäre schön, aber vielleicht ist es leichter zu beschreiben in ihrer eigenen Sprache ja? Begnadigen mein Deutsch, gewesen 10 Jahre, da ich es lernte :)

Atakan Çal 2013-02-03 07:26

@pvtmer: Oleyyy, bir türk. :D Ben slax 7.x i indirip cd ye yazıyorum ancak şu hatayı alıyorum: http://atakancal.com/resim.php?git=84

pvtmert 2013-02-03 09:12

@Atakan Cal, sanirsam boot klasorunde bir sorun var... vesamenu.c32 gibi bir dosya olacak onu bulamamis bu sebeple oyle kalmis...

mumkunse indirdigin iso icerigini flash a at oradan /slax/boot/bootinst.bat i calistir...

yanliz slax6 dan beri dizin yapisi degismis durumda usbnin icinde tek slax isimli klasor onun altinda boot changes modules rootcopy ve .sb dosyalari bulunmali...

klasor yapisi resmi / picture of directory structure
http://g1302.hizliresim.com/16/3/jqy72.png

R Jayaram 2013-02-03 14:11

@jcsoh Samsung Tablet "ON" , connected to USB of Slax-7.0.5 - Wireless & network settings on Android 2.2 shows 'grayed' USB setting- can not activate it ! No icon in PC "computer" options. Searching for "USB devices" in PC, shows that the tablet is connected to the PC. So?

Wizard57M 2013-02-03 17:02

@R Jayaram
You will probably have to "root" your Android tablet to
allow it to boot from something other than internal
memory that Android is installed to. Then reboot
your tablet with USB thumb drive in the USB port.
Other than that, it will just be looked at as an external
storage device by Android, and Slax will not be running.
Only other option, may or may not work, would be to
run some sort of emulator, like QEMU or such, and and
boot Slax in a virtual machine.

pistal 2013-02-03 21:05

@Atakan Çal
Downloaded iso is bad so make your own iso file from konsole(as root):
1. go to folder where is downloaded iso e.g.: cd /mnt/sdb2
2. make folder for mounting iso: mkdir iso
3. mount iso: mount slax-7.0.5-Turkish-i486.iso iso -o loop
4. make new folder e.g. new: mkdir new
5., go to folder iso: cd iso
6., copy content of folder iso: cp -r slax ../new
7., go to folder with makeiso.sh e.g.: cd /mnt/sdb2/new/slax/boot
8., make new iso e.g.:
makeiso.sh /mnt/sdb2/new /mnt/sdb2/slax-7.0.5-Turkish-i486-1.iso
That's all
p.s. Don't forget umount iso file.

Jcsoh 2013-02-03 22:36

@ R Jayaram 2013-02-03 14:11

" Wireless & network settings on Android 2.2 shows 'grayed' USB setting- can not activate it ! No icon in PC "computer" options. Searching for "USB devices" in PC, shows that the tablet is connected to the PC. So?"

What is it that you intended to do ?
As it is the only common shared factor between android tablet /linux ereader & linux desktop/laptop, is that they can treat external usb device as a storage media.

So when you connect your android tablet to a computer , and as most tablet and ereader can be charge via usb , it will ask if you want to recharge , or treat the detected external media as a usb storage.

If you select the latter , the tablet is seen by the computer as a storage media like an external hard disk /sd card/thumbdrive etc. Even then you can onlys to and fro see and access the fat partition only.

If you open a console and type fdisk -l , you will see some unknown partitions.

All you can do is copy files to and fro , using the linux desktop file manager.
Android may be based on linux , but it is not stock linux. It is not intended that you should run any other programme. You can run dosfsck to check the fat partition.

The common filesystem supported by linux ,andriod and window is fat filesystem. Just try to plug in a n external hard disk / thumbdrive with linux partition , and you will see that it will not be recognised at all.

I don't know if rooting change anything , but I have a tablet that comes from with cynogen cymod (or whatever ) . i believe it is already rooted with superuser (as I can install lcd density etc which I believe need rooting /super user) .

It behave the same when connected to slax desktop.

Tomas M 2013-02-03 22:43

Regarding activate.sh and such ... The script is executed only on module activation on the fly. But it is completely ignored when the module is activated on boot. The best way to make it universal is to make your startup script in /etc/rc.d/rc3.d/S-something and put a call to that in /run/activate.sh. This way, it will get autostarted during Slax regular startup, and even when activated on the fly. Using rc.local is bad idea.

Regarding module order: as long as you are using newest Slax version 7.0.4 or 7.0.5 or I don't remember which one (which fixes the order bug), modules are activated by ID. That means, module with name 123-name.sb gets activated before module with name 124-othername.sb. The main idea is that all dependencies should be built sooner on Slax server than the final module, thus all dependencies should have smaller ID number, thus they will be activated before the final module. If this is not the case (if there is any library which has bigger ID number than the module which requires it) then it should be corrected (at Slax side). I am currently not aware of such situation.

Olda 2013-02-03 23:25

Does Slax work with older printer (LPT port) or only with USB connection?

John 2013-02-04 03:37

After downloading the image and booting from us b to try slax out before donating I found that the boot options lacked [*] Persistent changes, [*] Graphical desktop and [ ] Copy to RAM. It doesnt seem to find correct modesetting for my netbook and warns me of that. When it runs through the boot process I am left at the command line. Using acer aspire one zg5 with integrated intel graphics.

Mark De Silva 2013-02-04 05:56

@John, looks like a bad download. You might want to try again and do a checksum to make sure.

Wizard57M 2013-02-04 13:07

@John
I agree with Mark, it does appear that something is amiss in
your download. I use the same netbook with Slax, AAO ZG5,
and so far not too many issues, and the ones I've had have
been simple to work out.
What OS did you use to make your USB thumb drive bootable?
What size USB thumb drive are you using? I'm using a 4 gig
drive...seems I remember someone back a few months having
problems with one of the large 32 gig thumb drives. Anyway,
re-download and run the appropriate script (if in Linux) or
batch file if in Windows.
ps...I had no troubles with Slax 7 outside of WiFi not wanting
to store connection data, which Tomas gratefully told me
what I was doing wrong, and to mark preferred WiFi as a
"system connection"...works like a charm!
<{;-)

jcsoh 2013-02-07 00:32

Sictexoxefe = spammer

Armin 2013-02-16 05:41

@Mark De Silva
Can you please post your updated Chrome module somewhere for download?

py_crash 2013-02-20 13:21

Can I actually update a concurrent Slax instalation? O should I install it again in my usb-key

pk 2013-02-20 23:12

I am having trouble with the wireless setup, I'm using static ip and the network keeps disconnecting all the time, has anyone had the same experience?

pistal 2013-02-20 23:48

@pk
Try ask here: http://old.slax.org/forum.php and write what wifi do you have (lspci)

pk 2013-02-21 04:20

@pistal
Found my fix, it was "killall dhcpcd", now my network runs without being disconnected, hope to save time from others running a static ip :-)

pepe 2013-03-02 20:35

i have a problem with slax:
i made a module of Wine, after running some win32 programs, the input methods are strangely mixed up eg: when caps lock is OFF it writes capital letters and when is ON it writes small letters and mouse went very mad, stuck on file denotation,i rebooted it and as of init, it always stays on
adding bundles to union
*wineemu.sb
and 2 messages of no such directory or file
and it wrote the chroot error
and that flashes on my screen
/memory/union#_
and its very strange because no such slax bundle of wineemu,because i deleted it,and cant boot up
i think theres an error in aufs
someone can help me?