个人工具

“UbuntuHelp:QtGnome”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示2个用户的3个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/QtGnome}}
 
{{From|https://help.ubuntu.com/community/QtGnome}}
 
{{Languages|UbuntuHelp:QtGnome}}
 
{{Languages|UbuntuHelp:QtGnome}}
Make QT application more Gnome-like
+
<<Include(Tag/ContentCleanup)>>
 
+
Make QT application more GNOME-like
 
== Install needed software ==
 
== Install needed software ==
 
First we need to install qt3-qtconfig in order to change the sytles:
 
First we need to install qt3-qtconfig in order to change the sytles:
第8行: 第8行:
 
sudo apt-get install qt3-qtconfig
 
sudo apt-get install qt3-qtconfig
 
</nowiki></pre>
 
</nowiki></pre>
 
+
Now we install Polymer QT Theme that looks like GNOME Clearlooks. It is in the [[UbuntuHelp:Repositories/Ubuntu#AddUniverse|Universe]] repository.  
Now we install Polymer QT Theme (Looks like gnomes clearlooks):
+
Add the following line to <code><nowiki>/etc/apt/sources.list</nowiki></code> file:
+
 
+
sarge (stable)->hoary:
+
 
<pre><nowiki>
 
<pre><nowiki>
deb http://www.informatik.tu-cottbus.de/~mkrause/debian sarge main
 
</nowiki></pre>
 
 
etch (testing) / sid (unstable)->breezy:
 
<pre><nowiki>
 
deb http://www.informatik.tu-cottbus.de/~mkrause/debian sid main
 
</nowiki></pre>
 
 
Run the following commands:
 
<pre><nowiki>
 
sudo apt-get update
 
 
sudo apt-get install polymer  
 
sudo apt-get install polymer  
 
</nowiki></pre>
 
</nowiki></pre>
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:
 
If you want to use a font like Trebuchet we need to install msstcorefonts:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install msttcorefonts
 
sudo apt-get install msttcorefonts
 
</nowiki></pre>
 
</nowiki></pre>
 
+
If you want to use Xlin Sans (What I personaly prefer and also use in my GNOME system):
If you want to use XlinSans (What I personaly prefer and also use in my gnome system):
+
 
<pre><nowiki>
 
<pre><nowiki>
ftp://ftp.chg.ru/pub/Linux/ALTLinux/Master/2.4/ALTLinux/RPMS.main/dmtr40in-fonts-1.0-alt2.noarch.rpm
+
wget -c 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 alien -d dmtr40in-fonts-1.0-alt2.noarch.rpm
 
sudo dpkg -i dmtr40in-fonts_1.0-1_all.deb
 
sudo dpkg -i dmtr40in-fonts_1.0-1_all.deb
 
</nowiki></pre>
 
</nowiki></pre>
 
if you don't have alien install it via: <code><nowiki>sudo apt-get install alien</nowiki></code>.
 
if you don't have alien install it via: <code><nowiki>sudo apt-get install alien</nowiki></code>.
 
 
== Configure ==
 
== Configure ==
 
Let's configure it:
 
Let's configure it:
第49行: 第28行:
 
qtconfig
 
qtconfig
 
</nowiki></pre>
 
</nowiki></pre>
 
 
You can make for example the following changes:
 
You can make for example the following changes:
 
<pre><nowiki>
 
<pre><nowiki>
第58行: 第36行:
 
</nowiki></pre>
 
</nowiki></pre>
 
or choose "XLinSans"!
 
or choose "XLinSans"!
 
 
Click on the Library Paths tab. In the input-box at the bottom enter
 
Click on the Library Paths tab. In the input-box at the bottom enter
 
<pre><nowiki>
 
<pre><nowiki>
第64行: 第41行:
 
</nowiki></pre>
 
</nowiki></pre>
 
then click add, save it and restart and choose polymer as GUI Style and save it again.
 
then click add, save it and restart and choose polymer as GUI Style and save it again.
 
 
Now we configure the polymer theme:
 
Now we configure the polymer theme:
 
<pre><nowiki>
 
<pre><nowiki>
 
polymer-config
 
polymer-config
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Down around the bottom you'll see <code><nowiki>KDE Style Settings</nowiki></code>, change the <code><nowiki>Transparency Engine</nowiki></code> to <code><nowiki>Software Tint</nowiki></code> and then close the application and save it.
 
Down around the bottom you'll see <code><nowiki>KDE Style Settings</nowiki></code>, change the <code><nowiki>Transparency Engine</nowiki></code> to <code><nowiki>Software Tint</nowiki></code> and then close the application and save it.
 
 
For even more KDE tweaking you can play around with <code><nowiki>kcontrol</nowiki></code>.
 
For even more KDE tweaking you can play around with <code><nowiki>kcontrol</nowiki></code>.
 
 
Thanks: [FLeiXiuS http://ubuntuforums.org/showthread.php?t=56630&page=1&pp=10]
 
Thanks: [FLeiXiuS http://ubuntuforums.org/showthread.php?t=56630&page=1&pp=10]
 
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年5月12日 (二) 18:32的最新版本

<<Include(Tag/ContentCleanup)>> 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

Now we install Polymer QT Theme that looks like GNOME Clearlooks. It is in the Universe repository.

sudo apt-get install polymer 

If you want to use a font like Trebuchet we need to install msstcorefonts:

sudo apt-get install msttcorefonts

If you want to use Xlin Sans (What I personaly prefer and also use in my GNOME system):

wget -c 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

if you don't have alien install it via: 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 choose "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-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. For even more KDE tweaking you can play around with kcontrol. Thanks: [FLeiXiuS http://ubuntuforums.org/showthread.php?t=56630&page=1&pp=10]