Skip to main content

a silhouette of a person's head and shoulders, used as a default avatar

在openSUSE11.4上使用google music上傳工具


最近google music相當的熱門,



今天要來說的是如何在openSUSE11.4上面讓google music的google-musicmanager
可以沒有幫你上傳音樂到你的音樂庫:



 Step1.
下載google-musicmanager:
在個人頁面裡面右上角有一個[Add music] ,然後選擇[Download Music Manager]


然後點選裡面適合版本的openSUSE rpm :



--
安裝上去之後會可能會發現
1.開不起來 (Gnome-LiveCD版本安裝的會遇到)

user@linux-xxx:~/Desktopp:~> google-musicmanager

/usr/bin/google-musicmanager: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory

解決方法是:
 安裝 "libqt4-x11" 這個package就可以解決.


2.沒辦法Login in
明明帳號密碼都是正確的,網路也是通暢的,卻還是會秀出:


1.0.16.6403 版似乎已經修正這個問題,不過如果是使用1.0.13.9715版本的就會有這樣的問題,
更新到最新的google-musicmanager即可解決
--
然後這樣就可以開心的上傳檔案了...


目前還是邀請制的,一般帳號沒有Google music 來說都只看得到:


網路上已經有很多人寫說要如何申請/取得帳號,所以就不贅述,
另外,可以在這個google music的Blog: http://magnifier.blogspot.com/


找到更多不錯的 free music

Enjoy it~

Linux for open minds.
--
以上圖片版權及商標皆屬原始版權公司所有,若有違反使用情形,還請來信告知,謝謝

the avatar of Iterativo e Incremental
the avatar of Thomas Thym

Back from the Desktop Summit 2011 in Berlin

Perhaps I am the last one writing about the wonderful Desktop Summit in Berlin some days ago. Nevertheless I want to summarize my personal highlights.

The Desktop Summit was awesome. I had the pleasure to meet people (old and new friends from all over the world), discuss complicated stuff face-to-face and of cause: have a lot of fun together.

In a combined cross desktop marketing BoF we discussed some ideas how we (GNOME and KDE) could join forces to get bigger media coverage (e.g. TV, radio or big newspapers). One intresting first step is by paying attention on our messages. It occured that the message was: "... is THE Linux Desktop Environment" or "A is better than B".

From a commercial marketing perspective this is very common. Just a little bit ignoring the reality and making a strong statement (with the hope the unknowing reader is going to believe it) is usual. On the other hand this takes us (down) to the same level of trust many of the big companies have today. Exacletly this is one of the big differences we want to make. We are NOT like these big companies, playing with "the truth" to manipulate people. So we agreed to use phrases like "... is ONE of the leading / bigest / ... Desktop Environments for Linux" etc. There is GNOME, there is the KDE Plasma Workspace etc. and if we look at the whole market we see, that the big competition is not the other community.

Further I had some good discussions with different people about the improvement of the business side of KDE. Recent (economic) developments showed us the danger of having only a few, but big companies in our environment. The big ones are very nice, however, we gain stability by having many small businesses as well in our ecosystem. You might like business or not. But who would deny some money for hacking on his/her favorite open source project?

I recognized with big pleasure how powerful, creative and successful small/medium companies could be when they cooperate. Plasma Active is here one excellent example. In my view we need more such cooperation. There were some ideas how we, the community could build a better context for those developments.

Besides the talks and BoFs there were many techical and social activities together.


 Hacking on computers ...

 ... and hacking on the piano ...

 ... or having lunch together.

 Jos did again his collaborative open source cooking.

There were really many great events. One of my personal favorite was the football match (thanks to openSUSE/SUSE for sponsoring).

Like last year I came back with a huge motivation and many plans how I could help to bring KDE further. As I know big plans and great ideas do not matter in our world, it is the result, the things you have actually done. My daylife hit me (not really soft) when I came back and I did a poor job for KDE so far. Other times will come in a few months.

