Thursday Jul 16, 2009

如何使用Opensoalris中的多媒体播放器totem

(转载请注明来源地址http://blogs.sun.com/weixue)

安装了Opensolaris后,多数的用户可能马上就像要进行的应用,就是听歌,看电影了。呵呵,可惜阿由于某些原因,很多多媒体格式的解码器都不是默认安装的,可能你发现了,totem这个多媒体播放器其实什么也不能播放。。怎么办呢?很简单安转相应的解码器就行了。玩过Unix/linux的都知道其实这些解码器插件都在GStreamer里。这里为大家提供几个简单的方法可以用现成的:

1. 最有效,最简单,最全面的结局方案就是去这个网站,这里提供了很多Solaris上的多媒体软件,有的是商业的,有的可以自由使用。 把它(http://ips.homeunix.com:10906/) 加到pulisher里,直接就可以安转各种解码器的IPS 包了。比如你要安装播放flash和MPEG的解码器插件:

  1. "pkg set-authority -O http://ips.homeunix.com:10906 ips.homeunix.com" to add repository.
  2. "pkg refresh --full" to update catalog.
  3. "pkg install MBLgst-plugin-ffmpeg MBLgst-plugin-flv" to install plugins.

这里还很很多mp3, DVD的插件,转好这些包一般的视频音频基本上可以自由看听了。

2. 这个网站提供了一些:GStreamer Input Selector Plugin for OpenSolaris

http://addons.songbirdnest.com/addon/1354/versions

3. 有个热心人,自己编译了一些常用的解码器: http://blog.sartek.net/2009/05/gstreamer-stuff-on-opensolaris.html

当然,你完全也可以自己下载GStreamer,然后自己编译。

Monday May 25, 2009

Changing Truetype Fonts path to make NV and OpenSolaris same

Solaris Nevada will be "Changing Truetype Fonts path to make NV and OpenSolaris same". Post simple description one-page here for discussion.  It's automatic approved now. If you have any comments, please let me know asap.

Monday May 04, 2009

Build Open X on Solaris by yourself - OpenSolaris Project: Fully Open X Project

转载时请以超链接形式标明文章原始出处和作者信息.  :
http://blogs.sun.com/weixue/entry/build_open_x_on_solaris

OpenSolaris Project: Fully Open X Project is fully X project which include X library and application for  Opensolaris. The Fully Open X Project (FOX) will create a public Mercurial gate on opensolaris.org containing a merge of these three source bases:

  • the current OpenSolaris X code drops published by the Sun X team
  • the Xorg SPARC driver sources created by Martin Bochnig for Martux
  • the full X11R7.2 source builds created by Moinak Ghosh for Belenix
Build fox-gate: please see:  http://opensolaris.org/os/project/fox/build_inst/

Tuesday Apr 07, 2009

Macro SVR4 or __SVR4 for Xorg on Solaris

During investigate Opensolaris bug 6824625(And 6728611 ) . There is a issue about macro Xorg, the Xorg  seems to be a remnant of old Imake world.  For example, in app/luit/sys.c, it always use #ifdef SVR4 as switch.  but on Solaris there is no pre-define for "SVR4", only pre-define "__SVR4". (check : CC -xdumpmacros -c dummy.c). For resolve this issue, X team support a header file <X11/Xosdefs.h>. So please include this header file in the program which need use CC or gcc pre-define macros.  In Xosdefs.h:

#ifdef sun
/\* Imake configs define SVR4 on Solaris, but cc & gcc only define __SVR4
  \* This check allows non-Imake configured programs to build correctly.
  \*/
#if defined(__SVR4) && !defined(SVR4)
#define SVR4 1
#endif
#endif
This issue also be discussed in xorg mail-list early (Some portabity issues). Alan gave the solution on Solaris.

Thursday Mar 19, 2009

关于字体的Bigadmin提交文章上线

最新提交给Bigadmin的关于字体知识的文章上线了。
谈谈字体那些事(第一部分):介绍根据外形字体分类
谈谈字体那些事(第二部分):介绍根据字体数据存贮格式分类
谈谈字体那些事(第三部分):介绍字体的大小的知识


计划继续将这个系列写下去。包扩介绍字体的使用,和字体是如何显示和工作的。

Monday Mar 16, 2009

InstallFest BeiYou University HongFu brach

On Mar.15, another InstallFest at BeiYou University HongFu brach. Some pictures FYI.

Slide :

Monday Mar 09, 2009

InstallFest for Colleges - Beiyou (Beijing University of Posts and Telecommunications) Station

Last Sunday (Mar. 8) afternoon, Techgirls Group from BLUG and BOSS (Beiyou University OSS society) in Beiyou University (BUPT) co-organizing a Girls Installfest. But this time is NOT girl only activity. ;). I received invistation to be a speaker and help to the participator to install OpenSolaris. It's good opportunity to promote OpenSolaris the community.

Almost all the participants had no any experience of using Solaris. Even it is the first for a lot of them to hear of Solaris. At the beginning,I did a twenty-minutes presentation to introduce the OpenSolaris. Then, Forrest Wu, who have been work on ZFS project as a DP for more than three years, also give a very short presentation to introduce ZFS. I believe the presentations are very helpful to attract the participated students to install OpenSolaris. Especially for ZFS. :)  This afternoon, Forrest and I helped more than ten students installed OpenSolaris (dual boot or in virtualbox) successfully.

