Home Home > 2008
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 2008

Xfce Project Status Report 06/2008

June 10th, 2008 by

As some of you might already have noticed, we are working on a better integration of Xfce in openSUSE. The aim of the Xfce Project is to establish Xfce as well-accepted desktop environment besides GNOME and KDE. We have already started building Xfce LiveCDs with KIWI but still fail in getting yast-live to work.

Besides that we had some success in the re-design process, so this is how the upcoming Xfce in openSUSE might look like:

          

Miguel Cruz has provided his great CrashBit theme and designed a few new icons to improve Xfce support.

I have also finished a SLiM Display Manager theme and work on some packages for that. There is still a lot of work to be done and things to coordinate. We are going to set up a oS Xfce Mailing List soon, that all interested people should join. In the near future I am continuing to blog about the current development process, so stay tuned.

Update: The Mailinglist is now availabl.: To subscribe send an eMail to: opensuse-xfce+subscribe@opensuse.org

I have also added an upgraded screenshot showing how it would look like using the Gilouche Window decoration.

Marcus

Welcome to the Official openSUSE Forums !

June 10th, 2008 by

After announced on March 11, 2008, official openSUSE forums has been established and starting work for providing better support for openSUSE community on June 09, 2008. Forums merges 3 existing openSUSE forums, suseforums.net, suselinuxsupport.de and the openSUSE support forums at forums.novell.com.

openSUSE forums

You could use single sign-on login with your Novell/openSUSE account. It’s also should be work with your existing account at existing forums but I didn’t try it ;-), so, please try to login before create another new account.

Thanks for all of Novell staff and openSUSE community members who make the dream come true. Quoting what Michael said last 3 month : “a big gain for the whole openSUSE Community !”

Query your XML with xpathgrep.py

June 9th, 2008 by

Maybe you know this problem: You have a couple of XML files and you need a specific information. Probably everybody would think of grep or similar tools first. But maybe your query is a bit more complicated than just a simple piece of text. What do do?

Recently I’ve found a very useful command line utility, which is probably not very known. It’s named xpathgrep.py and you can get it from the lxml repository (you need lxml too). Let’s assume we have the following DocBook file:

File db.xml
<?xml version="1.0"?>
<book>
  <title>My Cooking Book</title>
  <chapter>
    <title>Ingredients</title>
    <para>...</para>
  </chapter>
  <chapter id="howtocook">
    <title>How to cook</title>
    <para>...</para>
  </chapter>
</book>

Now, if I want to get all the titles I have to use a XPath (which is a path description language for XML, similar to Unix/Linux paths, but more powerful). To get all title elements all I have to do is to write //title, regardless of the level:

$ xpathgrep.py //title db.xml

and I get this:

<title>My Cooking Book</title>

<title>Ingredients</title>

<title>How to cook</title>

Nice, isn’t it? Probably you say: “But, hey, I can get this with grep too!” Yes, but if you want just all chapter titles, you have a problem with grep. With XPath and xpathgrep.py I only modify my XPath expression a bit:

$ xpathgrep.py //chapter/title db.xml

Now this reduces the above output just to the wanted chapter titles. And I can extent my query just for all chapters that doesn’t have an id attribute:

$ xpathgrep.py '//chapter[not(@id)]/title' db.xml

(You need the apostroph because of the shell.) The tool outputs this:

<title>Ingredients</title>

That’s nice, isn’t it? There are a lot of more to discover. A few hours ago I send a small patch to the lxml-devel mailinglist to support namespaces. Hopefully, it will be accepted. 🙂

Boost signals as hooks to extend libzypp?

June 9th, 2008 by

It would be nice if libzypp had some framework that allowed to implement extensions like e.g. a history of installed and  removed packages easily.

I’m currently looking into the boost signals library to see if we could use it to provide hooks for such extensions.

A  future  ZYpp::commit would then emit signals e.g. before and after installation/deletion of packages. Some extension code could then connect to those signals to create e.g. such a history.

Another candidate would be the repository management emitting signals as repositories are added removed refreshed.

openSUSE Training at State Ministry for Youth Affairs and Sports

June 9th, 2008 by

Training1

Last week, me and 2 Indonesian openSUSE members : Bonnie Kurniawan & M Herry Nurdin holds a training session at Grha Pemuda & Olah Raga (Youth Fellow & Sports Building), State Ministry for Youth Affairs and Sports of the Republic of Indonesia, Senayan, Jakarta.

