Home Home > Miscellaneous
Sign up | Login

Archive for the ‘Miscellaneous’ Category

openSUSE and GCC part 2: compiling ‘Hello World’

October 15th, 2013 by

I really hope you readied last article ‘OpenSUSE and GCC part 1: getting started‘ or you understand basics and you have GCC (Only GNU C Compiler as GCC stands Gnu Compiler Collection) installed. This time we learn how to compile application called ‘Hello World’. It’s so popular application even wikipedia have article about it. (more…)

Happy Birthday openSUSE

August 9th, 2013 by
Birthday

By Will Clayton

Happy Birthday openSUSE
Alles Gute zum Geburtstag openSUSE
openSUSE Joyeux anniversaire
openSUSE Feliz Aniversário
Χρόνια Πολλά openSUSE
openSUSE Feliz Cumpleaños
Všechno nejlepší k narozeninám openSUSE
openSUSE祝你生日快樂

Welcome to the Indian Reservation, Ubuntu GNOMEs!

March 12th, 2013 by

I read today that Ubuntu-Gnome is now an official flavour of Ubuntu! Great work, you’ve achieved the same level of recognition as KDE has.  Establishing Kubuntu, and other flavours of Ubuntu, was a very canny move on Canonical’s part to control and contain dissent within the Ubuntu big tent.   The Kum-ba-ya, lets-all-make-a-circle-in-our-vests hype that Ubuntu generated in 2005 was so strong that it sucked in KDE users as well as users of GNOME, then the anointed Ubuntu desktop.  Pretty soon they formed an unofficial forum, in Germany (where else) and started talking about a KDE Fork.  The answer from Canonical was to throw them Kubuntu, with “infrastructure and support benefits“, hiring the Debian KDE maintainer, and to pour blandishments into the credulous ears of the KDE leadership of that time, who were mighty unsettled by the acquisition of their then-darling distribution by Novell and its earlier Ximian purchase.  This sackful of glass beads and liquor was sufficient to prevent ornery KDE users roaming all over the place doing what they liked, and especially not over the border to other distributions, and in doing so increase Ubuntu’s momentum.

Now fast forward to 2013 and we’re seeing the same happen to GNOME.  No longer the standard desktop, but still with significant suction among Ubuntu users, GNOME is neatly herded on to the reservation and congratulated on its wise decision.  Now look to your Kubuntu colleagues to see how that is going to work out for you down the road. PS: If Mark promises to install GNOME Ubuntu, don’t believe him for a second.  He has an office by now full of desktop computers representing official flavours that he never turns on.  Sound familiar?

OT: Shimano Alfine 11 Di2 SEIS and backwards compatibility with existing hubs

October 17th, 2012 by

This post is completely OT for openSUSE, but I don’t have a better place to put it to share this useful snippet of information.

Shimano has just released its electronic shifting system for Alfine internally geared hubs. In mechanical Alfine, the gear cable pull is translated into rotation and gear selection by a detachable unit that sits on the end of the hub.  Alfine Di2 SEIS replaces this with a MU-S705 motor unit controlled by an electronic brake lever.  But it also introduces a new hub (SG-S705).  I wondered whether the motor unit can be retrofitted to existing hubs, as I have the original Alfine 11 (SG-S700) on my Genesis Day One, and I’m not completely happy with the Versa drop bar brake lever integrated shifter*.

So I mailed Paul Lange, Shimano’s German distributor, to ask. The answer I got is that the SG-S700 hub can not be used with the Di2 components, because it has a return spring for upshifts, whereas SG-S705 does not since the gear selection in both directions is actively performed by the motor.  If you put a MU-S705 motor unit on an SG-S700 it would be working against the return spring.

As far as I understood it, there is a spring in the SM-S700 cable end unit – I didn’t know there is also one in the hub itself, but I’ll check next time I have the wheel out.  Until then, my dreams of perfect drop bar shifting are just that, because at 400 quid SRP the hub is a big investment.  Maybe Shimano will take pity on me and make a mechanical STI…

* Mostly because there is no little cam decoupling the upshift lever from the cable spool inside the Versa shifter, so sometimes it shifts up several gears at once.

Editing KIWI configurations with Emacs

August 31st, 2012 by

I recently decided to do all my work in emacs and even though the learning speed is a bit slow, I thought I would share what I discoverd regarding editing the KIWI config files. Kiwi has the schema file for the elements and their attributes but unfortunately by default Emacs is unaware of it’s schema location. So first create a schema location file as below and save it.