This is a successful activity. I summarized some concern of students and issue we encountered. I think these issues/concern deserve our attention and improvement in order to attract more users.

1. Parted disk - Most of student have a WindowsXP/Vista OS, so the first thing to install dual root system is disk partition. It's seems only mast partition could be recognized by installer.

2. How much size ZFS snapshot need? very small, even you can ignore it.

3. Where I can download and upgrade software? Besides default IPS server, IPS server mirror available for China : http://pkg.unix-center.net. Futher more:
blastwave (preferred)               http://blastwave.network.com:10000/
sunfreeware                         http://pkg.sunfreeware.com:9000/

4. Instance message client application: Can I use qq and fetion? Yes, pidgin support qq and fetion protocol modules. But currently, you need compile them by yourself.   I have to say that these two instance message tools are very very popular in China. The office number by Tencent, there are 4 hundred million registered users for qq. And fetion is the fastest-growing instant messaging tools in China currently which delivered by China Mobile. So if these two modules could be integrated by default for China user, it will make OpenSolaris more closed with China user.

5. Driver, as you know this is old problem, we are resolving them step by step. The good thing is that we can see most major device drive we supported. And good news is more and more device drivers will be supported in the future.

Here some pictures I'd like share with you.


Thursday Feb 05, 2009

Contributor of X Window System (x_win) community

Beginning of the new year 2009(On January 15, 2009), the X community granted Contributor status (Contributor grants for the X Window System (x_win) community).  I have been granted as a contributor for contribution of xi18n. Hope I can do more contributor to X community in the future.

Saturday Nov 22, 2008

Picture of Sun University Day in Beijing Tsinghua

Yesterday I attended Sun University Day. I did virtualbox demo. We communicated with student by Q&A. Here are some pictures of Sun University Day in Beijing Tsinghua, and Techday. You can see my colleague Harry Fu'blog, to know what student asked.

Friday Nov 21, 2008

Be selected to be a preseed

Yesterday, worldwide all-Engineering PreSEED application was completed.
I'm lucky to got the notification that I was selected to be a preseed in next Preseed mentoring term. I am honor to have such a good opportunity to learn from successed person of Sun's senior. That would be interesting and excited experience. It would be important part of my career growth. Thank Katy Dickinson offered such opportunity for us. And I also want to say thank you to my manager and Melanie, Shinobu, Scott for you alway being my support!
I'm looking forward it.

Wednesday Nov 19, 2008

Sun University Day in Beijing - Tsinghua University (清华大学 Sun 大学日)

