Home Home > Miscellaneous
Sign up | Login

Deprecation notice: openSUSE Lizards user blog platform is deprecated, and will remain read only for the time being. Learn more...

Archive for the ‘Miscellaneous’ Category

10 Things …

October 17th, 2008 by

Some people asked me to compile a 10 bullet list what every user should know if new to openSUSE. It’s not intended to be useful for the hardcore user, it’s for beginners. It’s not only openSUSE 11.0 focused, most of the stuff can be also used with older versions. This is my list, totally biased and based of what i found are the most asked questions on events.

1. Make Installation Easy!
Don’t be too smart. I really like that the second part of the installation is now optional. Many users had trouble because they tried to configure the system in the second stage (after the reboot), my recommendation was always: skip it, just press next, you can configure everything later in the running system.

So skip it, leave the default on “automatic configuration”. You can argue about the “same root password as user” thing — but for a single user system it’s in my opinion perfectly OK. If you don’t like it, select a separate root password at the user configuration screen.

2. Be root, but not always
Sometimes you need to do things as root user. Some people don’t want to enter the password everytime
so the they login as user root. Don’t do that. This could be a security problem and you are much more likely to screw things up. You have options to start even graphical programs as root when running the X Server as user. If you open a terminal like konsole or xterm, you can change the user with
su - Pre openSUSE 10.3 have to use sux – otherwise graphical programs will not work. Without any further option it will switch to the root user and you can do everything without having everything as root running. You can also use su – to start programs as other users, su – username. This helps sometimes if you are not sure if your configuration is screwed. I always have a second use on my system with the default configuration.

You can also use sudo to make this easier, look at the wiki page. And don’t forget: with great power comes great responsibility (qoute from sudo and spiderman 🙂 )

3. Install packages much faster with zypper
YaST Package management is very good, but sometimes you don’t need to use the graphical interface, because you know what you want. It’s as simple as opening a terminal (as user root) and run:
zypper in kdirstat That command will install the kdirstat package with all dependencies.
zypper se gcc The se option searches all enabled repositories and the rpm database on the system for gcc. A new option is “dup”, for a distribution update. More information can be found, as usual, using man zypper,zypper –help or at the wiki page.

4. Beagle
Beagle has its up- and downsides. With Beagle you can search all your documents with amazing speed, at the cost that it’s slowing down the system sometimes as its indexing your files. It is in theory nice, but sometimes it’s slowing down the system to much when you don’t want it.

To be honest, Beagle’s performance is much better since 10.3 iirc, so it’s not halting the system completely anymore. :-). I do always a default installation on my systems, with Beagle. I thought it might be handy to search through my email and stuff. But I realized that I never used it. I can find my stuff also without it, maybe I will rethink about it when my brain is getting worse …. :-). If you want to deinstall it, just use this commnad as root:
zypper rm beagle This will deinstall Beagle and all dependencies. One major painpoint I have is that Beagle is especially annoying on a laptop, because of the slow 2,5″ hard drives. On a desktop system you will probably not recognize it running.

5. simple-cssm
You want an awesome desktop with state of the art 3D effects? You want Compiz.
In former versions you have to call a couple of commands, restart the
X-Server to get it. Not very userfriendly. Now it’s so simple, just use:
simple-ccsm to enable it. Some flashing of the screen, and it’s on! You can also configure the most used options for Compiz right in this nice program. Of course you need a graphic card with enabled 3D acceleration. If you want more options, you can use ccsm. More information about it: compiz fusion.

6. Using Gestures
Not really something new in openSUSE 11.0, but a feature I really love. It started, as far as I know, with opera and only because of that it was my favorite browser for a long time. So what is a gesture? You are on a Web page and want to go back, what are you doing? Here are the usual options:

* alt cursor left
* right click, select back
* click on the left arrow in the browser

or just hold the right button and move to left. Simple. Close a page is right button, down, right (like an L). Gestures work in Firefox with a plugin, Opera, and the whole KDE desktop. Right, the whole desktop! And you can even configure it for every application differently. Some examples I use:

right click, down, left – closes tab (konqueror or Firefox)
right click, down, right – closes window
right click, up – scroll to beginning
right click, down – scroll to end
right click, down, right, up – show source code of a webpage
right click, down, up – reload

The gesture setting in KDE 3.x are a little bit hidden, Regional/Input actions. And they also work now in KDE4, one more reason to switch.

7. Need Software?
The openSUSE build service (obs) have a lot of software which is not included in the distribution, or some newer versions of it. You want to have the latest KDE? You will find it in the obs. Just go to software.opensuse.org/search and enter what you want. Becaus of the nice 1-Click installation feature you can install it right away from the browser.

So if you need additional packages you should always go to the obs first, there is a lot of stuff, build for openSUSE, for your version, for your architecture. No dependency hell, no mismatching libraries.

8. Webcam Support
Most new Laptops have a webcam integrated and there are even users who want to use them. :-). The good news is that the support for webcams is much better with openSUSE 11.0 and chances are quite high that your cam is supported.

