个人工具

UbuntuHelp:QtGnome

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月13日 (日) 11:23的版本 (New page: {{From|https://help.ubuntu.com/community/QtGnome}} {{Languages|php5}} Make QT application more Gnome-like == Install needed software == First we need to install qt3-qtconfig in order to c...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

Make QT application more Gnome-like

Install needed software

First we need to install qt3-qtconfig in order to change the sytles:

sudo apt-get install qt3-qtconfig
</code>

Now we install Polymer QT Theme (Looks like gnomes clearlooks):
Add the following line to <code>/etc/apt/sources.list</code> file: 

sarge (stable)->hoary: 
<pre>
deb http://www.informatik.tu-cottbus.de/~mkrause/debian sarge main
</code>

etch (testing) / sid (unstable)->breezy: 
<pre>
deb http://www.informatik.tu-cottbus.de/~mkrause/debian sid main
</code>

Run the following commands: 
<pre>
sudo apt-get update
sudo apt-get install polymer 
</code>
Debian packages provided and maintained by Mathias Krause.
[Polymer project page http://static.int.pl/~mig21/dev/polymer/]


If you want to use a font like Trebuchet we need to install msstcorefonts:
<pre>
sudo apt-get install msttcorefonts
</code>

If you want to use XlinSans (What I personaly prefer and also use in my gnome system):
<pre>
ftp://ftp.chg.ru/pub/Linux/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
</code>
if you don't have alien install it via: <code>sudo apt-get install alien</code>.

== Configure ==
Let's configure it:
<pre>
qtconfig
</code>

You can make for example the following changes:
<pre>
-Default Font-
Family: Trebuchet MS
Style: Normal
Point Size: 10
</code>
or choose "XLinSans"!

Click on the Library Paths tab. In the input-box at the bottom enter
<pre>
/usr/plugins
</code>
then click add, save it and restart and choose polymer as GUI Style and save it again.

Now we configure the polymer theme:
<pre>
polymer-config
</code>

Down around the bottom you'll see <code>KDE Style Settings</code>, change the <code>Transparency Engine</code> to <code>Software Tint</code> and then close the application and save it.

For even more KDE tweaking you can play around with <code>kcontrol</code>.

Thanks: [FLeiXiuS http://ubuntuforums.org/showthread.php?t=56630&page=1&pp=10]

CategoryDocumentation CategoryCleanup

[[category:UbuntuHelp]]