Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
转贴: [x技巧]如何将程序加到桌面图标上?兼谈图标汉字化
View previous topic :: View next topic  
Author Message
米迈7500c



Joined: 01 Nov 2006
Posts: 46

小企鹅: 1568

PostPosted: 2006-Nov-09 Thu, am10:23 Reply with quote
 Post subject: 转贴: [x技巧]如何将程序加到桌面图标上?兼谈图标汉字化

原论坛上的吧,现转帖下来,有朋友需要吗?

[x技巧]如何将程序加到桌面图标上?兼谈图标汉字化
有部分程序安装后会没有图标出现在桌面中。如dlume(支持中文的地址薄)、leafpad(相当于notepad,支持汉字)、wesnoth(一款战略游戏)等。
如何将这些程序加到桌面的图标中呢,下面以wesnoth为例,说一下,仅大家参考。
1.确定相关文件在何处。
updatedb.sh(如果你运行过,可省略)
locate wesnoth 这时,程序会告诉你相关资料在何处。 我的机器中: wesnoth执行文件在/mnt/card/usr/local/share/下。 wesnoth.png图标文件在/mnt/card/usr/local/share/pixmaps/maps下。 其他不用管。
2.将它们分别连到相应目录下。(我用mc) wesnoth连接到/usr/bin/下 wesnoth.png连接到/usr/share/pixmaps/下
3.创建一个wesnoth.desktop文件(用SciTE程序创建) [Desktop Entery] Name=wesnoth Exec=wesnoth Iconfiltered=wesnoth.png Type=Application Categories=Game 存盘于:/usr/share/applications/wesnoth.desktop 重新启动X,就会有图标出现在game中了。 你可以自由变化。 同样的道理,如果我们的终端支持汉字输入,将Name=变成汉字名,就完成了图标的汉化。(试了一下,汉字出来是框框)
Back to top
View user's profile Send private message
Display posts from previous:     
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

[ 页面生成时间: 秒 ] :: [ 次查询 ] :: [ ]
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional