OpenSUSE 12.2 Building the Perfect Desktop SolutionDavor GuttierrezSystem Integrations Specialistdguttierrez@me.com
What we want?● Replacement for Windows desktop● All software that people need to do the things they do on their Windows desktop● Secure system● System that works on old hardware● All with Open Source and Free Software
Why we choose OpenSuSE Linux?● A lot of software in OpenSource repositories● Very good management● Very good support
Which software we need?● The Gimp, F-Spot, Picasa● Opera, Chrome, Flash plugin, FileZila, Evolution, Skype, Xchat, Empathy, Google Earth● OpenOffice or LibreOffice, Acrobat Reader● Mplayer, XMMS, Helix Player, Win32 Codecs● Bluefish, Quanta● VirtualBox● NTFS 3G, Java, TT Fonts● Novell® Client and Groupwise® Client
After installation task● Set Hostname● Set Network – on Desktop use Network Manager● Firewall must be enabled● Enable VNC Remote Administration (not Win like)● Read Release Notes● Make hardware configuration for printer, TV card, sound system, ...
Make online update● Dont use graphical frontend … its slow● Use CLI like real man … „zypper up“● Its about 700 MB of download RPMs● Reboot your system after upgrade
Try Software from Community repos● Use OpenSuSE Build Service
Optimization and performance tuning● Disk subsystem tuning /proc/sys/vm/dirty_background_ratio The value “10” defines at what percentage of main memory the pdflush daemon should write data out to the disk - a larger value will cause less frequent flushes sysctl -w vm.dirty_background_ratio=25
Shoot The Beagle● SUSE® Linux Enterprise Desktop and openSUSE come with an application called "beagle", kind of a search engine, that tries to index your whole system (emails, IM, visited websites,... ).● While in theory this sounds like a good idea, itll be also a considerable performance hog.● To get rid of it, simply remove the package "beagle".● Note: You cannot (easily) deinstall the "libbeagle" shared libs.
Unneded Deamons / Services● DHCP - if your network topology is simple and set, you just might want to switch to static IP address settings● Auditd - nice thing to have, if you are interested in watching what your programs do. If you dont, disable it.● AppArmor - nice thing to have, if you dont trust yourself (or use untrusted third party software). AppArmor has its own menuitem in YaST controlcenter, where it can be disabled.● CUPS - if all your print jobs go to a remote printer, you do not need to run a local cups demon. In this case, you might also want to prevent loading of parallelport modules, which can be done by moving the according file in /etc/sysconfig/hardware away.● mdsnd - Got a Mac? No? Ok!● Once a day, CRON runs updatedb. One could consider this as an earlier version of beagle and expendable as well. if you do not use locate(1), than you can probably also live without this service. Disable it in /etc/sysconfig/locate.● YaST has been offering Software RAID as a partitioning option for some time now. Unless you explicitly choose to enable it, it is not used by default. However, upon bootup the according modules are loaded into the kernel. Easiest way to stop this, is to deinstall the "mdadm" package.● By default, SUSE® starts six getties (linux textconsole). As X is nowadays standard, you can probably live with less. Disable as many as you like in /etc/inittab (but keep at least one).● Do you need gpg-agent and ssh-agent? They can both be disabled in /etc/X11/xdm/sys.xsession● Do you need ipv6 networking? You can disable it by writing the following two lines to /etc/modprobe.conf.local: alias net-pf-10 off alias ipv6 off
Files system tuning / recompile kernel● Disable accesstime logging● Use noatime option in /etc/fstab● Partitions /home and /tmp should live on partitions of their own● Recompile kernel – its easy
The Obvious Stuff● Try to use "simple" wallpapers. Photorealistic, high resolution wallpapers will eat several MB of RAM. Especially of transparancy effects for the panel are activated.● Try to keep the number of applets low. Throw out, whats not used.● Disable animations (using gconf-editor) in the panel.● Use lightweight themes. Small can also be beautiful.● Disable preview in nautilus
And now were using Linux Desktop● Need Internet Explorer?● Now we have fast and secure desktop● We can use virtualization with VirtualBox or with XEN● We can also implement Windows 7 Theme (but why?)● …● …● ...