You are not logged in.

#1 2011-06-15 16:03:59

OBLiQUE
Member
Registered: 2008-12-04
Posts: 107
Website

[SOLVED] Gnome 3 and DPI

i have 1920x1080 resolution and fonts are very small.. i searched how i can change DPI in Gnome 3 but i didn't find anything, also i tried to change it through xorg.conf but Gnome overrides it..
my last idea was to change font size, but in some applications are again too small (e.g. chromium, skype)..

any ideas?

Last edited by OBLiQUE (2011-06-15 17:22:50)

Offline

#2 2011-06-15 16:23:24

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: [SOLVED] Gnome 3 and DPI

You can change your fonts using the gnome-tweak-tool package.

Offline

#3 2011-06-15 16:28:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Gnome 3 and DPI

it used to be in gsettings org.gnome.settings-daemon.plugins.xsettings but they dropped it


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2011-06-15 17:22:21

OBLiQUE
Member
Registered: 2008-12-04
Posts: 107
Website

Re: [SOLVED] Gnome 3 and DPI

@wonder THANKS!! you inspired me...

solution:

i went through the xsettings plugin code and i saw that they hard-coded the DPI to 96... so i changed it from there..

howto:

% sudo pacman -S abs
% sudo abs
% cp -r /var/abs/extra/gnome-settings-daemon ./
% cd gnome-settings-daemon
% makepkg -o

edit src/gnome-settings-daemon-3.0.2/plugins/xsettings/gsd-xsettings-manager.c

and change this:

#define DPI_FALLBACK 96

to this (if you want 120 DPI)

#define DPI_FALLBACK 120

save it and do:

% makepkg -e
% makepkg -i

relogin

you can remove gnome-settings-daemon folder after this...

enjoy big_smile

Last edited by OBLiQUE (2011-06-15 20:13:03)

Offline

#5 2011-07-03 05:10:04

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: [SOLVED] Gnome 3 and DPI

Actually, there is a setting. Open dconf-editor and goto /org/gnome/desktop/interface/text-scaling-factor & change the scaling (for ex 0.9 was fine for me).

Offline

#6 2011-07-03 21:07:26

OBLiQUE
Member
Registered: 2008-12-04
Posts: 107
Website

Re: [SOLVED] Gnome 3 and DPI

I tried it before but some fonts didn't changed..

Offline

#7 2011-11-26 10:33:40

OBLiQUE
Member
Registered: 2008-12-04
Posts: 107
Website

Re: [SOLVED] Gnome 3 and DPI

shadyabhi is right. i don't know why it didn't work the first time. =/

anyway, if someone want 120 DPI must do the following:

120.0/96.0 = 1.25

open dconf-editor, goto org.gnome.desktop.interface and change text-scaling-factor to 1.25

restart gnome if needed

Last edited by OBLiQUE (2011-11-26 10:34:04)

Offline

Board footer

Powered by FluxBB