a silhouette of a person's head and shoulders, used as a default avatar

在 openSUSE11.4 上使用 google-chrome

在openSUSE11.4沒有預設google chrome browser.
所以我們可以自己去google下載

 安裝完之後要啟動會發現沒有動作

這是時候用命令列來看:

user@linux-xxx:~/Desktopp:~> google-chrome
/usr/bin/google-chrome: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory



會發現chrome告訴你缺了 libpng12.so.0 這個東西
所以我們用zypper來找尋並且安裝

尋找:
user@linux-xxx:~/Desktopp:~>zypper se libpng*
正在載入套件庫資料...
讀取已安裝的套件...



安裝:

linux-d93p:~ # zypper in libpng12-0

安裝之後就可以使用google-chrome了!

Enjoy it~

Linux for open minds.
a silhouette of a person's head and shoulders, used as a default avatar

Adding Several Repositories with a Single Installation URL

This is a simple but quite powerful feature of installation. By using a modified installation repository you can add several other repositories automatically (or let user decide which repositories to add). The only thing you need to do is to create an add_on_products.xml file describing all the additional repositories and add it either to root of the installation repository or root of the installation system.

Installation repository can be easily modified just by adding the file there, installation system (inst-sys) can be easily extended by Linuxrc DriverUpdate.

Let's see the add_on_products.xml file format:
<?xml version="1.0"?>
<add_on_products xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<product_items config:type="list">
<product_item>
<!-- Mandatory -->
<url>http://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_11.4/</url>
<!-- Mandatory, use "/" if you don't know -->
<path>/</path>
<!-- Optional, default => empty list -->
<install_products config:type="list">
<product>Product-ID-From-Repository</product>
</install_products>
<!-- Optional, default => do not ask -->
<ask_user config:type="boolean">true</ask_user>
<!-- Optional, recommended if ask_user == true -->
<name>Add-on Name to Display</name>
<!-- Optional, default => selected -->
<selected config:type="boolean">true</selected>
<!-- Optional, default => none, set by packager -->
<priority config:type="integer">20</priority>
</product_item>
<product_item>
...
</product_item>
</product_items>
</add_on_products>

Items Description:
  • url - Definitely mandatory ;) Defines the URL of additional repository to add.
  • path - Mandatory by design, defines additional relative path to a product at URL. Use "/" if you don't know.
  • install_products / product - Optionally defines which products should be selected for installation from that URL.
  • ask_user - Should be user asked whether to add this repository? Default is false and repository is just automatically added.
  • name - Name of the repository used in dialog while asking user whether to add that repository.
  • selected - Defines the default status of repository while asking user...
  • priority - Optional item defining the priority of repository to add (an integer value between 0 - the highest priority; and 200 - the lowest priority), since yast2-packager-2.21.12
Although this feature works only during [auto]installation, I believe YaST could be enhanced to provide the same functionality while managing repositories on a running system too if needed.

the avatar of Matthias Hopf

Bye bye, SUSE...

Yesterday was my last working day at SuSE Linux Products. After exactly 7 years of working for this awesome Linux distribution there was an opportunity I couldn't refuse. I made innumerable friends in this company (and it's the people that define a company!), and there were many great moments that will stick in my memory forever  .

Now I'm moving (back) to academia, and will start teaching and researching at the Georg-Simon-Ohm University of Applied Science, as "Professor for Applied Computer Science" (which is the official job title).

Currently, it's the free period of the summer semester, and the University is almost deserted. I'm currently only starting to get used to the new environment, prepare courses, meet with other professors, etc.

I'm pretty excited about the new opportunities in this position, and will keep you posted how everything turns out!

Now back to Fantasy Film Fest again ;-)

the avatar of Carlos Gonçalves

Apple MacBook Pro 13" battery history


