为音乐播放器moc绑定全局快捷键
mocp无法播放mp3

ArchLinux下安装iBus输入法

獨立的圓 posted @ 2008年9月01日 02:02 in 软件安装_配置 with tags 输入法 ibus , 25186 阅读

 本站文章已轉移,敬請移步:http://www.xxb.me/ ,謝謝!

iBus今天终于出现在ArchLinux的AUR了.测试了一下,发现有2个小问题,一个是缺少依赖,一个是没考虑到启用noindex,会导致ibus-pinyin打完的包大很多。

 

第一个问题的详细情况是这样的,如果没装那2个依赖,在运行ibus-setup或启动ibus时会有如下错误提示

ImportError: No module named gconf
ImportError: No module named xdg

前者需要gnome-python,后者需要pyxdg,把它们添加到PKGBUILD的"depends"即可.

另外,按照官方说法,依赖列表中的qt,"if want to build qt4 im module"才需要,否则可以去掉。如果使用kdemod,则改为qtmod。

 

而第二个问题的解决,我使用了superjet提供的PKGBUILD(ibus-pinyin,已添加上述两个依赖)

pkgname=ibus-pinyin-git
pkgver=20080831
pkgrel=2
pkgdesc="A python wrapper for SCIM"
arch=('i686' 'x86_64')
license=('GPL')
depends=('python>=2.5.0' 'python-pysqlite' 'gnome-python' 'pyxdg')
makedepends=('git')
url="http://code.google.com/p/ibus/"
install=ibus-pinyin.install
source=()
md5sums=()

_gitroot="git://github.com/phuang/ibus-pinyin.git"
_gitname="ibus-pinyin"

build() {
  cd ${startdir}/src

  [ -d ${_gitname}-build ] && rm -rf ${_gitname}-build

  msg "Connecting to GIT server...."

  if [ -d ${startdir}/src/${_gitname} ] ; then
    cd ${_gitname} && git-pull origin
    msg "The local files are updated."
  else
    git clone ${_gitroot}
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  cp -r ${startdir}/src/${_gitname} ${startdir}/src/${_gitname}-build

  cd ${startdir}/src/${_gitname}-build

  ./autogen.sh --prefix=/usr
  make || return 1
  make NO_INDEX=true DESTDIR="${startdir}/pkg" install

  rm -rf ${startdir}/src/${_gitname}-build

}
# vim:set ts=2 sw=2 et:

还有他的ibus-pinyin.install

post_install() {
cd /usr/share/ibus-pinyin/engine
echo -n "Creating INDEX."
echo ""
python -c "import pysqlitedb; db = pysqlitedb.PYSQLiteDB (filename='py.db'); db.create_indexes ();"
echo ""
echo "done."
}
post_upgrade() {
cd /usr/share/ibus-pinyin/engine
echo -n "Creating INDEX."
echo ""
python -c "import pysqlitedb; db = pysqlitedb.PYSQLiteDB (filename='py.db'); db.create_indexes ();"
echo ""
echo "done."
}

安装好ibus后,运行ibus-setup,选择要使用的输入法引擎,比如拼音引擎ibus-pinyin,"预加载"也必须勾选,否则不会自动加载该引擎(也可能是我rp问题)。

另外,还需要在.xprofile里添加

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
ibus &
目前发现了一个bug:urxvt在标签模式下无法输入

老麦 说:
Sep 22, 2008 08:45:54 PM

ibus有什么优点?能输入嘎文么

seoagency 说:
Dec 22, 2019 10:37:53 PM

 

I can’t imagine focusing long enough to research; much less write this kind of article. You’ve outdone yourself with this material. This is great content. Tuneskit Spotify Converter 2020 Registration Code

JOHN 说:
Jan 19, 2020 08:00:19 PM

 

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. norton antivirus 2020 full crack

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. norton antivirus 2020 full crack

seoagency 说:
Jan 20, 2020 07:03:15 PM

I admit, I have not been on this web page in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. I thank you to help making people more aware of possible issues. asian escort new york city

seoagency 说:
Jan 27, 2020 07:17:57 PM

 

This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post. I will visit your blog regularly for Some latest post. 바카라사이트

