A way to change QT fonts

Share your ideas, questions or suggestions with us here.
Post Reply
vaisarger
Posts: 40
Joined: Fri Oct 03, 2014 12:04 pm
Has thanked: 0
Been thanked: 0

A way to change QT fonts

Post by vaisarger »

Hi!
Here I am again on GhostBSD! I like it very much and congratulations for very nice work! :D

I use MATE desktop.
I would suggest to add to system a way to change font size for QT apps (like Octopkg), because QT libs are different from GTK and so normal font size changes don't affect QT apps (f.i. I am not able to find a way to increase Octpkg font size...).

It is a minor lack, but not all applications are GTK...

User avatar
ericbsd
Developer
Posts: 1552
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 52 times
Been thanked: 82 times

Re: A way to change QT fonts

Post by ericbsd »

This true and Octpkg will not be part of GhostBSD for ever. We just add Optpkg to help user to install software utile we can finish our pkg GUI frontend, but yes we should add something to fix that.

vaisarger
Posts: 40
Joined: Fri Oct 03, 2014 12:04 pm
Has thanked: 0
Been thanked: 0

Re: A way to change QT fonts

Post by vaisarger »

Ok, I found a solution (or at least a workaround...) :D

Code: Select all

#!/usr/bin/env bash
#
source easybashgui
#
/usr/local/bin/Xephyr -ac -dpi 133 -screen 1024x768 -br -reset -terminate -resizeable :2 & 
#
sleep 1
export DISPLAY=:2.0
# 
#/usr/local/bin/fluxbox & sleep 1
wait_seconds -w 1024 -h 768 "5" &
/usr/local/bin/octopkg & 
:
Easybashgui is a bash library simply to make widgets (in this case to make "wait_seconds"), but, if you want, you can avoid use it since in this script it has only an aesthetic purpose.

In hope this could be useful.... ;)

tankist02
Posts: 15
Joined: Wed Sep 04, 2013 5:46 pm
Has thanked: 0
Been thanked: 0

Re: A way to change QT fonts

Post by tankist02 »

I use Mate on FreeBSD 10-STABLE. Fonts on qbittorent were too tiny for my eyes. I fixed that by installing qt4-qtconfig, running it and selecting font size. You can also select a nice QT theme.

vaisarger
Posts: 40
Joined: Fri Oct 03, 2014 12:04 pm
Has thanked: 0
Been thanked: 0

Re: A way to change QT fonts

Post by vaisarger »

Hi tankist02!
Sorry for late reply.

I tried that command, but even if I changed font size in it, octopkg still remained with its same size... :(

User avatar
ericbsd
Developer
Posts: 1552
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 52 times
Been thanked: 82 times

Re: A way to change QT fonts

Post by ericbsd »

Open a terminal Type

Code: Select all

pkg install -y qt4-qtconfig
and run

Code: Select all

qt4-qtconfig
.

vaisarger
Posts: 40
Joined: Fri Oct 03, 2014 12:04 pm
Has thanked: 0
Been thanked: 0

Re: A way to change QT fonts

Post by vaisarger »

I did, Eric... but no way, octopkg keeps on having font size too small.

So far, best way to increase it is way I showed before (using Xephyr)... :roll:

Post Reply