LINUX Mageia 4.1



Compiled by: Waldis Jirgens. Last update December 8, 2014.

Why Linux in the first place, since Windows is so popular?
Why use an old PC with an old monitor?

My PC was rescued from the scrap heap (Windows XP didn't like it any more): Intel D945GTP motherboard, see also the technical specs manual. Dual CPU 3 GHz speed, 1.5 GB RAM, 111 GB HDD (SATA). I installed Mandriva 2010.1, upgrading it over time to Mageia 4.1. I also added a 232 GB PATA disk and installed Blag (Spartakus) on it.

 
Here are links to my other Linux pages:

 
Amateur Radio with Mageia 4 and Lubuntu Mageia 4 and Lubuntu on a separate PC and Mandriva 2009.0 on my ASUS eee PC netbook
Mageia 3 with KDE My wife's PC
OpenSuse 10.3 On a very old PC - used as backup
Soniq Cinavision Android This smart TV is also an Android 2.2.1 computer
ONIX 10.1" Android 4.4.2 Tablet A work in progress.
Archived Versions:
Linux Mageia 2 This was my previous Linux system
Upgrade to Mageia 2 Shows how I upgraded from Mageia 1 to 2
Linux Mageia 1 This was my Linux system before that


Note that the usual disclaimer applies:
If you use this information here, don't blame me, should you, your data, or your PC get hurt!

Contents:
Upgrade to Mageia 4.1
Installation
Hints Some Control Tables and Scripts
Installed rpms
Some File Locations
Upgrading via RPMS
Kernel Rebuild
Changing System Settings
Configuring Printers
Refilling Printer Cartridges
Startup Processing
Window Managers
Starting Window Managers
Idesktop
Application Menu Configuration

Basic Tasks
  1. Geometry And Other Properties (=Resources) of X-Applications
  2. File Managers
  3. Editors
  4. Some Commands
  5. Compressed Stuff Uncompressing
  6. Creating Archives
  7. Deleting print jobs
  8. Basic Networking
  9. Wireless Networking
  10. Boot Loaders
  11. Boot-Messages
Applications
  1. Word Processing
  2. Spreadsheets
  3. PDF Viewers
  4. PDF Writers
  5. Ebook Readers
  6. Screen Capture
  7. Etax
  8. Multimedia
  9. Browsers
  10. Plug-Ins
  11. HTML Editors
  12. Mail Clients
  13. Video Conferencing
  14. Echolink
  15. Amateur Radio Digital Modes
  16. FTP Programs
  17. BASIC Programming Language
  18. DOS Programs

Using Latvian Language Characters (in Latvian)
Using Latvian Language Characters (in English)
Using German Language Characters (in English)
Scripting with TCL/TK with Examples
Utility Scripts
Bugs and idiosyncrasies I came across
Useful Links
A wealth of documentation in various formats is in /usr/share/doc and the various subdirectories thereof.


Upgrade to Mageia 4.1:
This proved to be more frustrating than I thought. As such the upgrade seemed to be a simple process - Boot the Mageia 4,1 net-instal CD and do an Upgrade to the existing system. As with a previous upgrade the process was initiated and after several hours the Mageia 4.1 system tied itself into a knot and left the system in an unusable state. The /home partition was untouched.

Therefore I did a fresh install of Mageia 4.1 on the existing partitions.

This took only a few hours.

Problems in the process:
  1. Bash had been updated to fix the Shellshock vulnerability, but in the process several idiosyncrasies were introduced, forcing me to use the "dash" shell. This in itself posed problems with adding libraries to the PATH variable, which should be straight forward when using the autostart application for the various window managers.
  2. I discontinued the use of Vsftpd and installed pure-ftpd instead.
  3. Shorewall needed to be configured to allow local traffic through. This link should show how to do it. But obviously my configuration (1 interface 2 zones) is so "outlandish", that even after configuring it strictly "by the book" no LAN traffic got through. Since my router has a built-in firewall itself, I de-installed shorewall and after re-boot all was well.
  4. I retired my old Canon iP1300 printer since I could not make it work again. Bought an Epson XP-200 that installed Ok with the rpm epson-inkjet-printer-escpr-1.4.3-1lsb3.2.i486.rpm - downloaded from the Epson website. Details on the: Open Printing Website. The address of the printer is usb://EPSON/XP200%20Series?serial=514A444B3038303510&interface=1 (autodetected by the printer config gui).
    Here is CUPS and printer configuration explained in detail
    More about CUPS and its commands.
  5. A huge problem were long delays - many minutes - when logging in with windowmanagers. Not only that, the su command sometimes timed out before requesting the root password - besides many other inanities. The remedy seemed to be to use the old kernel 3.12.13-desktop-2.mga4 as on my AR PC and de-install the offending 3.14.18-4 kernel, thereby expunging any associated files. This seemed to work until the above effect re-appeared unexpectedly. When starting in safe mode and issuing startx I could get a root session, but trying drakconf resulted in:
    [root@waldis ~]#drakconf
    Error getting authority: Error initializing authority: Could not connect: No such file or directory.
    After a while the system refused to boot altogether. Only a complete new install of the entire system this time with kernel 3.12.21-2 helped.
  6. The gui to change security settings is unusable, as msec.py loops. Remedy: Use the console version of msec.
  7. Another problem was the simple change of the background-image for the LXDE desktop. This is specified in ~/.config/pcmanfm/LXDE/pcmanfm.conf, however changing it there has no effect, even worse after logout/login the old entry persists! The only remedy was to use a different windowmanager (that does not integrate pcmanfm), change it there, then login to LXDE.
  8. Rosegarden did not use that much space, so I re-introduced it.

Installing grub on a floppy:
[root@waldis ~]# cd /usr/lib/grub/i386-mageia
[root@waldis i386-mageia]# mount /dev/fd0 /mnt/stick
[root@waldis i386-mageia]# dd if=stage1 of=/dev/fd0 bs=512 count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.0140572 s, 36.4 kB/s
[root@waldis i386-mageia]# dd if=stage2 of=/dev/fd0 bs=512 seek=1
248+1 records in
248+1 records out
127040 bytes (127 kB) copied, 0.581206 s, 219 kB/s
[root@waldis i386-mageia]#

This gives you a very basic Grub interface, You have to enter all information via the console.

Installing grub on the botsector of a hdd - required if the boot sector was overwritten after the initial installation:
Note: In this regard