JOHN 说:
Feb 15, 2020 01:17:18 AM
 Pretty good post. I have just stumbled upon your blog and enjoyed reading your blog posts very much. I am looking for new posts to get more precious info. Big thanks for the useful info. <a href="https://exquisiteaircharter.com/private-jet-charter">Jet Charter</a>
 
코리아카지노 说:
Apr 14, 2020 02:12:24 PM

of inmates at the Oakdale, Louisiana complex and at hard-hit federal facilities in Ohio and Connecticut, inmate attorneys assert that only three Oakdale offenders have been released since last month when the attorney general first urged an expansion of home confinement.
https://www.betting33.com

카지노사이트 说:
Apr 14, 2020 02:12:52 PM

A wave of new prisoner releases was expected to begin as soon as Tuesday in Pennsylvania and New Jersey where governors moved to reduce the number of elderly, non-violent, pregnant and chronically-ill offenders.
https://www.best373.com

바카라사이트 说:
Apr 14, 2020 02:13:17 PM

"We can reduce our non-violent prison population and leave fewer inmates at risk for contracting COVID-19 while maintaining public safety with this program,” Gov. Tom Wolf said in a Friday order.
https://www.dok222.com

카지노사이트 说:
Apr 14, 2020 02:13:41 PM

“I am pleased to direct the Department of Corrections to begin the process to release vulnerable and non-violent inmates at or nearing their release dates in an organized way that maintain supervision post-release and ensures home and health care plans are in place for all re-entrants.”
https://www.ccclub700.com

카지노사이트 说:
Apr 14, 2020 02:13:55 PM

In New Jersey, Gov. Phil Murphy approved a similar order Friday that would grant home confinement to aged, sick and inmates who are within months of completing their terms.
https://www.hgame79.com

Faddy 说:
Feb 09, 2021 09:42:51 PM

The article looks magnificent, but it would be beneficial if you can share more about the suchlike subjects in the future. Keep posting. Pharmaceutical Sales Representative

no excuses runner 说:
Feb 17, 2021 05:39:18 PM

You guardians do an astounding web diary, and have some unfathomable substance. Continue doing extraordinary. 꽁머니사이트

UMAIR 说:
Feb 19, 2021 07:46:08 PM

AP Board 10th Model Paper 2022 AP Board 10th Model Paper 2022 SEBA 10th Model Paper 2022 Assam HSLC Question Paper 2022 BiharBlueprint 2022 10th Model Paper 2022 BSEB Matric Question Paper 2022 CG Board 10th Model Paper 2022 CGBSE 12th Question Paper 2042

Faddy 说:
Feb 22, 2021 07:54:48 PM

I am jovial you take pride in what you write. It makes you stand way out from many other writers that can not push high-quality content like you. 먹튀검증

UMAIR 说:
Mar 02, 2021 04:12:00 PM

I'm dazzled with the article distributed here, and I will impart this to my https://altosplitpdf.com/reviewsreviews partners now. I'm certain they'll appreciate me for imparting this article to them.

UMAIR 说:
Mar 05, 2021 02:47:37 PM

This is a really good post this. Truly, a magnificent art is making an article. And you are quite a master at that art. I would tell you to keep on continuing this awesome work of yours my diy miniatures

Faddy 说:
Mar 06, 2021 06:00:42 PM

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! 토토

no excuses runner 说:
Mar 10, 2021 09:24:43 PM

Personally, I have found that to remain probably the most fascinating topics when it draws a parallel to. You may find two to three new levels inside L . a . Weight loss and any one someone is incredibly important. Initial stage may be real melting away rrn the body. lose weight 먹튀검증사이트

Faddy 说:
Mar 15, 2021 02:45:41 PM

I have read your article couple of times because your views are on my own for the most part. It is great content for every reader. 먹튀

Faddy 说:
Mar 17, 2021 04:41:21 PM

Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. www.schedulelogin.com

Faddy 说:
Mar 18, 2021 08:58:18 PM

Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. 꽁머니

Faddy 说:
Mar 21, 2021 09:32:34 PM

The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface. legal writing course online

no excuses runner 说:
Mar 24, 2021 04:50:23 PM

I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. walmart associate login

