Page 1 of 1

A way to change QT fonts

Posted: Fri Feb 05, 2016 1:14 pm
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...

Re: A way to change QT fonts

Posted: Sun Feb 07, 2016 7:55 am
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.

Re: A way to change QT fonts

Posted: Sat Mar 05, 2016 2:01 pm
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.... ;)

Re: A way to change QT fonts

Posted: Tue Mar 08, 2016 5:01 pm
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.

Re: A way to change QT fonts

Posted: Sat Apr 02, 2016 5:28 pm
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... :(

Re: A way to change QT fonts

Posted: Sun Apr 03, 2016 9:20 am
by ericbsd
Open a terminal Type

Code: Select all

pkg install -y qt4-qtconfig
and run

Code: Select all

qt4-qtconfig
.

Re: A way to change QT fonts

Posted: Thu Apr 07, 2016 4:34 pm
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: