You are not logged in.

#1 2013-08-28 19:02:20

desiderius
Member
Registered: 2013-06-15
Posts: 10

Weird size on fonts when using .xinitrc to start WM instead of GDM

Hey!

I just started to use DWM (came straigt from i3) and i really like it so far...
So to get the full out of it i have decided to remove the bloated gnome/gdm login-thingie and use the .xinitrc instead to make things easier

So when i finaly started DWM with startx i saw something weird... The buttons and fonts were huge comapred to when i started DWM from gdm...

Pic: http://imgur.com/a/xlgmL

So i was wondering if anyone here know what the problem is and how to fix it :3

I can post things like .xinitrc on request if anyone need it to help me

Thanks in advance!

Offline

#2 2013-08-28 19:17:33

Oxyd
Member
From: Czech Republic
Registered: 2008-01-17
Posts: 167

Re: Weird size on fonts when using .xinitrc to start WM instead of GDM

Might be a difference in DPI setting. Try running xdpyinfo | grep dots from both environments, and see if you get different results (you'll find xdpyinfo in the xorg-xdpyinfo package).

Last edited by Oxyd (2013-08-28 19:17:51)

Offline

#3 2013-08-28 19:27:32

desiderius
Member
Registered: 2013-06-15
Posts: 10

Re: Weird size on fonts when using .xinitrc to start WM instead of GDM

Looks like there is a differnece there... On the first environment (the one with the small and good fonts) it was 96x96 dots while on the second one (not so good looking) it was 143x144

Is there any way to change it?

Offline

#4 2013-08-28 19:33:03

desiderius
Member
Registered: 2013-06-15
Posts: 10

Re: Weird size on fonts when using .xinitrc to start WM instead of GDM

Seems like i fixed it

Offline

#5 2013-08-28 19:33:57

Oxyd
Member
From: Czech Republic
Registered: 2008-01-17
Posts: 167

Re: Weird size on fonts when using .xinitrc to start WM instead of GDM

Yup – the Wiki lists a bunch of options. Personally, I'd just slap Option "DPI" "96 x 96" into the Monitor section of xorg.conf.

Offline

Board footer

Powered by FluxBB