no excuses runner 说:
Mar 25, 2021 04:48:16 PM

I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. seo freelancer tools

Faddy 说:
Mar 27, 2021 09:21:55 PM

Just pure classic stuff from you here. I have never seen such a brilliantly written article in a long time. I am thankful to you that you produced this! cheapest PCB prototype

Weight Loss 说:
Apr 02, 2021 10:24:31 PM

Buy healing stone bracelets for chakra balancing, reiki energy healing, meditation, yoga, stress, anxiety depression Personalized to your healing needs and intentions Crystal bracelets to attract abundance, luck, money, love, remove negativity, enhance psychic power, increase willpower, motivation, and more!

Faddy 说:
Apr 03, 2021 05:22:46 PM

This is extremely fascinating substance! I have completely delighted in perusing your focuses and have reached the conclusion that you are right about a hefty portion of them. You are extraordinary. Onewheel XR Accessories

Weight Loss 说:
Apr 04, 2021 03:12:14 AM

ดูหนังฟรีออนไลน์ หนังใหม่ หนังชนโรง ดูหนังออนไลน์ 2020 ภาพชัด Full HD ทั้งหนังไทยและต่างประเทศ มีทั้งพากย์ไทย และซับไทย ดูหนังสนุกเพลิดเพลินได้ตลอด 24 ชม ดูหนังออนไลน์

Weight Loss 说:
Apr 06, 2021 12:26:16 PM

This is a great high resolution screen which you have shared for the users. Making a website is not an easy task but managing a good website is really a hard work. As far as this website is concerned, I am very happy. Escorts

no excuses runner 说:
Apr 08, 2021 02:14:02 PM

One present why galore businesses opt for postcards is because they are overmuch cheaper to be prefab and this can forbear a lot of expenses on the lengthened run. Computer Support and Services near me Century City Los Angeles, California

Weight Loss 说:
Apr 11, 2021 03:18:43 AM

Buy Pharmacy grade drugs to boost stamina and enhance performance. Buy HGH, mens sexual health products, weight loss remedy, EPO and Clenbuterol Buy Online. sibutramine buy online

Weight Loss 说:
Apr 12, 2021 01:42:11 AM

Meetursugar makes dating easy and fun for everyone. With our first date tool, our members discover high-quality, frequent first dates. We ensure that all people active on our site are serious about dating. Quick dating

토토사이트 说:
Apr 23, 2021 01:44:22 AM

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. 토토사이트

Buy more Instagram F 说:
Apr 24, 2021 05:58:58 PM

Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!! Buy more Instagram Followers

asdzxc 说:
May 13, 2021 03:39:52 PM

Lavington Designs - Visit our website for Premium & High Quality Monogrammed Gifts for Adults and Children, Quality Personalized Clothing, Totes, Travel Bags and Kids Gifts - Get the latest updates on new products and upcoming sales. Monogrammed Gifts

Faddy 说:
May 16, 2021 02:35:32 PM

I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. dry eye treatment

167.172.7.163 说:
May 31, 2021 03:07:34 AM

Winslot Casino : Slot Online Uang Asli Populer Terpercaya 167.172.7.163 ​, Winslot merupakan situs judi online dengan winrate tinggi yang menyediakan permainan judi slot online uang asli paling populer di Indonesia.

asdzxc 说:
Jun 18, 2021 01:02:35 AM Find the Maldives Tour Package & right Luxury hotel for your Maldives Honeymoon ​or Holidays Rawnaq Tourism recommends the Best Maldives Hotels depending on your individual needs
Faddy 说:
Jun 19, 2021 07:31:41 PM

I wish more authors of this type of content would take the time you did to research and write so well. I am very impressed with your vision and insight. N95 Face Mask

Free Slots No Deposi 说:
Jul 07, 2021 07:34:14 PM

Free Free Slots No Deposit Sites 2021 ​​are the most popular choices online all the time, Free Slots No Deposit Sites 2021Online slots are one of the ways that players enjoy their place to play at the most.

voyance 说:
Jul 14, 2021 04:49:05 PM

I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information.

Polaris 说:
Jul 27, 2021 12:29:49 AM

