New to 4MLinux?

If you are a new 4MLinux user, you should jump here

Monday, January 21, 2013

The guide on how to run Wine in 4MLinux

As it was stated in the first post of this blog, 4MLinux does many things in its very special way. For example, there is no GTK+ in 4MLinux, which is a must-have in other distros. On the other hand, 4MLinux has Wine, which is rather optional even in big distributions. Below you will find a short guide on how to run Wine in 4MLinux Allinone Edition.

1) Click on any application from the Wine Menu:

2) 4MLinux includes a copy of Wine in the form of a compressed archive. After your click, the archive will be unpacked automatically:

3) You will be able to install a Gecko package if you wish so (but  you can also safely skip this stage now by clicking on the Cancel button):

4) Font installer will be opened next. You should allow the installation by choosing the Yes option (unless you want to have really bad-looking default fonts :-)

5) Ready! The program chosen by you (in point 1 above) will be finally opened:

 6) Now you can run Win32 applications (i.e. Windows "exe" programs) in 4MLinux. For example, let's try 7-Zip archiver:

Win32 ("exe") applications are fully integrated with the rest of 4MLinux Desktop, meaning that, in most cases, you may not be aware that Wine is running. For example, the default file manager in 4MLinux X File Explorer (which is a "native" Linux program) is configured to use Wine to open some kind of files (e.g. 7-Zip for handling zip, rar, deb, rpm, and other archived data).


Wednesday, January 16, 2013

4MLinux loves TUI

GUI = Graphical User Interface
TUI = Text-based User Interface

I have always paid a special attention to TUI in 4MLinux. This is why there is a kind of duality (GUI + TUI) in this system. It would be the best if I show you an example.

1) Select LPairs from the Mystery Menu:

2) A very nice game will be opened:

3) Now close your X:

4) Execute 'lpairs' in your console:

5) Surprise! The same game will be opened (although X is not running):

All the applications, that are described in the first chapter (titled "Basic Help") of 4MLinux help file, behave in the same way as LPairs, meaning that you can play games (watch videos, view images, surf the Internet....) both with and without X. Just try it yourself by running, for example, 'koules', 'breakout', 'letsplay', 'zgv', 'links2' in your console shell (i.e. without X).

Have fun :-)

Sunday, January 13, 2013

FTP server in 4MLinux

4MLinux has the following set of its main servers: FTP, HTTP, SSH, and Telnet. This post aims to describe shortly how to use the FTP server. 4MLinux includes either vsftpd (4MLinux Allinone Edition, 4MLinux Server Edition, and TheSSS) or just Busybox applet as its FTP server daemon.

1) Open your terminal and execute the 'ftpd' command:

2) Let's start the server ('ftpd start') and check if it really runs ('ftpd test'). After you execute these two commands, Links (text-based web browser) will be opened with the following test file:

Note: the 'ftpd start' command starts the server and enables downloading of files, while the 'upload' command starts the server with both downloading and uploading enabled.

3) By default, none of 4MLinux servers is started automatically during the boot, but you can change this by setting 'FTP' to 'yes' in the /etc/server/autostart.conf file:

4) If you are a fun of TUI (like I am :-), then you can use the 'ftp' command as your FTP client (just try it yourself in your terminal). If you prefer GUIWinSCP will be the best choice for you:

Additional notes:
1) The anonymous FTP server is located in the /srv/ftp directory by default.
2) 4MLinux uses inetd to manage its main servers.  

Further reading:

Friday, January 11, 2013

WiFi setup in 4MLinux

It's not difficult to setup wireless networking in 4MLinux. Let's do it together now!


Network Configurator offers the quickest way to connect to your WiFi network:

* * * * *

System-wide Configuration Procedure.
1) Select WiFiScan from the Settings Menu:

2) Now you should be able to see all available WiFi networks (in our example, the network "xenu" has been detected that uses the "wlan0" interface):

3) Select NetConfig from the Settings Menu:

4) A terminal window will be opened. Choose '2' and press Enter:

5) Considering the result of our scanning (see: point 2), you already know that the 'wlan0' interface will be used, so you can choose 'n' and press Enter again:

6) And once again: considering the result of our scanning, you already know that the name of the network is "xenu", so your next answer must be as follows:

7) If you don't know how to answer the next question, then you should choose 'n' (because nearly all networks use dynamic IPs):

8) It is also possible to edit the advanced options if needed. We are skipping this stage now:

 9) It's time to connect to the the Internet.  You can do it by executing the "connect" command in your terminal:



If your network is password-protected, then you should use WPA Supplicant to configure your WiFi. The only difference will be an option to enter your password (which is "dfgr234!" in the picture below):

Thursday, January 10, 2013

4MLinux and mythical Phoenix

This is my first post that is addressed to advanced users rather than newbies. I will try to show that 4MLinux and the mythical bird have something in common: both are able to repair themselves, though I must admit that Phoenix is much better at this ;-)

1) I am opening the /etc directory in Midnight Commander (click the image to enlarge it):

2) Now I am removing all the files (but not folders!) included in this directory:

3) I've just removed all essential system settings (fstab, initab, password, and many others)! Let's check this with Midnight Commander:

4) I am rebooting 4MLinux now. During the boot 4MLinux is asking me to choose a new password for root (there is nothing surprising in it, because I've removed all passwords):

5) Hallelujah! 4MLinux is up and running again. The default version of basic system settings has been rebuilt:

1) 4MLinux does not use any backup file to repair itself. The new files are created from scratch  by sysinit script. See: chapter 2 of 4MLinux help.
2) It is also possible to repair 4MLinux without rebooting your computer. This can be done by executing the "restart" command in the console.

Monday, January 7, 2013

Dedicated display drivers.

Let's continue to customize your 4MLinux Desktop! Now we will try to activate 3D display drivers (Xorg with basic Mesa support).

1) Select '3D On/Off'  from the Main Menu:

2) A short message will be displayed:

3) You have to quit X now by selecting 'Exit' from the Main Menu:

4) When you execute 'startx' again, Xorg will try to load one of its dedicated drivers (intel, radeon, or noveau). Additionally, some extra desktop effects (via Xcomposite) will be enabled.

5) If something goes wrong (e.g. you are unable to start X), you will be able to disable your dedicated driver by executing '3d' in the console (2D drivers will be loaded again):

HINT: If you are a lucky owner of NVIDIA video card (like I am :-), you can try a proprietary driver, which is available here. Also in this case, if something goes wrong, you will be able to remove the driver by executing the '3d' command. 

NEW: there is also an AMD  proprietary driver, which can be downloaded here.

Sunday, January 6, 2013

Custom 4MLinux Desktop

You can change the appearance of your 4MLinux desktop just in a few clicks!

1) System monitoring software (Conky) is enabled by default. You can disable it by clicking the ConkyON/OFF icon:

And after your click:

2) Program launcher (Wbar) is enabled by default too. You can disable it by clicking the Wbar On/Off icon:

And after your click:

3) Let's change your wallpaper in 2 clicks :-)  The first one:

And the second one:


Note: 4MLinux remembers your settings, meaning that you don't need to repeat this procedure each time when you start X.

Need more options? Continue your reading here.

How to create the 4MLinux LiveCD/LiveUSB ?

Fortunately, there are many good resources in the Internet. You will find my recommendations below.

1) Download the following items:
  - InfraRecoder (if you wish to create live CD),  
  - UNetbootin (if you wish to create live USB), 
  - 4MLinux itself :-)

2) Watch this video to learn how to burn ISO with InfraRecoder, or follow this tutorial if you are going to use a live USB.

3) Boot your 4MLinux Live CD (or Live USB).

That's it!

Saturday, January 5, 2013

Manual backup in 4MLinux

It is strongly recommended to back up your data before, for example, installing any new operating system in your computer. This post shows the simplest to way to back up your files using 4MLinux. The procedure described below is valid not only for Linux. It can be applied by Windows and Mac users too (4MLinux supports both NTFS and HFS+ filesystems).

1) Select Manual Backup from the Maintenance Menu:

2) Choose '1' from the menu and press Enter:

3) The script will ask you to insert your removable disk (e.g. USB flash drive) and to press Enter:

4) Now you must wait 10 seconds (this is because some USB devices need a little time to "report themselves" to the Linux kernel):

5) Midnight Commander will be opened automatically with your hard disk(s) in the left panel, while all your removable disk(s) will be displayed in the right panel:

Now you can copy (back up) any file from "the left side" to "the right side". You can use either your mouse or keyboard to select the files that you wish to copy.

HINT: Have a look at the second picture in this post. There is an option to back up your files to a remote FTP server. Just check it yourself!