One year has passed since I bought my Apple MacBook Pro 13" (mid 2010) laptop, and at that time I blogged about it. One feature I demanded was good battery capacity - the MBP 13" seemed like a great choice and I did go for it.

By middle of August I discovered coconutBattery, an application that shows the current battery capacity, its designed capacity, and current and maximum charge, as well as age of the laptop, battery load-cycles, temperature and power usage. One additional feature that popped-out right away was the ability to save the maximum battery capacity and as so since August 12, 2010 to today I've recording these statistics with a fully charged battery to later analyze how my laptop's battery health changed over time. That time has just ran out so let's take a quick look over it!

First, data extraction. A config.xsl file was created with the following content:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Edited by XMLSpy® -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
<html>
<body>
<h2>My Apple MacBook Pro 13" (mid 2010) battery history</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th>Date</th>
<th>Current Capacity</th>
</tr>
<xsl:for-each select="database/object[@type='SAVEDDATA']">
<tr>
<td><xsl:value-of select="attribute[@name='date']" /></td>
<td><xsl:value-of select="attribute[@name='capacity']" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Then, I fired up my terminal and ran:
$ xsltproc --nonet config.xsl ~/Library/Application\ Support/coconutBattery/\
coconutBattery.xml | sed 's|\(.*\)% (\(.*\) mAh)|\2|' > battery.html

This generated a battery.html file with 146 records dumped to a HTML table:

(table dump sniped)

And here is a chart of it:



And finally a screenshot of my coconutBattery:

Battery load-cycles is at 58 after one year and one month and a half. Note that the age of my Mac that reads above is 15 months but the accurate age is 13 months (the former is time since manufactured).

Do you also log your battery health over time? Have these kind of data? Please share it with us!
the avatar of Pascal Bleser

http://counter.opensuse.org/link/

Since quite a while, we're having those nifty countdown images for openSUSE, which we've used for releases as well as for the countdown to the openSUSE Conference.

One issue with it is that it does not ship a link to point to when clicked upon, obviously, as it is just a plain image (and no javascript nor flash). Well, if you have put that picture on your blog/site/pants, please consider surrounding it with a link that points to http://counter.opensuse.org/link/, and we will adapt that link (which is a plain HTTP redirect) accordingly over time (e.g. now it points to the openSUSE conference page, then it will point to the 12.1 release page, etc...).

To do that, if your HTML-foo isn't that high, just use this:

<a href="http://counter.opensuse.org/link/"><img src="//counter.opensuse.org/small/"/></a>
the avatar of Pascal Bleser
a silhouette of a person's head and shoulders, used as a default avatar

openSUSE conference 2011

As promised a little look into the future: I will be attending the openSUSE conference in Nürnberg, Germany in 10 days. This years conference topic/focus is RWX3, which places a heavy emphasis on hands-on workshops and BoF's.  It should be a great conference with many side activities and a Wild West themed social event. I also hear that there will be some cooking workshops which I definitely want to be a part of, since I have a great interest in cooking and have cooked professionally for several years, as well as, with and for many hackers and community members over the years and they love it :-) Now,  this is the type of diversity and creativity all communities need to embrace!

In addition to my attendance, I  will also be presenting a workshop entitled 'Introduction to Cross-cultural Communication, Conflict and Collaboration' on Sunday the 9th of September from 14:30 to 15:50 in Salon Brendl. This workshop will definitely be hands-on and will include a conflict simulation which all attendees will take part in to help better understand their fellow contributors, as well as, themselves. I also look forward to learning more about Greg KH's initiative and future plans with Tumbleweed at his talk on Monday. More information on my presentation and all others including the full timetable can be found here.  It looks to be a pretty full timetable filled with hands-on sessions, so this event is sure to yield significant outcomes.

I look forward to meeting with those colleagues and contributors with whom I have met before, as well as, those new faces I have never met before, to have discussions and launch initiatives that support collaboration, organization and healthy community development. Most of all, I just look forward to (GTD) Getting Things Done!

See you there!