Beckside Machinery ore official Polaris dealers, UK. We specialise in Polaris off-road vehicles, including the Polaris Sportsman for sale. For more information, please call us on 01673 828 965 today or visit our Website , Thank You.

cialis 20mg in austr 说:
Aug 05, 2021 09:34:20 PM

Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks

Shafi 说:
Aug 10, 2021 03:07:07 PM

I enjoy you because of your own effort on this web site. My daughter really likes engaging in investigations and it’s easy to understand why. All of us notice all of the powerful means you provide useful ideas via this web blog and therefore foster response from the others on this issue plus our girl is undoubtedly discovering a great deal. Take advantage of the rest of the new year. Your carrying out a superb job. ผลบอลออนไลน์

Shafi 说:
Aug 10, 2021 04:19:18 PM

Christian Dior is really a genious when it comes to making those fancy dresses” ผลบอลออนไลน์

Shafi 说:
Aug 10, 2021 05:30:46 PM

i would be busy again doing some home decors this coming christmas, i’d be buying some new decors for the season., ผลบอลออนไลน์

phone spy 说:
Sep 23, 2021 07:58:41 PM

I have added and shared your site to my social media accounts to send people back to your site because I am sure they will find it extremely helpful too. phone spy

AAA 说:
Nov 09, 2021 11:53:36 PM

Thank you for taking the time to publish this information very useful! eta canada ansøgning

AAA 说:
Nov 14, 2021 03:31:41 AM

What is an outstanding post! “I’ll be back” (to read more of your content). Thanks for the nudge! INDIA MEDICAL VISA

rose toy 说:
Nov 17, 2021 02:44:30 PM

Good post but I was wondering if you could write a litte more on this subject? I’d be very thankful if you could elaborate a little bit further. Appreciate it! ఆన్‌లైన్‌లో కెనడా వీసా దరఖాస్తు

AAA 说:
Nov 22, 2021 03:12:28 AM

i read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future.. Tenerife piletid

mrferdos 说:
Nov 22, 2021 09:18:02 AM

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post.<a href="https://bocsnews.com/">bocsnews</a>

mrferdos 说:
Nov 22, 2021 09:18:43 AM

