Linux NetMag
Titel: Migration to Linux
URL: http://www.linuxnetmag.com/en/issue9/m9migration1.html
Published at: 31.03.05
Author: Walter Cedric


I switched to Linux after using Windows for ten years. The reasons for my move to linux are described in this article SUSE 9.0 -- a desktop review

I decided to try a completely free and open source Operating System to do my everyday tasks....This small review has been done during evenings while watching TV or chatting on MSN. I have been taking notes on my notebook while playing with SUSE. I hope that this may convince you to give SUSE or Linux in general a try.

Test system

Your Linux experience will vary depending on the hardware you use (and the availability of drivers for that hardware). This is my test system.

Mainboard Nvidia Nforce 2 ASUS A7VN8X deluxe
2 integrated ethernet card
6 USB - 2 Firewire
On Board soundcard
Harddisk IBM 120Go UDMA 133 (primary master)
Harddisk IBM 80Go UDMA 133 (primary slave)
CDR/RW 16x IDE noname
Geforce FX 5600 256Mb MyVivo
Athlon XP 1700
overclocked at 3200 with watercooling
512Mb DDR Dual Channel mode PC3200 (new)
SUSE Linux 9.0 and the KDE 3.1.4 desktop

Evening 1

All these Screenshot have been created with KSnapshot. Finding this application was quite easy (although it may be buried in the menu under a lot of other entries). You can locate it under Utilities -> Desktop -> KSnapshot. I must admit that even with the huge number of shipped applications, SUSE has done a good sorting job in this menu. Of course you must know what you want to acomplish before choosing the program to do it with.

I browsed the documentation of KSnapshot but did not find any shortcuts/hotkeys to trigger the screenshot....Naively, I 've tried the magic windows key combination, ALT-PRTSC or PRTSC, but it does not work....so I decided to search on google.
"ksnapshot shortcut" give me the answer, CTRL-SHIFT-S which is documented in the "KDE-cvs-digest" as a "backdoor".
I see here the potential for some more documentation :-)

Setting the resolution of screen

To change the resolution of the screen I used YAST. Using YAST requires you to switch to root mode. I was quite impressed by the list of available monitor drivers (I have a SyncMaster Samsung 191N) but was sad to see that mine was not on the list (the 181 version was though...). I decide to browse through the list of available brands, searching for a generic driver like in windows advance control panel. Bingo there is a "->LCD" monitor section! Restart the desktop engine (X server) by logging out and that's done. It seems that there is always a solution to problems with Linux, all you have to do is to search a little bit. This is good because _you can only become a better user_...

Since I have installed SUSE in a multi boot system, in Kexplorer (both a browser and a file manager and... see section below) not all windows drives are visible in the /mount directory like on any other linux system but grouped in a /windows/ This disturbed me for about 10 seconds but was no real problem in the end.

As default you can not write on NTFS drive (Note kernel 2.6 should support full read/write operation on NTFS), so I decide to activate this feature since SUSE 9.0 supports it (SUSE brings some new features from kernel 2.6 back to 2.4.21 like 64-bit support, journaling file system, improved security, low latency scheduling, power management for notebooks and improvments in the sound-system architecture. Trying to be a good user, I started the SUSE helpCenter and searched for an article concerning NTFS..

I found the only recommendation for resizing or formatting the system should occur during installation. One solution among others is to move all data from NTFS drive (full NTFS read support) to a Linux partition then format the NTFS partition to FAT32... This can be done with Konqueror, the file manager. Even so, I prefer to have a clone of Norton Commander.

Java support

Konqueror, the default internet browser, fully supports Java, but it was not the case of the third party browser Opera. Or to be more precisely, Opera did not correctly locate the default JRE (Java Runtime Environment), so I needed to install the latest Java VM manually. Checking Konqueror settings shows that java is installed in /usr/lib/java2/bin/java.

Go to www.java.com and download the self installer (2 links are provided a .bin and a .rpm. Both files are self extracting, a little bit confusing...), I choose the .bin file and that forceed me to set the attribute of the file to "executable" (right click on file then properties) to uncompress the .bin


In linux (or indeed unix) systems, a file can only be executed, if it has its X flag set to 1.
User is the currently logged in user.
Group is a set of users, Others are ...others!

If you get a file with an extension .rpm, there are many alternatives, choose one of the 3 below you prefer.

1. Open a Terminal, log a root (type # su ) then type

  >> rpm -iv filename
  
2. You can use Konqueror and right click open with... Kpackage, a small utility, then enter root password.

3. You can use Konqueror and click directly on the rmp and YaST will start up.

Anyway, I choose one and continued my tour... In opera I changed Preferences -> Multimedia -> Java Path to /usr/lib/SunJava2-1.4.2/jre/lib/i386 and then finally java appeared on my homepage. Done!

Online Updates

are done through ....YaST of course,(YaST I'm still getting used to that name).
Choose Software -> online update to get the latest recommended patches and security fixes from one of the available SUSE servers. 15 servers are available: 13 are located in Europe and 1 in USA. The last server is a free choice, you can also define your own server. I choose 3 different servers (primary in Germany) and all were working.

Another way to be always informed about the status of possible update is to look at the SuseWatcher icon in the system tray, identical to the windows update icon. The icon color will change if an update is available on the server.

Internet browsing

I like Opera so much that I have acquired a licence (previously for Windows and now for Linux), I have also chosen Opera under Linux and I do not regret it, even if it is not open source.

Instant messaging

Under Internet -> Chat you can find a lot of tools installed as default like:

With Kopete, I was able to define ICQ, MSN, Jabber in less than 5 minutes without knowing the application at all! Really impressive ("If you can do it in windows, you can do it in Suse is now my new motto!"), I am still trying to customize the GUI (like in my windows IM www.miranda-im.org) because I find that Kopete takes up too much desktop space.

A set of interesting plugins is provided as default: encryption, emoticons, history of messages, web presence (upload your IM status to a homepage or a server)...A lot of features, but Webcam and Whiteboard capabilities are still missing. For sure there will be a plugin soon or at least a GNU tool for this somewhere in SUSE

For me, Instant Messaging is ok and I can live with Kopete.

mp3 and audio content

Using Konqueror, I tried to locate my favorites mp3 directory in order to launch some mp3s, XMMS starts as default. I've heard that this player is quite good, the default skins is based on SUSE colors, mainly green with a chameleon (see pic), This skin is acceptable for a user but not for someone who has already use Winamp's MMd3 or EMP skin (but this is a personal preference). I loaded google to see if there is something else to download.
The official homepage is http://www.xmms.org/skins.php but skins section is down (after a disk crash but it will reopen). Winamp skins seems to be incompatible with XMMS and there is no converter available

Viewing files using Konqueror

Konqueror is the default file manager and web browser. It is a central application in the KDE desktop. It has a lot of functionnalities (some people may say too much), and its own control panel.
Viewing pictures with it is "slow" (dir has 26 pictures, mean size is 80kb) and it took several seconds (I am not comparing to Windows thumbnails feature, but with ACDsee). Entering twice in the directory does not create additional performance loss, since images are cached (default cache size is set to 1Mb) Windows, ACDsee and others tools use the same tricks.

Hovering over pictures and files create a autozoom...this is a nice feature (working with txt file, configuraton, pdf) and is fast, during the build of a directory, the auto zooming display some strange result (especially if you have different file type like pdf, txt, jpg all together in one directory), but it is working and has not crashed during the past 10 days (some people might say I'm just lucky)

Contextual menu Hovering over images
Hovering over file Konqueror settings, hierachical panel due
to huge number of options.

My first compilation of a package

Source code tarball installation must be done under root user:
Since it is a tar, You can unpack archive with 'tar zxvf filename' or 'gunzip -c filename | tar xvf -'
or use Konqueror and arrrrrrrrrrrrr
Go to xnc-5.x.x directory
Run './configure'. For configure options see output of './configure --help'
Run 'make'
Run 'make install' under root. This operation will install the files to Your computer.
You need to run 'xncsetup' for each user who wants to run xnc.
Configure Your environment with xncsetup and press 'Save' button.

PS: If you have troubles compiling XNC try run
'./configure --disable-shared' and then make again.


Midnight Commander is a clone of Norton Commander running in a terminal (just type mc)

USB support (Key)

I tried to mount a USB Key brand Apacer AP-MKSRU10 (impossible to find a picture on internet) which uses a Sony Memory Stick http://www.memorystick.com/ , and after a beep, the drive was recognized and in use. An icons was created on the desktop. The beep is immediate but it take sometimes several seconds till the removable drive is available. No problems, transfer rates seem to be exactly the same as under Windows 2000.


Usb key support, only the mounting name is strange

Evening 2

Security, password policy, settings and firewall

Security settings is a part of YaST Password is limited to 8 character in DES mode.

Firewall settings are not complete. 4 Steps is clearly not enough

Even if the first part of the setting is done with an assistant, I think that SuSE need to enhance the configuration of it's firewall. I do not want to dedicate a machine for running my firewall even if it is does not give the same security. My router is a Netgear 614 without firewall, but my other PC uses a Netgear 634g which has one...

YaST the configuration utility, but what can YaST do for You?

A lot of things, see below the table. Clicking on a subsection always start an assistant that drive the user and give him succinct but understantable explanations.

Software
  • Change Source of Installation
  • Install and Remove Software
  • Online Update
  • Patch CD Update
  • System Update
Hardware
  • CD-ROM drives
  • Disk Controller
  • Graphics cards and monitor
  • Hardware information
  • IDE DMA Mode
  • Joystick
  • Printer
  • Scanner
  • Select Mouse Model
  • Sound
  • TV Card
Network Devices
  • DSL
  • Fax
  • ISDN
  • Modem
  • Networl card
  • Phone Answering machine
Network Devices
  • DHCP server
  • DNS server
  • DNS and Host Name
  • HTTP Server
  • Host Names
  • Kerberos Client
  • LDAP client
  • Mail Transfer Agent
  • NFS Client and Server
  • NTP Client
  • Network Services
  • Proxy
  • Routing
  • Samba Client and Server
  • TFTP Server
Security and Users
  • Edit and create groups
  • Edit and Create Users
  • Firewall
  • Security Settings
System
  • Boot Loader
  • Choose Language
  • Create a boot rescue disk
  • Editor for /etc/ sysconfig files
  • LVM
  • Partioner
  • Powertweak Config.
  • Profile manager
  • Restore System
  • Runlevel Editor
  • Select Keyboard layout
  • Select Time Zone
  • System Backup
Misc.
  • Load Vendor Driver CD
  • Post a support Query
  • View Statup log
  • View System Log

Screensavers

Don't laugh! A good screensaver is part of a personal computer even if it no more needed (TFT screens are good enough to not be damaged by a fixed picture)

What I dislike is that it is not possible to define a list of prefered screensavers. In the End, ANY User will be satisfied with the number and diversity of screensavers provided.

Emule

Who is using emule under windows? hum? not You? so jump to the next section.

CD Burning

CD Burning tools can be found under Multimedia - CD/DVD Burning. Two software solutions are installed as default: K3b and cdbakeoven.
The about K3b displays the release number 0.10! This disturbs me, is it stable when you ship anything with 0.10?

1. Starting K3b
2. use the assistant, here I select Create a Data CD
3. Use the file explorer to locate file you want to burn
  • Windows drive (NTFS - FAT32) are located in /windows/
  • You can give a name to your compilation, right click rename on the root..
  • The space left and used space on CD is displayed like in any burning software.
  • The GUI is very similar to EasyCD creator
4. click burn and choose burning options
  • Speed (I have a 16X) but only 14X is available
  • Writing mode: DAO, TAO, RAW
  • Type of session
  • Volume CD-Test
  • and filesystems and misc options.
I do not see any options missing, except an assistant for some protection schemes....(Securoom, Safedisk)
Burning took 4:30 minutes for 594MB and mean speed was 12X
If you want to create an audio CD
  • You can not directly use mp3 files but need to convert them back to wav (with mpg123 for example).
  • You can also right click on a file and play it.
In the menu tools:
  • CD-RW are supported (with Erase support of course)
  • Copy CD or Clone CD
  • Burn image ISO, BIN and CUE: CCD are missing.
  • Copy DVD, format DVD-RW, Burn ISO image...
Control panel
  • It support plugins, only 3 are installed: mainly Audio Decoder and Audio Encoder and external programs to work properly. Highly extensible design is always good.
  • The control panel follow the same clarity guidelines as the whole KDE, which are good..

DVD, multimedia, Divx, Xvid

DVD
For some obscure reasons (judical) It is not possible to play encrypted DVD on linux, if you search on http://www.google.com you will find a lot of tutorials and the librairies. Here is an extract of the manual:
"For the playback of encrypted DVD movies you need a CSS decoder and the codecs (video format files) for ac3 (Dolby Digital) and mpeg2, which we cannot enclose with SUSE LINUX for legal reasons."

Library to access encrypted DVDs also a CSS decoder can be found if You use the search engine at
rpm.pbone.net or http://rpmseek.com.

Divx, XVID
Kaffeine is a GUI for Xine library (the video engine), for the same reasons, divx drivers are not shipped with SuSe (in windows it is the same...)

Use the site rpm.pbone.net to locate the XVID drivers or use the site of packman ftp://ftp.links2linux.de/ and more precisely ftp://ftp.links2linux.de/pub/packman/suse/9.0/i586/.
I choose the XVID 0.9.2

In order to read and write compressed AVI files (indeo and divx), Linux can reuse the Win32 library of Windows Media Player 9 (wmv9dmod.dll wmvdmod.dll wma9dmod.dll wmadmod.dll wmspdmod.dll), You can find them at http://avifile.sourceforge.net/ in the file "wm9 DMO dlls", just copy them to /usr/lib/win32/ and Kaffeine will find them (Operation done as root user and do not forget to give read and execute rights on file chmod 655 *.dll). If you want a more complete package, packman has all dlls required (9.2mb) at http://packman.links2linux.de.

I encountered a lot of difficulties, and 70% of my videos were not working, I decide to install the latest xine librairies (1.1rc3) and the latest kaffeine (0.4.1) AND NOW EVERYTHING IS WORKING great, I hope that suse will provide it with an update as soon as possible...

CD audio
Put the CD in the drive and it begin to play automatically.

Windows network connectivity

It seems that connecting SuSE to another remote windows desktop is not as easy as in the windows world...I found the icon "Local Network" but nothing was found. There is interesting documentation in the help center "Linux in the network" speaking about Samba (a layer on top of TCPIP) which helps to connect heterogenous computers (MAC, Windows, Linux, others which have this layer). Microsoft implemented this layer after pressure from IBM....:-)
What I want are the following two functions

1. How Linux can access to a Windows machine on the network/shares/printer/internet?

A lot of FAQ and Howto can be found with google, use the keywords: "linux windows smb howto"

If these steps are working, you can add definitively in /etc/samba/smb.conf the remote windows share, either with the YaST gui or with a text editor.

2. How Windows can access to Linux machine on the network/shares/printer/internet?

In Yast go to "Network Services" then "Samba Server" and enter the name of your windows workgroup

On the second page, click advanced and define all share directory Windows shall see only regret, you can not set rights (read only, read write) as if you open directly the file /etc/samba/smb.conf

  [myMP3]
  comment = My collection of MP3
  browseable = yes
  guest ok = yes
  printable = no 	 
  

Remarks

XMMS was not able to remotely open an mp3 using a samba share, but copying the same mp3 locally works...strange.

Links

http://www.art-events.de/systeme/texte/000621samba.htm A tutorial in German
http://www.bnro.de/~schmidjo/index.html LinNeighborhood is a tool to display the network neighbourhood like in windows explorer.

publishing, deploying web content

http://www.suse.de/en/private/support/online_help/howto/webeditor/ A very good review.

http://bluefish.openoffice.nl/ Bluefish
http://quanta.sourceforge.net/
http://www.screem.org/ Screem
www.mozilla.org The Mozilla Composer

A friendly task manager

Since I was a windows user, I've been looking for a graphical program to allow process monitoring and manipulation. For chance, there is a default "task manager" coming from the base installation of KDE, it is located in System -> Monitor -> Kde System Guard

 

A powerful calculator: HP48-HP49

I still have 3 HP calculators and was a developer on ASM-RPL.SYSRPL (from 1993 to 2000), I use EMU48 each day under windows, see Here

My webcam, a Philips PCV680K vesta pro

Plug and wait, after some minutes (I was playing with the mount command, maybe it can shorten the process if you log as root (type su) and try to force mount of all devices mount -a)

Conclusions

Good: Bad: Why is Linux not at the same level as Windows? My point of view is that people on the others side do their best to avoid porting of drivers and application from 3rd party company (and may be using economic threats to achieve this aim).

Personal notes

Thanks for reading... more to come in the future
This page is a part of www.waltercedric.com homepage
comments welcome