<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
<transformURI fromPattern="*.xml" toPattern="*.rnc"/>

<uri pattern=”*.kiwi” typeId=”KIWI”/>
<typeId id=”KIWI” uri=”/usr/share/kiwi/modules/KIWISchema.rnc”/>
</locatingRules>

I saved it as $HOME/.emacs.d/data/myschemas.xml. Now add this to your Emac’s init file for autoloading the nxml mode for kiwi files in addition to the xml files

(setq auto-mode-alist
(cons '("\\.\\(xml\\|kiwi\\|xsl\\|rng\\|xhtml\\)\\'" . nxml-mode)
auto-mode-alist))

and add this code for nxml mode to locate the kiwi schema file when you edit a kiwi config file

(eval-after-load 'rng-loc
'(add-to-list 'rng-schema-locating-files (concat user-emacs-directory "data/myschemas.xml")))

Now have fun with Emacs, Kiwi and your openSUSE

Cooking with DocBook

December 7th, 2011 by

Hi DocBook lovers,

browsed through a book, used your favorite search engine, or posted on LinkedIn, Xing, or the DocBook mailinglist to hunt for answers to your problems?

As an additional alternative, I’m happy to announce my latest project:

The DoCookBook Project
(released  under Creative Commons License)

The tongue-twisting name is a word play and picks up the two central topic about DocBook and cookbook.

(more…)

kde telepathy one click install

November 16th, 2011 by

now with openSUSE 12.1 out maybe some of you would like to try something new… that will be probably in the future versions of KDE.

A lot of interesting packages can be found in KDE:Unstable:Playground

for me one of the most expected feature would be the new telepathy IM component for kde.

I have created a simple one click install for 12.1 if you are curious to try. Please test and contribute.

fsck.ocfs2: I/O error on channel while performing pass 1

September 5th, 2011 by

When running fsck.ocfs2 if you get an error like below, turn off feature metaecc and run it again.

fsck -f -y /dev/drbd0
fsck from util-linux-ng 2.17.2
fsck.ocfs2 1.4.3
Checking OCFS2 filesystem in /dev/drbd0:
Label: vmimages
UUID: B5A45669962C4E40AE9FB2BF16184981
Number of blocks: 157281328
Block size: 4096
Number of clusters: 19660166
Cluster size: 32768
Number of slots: 4

/dev/drbd0 was run with -f, check forced.
Pass 0a: Checking cluster allocation chains
Pass 0b: Checking inode allocation chains
Pass 0c: Checking extent block allocation chains
Pass 1: Checking inodes and blocks.
extent.c: I/O error on channel reading extent block at 112162 in owner 516113 for verification
pass1: I/O error on channel while iterating over the blocks for inode 516113
fsck.ocfs2: I/O error on channel while performing pass 1

#disable metaecc (man tunefs.ocfs2 for more)
tunefs.ocfs2 --fs-features=nometaecc /dev/drbd0

#run fsck again
fsck -f -y /dev/drbd0

to re-enable it after completing fsck, run:
tunefs.ocfs2 --fs-features=metaecc /dev/drbd0

ATI/AMD fglrx : giving back this time

August 19th, 2011 by

Dear flgrx’s users of rpm or ati-installer.run, this time I’m asking your help.
geeko love
Sebastian Siebert (freespacer) give his time to maintain the SuSE part inside the installer. Unfortunately he didn’t have high-end graphics card, nor double screen, and thus is not able to test nor report results to AMD.
He’s also spending time on irc and forum to help users when things goes wrong.

So how can we help him? Simply giving back a little amount of money, if you can afford it.
I’ve opened a pledgie for that : see the full explanation at
pledgie.com/campaigns/15879.

I really count on you. Spread the word.

ps : Catalyst 11.8 is out, stay tuned, I’ll be back this week-end.

Presentation resolution on netbooks

July 11th, 2011 by

I recently got ASUS Eee Netbook R051PX, nice little machine, however small annoyance it has when plugged to projectors for presentation is that the default mirrored resolution is just 800×600, the gnome-display-properties does not allow the selection of 1024×768, xrandr comes to the rescue:

Run the following as normal user in terminal to get the required resolution.

xrandr --output LVDS1 --panning 1024x768
xrandr --output VGA1 --mode 1024x768

Note: just in case wordpress eats up – character, there are 2 – before output, panning and mode.