Unfortunately, the right drivers are maybe not installed by default, so you probably have to install them manually. Many cams are supported by 2 drivers, uvc, which is a new standard for webcams, or the gspca driver which supports
a lot of cams. Just search for the drivers in the YaST software module and install both. Connect the cam after the installation of the drivers so hotplug can load the needed modules.

While you are in YaST you should also install a program to view the pictures: my favorite is Cheese. If you use KDE you can also use also kopete for a quick test. If your cam is still not running: we are working in the build service on a eebcam driver project, there you can find additional drivers and newer versions. You will find them at:

http://download.opensuse.org/repositories/drivers:/webcam/

The tricky thing might be to find out which driver you need. As i said before, gspca and uvc cover most of the cams, if yours is still not working, here is a short workflow:

Open a terminal, enter lsusb. This shows all devices which are connected via usb. Yes, even the webcam is build in, it’s very likely that it is connected to the usb bus. Search for something like “cam”, “web” or “video”, it should be not that hard to figure out which device the webcam is. You will see in the output of lsusb after ID something like this: 174f:a311, the vendor and device id. Head over to Linux USB and enter the second part of the hex number, so in this case a311. Sometime you will find more than one entry for the id, but it’s quite easy to figure out which is the right one. Select the right one and click on show. The second line shows the used Driver, if there is one, like stk11xx. You can now use zypper or YaST to search for it, maybe it’s already included. If not, you have the option to use the software search, or go directly to the buildservice project. After the installation you have to replug the webcam.

If you search for a very easy way to broadcast yourself, try out yahoo’s live service.

9. KDE4.1 … or better!
The version of KDE4 we have in openSUSE 11.0 is quite OK, and was at the release for sure the best, but you deserve better. It’s a awesome difference if you install the latest packages from the build service. You have more options, it’s more stable and you have icons back on the desktop :-). If you are like me not really convinced that KDE4 is the way to go, check it out … the difference is really awesome. Just head over to http://en.opensuse.org/KDE4 and use the 1-Click install option.

10. Enable external software repos
Because of some laws we can’t put some stuff such as codecs for video on the images or our repositories. But thanks to the community, you can easily install these missing packages with the 1-Click install feature. Just head over to opensuse-community and select your distribution and used desktop to get the full multimedia package.

11. There is only one option to do xyz
Wrong, there are nearly always several options. For example you can configure your system with YaST or with an editor manually. You have to decide what’s better for you. If you talk with an openSUSE newbie keep in mind that YaST is most of the times easier, even it’s sometimes more hard to explain. And if you did something yourself don’t be afraid that it is wrong just because you found another howto which described it different. Of course it makes sense to read the documentation, especially if you are doing security related things.

12. This list is not 10 bullets long!
Right, and if you have a recommendation you give always to users: feel free to add it as a comment.

Remastering openSUSE : How to Build your Own openSUSE Based Distro

October 16th, 2008 by

kiwi imaging system

I’m writing an article series about : “Remastering openSUSE : How to Build your own openSUSE Based Distro” as part of my presentation at Indonesian openSUSE Community monthly meeting [0] last week. The article based on my experience while making openSUSE 11.0 KDE 3.5+Multimedia Support LiveDVD (beware with it’s restricted media if you want to rebuild this. I make it as part of my presentation tutorial).

I’ve posted 2 article for now, “Kiwi as imaging system and how to install it on openSUSE”[1] and “How to build openSUSE Minimal System LiveCD” [2] and currently writing the third article “How to make openSUSE 11.0 KDE 3.5 LiveCD”

[0] : http://vavai.net/2008/10/09/indonesian-opensuse-community-monthly-meeting-10/
[1] : http://vavai.net/2008/10/15/remastering-opensuse-how-to-build-your-own-opensuse-based-distro/
[2] : http://vavai.net/2008/10/15/how-to-build-opensuse-minimal-system-livecd/

It was not a completed tutorial but I hope it could helped you for making openSUSE with your own specification. Sorry for any inconvenience.

Note : The term “Remastering” would not correct either, because I simply described how to make openSUSE with our specified configuration and application without change any openSUSE branding, splash screen or another openSUSE trademark.

Zimbra Mail Server : How to Make an Archive for Every Incoming & Outgoing Mail

October 11th, 2008 by

zimbra-logoI’m running Zimbra Mail Server on openSUSE since last 2 years. I’m quite satisfied with the great features on Zimbra but I lost one nice feature as included on my old MDaemon Mail Server while still using Windows on 2003-2005. It was an Archival Feature.

One of the important features that are needed on a mail server is archiving, the backup copy of all incoming and outgoing mail.

Although we can do the backup process periodically for every account, archiving more better and efficient because we have all of copy email which 100% similar with the original.

I’m writing a simple tutorial and it’s impact in my personal blog. Click here to go to the article.

Geeko’s Scary Movie!

October 7th, 2008 by

Poor Geeko can’t stand in front of such terrible picture and seeks shelter under Tux’s right wing.

Click on “More…” to see the picture…

(more…)

How many Lizards does it takes…

September 26th, 2008 by

… to change a flat tire?

The answer: 3

(more…)

openSUSE 11.1 Beta 1 Installer Screenshots

September 22nd, 2008 by

No spectacular changes, but I wanted to show off a couple of screens.  The only real changes I notice so far is maybe the setup options layout and definitely the partitioner layout.  And a side note on the artifacting on the install status, I believe that’s just VirtualBox.  I’ll install on real hardware before too long.

Click on the thumbnails below for the full sized picture.

Introductions

September 16th, 2008 by

I recently became an openSUSE member and good manners dictate that I introduce myself.

My name is Johan Kotze and I work as a pre-sales engineer for Novell. I live in Paarl, South Africa – a beautiful town in the Cape winelands. I am married and have a 5 year old daugther (yes she does have her daddy wrapped around her little finger )

Like all geeks I like to play with new stuff, so my primary contribution to openSUSE is to try out all the new releases and file bug reports. I run openSUSE on all of my machines at work and at home and spread the word whenever I can.

My other interests include programming (pascal and C#) and bird watching (the feathered kind) and traveling. I’ll gladly give advice to anyone wanting travel info on Souther Africa.

I am currently running openSUSE 11 with KDE 4.1 on my primary laptop (a Lenovo T61p). It took me a while to figure out that you  to have to click on the little kidney thing in the right corner before you can move plasmoids around on the taskbar.

I will try (no promises) to blog about my experiences with openSUSE and other open source software.

My switch from Windows to Linux

September 15th, 2008 by

In March 2006 I lost my patience with Microsoft Windows XP Prof. which I’d bought together with a hardware upgrade on my older computer. I had allready been using StarOffice 5.2/OpenOffice for letters and spreadsheets for 6 years and Firefox had been my preferred webbrowser for some years after 5 to 6 months using Netscape Navigator.

At that time I had only heard a little about Linux, and when I googled I only found sites advertising installation CD’s. Not really what i needed.

One day though I saw an article from an experience from a company, who had switched over to SuSE Linux 10.0. The result was, that the majority of emploiees in that particular company hardly noticed any difference from what they were used to. And some even thought it to be easier. Encouraging article that woke up my curiousity – I wanted to learn more.

Several searches later I had learned about the danish Linux forums and I discovered the danish guide written and maintained by Martin Schlander (cb400f). The guide described how to download and burn .iso images etc. Five (5) CD’s was it, which made me wonder, whatever that were all about. Never the less I downloaded, burned, and backed up my files on my computer. Through my 12 years Windows experience I had learned to allways partition my harddisk and keep important files on the D:-drive.

I were ready to jump into it.

What a surprise. I were used to spend an entire day installing first the OS with a couple of reboots. Then install drivers – reboots – programmes – reboots same-old-story-etc. etc. It were all don in only 40 minutes including upgrades through my wireless router. All my hardware (except from my webcam) worked out-of-the-box. Installing files needed for mp3-files and to be able to watch DVD’s etc. was described in the guide.

Deeply impressed I were ready to learn more. Not only about Linux but also about the community. I subscribed to some forums and newsletters and started my voyage into a totally different world.

To be continued…

Developing with libyui/libzypp & python – part1

September 14th, 2008 by

In a small series of posts I’ll describe some tips and tricks for developing with libyui and libzypp in python.
Thanks to the YaST developers and Klaus Kaempf, there are bindings to libyui the Yast User Interface library for python.
For libzypp there are also python-bindings done by Duncan Mac-Vicar Prett and Arvin Schnell.
Both are generated with the swig code generator and are not perfect yet, but as we’ll see they’re pretty usable.

One big problem we need to solve is: libyui and libzypp are part of your base-system/YaST. If we would update them in the main system,
we would probably screw up zypper and YaST – which is bad.
Therefore I compiled libyui and libzypp and all other needed packages with an custom –prefix (/opt/yuitest) inside the openSUSE Buildservice.
Thus we can easily install the latest version without breaking our system.

In this first part we’ll install and test libyui.
(more…)

Funny Output For Some

September 3rd, 2008 by

Last week (aka Hackweek 3) I worked on a Linux From Scratch system.

A colleague dropped by and asked me what kind of power supply were sufficient for a certain machine. I thought “ok, let’s just ask lshal|grep battery
My hope was that the hardware would not only measure the voltage of the battery but also the current drained from it.

What I found was kinda funny from an Electrical Engineer’s point of view:

lshal output for laptop battery

So what? “voltage.current”? Voltage? Or current? Or multiplied?

After laughing a bit I thought seriously about bug report, but it isn’t a bug apparently.
I find those things funny, can’t help it. I therefore consider this an Easter Egg of HAL.

Still, if anyone knows if a laptop can tell me the current current (SCNR), let me know.

Cheers,
Jan