Sun University Day in Beijing - Tsinghua University will be hold on this Friday, 2008/11/21. My colleagues and I have a session to show some OpenSolaris Demos (Desktop and Entertainment, Package management and ZFS, Developer Tools, VirtualBox) . And also have free QA time for audience. I will demo and introduce VirtualBox.
If you are interested, you can register from http://developers.sun.com.cn/events/overview.html
Sun University Day in Beijing (清华大学 Sun 大学日) 
Date: 2008/11/21
Location: 清华大学主楼后厅1层报告厅

For agenda details please see: http://developers.sun.com.cn/events/agenda.html


Sun Techday in Beijing also will be hold on 2008/11/21~2008/11/22 at 北京国际会议中心
See details :http://www.suntechdays.cn/
I will be there 2008/11/22.
Hope see you then. :)

Sunday Nov 16, 2008

Completion C Language Practice Course

First of all I would like to congratulate my dear students, all of you have completed that course successfully !
Time flies, the twinkling of an eight-week period has passed, you all achieved with great effort!Eight weeks ago, Almost nobody had written program in C language, and even no one ever heard  of Solaris/Unix! That is true, their bachelor major backgrounds are including electronics, mechanics, mathematics, physics, chemistry, education, economics, finance, management, and even English, but only computer science hard to find. Sigh. . It's really a big challenge for all of us!

But we made it finally, actually you made it. How could you do that?  During this period, you make unremitting efforts and I am touched by that:
Some of the students bought a new hard disk or even a new laptop in order to install Opensolaris environment.
In order to meet the Deadline,  several groups of students stayed up all night.
So many question emails I received from you showed you had tried so many times.
...
Passion and hard working make you success. At the conclusion presentation, all of the group can run the program.  I'm proud of you! And there's not doubt that all of you have confidence now!

Thanks for JiaoTong University and my boss/company offering me such a great opportunity! And also thank my students, I spent a wonderful time with you, It's really cool experience! and will be my cherish! Your good work also make me get a sense of achievement. I hope we can keep in touch in the future!

However, that just for you to open a small program window of unimagined wonderfulness is still in front.
So, Please Keep on Moving on!


These are pictures of the conclusion presentation

Saturday Nov 15, 2008

FW: Our team got a recognition in GPD!

I forward this from YongSun's blog, because he already said what I want to say.(Just replace my name by Yong Sun. :))   And I'm proud of be one of the team!
Jack Kang (my boss) and the team (Feng Zhu, Jacky Cao, Yong Sun, and myself, we should also count Yandong Yao who left Sun several months before) got a recognition in GPD, for the active Invention Disclosure submisions in Globalization team. Another sister in our family, Sandy Cheng, also got a recognition for tools development. Congratulations to all of us :) And thanks a lot to Jack, Jasper and Melanie, for their great supports to us!!!

P.S.,Yong Sun's D700 is really cool, this is picture he took for me!

Wednesday Nov 05, 2008

Opensolaris 调节投影仪分辨率

我们使用的Dell620在装上Opensoalris后,在投影仪上默认检测出来的分辨率过低,严重影响Presentation的效果,如何手工调整投影仪的显示屏率:请参考Sunyong的blog:调整 OpenSolaris nVIDIA 显卡外接投影仪的分辨率


这样调整出来的是4:3的分辨率,你也可以设置任意你需要的比例,通过手工修改modeline的方式。得到modeline的方法:
\*Opensolaris有个 cvt命令
\*这里有还一个在线的工具 可以产生 modeline 配置 Modeline generator

再说VirtualBox上网问题 - DNS server

前面一片Blog提及如何切换无线网卡和有线网卡,使得Guest OS OpenSolaris上网的问题。今天进一步补充关于DNS server的问题。 如果你在家使用电信的网络直接连接如Internet,VirtualBox的默认网络配置已经默认为你选好DNS server,你可以顺利的在Guest OS中上网。 但是,很多情况你可能在某个公司的局域网络内部,这时候默认的DNS就无法正确解析域名。解决的方法就是: 1.先在Host OS中查看局域网的DNS server地址。如:Windows上可以用 ipconfig /all 2.然后将这个地址加入到/etc/resolv.conf的第一行: 如:naneserver xxx.xxx.xxx.xxx 3.重启DNS client 服务:svcadm restart dns/client
About

williamxue

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today