You are not logged in.

#1 2010-08-14 15:25:01

Lowra
Member
Registered: 2009-09-21
Posts: 192

No one of my Qt apps have fonts

Hello,
I'm running a desktop without a DE (I use Openbox, PcmanFM...)
I use VLC to play my videos, at the beggining I wanted to have a cute interface who matches with my GTK theme, QGtktheme did not worked at all, so I added the following line to my autostart.sh

[export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

VLC now looked pretty, but I noticed a problem: now VLC does not have fonts like on the following screenshot:
3d957e742ff9d1ccc4f251b83a158.jpg

So recently (today) I removed this line, rebooted several times, but I don't have fonts hmm
I started qtconfig: it does not have fonts too
I reinstalled vlc, removing my /home/lowra/.config/vlc folder, the interface is now ugly, but I still don't have fonts...

Could you help me please ?

Offline

#2 2010-08-15 03:17:52

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: No one of my Qt apps have fonts

I'm probably as just as noob as you if not more, but did you tried installing a full environment and see if this is corrected? Since you like using Gtk/2 apps may be you want to install Xfce?
Just an idea...


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#3 2010-09-26 12:34:10

Lowra
Member
Registered: 2009-09-21
Posts: 192

Re: No one of my Qt apps have fonts

I don't want to install a full DE hmm

Nobody have an idea ? :S

Offline

#4 2010-09-26 12:41:50

Varg
Member
From: Belgium
Registered: 2010-07-07
Posts: 272

Re: No one of my Qt apps have fonts

Did you install all the necessary fonts ?
ttf-ms-fonts
ttf-dejavu
ttf-bitstream-vera

Offline

#5 2010-09-26 13:45:06

Lowra
Member
Registered: 2009-09-21
Posts: 192

Re: No one of my Qt apps have fonts

Varg wrote:

Did you install all the necessary fonts ?
ttf-ms-fonts
ttf-dejavu
ttf-bitstream-vera

Yep got them

Offline

#6 2010-09-26 14:03:08

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: No one of my Qt apps have fonts

There may be something wrong with your user setup. You could try with a new test user. Or rename the local ~/.qt folder and check if there are at least some fonts visible in qtconfig.


To know or not to know ...
... the questions remain forever.

Offline

#7 2010-09-26 15:21:03

Lowra
Member
Registered: 2009-09-21
Posts: 192

Re: No one of my Qt apps have fonts

bernarcher wrote:

There may be something wrong with your user setup. You could try with a new test user. Or rename the local ~/.qt folder and check if there are at least some fonts visible in qtconfig.

Thanks wink
I deleted the Trolltech.conf file, and restarted VLC: Now I have the fonts but it's ugly tongue
So I ran qtconfig, and set GTK+ design, it looked nice but it removed the fonts again ^^

I also tried the following hack in my autostart.sh but it does not work:

export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

Still looking for a solution, but the problem isn't exactly the same ^^

EDIT: In fact when I choose GTK+ in qtconfig or in VLC settings: the fonts disappears. Now I've chosen Cleanlooks the skin is pretty but not integrated, and the fonts works.
That's not that bad big_smile

Last edited by Lowra (2010-09-26 15:35:10)

Offline

Board footer

Powered by FluxBB