QtGnome
出自Ubuntu中文
QT Gnome
原文出处:
原文作者:
授权许可:
翻译人员:mahongquan zhan
校正人员:
贡献人员:
适用版本: 文章状态:等待校正
Make QT application more Gnome-like
使QT应用程序外观更像Gnome
Install needed software(安装需要的软件)
First we need to install qt3-qtconfig in order to change the sytles:
为了更改界面风格首先需要安装qt3-qtconfig:
sudo apt-get install qt3-qtconfig
Now we install Polymer QT Theme (Looks like gnomes clearlooks): Add the following line to /etc/apt/sources.list file:
现在我们安装Polymer QT Theme(界面像gnome的 clearlooks):把下面一行加入到文件/etc/apt/sources.list file:
sarge (stable)->hoary:
sarge (stable)->hoary:
deb http://www.informatik.tu-cottbus.de/~mkrause/debian sarge main
etch (testing) / sid (unstable)->breezy:
etch (testing) / sid (unstable)->breezy:
deb http://www.informatik.tu-cottbus.de/~mkrause/debian sid main
Run the following commands:
运行下面命令:
sudo apt-get update sudo apt-get install polymer
Debian packages provided and maintained by Mathias Krause. [Polymer project page http://static.int.pl/~mig21/dev/releases/polymer/]
Debian 包由Mathias Krause提供和维护。[Polymer project page http://static.int.pl/~mig21/dev/releases/polymer/]
If you want to use a font like Trebuchet we need to install msstcorefonts:
如果你需要Trebuchet等字体,需要安装msstcorefonts:
sudo apt-get install msttcorefonts
If you want to use XlinSans (What I personaly prefer and also use in my gnome system):
如果你想使用XlinSans(我个人喜欢并用于我的gnome系统中)
wget ftp://ftp.nluug.nl/pub/os/Linux/distr/altlinux/Master/2.4/ALTLinux/RPMS.main/dmtr40in-fonts-1.0-alt2.noarch.rpm sudo alien -d dmtr40in-fonts-1.0-alt2.noarch.rpm sudo dpkg -i dmtr40in-fonts_1.0-1_all.deb
if you don't have alien install it via: sudo apt-get install alien.
如果你没安装alien,这样安装它:sudo apt-get install alien.
Configure(配置)
Let's configure it:
用下面命令配置:
qtconfig
You can make for example the following changes:
例如可作如下修改:
-Default Font- Family: Trebuchet MS Style: Normal Point Size: 10
or chosse "XLinSans"!
或者使用"XLinSans"!
Click on the Library Paths tab. In the input-box at the bottom enter
选库路径表单页。在底部的输入框中输入
/usr/plugins
then click add, save it and restart and choose polymer as GUI Style and save it again.
Now we configure the polymer theme:
然后单击增加,保存然后重起,然后界面风格选polymer,再次保存。
现在配置polymer主题:
polymer-config
Down around the bottom you'll see KDE Style Settings, change the Transparency Engine to Software Tint and then close the application and save it.
在底部可看到KDE风格设定,
For even more KDE tweaking you can play around with kcontrol.
Thanks: FLeiXiuS
