LINUX Mageia 1.0
=== Archived Version. I no longer use Mageia 1 ===
Compiled by: Waldis Jirgens. Latest update: 7
th April 2013.
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, Dual CPU 3 GHz speed, 1.5 GB RAM, 111 GB HDD (SATA). I installed Mandriva 2010.1, put the 2010.2 upgrades on, giving me Mandriva 2010.2 and later upgraded online to Mageia 1.0. I also added a 232 GB PATA disk and installed Blag (Spartakus) on it.
Here are links to my other Linux pages:
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
Installation
Hints
Some Control Tables and Scripts
Installed rpms
Partitions
Some File Locations
Upgrading via RPMS
Kernel Rebuild
Changing System Settings
Configuring Printers
Refilling Printer Cartridges
Boot Parameters
Startup Processing
Window Managers
Starting Window Managers
Idesktop
Application Menu Configuration
Basic Tasks
- Geometry And Other Properties (=Resources) of X-Applications
- File Managers
- Editors
- Some Commands
- Compressed Stuff Uncompressing
- Creating Archives
- Deleting print jobs
- Basic Networking
- Wireless Networking
- Boot Loaders
- Boot-Messages
Applications
- Word Processing
- Spreadsheets
- PDF Viewers
- PDF Writers
- Ebook Readers
- Screen Capture
- Etax
- Multimedia
- Browsers
- Plug-Ins
- HTML Editors
- Mail Clients
- Instant Messengers
- Video Conferencing
- Echolink
- Amateur Radio Digital Modes
- FTP Programs
- BASIC Programming Language
- 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
Bugs and idiosyncrasies I came across
Useful Links
If you are looking for LINUX starter documentation, try this link (which will work if you are using konqueror or lynx; you may have trouble when using Firefox or Seamonkey):
file://localhost/usr/share/doc/mandriva/en/Drakxtools-Guide/index.html
A wealth of other documentation in various formats is in /usr/share/doc and the various subdirectories thereof.
Upgrade to Mageia:
As with the AR system I did the online-upgrade. From the Mageia website I got the instructions for the update:
$ su
# urpmi.removemedia -a
then:
# urpmi.addmedia --distrib --mirrorlist http://mirrors.mageia.org/api/mageia.1.i586.list
then:
# urpmi --replacefiles --auto-update --auto
Unlike the AR system this was NOT straight forward, because my many software dependencies on older libraries for the various rpms. So the last step of the above had to be run several times interrupted by runs of mcc removing some odd software. All in all this took around 2.5h and worked OK.
Installation of the Mandriva system:
I firstly wiped the old Windows HDD (SATA) clean and installed
Mandriva 2010.1 Free from the DVD, using all ext3 file systems. After upgrading the system as recommended, it turned into
Mandriva 2010.2.
Partitions:
/dev/sdb1 5.0G 446M 4.3G 10% /
/dev/sdb6 6.6G 3.4G 3.0G 53% /usr
/dev/sdb7 95G 18G 78G 19% /home
Then I installed lots of software to make it approximately on par with my previous 2010.1 system.
I added this disk (PATA) on the IDE interface and made it accessible:
/dev/sda1 9.7G 2.1G 7.5G 22% /media/blagsys
/dev/sda3 219G 27G 182G 13% /media/blaghome
Fstab looks now:
# Entry for /dev/sdb1 :
UUID=8272b7f5-3778-42c6-b399-cc81a6441f3e / ext3 acl,relatime 1 1
# Entry for /dev/sdb5 :
UUID=0180f966-a27b-40f6-8bc7-effbf44a8b10 swap swap defaults 0 0
# Entry for /dev/sdb6 :
UUID=c415538a-a9ec-461a-a11d-20b0e18f4471 /usr ext3 acl,relatime 1 2
# Entry for /dev/sdb7 :
UUID=db7c3a62-ada2-46a3-b5cb-746ee30302e4 /home ext3 acl,relatime 1 2
# Entry for /dev/sda1
/dev/sda1 /media/blagsys ext4 acl,relatime 1 2
/dev/sda3 /media/blaghome ext4 acl,relatime 1 2
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
/dev/fd0 /media/floppy auto umask=0,users,iocharset=utf8,noauto,exec,flush 0 0
none /proc proc defaults 0 0
Installed
idesk-0.7.5-8.fc11 (the Mandriva version played up too often for my liking),
IceWm and
fluxbox (I have also
Gnome - switch between them with the old window manager switch script).
Installed most of the other software of the 2010.1 system.
The new system had only one add-on PCI slot free, which I used for the Brooktree Bt878 TV card. Configured it manually: options bttv card=37 tuner=2 gbuffers=4 in /etc/modprobe.conf.
The other slot was blocked by an add-on video-card.
Problems with the sound-system and the add-on video card:
Sound-System Shocker:
The sound system
Intel Corporation|82801G (ICH7 Family) High Definition Audio Controller using module snd_hda_intel does NOT like
pulseaudio! I
switched it on and listened to timidity playing midi files nicely. BUT mplayer or mpg123 would not play! Also flashplayer did not play sound. Switching pulseaudio off fixed that!
/etc/X11/xorg.conf for the
RV710 [Radeon HD 4350] video card required some hit and miss configuration via mcc, since I still used the LG Studioworks 700S display. I could not use any higher resolution than 1152x864! Looking at my old 2008.0 xorg.conf I decided to put an abridged version of it on the system, hoping that the vesa driver could do better, and it did - VESA Mode 11a allows 1280x1024 with 16 bit colour depth. But when playing back .avi files
the picture quality with the VESA driver was unacceptable!
Xawtv
caused some problems again, especially since it steadfastly
refused to play sound via the integrated sound system (regular set-up: Cable connection between TV
card sound-out and sound system input). However recording to an .avi file and later playing that one back produces sound via the integrated system. I piped the sound from the TV card directly to amplified speakers and have another pair at the sound-system output. Recording TV whilst watching it also would require the standard cable connection
whilst putting the amplified speaker input in parallel to this connection. The cause for this is probably that the integrated sound system is not full-duplex.
Solution of the above problems:
Disabled the integrated sound systems.
Enabled the
integrated IGD video adapter and removed the Radeon video card. This allows 1280x1024 screen resolution with 16 bit colour depth with good picture on video play-back. In the meantime I replaced the CRT monitor with a flat-screen one using up to 13604x768 resolution and 16 bit color depth..
Booting a second system problems:
In spite of having made provisions in /etc/lilo.conf for a second Linux system (my old Mandriva 2010.1 on the 250 GB PATA disk) to be booted, attempts to boot it always end in a kernel panic:
waiting for device sda1 to appear (timeout 1 min)
waiting for device sda3 to appear (timeout 1 min)
Creating root device
Mounting root filesystem
mount: could not find filesystem '/dev/root'
Kernel panic - not syncing: Attempted to kill init!
...and their solution:
After mucking around with things like mkinitrd and getting nowhere I decided to install
Mandriva 2009 Spring live (from the rescue system - see below) on the PATA disk and after a short time I had an operational second system. This was particularly important since sometimes at boot the main system got locked up on:
"
trying to use devtmpfs (ignore errors)"
All that was required there was an fsck from the second system.
This happened with kernel version 2.6.33.5-desktop-2mnb. In the meantime I upgraded the kernel to version 2.6.36.2-desktop-2mnb and now this message is accompanied by another:
"
nash-hotplug (38): /proc/38/oom-adj is deprecated...." and there is no lock-up. Instead when there would have been one you can hear the system working on the HDD - probably performing an fsck - and everything continues as normal when that is finished (around 2 minutes on this system).
Then I encountered again problems when upgrading the second system to Mandriva 2010.1 - it no longer saw the SATA disk!!! I suspect this has something to do with the new kernel-version 2.6.36
Just for fun I put a "
Blag" system (Spartakus - based on Fedora 14 and using kernel 2.6.35) on the PATA disk. This was relatively painless and since then each system again sees the other.
Blag is similar to Mandriva with a few exceptions but it's quite usable. The iso image
Blag-140k-i686.iso is a hybrid iso and can also be put un a small USB stick. It contains enough basic software to be very useful "as is".
Here a list of installed rpms on the Blag system.
System Overview
SATA System is /dev/sdb on disk ST3... and is the regular Mageia 1.0 system.
PATA System is /dev/sda on disk WDC... and is the back-up system Blag Spartakus.
There are bootloaders on both disks. BIOS Set-up allows to set the boot sequence readily.
Hints
Rescue Systems
A stand-alone LINUX system on a CD or DVD comes in very handy! Mageia, Mandriva, Blag and many others can be booted direcly from a "Live CD" or a DVD. Probably the fastest and quickest to boot up is
Damn Small Linux - also called DSL - being only 50 MB on CD.
General Distros USB Stick
If the PC has no CD or DVD drive one can put the iso image of
any live CD provided the iso is a so called "hybrid iso" on a small (1 GB) USB stick as follows:
Plug in the USB stick, then locate the USB drive via ls /dev/sd*
Here it was /dev/sdc
Go to the directory that contains the live CD iso, then do:
[root@localhost linux] dd if=Blag-140k-i686.iso of=/dev/sdc bs=8M
87+0 records in
87+0 records out
729808896 bytes (730 MB) copied, 162.129 s, 4.5 MB/s
[root@localhost linux]# sync
[root@localhost linux]#
... Note: The above figures taken from the creation of a Blag (Spartakus) 1 GB USB stick using an USB 2.0 port.
If you just want a rescue disk you are done. If however you want to use the remaining space on the disk, re-arrange
the partitions (using fdisk and mcc) until you get:
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 693 709631+ 17 Hidden HPFS/NTFS
/dev/sdc2 694 967 280576 8
That's it!
Caveat: The partition created on the USB disk is readily available when you boot from a regular HDD, however any attempt
to mount it when you booted from the USB disk fails as follows:
[root@localhost bin]# mount /dev/sdc2 /mnt/sdc2
mount: /dev/sdc2 already mounted or /mnt/sdc2 busy
[root@localhost bin]#
Even more peculiar and probably related to the above PATA system problem with Mandriva 2010:
When booting from a Blag or a Mandriva 2009.0 stick, both SATA and PATA HDDs are visible,
when booting from a Mandriva 2010.1 or 2010.2 stick only the PATA HDD is visible.
To edit files on the HDD from the booted rescue system do the following:
- Open a terminal window
- Become root (su)
- mkdir /mnt/hd
- mount /dev/sdax /mnt/hd
Now the files on partition /dev/sdax are available in /mnt/hd. Edit, save and subsequently umount /mnt/hd.
DSL USB Stick - Does NOT boot on this particular PC, but on many others
The
DSL iso is
not a hybrid iso, so the above process does not work.
To make a DSL USB drive system
follow the instructions of this DSL wiki.
I did it the following way:
The USB stick was on /dev/sdc.
fdisk /dev/sdc
Then I deleted all partitions using the comand "d" repeatedly.
Allocated a new bootable primary partition with the commands "n", "p", "1" and "a".
Made it W95 FAT32 using the commands "t" and "b".
Created the physical filesystem with:
mkfs.vfat -F 32 /dev/sdc1
Then I created a new MBR:
dd if=/dev/zero of=/dev/sdc bs=446 count=1
Did a rpm -q syslinux --filesbypkg
showing me the path to mbr.bin: /usr/lib/syslinux/mbr.bin
This I followed up with:
cat /usr/lib/syslinux/mbr.bin > /dev/sdc
Finally I mounted the USB drive to /mnt/stick and unzipped dsl-embedded.zip onto /mnt/stick:
[root@localhost linux]# mount /dev/sdc1 /mnt/stick
[root@localhost linux]# unzip dsl-4.4.10-embedded.zip -d /mnt/stick
Archive: dsl-4.4.10-embedded.zip
extracting: /mnt/stick/german.kbd
inflating: /mnt/stick/linux24
...
inflating: /mnt/stick/dsl-vhd.bat
[root@localhost linux]#
After the USB stick was done I edited the file syslinux.cfg in its / directory as follows:
- Changed default to dsl.
- Changed timeout=300 to timeout=100
- Changed vga=791 to vga=0 at the LABEL dsl and linux24 entries
Note that making the USB stick from within DSL does not work!
There is plenty of space left on any USB stick with a DSL system on it. If one puts some files on this space you can access them from within DSL by mounting the stick with
mount /dev/sda1 /mnt/sda1
The suggested mounting directories of other hard disk partitions that DSL "sees" appear as /mnt/hdxy. Thus to access them you should mount them as:
mount /dev/hdxy /mnt/hdxy
There are plenty of usable programs on the DSL system:
- Browsers: Dillo and Firefox (slightly slimmed down version).
- Graphics Editor/viewer: mtpaint.
- mp2 and mp3 players: mpg123 and xmms.
- Good old ftp is there
- A few editors: beaver, nano and of course vi.
Root Password
If you forget the root-password:
- At the boot: prompt enter linux single
- When the system comes up enter: passwd
- Assign a new root-password
- That's it!
Su problems
If after changing security levels, you suddenly find that the root password for
su is not accepted or
mcc tells you, that you have "insufficient privileges" try the following:
chmod ug+s /bin/su and
chmod ug+s /usr/sbin/userhelper
This sets the "setuid" permission and you can use "su" and "mcc" again from a normal user account.
.gvfs Directory
Sometimes there is a hidden diectory .gvfs created in the home directory of a user. An ls -l it looks like:
????????????? ? ? ? ? ? .gvfs
To get rid of it one has to first (as root) do an:
Umount home/user/.gvfs
then:
rmdir .gvfs
Hardware Problems
Strange behaviour of the PC (like unwillingness to start, non recognition of drives, or lock-ups) is often related to poor contact between plugs and sockets:
- Cables and/or jumpers for HD and CD/DVD drives
- The BIOS chip
- Add-on cards - particularly display cards
- Memory chips
Cleaning the contact area with WD40 helps in most cases.
Another possibility is the
add on of a memory chip with slightly different characteristics. To make this work sometimes one has to
increase the CAS Latency in the BIOS Set-up.
Also beware of some bleedingly obvious blunders: When I put an Ethernet card in a slot next to a high performance SVGA card, it turned out that the heat sink on this
card short circuited the ethernet card! Luckily no permanent damage was done and putting it in a different slot made it work again.
File System Check
False positives with "file system corruption"
Do not e2fsck a mounted partition, not even with
e2fsck -fn ... that does not change anything there.
I once did that with /dev/hda1, the system telling me about corruption. When I subsequently checked the partition (unmounted) from my second Linux system on a different HDD, all was well!
USB Disks
I have a 200 GB external hard drive (which I re-formatted to utilise the ext3 file-system) and some MP3 players with USB interface.
The external drives must be mounted manually. Their device addresses start with /dev/sdc for the first one, /dev/sdd for the second, and so on.
Other Disks
Device addresses can be found out by using fdisk [devicename]. The extended addresses can be found out by using mcc (advanced).
The command to mount a DVD or CD is:
mount /dev/sr0 /mnt/cdrom
Mouse
If you ever have the misfortune that your mouse dies and your only backup is an old serial mouse, change the relevant section of xorg.conf as follows:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection
Backing Up Hidden Files And Directories
I have a large external HDD. Backing up a whole directory tree seemed easy using the command:
cp -Padfru /home/waldis/* /media/hd6/home/waldis
However the result was disappointing. Beyond the first level directory hidden files and directories were
NOT backed up. The correct command format (which I haven't seen documented anywhere) to do this is:
cp -Padfru /home/waldis/.
/mnt/stick/home/waldis
This "." wildcard character refers to the content of the currect
directory as a whole without expanding subdirectories.
Partitions:
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 5.0G 1.7G 3.1G 35% /
/dev/sdb6 6.6G 5.8G 541M 92% /usr
/dev/sdb7 95G 53G 43G 55% /home
/dev/sda1 9.7G 2.5G 7.1G 26% /media/blagsys
/dev/sda3 219G 42G 166G 21% /media/blaghome
Bluetooth:
I bought a USB Bluetooth dongle. It is detected as:
[waldis@waldis_main ~]$ hcitool dev
Devices:
hci0 00:15:83:3D:0A:57
Then I added bluetoothd to top of /etc/rc.local since it doesn't appear to be set up as a service.
Also added to /etc/modprobe.preload
bluetooth
rfcomm
bnep
l2cap
Now the system sees my mobile phone, still transferring pictures and videos I took did not yet work,
I did it easily on the Blag system:
[waldis@localhost ~]$ blue
bluefish blueman-assistant blueman-sendto
blueman-adapters blueman-browse blueman-services
blueman-applet blueman-manager bluetoothd
[waldis@localhost ~]$ blueman-adapters
/usr/bin/blueman-adapters:172: GtkWarning: IA__gtk_radio_button_set_group: assertion `!g_slist_find (group, radio_button)' failed
builder.add_from_file(UI_PATH +"/adapters-tab.ui")
org.bluez owner changed to :1.9
value: 1.0
value: 0.0
[waldis@localhost ~]$
In "Service Configuration" enable "bluetooth" at start-up.
Then I uploaded photos from my mobile phone to the system. They were in folder "/~Public"
[waldis@localhost ~]$ cd Public
[waldis@localhost Public]$ ls
Photo0003.jpg Photo0009.jpg Photo0014.jpg Photo0019.jpg Photo0024.jpg
Photo0005.jpg Photo0010.jpg Photo0015.jpg Photo0020.jpg Photo0025.jpg
[waldis@localhost Public]$
After installing the "blueman" rpm on Mageia the similar procedure rendered:
[waldis@waldis_main ~]$ blueman
blueman-adapters blueman-assistant blueman-manager blueman-services
blueman-applet blueman-browse blueman-sendto
[waldis@waldis_main ~]$ blueman-adapters
/usr/bin/blueman-adapters:172: GtkWarning: IA__gtk_radio_button_set_group: assertion `!g_slist_find (group, radio_button)' failed
builder.add_from_file(UI_PATH +"/adapters-tab.ui")
org.bluez owner changed to :1.6
[waldis@waldis_main ~]$
After that I could upload files from the phone to the PC OK. The only difference is that Mageia uses ~/ for the uploaded files.
To upload pictures
sent to you via SMS use the following procedure:
- On the PC plug in the bluetooth USB dongle.
- On the phone go to "Settings" - "Connectivity" and enable Bluetooth. Enable visibility for the files.
- In a terminal-window run blueman-browse
- The phones id will appear.
- The phone asks if you want to enable data exchange - Yes.
- Go to the Inbox of the phone, view a message with picturesthen the associated picture and select "Save Items".
They will be saved in "My Files" - "Images". Enable Bluetooth visibility for them
- On the PC you will find the pictures now (similar to a file manager window).
Copy an image, then paste it in a directory of the PC. Repeat until yuou have copied all images.
- Disable Bluetooth visibility of the items on the phone. Then disable Bluetooth itself.
- Optional: On the phone delete the pictures.
- Close the blueman-browse window on the PC.
Slight hiccup: Nautilus is running after this procedure. It has to be killed to re-instate icondesk.
Sound Configuration:
Since the demise of my Soundblaster card I have to use the on-board sound system. Using the rear microphone connector resulted in high noise level, thus I use thr
front microphone connector.
Configuration:
snd_hda_intel driver NO pulseaudio
alsamixer as mixer application:
Playback:
Master, PCM, Front all 100%, Surround, Center, LFE all muted, Line Jack "Line Out", Rear Mick "Mick In", Swap Cen muted.
Capture:,
Capture 100%, Capture 1 100%, Digital 31, Input Source (both); Front Mic, Mux 100%, Mux 1 100%.
After finding the right values I noticed that they do not survive a reboot. To make them do that, one has first to do as root:
alsactl store 0
and add in /etc/rc.d/rc.local the line:
alsactl restore
Some File Locations:
Upgrading via RPMS:
As root do the following:
Installing a rpm:
rpm -i {package.rpm}
Upgrading a rpm:
rpm -U {package.rpm}
Removing a rpm:
rpm -e {package-name-short}
info on a rpm:
rpm -q {package.rpm} [--filesbypkg]
info on all rpms whose name contains string xxx:
rpm -qa | grep xxx
Kernel 2.6 Rebuild
This seems no longer a worth-while exercise, since the new all modular kernel boots up very fast, so I didn't bother.
Changing System Setting:
You can use mcc to do this, if you don't want to do it manually.
Clean up mcc-altered control blocks in /etc when completely done.
Configuring Printers:
Done by running "mcc".
However installing the usb printer Canon PIXMA iP1300:
Download:
http://software.canon-europe.com/files/soft24301/manual/guideip2200-2.60-1.tar.gz
Unzip and untar it.
[root@localhost linsoft]# rpm -i cnijfilter-common-2.60-1.i386.rpm
There are several dependencies, for instance libxml, which is provided by libxml1-1.8.17-16mdv2010.1.
[root@localhost linsoft]# rpm -i cnijfilter-common-2.60-1.i386.rpm
[root@localhost linsoft]# rpm -i cnijfilter-ip2200-2.60-1.i386.rpm
[root@localhost linsoft]# /etc/init.d/cups restart
Stopping CUPS printing system: [ OK ]
Starting CUPS printing system: [ OK ]
[root@localhost linsoft]# lpadmin -p IP2200 -m canonip2200.ppd -v usb://Canon/iP1300?serial=26CB84 -E
[root@localhost linsoft]# lpadmin -d IP2200
Note that colour AND B/W cartridges must be installed, otherwise the
printer does not work.
The file: /etc/printcap is no longer used.
Directory /var/spool contains configuration subdirectories /cups and
/lpd. The latter is not used (all files length 0). The former contains
some cryptic stuff.
Refilling Printer Cartridges
The printer uses a black cartridge of type CL40 and a colour cartridge of type CL41. Refilling the colour cartridge using a refill kit poses no problems. Refilling the black cartridge is easy too, however the printer refuses to use the full cartridge and just does not print black. On the net I found and verified the following solution:
- Remove the power cord from the printer.
- Wait 2 minutes.
- Press the start key (upper half of the combined Start/Reset key), keep it down whilst inserting the powercord and waiting 20 sec or so.
- Depress and keep the Reset key (lower half of the combined Start/Reset key) for > 20 sec.
- Reboot the system.
So much for user-friendliness!
Boot Parameters
These can be specified at the LILO boot prompt
boot: linux ide0=ali14xx vga=ask
Startup Processing
After the kernel has been loaded, the first process executed is /sbin/init. It is controlled by /ect/inittab - here a tailored and commented excerpt:
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org="">
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#
# Default runlevel. The runlevels used by Mandrakelinux are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Single user mode
~~:S:wait:/bin/sh
This shows that the first script run is /etc/rc.d/rc.sysinit
The next script to be run depends on the default runlevel, in the above case 5.
Following the above rules /etc/rc.d/rc 5 will be executed.
This will execute the scripts in /etc/rc.d/rc5.d
As a general rule /etc/rc.d/rc
N will execute /etc/rc.d/rc
N.d
At the end /etc/rc.d/rc.local is executed
Window Managers:
I have installed:
Icewm,
fluxbox and
Gnome. Gnome has its own desktop. In the others the trick is to start
idesk. With idesk in place one can start applications from icons on the desktop with any of the lightweight windowmanagers thereby avoiding the overheads of KDE. It is
no longer necessary to start konqueror with the command line parameter "Desktop"
or to start xfm, which has its own application desktop(s).
Peculiarities:When starting
any KDE application and not running under KDE, the runtime environment has to be established first, on a terminal you see:
kbuildsycoca running...
There will always be a certain delay.
The
Gnome file manager Nautilus assumes that you are running under Gnome and displayes the associated desktop after finishing!
Starting Window Managers:
With the graphical log-in you can select whatever window manager you want by putting executable start-up scripts in file /usr/bin/xxx, and putting "DESKTOP=xxx" in file ~/.desktop.
IceWm
Fast and simple. It is started with
exec icewm or
exec icewm-session
Control files in: $Home/.icewm - particularly the menu file is designed very poorly - change it asap! When you do that, remember to stipulate the complete path to a program in each "prog" statement. If you don't, the program won't appear on the menu!
One important executable is $Home/.icewm/startup which looks like:
cd
cp -f .icewmmenu .icewm/menu
rm -f .serv*
idesk &
./appointk &
exit 0
Here I do some housekeeping before starting idesk which makes icewm a complete desktop environment without the overheads of Gnome or KDE. After all I use the computer to run applications and not to look at fancy pictures and wait for no reason.
Idesktop
The current version is fairly spartan but usable. I wrote a few bash scripts to create, edit and delete desktop icons plus restart idesktop
See here for details
I found the following bugs and idiosyncrasies:
Background-colour is ignored at start-up. Remedy: Use the xsetroot command.
Contrary to the documentation .xpm files can be used as icons. They are however not always displayed correctly and in the correct aspect ratio.
Application Menu Configuration
IceWm
Edit file .icewmmenu and add or delete applications or whole menues. The file .icewmmenu will be copied at startup to ~/.icewm/menu since the latter will be overwritten by the system at unpredictable times!
Here a table showing details of the WM switching process
Basic Tasks
Geometry And Other Properties (=Resources) of X-Applications
Most applications take a commandline-parameter as follows:
-geometry xwidthx
ywidth+
xoffset+
yoffset
Where the widths and offsets are measured in pixels.
Some applications use "-geometry" others "--geometry" - look at the man files!
There are many other such parameters, like background and foregroundcolours etc.
Example to use them:
xfm -bg green -fg black -appmgr -geometry 790x550+0+0 &
Geometry and other X-related application parameters can be specified in
file
~/.Xdefaults.
Note that
GTK applications have their own configuration file in
~/.gtkrc-2.0 which can be changed by editing it. The original one is not very appealing.
Here is a more reasonable one
File Managers:
fileman.tcl is probably the fastest of the lot, good for basic tasks.
FileRunner is very fast and slick. Started with the command:
fr
xfm is a fast but "lightweight" file manager. Its configuration files are
~/.xfm/magic, and
~/.xfm/xfmrc.The former tries to identify the type of unknown files, as you can see this can be only a "best guess". The association between a file type and the application you want to handle this particular type of file with is done by the latter, which you should tailor to your own wishes.
With this trick to simulate "Open with"
xfm can be made into a quite useful program:
Create the following TCL script, call it xfapsel, and put it in one of your bin directories. An additional advantage is the possibility to execute scripts from the xfm
file-window by selecting x as program-name:
#!/usr/bin/tclsh
puts "Enter program name to open file with:"
gets stdin proname
set pwd [ exec pwd ]
append pwd "/" $argv
if { $proname == "x" } {
exec xterm -e $pwd
exit
}
exec $proname $pwd
exit
Then add the following line to ~/.Xdefaults:
xfm*defaultEditor: rxvt -e xfapsel
Now whenever you rightclick a file and select "Edit", you will be asked for the program to open the file with!
In .Xdefaults I also have set
nedit as viewer for xfm with the line:
xfm*defaultViewer: nedit
Here is my xfmrc file - alter the entries as you see fit. Note however that xfm will always try to execute a double-clicked file, if the execute permission is set! If your file is not executable, don't set this permission!
Xfe is faster than xfm and has "open with" enabled natively, also has a much more modern "look and feel". It has a built in editor
xe, a graphics viewer
xfi, and a text file viewer
xfw.
Nautilus fits also in this category, though it cannot easily co-exist with icondesk. Good when using Gnome.
Editors:
Good and intuitive full screen editors:
For native (non X-Windows) LINUX:
joe - this is very similar to DOS Edit.
For X-Windows:
xedit (the tk-based version), nano, nedit, gedit.
For regular word processing:
AbiWord.
There are also old line-editors: "
vi" or "
ed" (remember old
DOS edlin? That's nearly it!) or
emacs (the ultimate in cryptic and un-intuitive text-handling).
The latter editors however outperform the full-screen ones, if you want to crop large portions of a file (like one of the log-files in /var/log for instance).
For lovers of nostalgia: An SPF-PC like editor
gxe is available from
http://hp.vector.co.jp/authors/VA010562/
Some Commands:
General:
Help on command: .......................... man commandname
Help on all commands: ..................... xman ...only under X!
Hardware:
List PCI Cards:............................ lspci
List Devices - DMA, IRQ, I/O Ports:........ lsdev
List USB Devices:.......................... lsusb
Tweak ethernet cards:...................... ethtool - see man ethtool
Screen Resolution:
View available resolutions:................ xrandr -q
Set to one of these resolutions:........... xrandr -s number_from_one_of_the_above
Set Date And Time to Full Minute:
In UTC..................................... date -u MMDDhhmmYY
... Example: 2nd of March 2008 07:17....... date -u 0302071708
... Note: You must be root to do that!
Processes:
Display Processes:......................... ps x
Display ALL Processes:..................... ps ax
Kill Processes:............................ kill process-id
Kill Processes for sure:................... kill -9 process-id
Kill Processes by name:.................... killall process-name
Kill Processes by name interactive:........ killall -i process-name
Files:
Create Alias (symbolic link):.............. ln -s existing_directory_or_file new_name (often required
to make old software, that requires old version libraries, work on newer systems).
Find:...................................... find top-level-directory-to-look-in -name filename_you_are_looking_for
... Example:............................... find /home/fred -name info.db
Check used space in a directory:........... du directory-name
Compare files: ............................ cmp file1 file2
Backup files: ............................. cp -uvr source_files target_files Shows what happens!
Move subdirectories: ...................... mv subdirectory-name/ new_location Note the slash!
Expunge all non-hidden files and subdirectries from where you are: rm -fr *
Expunge a subdirectry from where you are: rm -fr directory-name Gets rid of all hidden content too.
File Systems:
Re-mount a filesystem read-write:.......... mount -o remount,rw /dev/... (only if you're desperate).
Check used and free space on file systems:. df
Check integrity:........................... fsck[.ext2|ext3|ext4] /dev/... Filesystem must be unmounted
HDD Surface check:......................... fsck[.ext2|ext3|ext4] -c /dev/... Filesystem must be unmounted
Software Environment:
Display kernel-version:.................... uname -a
Display all files belonging to an rpm:..... rpm -q name_of_the_rpm --filesbypkg
Display all installed rpms:................ rpm -qa
Display all installed rpms containing xy:.. rpm -qa|grep xy
Modules:
Insert a kernel module:.................... insmod module-name [parameters]
Remove a kernel module:.................... rmmod module-name
List inserted kernel modules:.............. lsmod
Get info about a module (parameters):...... modinfo -p module-name
Users and Groups:
Change attributes of a user:............... usermod [parameters]
Change attributes of a group:.............. groupmod [parameters]
Graphics
Display graphics file:..................... display filename
Display info about graphics fiel:.......... identify [ -verbose ] filename
Make a .pdf out of all JPGs in directory:.. convert *JPG pdffile.pdf
Beware: The size of each picture depends on the "print size" not the actual size !!
Resize graphic file(s):.................... mogrify -resize horizontalsize in pixels filename-spec
Resize graphic file(s) x/y independent:.... mogrify -resize <xsize>x<ysize>! filename-spec Example: mogrify -resize 640x480! *.jpg
Reduce .jpg file quality:.................. mogrify -quality quality_in_precent filename-spec Example: mogrify -quality 30 *.JPG
Sharpen graphic file(s):................... mogrify -sharpen <radius>x<sigma> filename-spec Example: mogrify -sharpen 3x5 *.jpg
Strip .jpg file exif data:................. mogrify -strip filename-spec
Note: For sharpening images I found
mogrify -sharpen 2x800 as being best. Still the sharpen function of
gimp is clearly better!
Compressed Stuff
Uncompressing:
Don't be tempted to uncompress with the GUI and
konqueror,
if your archives are of a non-trivial size!
The shell-commands may take only a small fraction (less than 1%
sometimes) of the GUI-time! This is particularly staggering with bz2
archives! Using the suggested .xfmrc commands under
xfm
is OK - nearly just as fast as the line commands.
Uncompress filea.tar.z:.................... uncompress filea.tar.z...gives you filea.tar
Unzip fileb.tar.gz:........................ gzip -d fileb.tar........gives you fileb.tar
Unzip filec.bz2:........................... bzip2 -dfk filec.bz2.....gives you whatever is in the archive
Unzip filed.xz:............................ unxz -d filed.xz.........gives you filed.tar
Unpack filed.tar:.......................... tar -x < filed.tar
Most often used:
Unzip + uncompress filed.tgz:.............. tar -xvzf filed.tgz.....gives you whatever is in the archive
Unzip Windows zip:......................... unzip archive.zip.......many additional options - see man unzip
Uncompress filee.rar:...................... unrar e filee.rar.......see unrar --help
Creating
Archives:
Create archive from directories:........... tar -c directoryname_1 [dirn_2 ...] > file.tar
Create archive from files:................. tar -c dfilename_1 [filen_2 ...] > file.tar
Zip a tar file:............................ gzip -c9 file.tar > file.tar.gz
Note: The latter doesn't work on DOS file systems - gz is truncated! Use suffix .tgz instead!
Create Windows compatible zip file:........ zip archivename.zip inputfile(s)..... many additional options - see man zip
Create an .xz file: ....................... xz -z file
Deleting print jobs:
Use the commands:
lpq -l followed by:
lprm [-Pprinter] [-] [job # ...] [user ...]
to remove a job from the print queue.
To stop a job on the printer, switch off the printer
and issue as root the command:
cancel -a
Then switch the printer on again, and all is well provided you haven't
set "retry indefinitely" for a communications error in the printer
set-up (printerdrake). Set the retry value to 1!
Basic Networking:
I don't require telnet. For ftp I use vsftpd.
ADSL Broadband Internet:
I use a router to share an ADSL connection. Interface eth0 has to be
configured in the Mageia Linux Control Center section "Network &
Internet" as follows:
- In Tab TCP/IP: Protocol DHCP
- In Tab DHCP: DHCP-client: dhclient, tick "Get DNS Servers from DHCP".
- In Tab Options: Tick "Network Hotplugging" and "Start at Boot".
- Assign a host-name yourself, otherwise you get your ISP's name.
Network troubleshooting commands:
netstat -i
shows all interfaces and what they have done
route
Shows where network traffic should be sent to.
ifconfig
Shows the configuration of all active interfaces. Temporary changes can be done with that comman too. Example:
ifconfig eth0 hw ether 00:11:22:33:44:55 changes the Mac address of the ethernet adapter to 00:11:22:33:44:55.
Wireless Networking:
Note: I did this under 2010.1 on my second PC, but it should be the same under 2010.2.
I have the
D-link DWA-510 wireless network card (Linux says it's a RaLink RT2561/RT61 rev B 802.11g), which comes with a Windows installation CD. To install it go to mcc - the Mageia Control Centre and go to "Network & Internet" then "Set up a new network interface". As driver use the Windows ndis driver in
Driver/Drivers/WinXP_2K_9X/NetRt61G.INF on the installation CD. Nothing else worked!
In "Network Center" of mcc select the following:
Operating Mode: Managed
Set your ESSID (from the router)
Encryption mode: Open WEP
Encryption key: Whatever you specified at the router
Set on: Automatic IP (BOOT/DHCP)
Tick: Get DNS servers from DHCP
At the router do not specify any RTS/CTS handshaking (very slow) but list the allowed mac-addresses that you have (security).
The "route" command should give you a display like this:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
XXX.YYY.1.0 * 255.255.255.0 U 35 0 0 wlan0
link-local * 255.255.0.0 U 35 0 0 wlan0
default XXX-YYY-1-2.zzz 0.0.0.0 UG 35 0 0 wlan0
Boot Loaders:
I replaced the LILO bootloader with Grub, which has a nicer syntax for it's control file.
Here is my /boot/grub/menu.lst file
Here is how to restore a corrupted Grub boot record
And here is how to use Grub
Boot-Messages:
They often scroll much too fast. If you are quick enough, you can try XOFF and XON to stop and restart the process.
To view the messages later, do a simple dmesg | more. More messages can be viewed by editing /var/log/messages.
View current messages
Applications
Besides official Mageia-suitable applications I have also sourced them from some other places, like the net (some SuSe, Fedora Core, Red Hat rpms), Magazine CDs, as well as old Mandrake, SuSe and Red Hat installation CDs. Of course not every application gotten this way works - test it! Sometimes one is not aware what applications
come with the distro. Check them out by going through the various menu entries!
Word Processing:
- LibreOffice A bit slow but very good.
- AbiWord is lightning fast and very good.
AbiWord cannot read .docx files. To read them use either LibreOffice (Versions below 3 cannot read these files either) or download
docx2txt-0.3.tgz and use the containing scripts
docx2txt.pl and
docx2txt.sh.
Spreadsheets
- LibreOffice has a similar interface as the old Staroffice 5.2.
- Gnumeric loads .xls files correctly. It can read .csv files, and also can do a "paste values" in paste-special. All other important functions are available too, even a charting capability,
PDF Vievers
xpdf,
gv
and
xv are all usable.
PDF Writers
Abiword can create output in PDF format.
LibreOffice can create a more compact PDF file than Abiword.
Ebook Readers
I have got the small
MiGEAR ebook reader model BSTE101. It has 2 GB internal memory and a slot for a micro SD card. The user manual is very poorly written. To copy files from the PC to the reader or the inserted card one needs at least an
USB 2.0 port. All my attempts to copy files from the PC to the reader or the inserted card from USB 1.1 ports failed. I could mount the filesystem of the reader or the SD card (both claim to be "vfat") and writes to it seemed to work for a while, but after an "umount" nothing had been written to the device or the card. If you don't have any USB 2.0 ports, you have to
write to the micro SD card using an USB card-reader-writer. With USB 2.0 do it like this (
old example; I had 2 HDD /dev/sda and /dev/sdb):
[root@localhost waldis]# ls /dev/sd*
/dev/sda /dev/sda5 /dev/sdb10 /dev/sdb13 /dev/sdb6 /dev/sdb9 /dev/sdd1
/dev/sda1 /dev/sdb /dev/sdb11 /dev/sdb2 /dev/sdb7 /dev/sdc
/dev/sda2 /dev/sdb1 /dev/sdb12 /dev/sdb5 /dev/sdb8 /dev/sdd
... showing you /dev/sdc as the internal memory and /dev/sdd1 as the Micro SD card.
[root@localhost waldis]# mount /dev/sdc /mnt/stick
[root@localhost waldis]# mount /dev/sdd1 /mnt/sdmemory
[root@localhost waldis]# xfe &
[1] 8458
Copy the files you wish to either the internal memory (/mnt/stick) or
the Micro-SD card (/mnt/sdmemory) and/or delete the ones you no longer want
to be stored there. You need not copy everything to the root directories;
the reader accepts subdirectories, allowing the files to be organised as you
like. Contrary to the documentation there need not be a directory called "Record"
on the internal memory. BTW the device plays mp2 audio files just as well as mp3 ones.
Once you are done:
[root@localhost waldis]# umount /mnt/sdmemory
[root@localhost waldis]# umount /mnt/stick
[root@localhost waldis]#
Screen Capture
xwd is very fast and easy to use. It has an associated viewer
xwud. The picture format is proprietary and can be converted with xv or gimp.
Example:
Go to the window you want the screenshot taken from.
Open a terminal window above it.
Enter there:
xwd -out sshot1
Do an Alt-F9 to minimise this window.
Left-click on any part of the window you are interested in. This creates file sshot1 which can be viewed with:
xwud -in sshot1 or edited with xv or gimp.
ksnapshot is very nice, and easy to use.
Etax
The etax program from tha Australian Tax Office has to be run under Wine.
Install:
wine-1.4.1-1.2.mga1
wine32-1.4.1-1.2.mga1
wine-doors-0.1.2-4mdv2009.0
wine-gecko-1.4-1.mga1
winetricks-20120912-1mdv2010.1
Then do:
winetricks msxml4 ie7
This installs
MSXML 4.0 in ~/.wine/drive_c/Program Files/MSXML 4.0 and
Internet Explorer 7 in ~/.wine/drive_c/Program Files/Internet Explorer - without that you cannot connect to the ATO site over the net when running etax.
Download (under native Linux)
etax2012_1.msi from http://www.ato.gov.au/individuals/content.aspx?doc=/content/32234.htm&page=5
wine msiexec /i etax2012_1.msi
This installs a subdirectory etax2012 to ~/.wine/drive_c/Program Files
copy the content of it into ~/etax2012
etax.exe needs lots of files open, so to avoid lock-ups:
Add in /etc/security/limits.conf
your_user_name hard nofile 4096
your_user_name soft nofile 4096
Run etax via:
wine etax2012/etax2012.exe
Help does
not work directly from etax.exe, but you can access the help system by opening in a browser:
file:///home/your_user_name/.wine/drive_c/Program%20Files/etax2012/help/client_nav.html
This way etax works nicely including lodgement and feedback.
Multimedia
Video and audio all can be handled reasonably well by Mageia.
Digital Camera Pictures
Digikam is a nice KDE application, that allows you to download and organise pictures from a more modern digital camera, like the
Kodak Easyshare CX7220. Connect the camera via USB, switch it on and allow digikam to auto-detect it.
Exceptions: Some cameras are not autodetected and not on the list of supported cameras. To download pictures from these cameras simply plug their SD card in a card reader and use it as an USB disk!
Image Scanning
The command
xsane enables scanning with a gui and various options
does NOT require you to be root for a USB scanner!
Graphics Viewers
gqview allows you to view all graphics files in a directory. You can do this using various zoom factors and also have the program fit the picture to the screen. Running a slide show is possible too.
xv - a graphics editor - can be used as a quick viewer for image
files.
display - another graphics editor - can be used as a quick viewer for image files too.
Graphics Editors
Gimp is very powerful, and takes quite a bit of adjusting to - the "emacs" of graphics editors. One hard to find feature:
To draw a straight line activate any painting/drawing tool, klick into the image where you want the line's starting point to be, press the [Shift] key, klick where you want the line's endpoint to be (...[Shift] uses the last drawn point as starting point).
Gimp also retains the "print size" when converting between formats like jpg and png.
xpaint is quite user-friendly. It saves black and white (lineart) .gif pictures much more efficiently than gimp!
xv is even more user-friendly than xpaint but less powerful and sometimes buggy.
mtpaint is not bad either, so to speak a lightweigt version of gimp. To understand the documentation one has to adjust to the mindset of the author first.
Contrary to gimp mtpaint when converting between file formats uses the size of the actual graphic to determine the "print size" of the picture. Useful if you want to mix pictures of various origins in a publication!
ImageMagic is a powerful command line graphics editor with stacks of useful subcommands and features. Mogrify is one of the commands that can be used for mass changes. For instance:
Reasonably sharpen all jpg files in a directory:
mogrify -sharpen 2x800 *.jpg
The larger the first number in the -sharpen geometry is the larger the "halo" around lines in the picture. It is hard to replicate a gimp sharpen of 76% with the mogrify command.
Get rid of Exif data:
mogrify -strip *.jpg
Optical Character Recognition (OCR)
Firstly I used
ocrad that needs the file to be in "raw" pgm format. The results so far were pretty poor. Here is and example how to do it:
gimp ticket.jpg
... save the image as ticket.pgm in
Raw format.
ocrad ticket.pgm > ticket.txt
Then there is
gocr, which besides being a stand-alone command is also accessible through the scanner application
sane. It seems to be a bit better than ocrad.
CD and DVD Burners
k3b
Very nice to copy CDs. Cannot copy video CDs. Can copy DVDs and blank DVD-RWs as well as DVD+RWs. Select this function from the "Tools" menu! I have read glowing reviews about it.
brasero
Similar to k3b, just the user interface is a bit different.
Sound
Linux has plenty to offer when it comes to sound - creating, recording, editing, burning, you name it, it's all there!
Creating Audio CDs
Compose a piece of music using a midi sequencer like Rosegarden (see below). This gives you a .mid file. There are also plenty of free midi files available on the net.
All these files do not sound very appealing when played with the commands
playmidi or
playmidi -4 on an ad-on sound card. However the
timidity synthesiser is of a far better quality! Be however prepared to update
the instrument-patch configuration file (here in /etc/timidity/gravis/gravis.cfg) to substitute missing instruments, add missing instrument banks and/or drumsets, so that everything in the midi-file is reproduced in audio! There is a configuration file in /etc/timidity/timidity.cfg which is a smbolic link to either /etc/timidity/freepats/freepats.cfg or /etc/timidity/gravis/gravis.cfg. Convert a .mid file to .wav format with the command:
timidity -Ewpso -Ow1sSl -o outputfile.wav inputfile.mid
This gives you a 32,000 BPS sampling rate file. For CDs you need a sampling rate of 44,100, but luckily the cd burner program k3b is clever enough to convert the file itself whenever you create an audio CD!
To convert the file manually:
sox file_to_be_converted.wav -r 44100 cd_ready_file.wav
But beware - sox is not at all intelligent when interpreting the parameters! In desperation I wrote a little shell script
pox to convert the formats:
Usage: pox source-file target-file Only ONE space between parameters!
#!/bin/bash
# This file converts 32,000 samples/sec wave files to 44,100
rm -f tmp0.wav
rm -f tmp1.wav
cp $1 tmp0.wav
touch tmp1.wav
sox tmp0.wav -r 44100 tmp1.wav
touch $2
cp tmp1.wav $2
rm -f tmp0.wav
rm -f tmp1.wav
echo done $2
You can also create wave files for CDs from mp3 files. Again k3b can use the mp3 files directly to create audio CDs.
The easiest way to convert them manually is to use the sound editor
audacity.
Sox and Timidity are powerful programs, with which you can achieve many special effects with your sound files! Try
man sox and
man soxexam to learn the usage of sox. Needless to say, there are many other possibilities to get the required wav-files. Most CD players cannot handle CD R/Ws as audio CDs.
Use only CD Rs for audio purposes!
Burn the Audio CD with k3b
Use "New Audio CD Project" and follow the instructions!
To duplicate Audio CDs
The easiest way is to use
k3b with the "Duplicate CD" function.
CD Players
So far I have only used
mplayer.
DVD and VCD Players
Mplayer works on CDs and DVDs without requiring root priviledges: mplayer /dev/cdrom or /dev/cdrom1 is the command. Look at the man pages for control keystrokes!
Creating Compressed Audio Files
MP3 Format:
A simple way is to use
gogo which can be installed by first downloading nasmsse from http://homepage1.nifty.com/herumi/soft/petit/nasmsse2.tgzpetit313.tgz
(unzip and untar, then move nassm to /usr/local/bin); then downloading petit123.tgz, unzipping and untarring and installing it according to it's readme_e.html file (move gogo to /usr/local/bin).
Usage:
Create MP3:................................ gogo [options] input_file.wav output_file.mp3
Options:
-b kbps: bitrate[kbps] 128 (default)
8,16,22,24,32,40,48,56,64,80,96,112,128,160,192,224,256,320 if input is 8,16,22.05 etc. KHz
-v {0,1,..,9} 0:high 9:low (VBR quality)
-q {0,1,...9} 0:high 5:default 9:low (Quality)
For other options: do a gogo -h
The shortest mp3 files are created with the command
gogo -v 0 -q 0 inputfile.wav outputfile.mp3. Setting the quality
lower paradoxically
increases the file size!
Audacity can also export audio in mp3 format.
If you want to put those files on your mp3 player, plug it into the first USB port and simply copy them to /mnt/stick - of course after having it mounted first!
MP2 Format:
MP2 files can be created with
ffmpeg -i INPUTFILE.wav
-acodec mp2 -ac 2 -ar 44100 -y OUTPUTFILE.mp2
... INPUTFILE.mp3 or INPUTFILE.ogg work just as well with this command!
The -ar 44100 is the sampling rate - you don't save much space if you set it lower (32000, 22050 or 1600). At the cost of quality you can set the bitrate lower (-ab 32, the default is 64. Going lower than 32 makes for horrible quality). The -ac denotes the number of channels (1 or 2). The mp2 files created this way are on average
half the
size of mp3 files exported by audacity.
OGG Format:
Audacity can export music in ogg format. Comparison between file-sizes:
-rw-r--r-- 1 waldis waldis 2211084 2009-12-20 09:26 DEEPRIVgogo.mp3
-rw-r--r-- 1 waldis waldis 1055973 2009-12-20 09:26 DEEPRIV.mp2
-rw-r--r-- 1 waldis waldis 2404578 2009-12-20 09:28 DEEPRIV.ogg
-rw-r--r-- 1 waldis waldis 16897068 2006-10-23 21:01 DEEPRIV.wav
Converting ogg files to mp3 format is a bit complicated. I use this script:
#!/bin/bash
for mufile in *.ogg
do
sox $mufile temp.wav
gogo -v 0 -q 0 temp.wav $mufile.mp3
rm -f temp.wav
done
for mufile in *.ogg.mp3
do
nufile="${mufile/ogg.mp3/mp3}"
mv $mufile $nufile
done
exit
All these formats can be played with
Amarok or
xmms and sound pretty similar.
Sound Recorders
There is a simple command-line recorder
rawrec which allows you to create a recording in raw format. Be generous with the allocated time. You can always terminate a RAWREC with Cntrl-c thereby keeping the hitherto recorded data!
Note: for a mixer application use
gnome-volume-control with the following settings (for my microphone):
Playback: Master at 90%
Capture: Microphone at 100%
Switches: Do NOT tick Mic Boost +20dB - causes clipping!
Some examples:
rawrec -h -t12 file1.raw
Creates a 44100 sampling rate stereo file of 12 second duration. There are a lot of variations possible - have a look at the man entry! For instance to record a mono soundclip of 45 seconds at a sampling rate of 8000 use:
rawrec -h -t45 -c1 -s8000 file1.raw
Files in raw format can be reproduced with the
rawplay command, for instance
rawplay -c1 -s8000 file1.raw
in the above example.
To convert a raw file with a sampling rate of 8000 to an mp2 one use:
ffmpeg -f s16le -ar 8000 -ac 1 -i file1.raw file1.mp2
The sox utility can be used for conversion too - this time to a .wav file:
sox -r 8k -e signed -b 16 -c 1 file1.raw file1.wav
To get a voice recording of reasonable quality a sampling rate of 8,000 mono is enough.
To get a music recording of reasonable quality you should use a sampling rate of at least 32,000. The rawrec/rawplay suite can be downloaded from the Freshmeat website and has to be installed from source according to the provided documentation.
From the GUIs there is
Gnome-Sound-Recorder
Record from Microphone (or wherever else, for instance source=Capture enables you to capture sounds played by other programs
if you use pulseaudio) to wave format gives you a 22,050 KHz sampling rate - good quality.
Audacity
which is also a sound editor. It allows to import .raw and .wav files, and export in wav format, as well as recording
if you use pulseaudio. With some additional software it can also handle .mp3 files - but there are other options for that too. It is good to cut off the rough start- and end- clicks of a rawrec recording as well as to amplify a low level recording besides many more effects.
Streaming Radio Stations
It might be necessary to enable the mms: protocol:
- Open Firefox or Seamonkey, type "about:config" (no quotes) in the address window, and click enter.
- Right click on the window and choose 'New', then 'String' from the pop-up menu that appears.
- In the first pop-up box, enter: "network.protocol-handler.app.mms" (no quotes - paste the text into the box).
- In the next pop-up box enter the path to mplayer (e.g. "/usr/bin/mplayer").
- Now, click in the main window again but choose 'New' 'Boolean'
- In the first pop-up box, enter: "network.protocol-handler.external.mms"
- In the second pop-up select 'True'. That's it!
Australian Streaming Radio Stations
US Streaming Radio Stations
Streaming radio stations use a variety of protocols. Some can be received using RealPlayer, others require VLC or mplayer You can record streaming radio stations with Gnome Sound Recorder wave-format (source=capture), whilst they are playing.
I haven't managed to receive all ACT/NSW streaming radio stations yet. Here an incomplete list of stations that Do work:
ACT:
1ART,
1CBR (=Mix 106.3),
1RPH,
1TAB,
1WAY,
2CA,
2CN(=ABC 666),
2CC,
2JJJ,
2PPB(=Newsradio),
2RN(=Radio National),
NSW: 2CBR, 2CFM, 2CCH (=Country 94.1 - mplayer), 2CH, 2DAY, 2GGO, 2KKO, 2MBS (with VLC and mplayer), 2MMM (with VLC), 2SNO, 2UUL (Wave FM), 2UUS (WS FM), 2WSK.
Interstate and foreign streaming radio stations can be received the same way if the link speed is sufficient - worth a try.
Sound Editors
Audacity
It allows to import .mp3, .raw and .wav files. All kinds of special effects can be achieved on the whole or selected parts of the sound file. It needs libmp3lame.so (symlinked to the actual version you have) to export in mp3 format. The export might not be in the format you want it. In this case save your file in .wav format and convert it with
gogo or
ffmpeg.
To convert the sample format AND the sampling rate, set the new format in the track name manu and the new sampling rate in the "Project Rate" box. Then save and re-load the file and "Trim" the excess silent time at the end (if you have decreased the sampling rate).
Creating Autogenics And Meditation Recordings
To put it all together:
- Have your AT or meditation text split up in reasonably small chunks.
- Record one after the other (for instance using the rawrec -h -t445 -c1 -s8000 xxx.raw command.
For every 10 seconds recorded the file will grow by 160,000 bytes. Thus a 10 minute recording will take 9,600,000 bytes = 9.16 MB).
- Import one after the other of these files into audacity using 16 Bit PCM, Little Endian and 8,000 Hz rate, and cut off the starting and ending clicks, then amplify it for a reasonable level and save as normal wave files.
- Copy the lot together in the correct sequence - either with audacity or sox (the latter has a limit of 32 input files but can easily be used in a shell-script).
- Export this file as name.mp3 if your version of audacity allows that, if not save this file as temp.wav.and convert it to mp3 format with: gogo -b 8 -v 0 -q 0 temp.wav name.mp3 (change the "b" parameter for other sampling rates!)
- It is handy to use a shell script for the last 3 steps!
- Put the mp3 file on an mp3 player (that you mount on /dev/sdc) and play it as required!
Creating Subliminal AT Recordings
Subliminal recordings contain messages with volumes below the hearing threshold. You must have a piece of music and your spoken messages on separate tracks and attenuate the message track so that it cannot be consciously heard over the music - between 20 and 36 dB attenuation, depending on the characteristics of the background track. Then save them as a single mono track. So:
- Both your recordings must have the same sampling rate (44100 for CD use). If the AT recording for instance has a sampling rate of 8000 convert it with sox:
sox -r8000 original.wav -r44100 new.wav If the music recording isn't at rate 44100, convert it too!
- Open your AT recording in Audacity. You might want to process it first, like applying equalisation thereby emphasizing the 300 to 3000 Hz passband, followed by levelling (heaviest). Export it as wave file and exit audacity.
- Create an AT recording of suitable length (a bit shorter than the music track) by copying it with sox:
sox input.wav input.wav ... output.wav then open it with audacity.
- Import Audio: Your music recording (make sure it's mono, convert beforehand if necessary).
- Select the voice track only (left click on the track info frame).
- Attenuate this track.
- Listen to the recording. Change volumes of tracks as required.
- Export as .wav or .mp3 file. There will be a message that the tracks will be mixed down to a single mono channel. This is what you want! Exit audacity.
Of course you can use such a recording as starting point for a "Deep Meditation" recording by firstly converting the track to stereo by duplicating it (Edit menu: "Select All" followed by "Duplicate") and selecting "Make Stereo Track" from the track name menu (to open the menu a double-click is required!) and then proceeding as per point 5 of the following topic:
Creating Deep Meditation Music
The theory is that the brain detects frequency differences between the left and right ear and synchronises brainwaves accordingly. Thus slight pitch differences between the left and right channels of a stereo-recording could induce deep meditation more easily.
The simplest way to create such music is to compose a melody with a midi-sequencer thereby using 2 very slightly off-pitch tracks, one of which is routed to the left and the other one to the right stereo channel (use controller event 8 with values of 0 and 127 respectively). More elaborate is the following method:
- Compose a simple low pitch melody in midi format.
- Convert that to a wave file with the command timidity -Ewpso -Ow1sSl -o outputfile.wav inputfile.mid
- Import that file into audacity.
- Amplify the sound (no clipping).
- Split stereo tracks (from the track name menu).
- Change pitch down on ONE of the tracks by 0.5 - 3% (experiment with that value).
- Export this file as name.mp3 if your version of audacity allows that, if not save the file in Microsoft 16 bit PCM WAV format.
- Convert it to mp3 format with: gogo -b 8 -m s -v 0 -q 0 temp.wav name.mp3 giving you a REAL stereo mp3.
- Alternatively convert the wav file to mp2 format with ffmpeg -i temp.wav -acodec mp2 -ac 2 -ar 44100 -y name.mp2
- You can put the mp3 file on an mp3 player and play it using headphones during meditation!
Your mp3 player may also play mp2 files if you change the suffix to mp3, depending on the software version of your player!
See also:
uazu.net/sbagen/ and
www.jetcityorange.com/meditation/binaural-beats.html on this topic!
Sound Generation
The
sox utility can be used to create sound. For instance the following script will generate (for 3 hours or until stopped by Cntrl-C) a sine wave of a frequency (up to ultrasound) set as parameter:
#!/bin/bash
dur='3:00:00'
sox -r44100 -c1 -t sl - -r44100 -c1 -t sl - synth $dur sine $1 < /dev/zero | sox -r44100 -c1 -t sl - -r44100 -t ossdsp /dev/dsp
Midi with Soundblaster Live! and Audigy
#### Note this does no longer apply to this PC since the sound-card has been removed ####
Using the built-in Midi sequencer of the Soundblaste Live! card under Linux is very well described in:
http://www.linuxfocus.org/English/September2002/article259.shtml.
In a nutshell:
In /etc/modprobe.conf use the following sound related settings:
alias sound-slot-0 emu10k1
Download the Suse Rpm: pmidi-1.6.0-1.i386.rpm and install it.
Download from the rpm DB: awesfx-0.5.1c-2mdv2010.1.i586.rpm and install it.
Do a pmidi -l giving you:
Port Client name Port name
14:0 Midi Through Midi Through Port-0
16:0 SB Live! Value [CT4670] EMU10K1 MPU-401 (UART)
17:0 Emu10k1 WaveTable Emu10k1 Port 0
17:1 Emu10k1 WaveTable Emu10k1 Port 1
17:2 Emu10k1 WaveTable Emu10k1 Port 2
17:3 Emu10k1 WaveTable Emu10k1 Port 3
128:0 Client-128 port-0
Download from http://www.alsa-project.org/~james/sound-fonts/8MBGMSFX.SF2
the file 8MBGMSFX.SF2
Edit /etc/rc.d/rc.local and add the commands:
pmidi -l >/dev/null
sfxload /8MBGMSFX.SF2
... Make sure that "pmidi" and sfxload are in /bin - NOT /usr/bin !!
... of course substitute your own directory for the 8MBGMSFX.SF2 file!
The pmidi -l command is required, otherwise the sfxload won't work!
Without the sfxload there will be no midi-output.
This concludes the installation.
To play midi files, execute pmidi -p 17:0 name_of_a_midi_file
Or create the following script plmidi in your ~/bin file:
#!/bin/bash
pmidi -p 17:0 $1
exit
Note that only ports 17:0 to 17:3 allow sound to be heard!
Bug: pmidi cannot handle lyrics events!
Before playing any midi file with lyrics, edit these out with the "event list editor" of Rosegarden.
Note: On another PC I used the same procedure for a Soundblaster Audigy card.
The only difference is that pmidi-l gives you:
Port Client name Port name
14:0 Midi Through Midi Through Port-0
16:0 SB Audigy 2 ZS [SB0353] Audigy MPU-401 (UART)
16:32 SB Audigy 2 ZS [SB0353] Audigy MPU-401 #2
17:0 Emu10k1 WaveTable Emu10k1 Port 0
17:1 Emu10k1 WaveTable Emu10k1 Port 1
17:2 Emu10k1 WaveTable Emu10k1 Port 2
17:3 Emu10k1 WaveTable Emu10k1 Port 3
Notice the difference in quality between this and timidity!
Midi Sequencers
So far I have used only
Rosegarden.
Since the loss of the SB card I have to use timidity as driver for rosegarden. This requires the following, since rosegarden always tries to use "jack", which does not work properly on this system.
- Rename /usr/bin/jackd to something else, so that rosegarden cannot use it.
- Use the following script to start rosegarden:
#!/bin/sh
killall timidity
sleep 1
timidity -iA -Os &
sleep 3
rosegarden &
- In rosegarden's "Studio" menu disable "Midi Thru Routing".
- In rosegarden's "Studio" menu submenu "Manage Midi Devices" select as output: 128:0 TiMidity port 0 (write) as output for "General Midi Device".
There are plenty of effects to be achieved with midi-files. For a definition of the MIDI file format see
http://www.sonicspot.com/guide/midifiles.html.
To see which instruments are associated with which program-change events, look at /etc/timidity/gravis/gravis/cfg
When done with rosegarden don't forget a "killall timidity:!
Analog TV Reception
Run the audio output of the TV card to the microphone-in plug of the soundcard! I have the PixelView TV Tuner card. The correct settings in /etc/modprobe.conf are:
options bttv tuner=2 card=37 gbuffers=4
I installed Xawtv-common-3.95-7-14mdv2010.1 and xawtv-3.95-14mdv2010.1.i586.rpm but later fell back on xawtv-3.95-13mdv2010.0 and xawtv-common-3.95-13mdv2010.0 since the former didn't allow space-saving video-capture.
Here is my new $HOME/.xawtv
Video Capture
General: This set-up works for my Soundblaster Live! sound card and my PixelView TV Tuner card. The aim was to get a
reasonable recording that uses little disk space!
Run
xawtv with parameter -noxv, watch TV or connect the video output of your camcorder, VCR, TV, or DVD player to the video card camera input socket and select "camera" as the input source.
Do not change picture size after starting xawtv! As the video picture is played, use hotkey "r" and select the following:
- Movie Driver: Microsoft AVI (RIFF) format
- Audio Format: 8 bit mono
- Sample Rate: 44,100
- Video Format: MJPEG (AVI)
- Frames/sec: 8.0
Start and later stop the recording with the button: Start/Stop recording. This gives you an .avi file, which takes up around 4.8 MB/minutes on disk (at screen resolution 288x208). You can play it back using vlc, mplayer or toltec.
Video Still Capture
Run
xawtv with parameter -noxv, then watch TV or connect the video output of your camcorder, VCR, TV, or DVD player to the video card camera input socket and select "camera" as the input source. As the video picture is played, use hotkey "j" or "p" to capture the xawtv window when you want a still picture.The snapshot file will be saved as snap-xxx. Edit it with
gimp. Save as a jpg file with quality 0.40 for reasonable still shots from your videos.
Of course you can also take the input from a
digital camera, that allows display on a TV, for instance my old
Mustek VDC-100. For this one you have to set the input standard to NTSC, then you can use the camera in either video camera mode or in still picture display mode. Again use "j" or "p" to capture and save the images. Still images must be captured starting at the last picture taken, then deleting it after the capture to display the second last and so on. To eliminate the graininess due to poor
resolution use gimp and "Filters", "Blur" "Gaussian Blur (RLE)" and select 1 to 5 pixels.
Video Players
I have installed:
vlc-1.1.5-2mdv2010.1,
mplayer-1.0-1.rc4.0.r32713.1mdv2010.1, and
totem-2.30.2-3mdv2010.1. All of them work OK.
VLC is my personal favourite by far. However the exception is playing captured TV on an USB stick (xxx.ts files). This works without hiccups only with
mplayer. One has to use keyboard shortcuts to navigate through the file (skip forward and backward etc.) - see
man mplayer.
Video Editing
To change the size of a video-file use ffmpeg with the -s parameter, here the new size is 640x480::
ffmpeg -i
videofilein.avi -s 640x480 -r 24
videofileout.avi
To convert an avi file to mpg format (mp4) and save up to 92% of disk space:
ffmpeg -i videofilein.avi videofileout.mpg
If you get an error like "MPEG1/2 does not support 12/1 fps" try the following:
ffmpeg -i videofilein.avi -r 24 videofileout.mpg
Other formats to convert from/to: mov. ogg and flv. The .ogg format saves even more space but the quality is low.
Some formats - like .ts from a USB disk capture from a set-top box - cannot be converted bt ffmpeg. Use instead:
mencoder inputfile.ts -oac copy -ovc copy -o
outputfile.mpeg
To rotate a video file use
mencoder with the rotate option:
Example: Rotate 90 degrees clockwise
mencoder -vf rotate=1 -ovc lavc -oac copy videofilein.avi -o videofileout.avi
To compress avi video files::
mencoder -ovc lavc -oac copy videofilein.avi -o videofileout.avi
To compress avi video files converting them to quicktime::
mencoder -ovc lavc -oac copy videofilein.avi -o videofileout.qt
To edit videos with a gui (not always as powerful as the line commands):
kino videofile.avi or some other formats - like mpeg. The file will be converted to the native format. There you can do - inter alia - some simple editing like splitting the file into scenes and cutting the unwanted ones. At the end export the whole thing and convert it to whatever type you prefer.
More on video editing:
http://www.yolinux.com/TUTORIALS/LinuxTutorialVideo.html
Creating DVDs and Video CDs
Devede has a nice help facility that explains how to do it. I installed:
- devede-3.16.9-0.1mdv2010.1
- mencoder-1.0-1.rc4.0.r32713.1mdv2010.1
- vcdimager-0.7.23-9mdv2010.1
- dvdauthor-0.6.18-1mdv2010.1
Start up devede and follow the instructions. It uses a separate directory for each DVD od VCD created. It converts the video file format to one suitable for DVDs / VCDs. This process takes a very long time even on a powerful PC! Once everything is done, devede creates EITHER a .cue and a .bin file in the directory OR an .iso file.
Use
k3b with function "burn image" and select the .iso (or in case of .cue/.bin) the .cue file. This burns the image to a blank DVD or (if it fits) to a blank CD, that can be played as a regular DVD.
Browsers
In the meantime all serious browsers have learnt the basics like Javascript and non ISO-8859-1 charactersets.
Seamonkey Is part of a whole suite of applications; it has an integrated composer. New versions come out frequently. Often however older versions are
more stable. Currently 2.11 again prints e-mails correctly.
Iceape Is a "free software only" version of Seamonkey, it's several versions behind Seamonkey.
Trick: To copy an e-mail from an .eml file to the local mail-folders, open the .eml file in IceApe and do a "Message" "Copy to" selecting the target folder. Note that this does no longer work in Seamonkey - the corresponding menu-items are greyed out!
Firefox seems very similar to Seamonkey. It is more stable, but just a stand-alone browser.
Icecat Is a "free software only" version of Firefox, it's several versions behind Firefox.
Opera Has a slightly different look and feel. It has also a mail-client.
Plug-Ins
To play audio-, video-, and many other more exotic files on web pages, browsers must be provided with plug-in modules. Lately this process has been very much obscured with little clear information which browser searches which places in what sequence for plug-in information, resulting in some unpleasant surprises.
Mozplugger
Is similar to the old plugger, I installed mozplugger-1.13.3-1mdv2010.1 that handles the <object> tag.
The standard /etc/mozpluggerrc does not work properly, particularly when it comes to midi and mp2 files.
Here is the one I use now.
Shockwave Flash
To play Flash-Player files you have to have the Shockwave Flash player. It can be downloaded from the web. I use: flash-plugin-10.3.183.7-release.i386.rpm
RealAudio
To play RealAudio files and streams you have to have the RealAudio player. It can be downloaded from the web. I use: RealPlayer-11.0.2.2315-20101117.
Java
Information about that is particularly obscure - use a search engine. See
Bugs and idiosyncrasies I came across.
HTML Editors
Bluefish is fairly simple but allows you to create good quality html.
Others require less knowledge of html internals, thus have a user interface more like a word-processor, but the quality of the generated html leaves a lot to be desired, particularly when you insert preformatted text! But if you are in a hurry:
Seamonkey is similar to the old Mozilla Composer; quite usable.
AbiWord has a quite rudimentary web-page creation facility. It can't edit the pages it created.
LibreOffice is a bit better than AbiWord.
Mail Clients
Seamonkey Mail is the one I use - a real "workhorse".
Opera has a mail client too - in a different format.
Video Conferencing
ekiga was installed with 2007.0. It is easy to get an account at ekiga. As webcam one can use xawtv in position "camera" with any VCR or even a Mustek VDC-100 attached. Also my webcam Pixart Imaging Inc. Easy Snap Snake Eye works just fine with the following module parameters in /etc/modprobe.conf:
options gspca autoexpo=0 usbgrabber=0 compress=0
skype I have tested a few times, it is similar to ekiga.
Echolink
This is for licensed Radio-Amateurs only: Install
echolinux-0.17a-4.fc11.i586.rpm
Run
echogui. It needs needs 2 control files:
~/.echolinux/userdata.txt in the following format:
Callsign (in uppercase)
Name
QTH
Echolink-password
~/.echolinux/info.txt in the following format:
Callsign (in uppercase)
Name
QTH
... any comments ...
FTP Programs
There is of course the good old line command
cmdftp -useful for quickly uploading one or two files. It also teaches you the syntax of ftp.
lftp is a bit more sophisticated. For bulk up- and downloads use
gFTP - it is very fast and reliable.
BASIC Programming Language
Download the FreeBasic compiler from
www.freebasic.net/index.php/download.
I installed the 0.18.5 version from the tar.gz archive.
There are some syntax differences between it and the old QBASIC and Turbo Basic, but the compiler is quite good! Most old QBASIC programs can be compiled using:
fbc -lang qb sourcefile.bas
DOS Programs
These can be run using "Dosbox", that gives you a DOS window. Download it from
http://dosbox.sourceforge.net/download.php?main=1. Dosbox requires you to "mount" the directories of the programs it runs - see its README file. Download:
libSDL_net1.2-1.2.5-4mdk.i586.rpm followed by:
dosbox-0.63-1_fc3.i386.rpm
I used it to run some QBASIC applications that I haven't yet converted to FreeBasic format.
Using German Language Characters:
Specify in /etc/X11/xorg.conf
Option "XkbLayout" "de"
Then use a font, that contains the German special characters.
This redefines your keyboard, with the German umlaut characters appearing as follows:
Ö is on the semicolon-colon key.
Ä is on the quote-doublequote key.
Ü is on the [ - { key.
ß is on the - key, shift- - gives you the question-mark.
@ is Modeshift - q ... Modeshift being the right Alt-key.
Also: Z and Y are interchanged.
Several other special characters are on different locations - check your keyboard!
To get back to the old keyboard, change the /etc/X11/xorg.conf file to what it was before, and restart X.
Bugs and idiosyncrasies I came across
- flash-plugin-10.1.102.65 does NOT work.
Remedy: Replace it with flash-plugin-10.3.183.7-release.i386.rpm
- Seamonkey 2.7.1 to 2.10.1 do not print .jpg colour pictures when xorg colour-depth is 16, preferring to print a black blob instead (check yourself: Print my home page to a .pdf file!)
Remedy: This bug is fixed in version 2.11.
- Seamonkey 2.11 loses an e-mail which you moved by drag-and-drop to "Junk" and then moved back by drag-and-drop to the Inbox again
Circumvention: Once you have moved the mail to "Junk" you can get it back to the Inbox by using the "Message" and then the "Move To" menus.
- Seamonkey 2.6.1 to 2.11 does not allow Java to work with the jre-1.7.0_05-fcs plugin (Firefox 14 DOES work with it).
Remedy: remove the symlink setting in /etc/alternatives libjavapluginold.so -> /usr/java/jre1.7.0_05/lib/i386/libnpjp2.so and replace it with libjavaplugin.so -> /usr/lib/IcedTeaPlugin.so
- Nedit V 5.5 does not honour the preference you specify in "wrap".
Remedy: De-install V.5.5 and install nedit-5.1.1-1.glibc.i386.rpm
- xlsclients ignores some windows (for example "nedit" ones).
- xpaint 2.8.19 is very buggy often saving an empty image.
Remedy: Replace with: xpaint-2.8.2-2mdv2010.0
Useful Links
rpm database THE source for rpms - loads quickly and has a built-in search-engine!
Mandriva only rpm database Careful, this is HUGE!
Mandriva Site
Mandriva Wiki
Mageia Site
Mageia Wiki
Linux Distros
How to make a Mageia flash-drive
Knoppix
Blag
Damn Small Linux
Debian
OpenSuSe
Red Hat
Linux Home Networking
Kernel repository www.kernel.org
Freshmeat Linux Applications
LINUX Magazine - Hints, Tips etc
LINUX USB Information
Fluxbox Window Manager
Openbox Window Manager
IceWm Window Manager
Jwm Window Manager
OpenMotif Mwm Window Manager
Idesk Desktop
KDE
Gnome
Seamonkey
Firefox/Thunderbird
Icecat - GNU version of Firefox - and other free software
Opera
Nedit
Xfm Page
WINE
Timidity
Media Player
O'Reilly LINUX Devcenter
Printers suitable
LINUX Howto
LINUX Video Tutorial
The Linux Bootdisk HOWTO
Applications - plenty!
Abi Wordprocessor
LibreOffice
Shockwave Flash Player
How To Use MIDI Sequencers With Softsynths
LINUX Multimedia Tutorial
DeVeDe Software
Dosbox
SPF-PC clone
Streaming Radio Stations in the ACT
Dto NSW
Linux Courses Online
Free Linux E-Books
Bash Shell Programming in Linux
Advanced Bash-Scripting Guide
Menu driven scripts - NCURSES
My HTML Crash Course
If you want to give me some tips on any of the subjects mentioned here, please send some E-mail to:
Exchanging information freely is what LINUX is about!