Training focused on openSUSE server function and administration, with an overview about openSUSE 11.0 features and capability. There are totals 20 audiences on first and second day, and 40 audiences on third day, came from sub dept of State Ministry for Youth Affairs and Sports and they will administer openSUSE server on their office. Most of the audiences are newbie for Linux but they have no problem with openSUSE administration. They looks a quite bit worried when we got an introduction about Command Line Interface, but after a few minutes, they’re enjoy the training.

(more…)

Toms´ Musings about…

June 7th, 2008 by

Some time ago, I saw this posting about the new blogging platform. Well, I played with this a idea a bit and thought, this would be a good opportunity. 🙂

So who am I? Well, I’m with SUSE (or SuSE, S.u.S.E.?) since 2000 and mainly in charge with documentation. Apart from that, I’m known to attack heavily XML and XSLT stylesheets, to some degree I work also with Python. As you have suspected, yes, I’m also a long time DocBook user (should I say advocate?) and helped migrated our old LaTeX sources to DocBook years ago. And I love to play with typography and the like.

Yes, you guessed it: It’s very likely that I will write about DocBook, XML, XSLT, Python, typography and anything in between. Of course, anything what I think it interesting too.

Stay tuned! 😉

Installation Source creation status

June 6th, 2008 by

There is some work going on to put installation source creation functionality into kiwi.
At the moment kiwi can use prepared installation sources such as:

  • BuildService Repositories
  • mounted DVDs
  • FTP trees

But what if you have a local Build Service building some binary only packages and you wish tp make a installable media set from, say, “SLES + binary only drivers”?
You can use the inter-BS-Connectivity feature to only build the drivers (and not the whole distribution) in your BS and then create an installation source from your main BS project.

This is possible since release of the package kiwi-instsource which extends the functionality of the config.xmlfile to allow the compilation of an installation source from scratch.
Hereby “scratch” means directories containing .rpm and .spm files. Of course some information must be provided for the metadata creation — but this is also all in the config file (with one known exception — the PDB data).

The rest is figuring out which packages must be on the installation source.
Since it is perfectly ok to have conflicting packages in instsources, there is no dependency check or package resolving in this stage. The information must come from the user.

Therefore the package list may become rather long and I already plan to implement some simplification.
These plans include:

  • allowing more than one <repopackages> section
  • implement outsourcing blocks in separate files using XML functionality

Find Your Monitor

June 6th, 2008 by

Quite often I get bugreports that the hardware detection doesn’t find the monitor. Well, what should I do? We run a Video BIOS function for it, and if the BIOS can’t see the monitor, we’re out of luck.

But maybe not? It can well be that running BIOS code in Linux is not the best idea either.

To shed some light I wrote a small (6.5k if you must know) DOS-program and put it on a bootable CD. If that can’t detect the monitor it’s probably the BIOS’s fault, if it works blame, well, someone else. 😉

On a side note, the program was created with the usual gcc. It’s really surprising what you can do with a nice include file and a linker script.

openSUSE 11.0 Now Available for Pre-order!

June 5th, 2008 by

openSUSE 11.0 Boxed EditionIt was quietly put up on the Novell store front page but openSUSE 11.0 is now available for pre-order! The boxed edition of openSUSE, which I have long been buying, has stayed the same, kinda bland looking white with a big lizard for a long time. But with 11.0 comes a new design that looks extremely slick and cool.

I also noticed the rather large notice on the American store page for openSUSE 11.0, which reads “Order to be shipped upon product release June 19.”

Hopefully that means they’ll try to avoid the tough time I and several others had getting a boxed edition in the United States (pre-ordering openSUSE, then getting it five weeks later, or four weeks after public release). They also don’t have the promotion from last year, where if you pre-ordered openSUSE 10.3 you got free shipping. Maybe that’s a trade-off for getting it at a reasonable time, if so I’m cool ;-).

UPDATE: According to an email Novell just sent out, free shipping is back if you pre-order, at least in the US. Also, a commenter said there is free shipping in Germany too.

openSUSE 11.0 and Vista Users (Poor souls): How’s Dual-booting?

June 4th, 2008 by

Stephan Kulow asked on the Factory mailinglist if anyone was dual-booting Windows Vista and openSUSE 11.0:

Both me and the reporter of bug 396444 have a broken vista
boot after RC1 instalation (I ignored the problem as I did
not boot vista since quite some time, so it could just as well
be broken with alpha0).

So I wonder if other's vista is still functional? Unless I
know what's causing this, this bug is one of those that will
delay 11.0, so please help me.

Since there weren’t many people on the mailinglist who were, if you do boot Vista and SUSE 11.0, with success or otherwise, please let us know on the opensuse-factory@opensuse.org mailinglist 😉