Excellent! Amazing! I’ll bookmark your blog and take the feeds also. I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing.[url=https://bocsnews.com/]bocsnews[/url]

Global Language Serv 说:
Nov 28, 2021 01:35:54 PM

Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.

Global Language Serv 说:
Nov 28, 2021 01:38:42 PM

If more people that write articles really concerned themselves with writing great content like you, more readers would be interested in their writings.Thank you for caring about your content.

Managed IT service p 说:
Nov 28, 2021 01:39:52 PM

I admire this article for the well-researched content and excellent wording.I got so involved in this material that I couldn’t stop reading.I am impressed with your work and skill.Thank you so much.

AAA 说:
Nov 30, 2021 06:26:28 PM

Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though. buy cialis 60mg tablets in australia

Managed IT service i 说:
Dec 05, 2021 01:31:39 PM

Get a complete guide for Managed IT service in USA, Activate and introduce MS office. Enter the office setup through IT service in USA for instant IT support. Know the IT service include and get instant support.

Translation Services 说:
Dec 05, 2021 01:34:09 PM

Hi, I am from Translation Services in USA (Translingua) your blogs really help us to develop our skills, I appreciated more articles to gather knowledge.

virus 说:
Jan 02, 2022 04:51:20 PM

Thank you very much for writing such an interesting article on this topic. This has really made me think and I hope to read more. 918kaya download

virus 说:
Jan 03, 2022 04:11:31 PM

Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. เว็บพนันufabet

virus 说:
Jan 06, 2022 08:02:22 PM

Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks pubfilm

virus 说:
Jan 08, 2022 07:28:20 PM

Hey, this day is too much good for me, since this time I am reading this enormous informative article here at my home. Thanks a lot for massive hard work. https://mopsc.org

virus 说:
Jan 09, 2022 09:03:09 PM

It is my first visit to your blog, and I am very impressed with the articles that you serve. Give adequate knowledge for me. Thank you for sharing useful material. I will be back for the more great post. Pintu

virus 说:
Jan 11, 2022 08:41:18 PM

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks... business consulting firm

COOK 说:
Jan 24, 2022 12:18:02 AM

Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. 30-30 ammo for sale

virus 说:
Jan 26, 2022 02:48:27 PM

Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. pediatric clinic in Hyderabad

COOK 说:
Jan 26, 2022 10:12:03 PM

Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. 토토사이트 추천

COOK 说:
Jan 29, 2022 06:27:07 PM It was wondering if I could use this write-up on my other website, I will link it back to your website though.Great Thanks. superbet
virus 说:
Jan 30, 2022 06:04:19 PM

I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers poker dewa

COOK 说:
Feb 05, 2022 10:01:16 PM

Thanks For sharing this Superb article.I use this Article to show my assignment in college.it is useful For me Great Work. home depot health check

COOK 说:
Feb 17, 2022 06:07:37 PM

That is really nice to hear. thank you for the update and good luck. 10000 sqft warehouse for rent

virus 说:
Feb 23, 2022 08:29:42 PM

I'm glad I found this web site, I couldn't find any knowledge on this matter prior to.Also operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, im always look for people to check out my web site. splinterlands water guide magic beginners

virus 说:
Feb 24, 2022 04:27:49 PM

The post is written in very a good manner and it contains many useful information for me. paper writing help

COOK 说:
Feb 27, 2022 04:39:24 PM

You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant! playtoearn

COOK 说:
Feb 27, 2022 07:26:55 PM

Hey, this day is too much good for me, since this time I am reading this enormous informative article here at my home. Thanks a lot for massive hard work. 카지노

COOK 说:
Mar 01, 2022 04:08:48 PM

Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. 먹튀검증업체

virus 说:
Mar 01, 2022 04:28:16 PM

Friend, this web site might be fabolous, i just like it. skyward fbisd

virus 说:
Mar 01, 2022 07:44:11 PM

Fantastic blog! Do you have any tips and hints for aspiring writers? I’m planning to start my own website soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m completely overwhelmed .. Any suggestions? Many thanks! Software de monitoreo de empleados

COOK 说:
Mar 01, 2022 08:16:04 PM

i read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future.. led lounge furniture

COOK 说:
Mar 05, 2022 04:35:04 PM

All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks is cyberbullying worse than ever before

virus 说:
Mar 05, 2022 08:23:07 PM

Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. Recommended Movies

virus 说:
Mar 06, 2022 06:51:17 PM

This blog is really great. The information here will surely be of some help to me. Thanks!. Bitly USA

virus 说:
Mar 07, 2022 04:28:45 PM

I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. random animal facts

COOK 说:
Mar 07, 2022 08:40:15 PM

It proved to be Very helpful to me and I am sure to all the commentators here! top apple mail alternatives for iphone and mac

virus 说:
Mar 10, 2022 03:29:42 PM

Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though. 메이저놀이터

virus 说:
Mar 22, 2022 08:02:02 PM

I would like to say that this blog really convinced me to do it! Thanks, very good post. truck mattress

. 카지노사이트 说:
Mar 31, 2022 03:10:29 AM

I got what you mean , thanks for posting .Woh I am happy to find this website through google. legal nurse consultant jobs

umair 说:
Apr 06, 2022 06:34:56 PM

Thanks for the blog post buddy! Keep them coming... <a href="https://kursexperte.com/">Affiliate Marketing</a>

talha 说:
Apr 07, 2022 06:16:36 PM

We have sell some products of different custom boxes.it is very useful and very low price please visits this site thanks and please share this post with your friends. skyward fbisd

umair 说:
Apr 14, 2022 03:29:29 PM

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. <a href="https://pianoteeth.com/nc561lwzys">ufabet เครดิตฟรี ไม่ต้องฝาก ไม่ต้องแชร์</a>

스웨디시 사이트 说:
May 11, 2022 04:57:07 PM

When your website or blog goes live for the first time, it is exciting. That is until you realize no one but you and your. <a href="https://swedishs.com">스웨디시 사이트</a>

COOK 说:
May 12, 2022 02:23:07 AM

You understand your projects stand out of the crowd. There is something unique about them. It seems to me all of them are brilliant. 토토사이트


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter