Iedere keer waneer ik linux boot (gentoo) krijg ik een andere dpi instelling voorgeschoteld, waardoor mijn fonts de ene keer wel goed overkomen en de keer daarop gewoon te groot zijn.
Voer ik 'xdpyconfig' uit krijg ik de volgende uitkomst waneer alles wel goed is
Voer ik het uit waneer alles te groot is is dit de uitkomst:
Ik heb al een beetje gezocht op internet via google en wat ik kon vinden was:
- dat ik in de XF86Config de 75dpo fonts voor de 100dpi fonts moest plaatsen
- de 100dpi fonts evt verwijderen
- een extra regel zetten in .Xresources nl
Al wat hier boven staat heb ik geprobeerd (100dpi fonts weer terug geplaatst) en loste niets op. Ik draai Kde en/of fluxbox en in beide komt het voor. Hoe dit op te lossen?
Voor de zekerheid zal ik mijn XF86Config file erbij plaatsen.
Tevens is het zo day waneer ik de 78Hz optie wil gebruiken uit de modelines het beeld gaat flikkeren alsof ik 60Hz draai op de resolutie zoals aangeduid. Ik heb de waardes van een site (kan hem niet zo snel terugvinden) waar mijn monitor (PHL107E) ook gewoon tussen stond met daarbij deze waardes en tevens een genereer tooltje waar je handmatig gegevens in kon voeren om de waardes te bepalen.
Voer ik 'xdpyconfig' uit krijg ik de volgende uitkomst waneer alles wel goed is
code:
1
2
| %xdpyinfo |grep resolution
resolution: 75x75 dots per inch |
Voer ik het uit waneer alles te groot is is dit de uitkomst:
code:
1
2
| %xdpyinfo |grep resolution
resolution: 94x95 dots per inch |
Ik heb al een beetje gezocht op internet via google en wat ik kon vinden was:
- dat ik in de XF86Config de 75dpo fonts voor de 100dpi fonts moest plaatsen
- de 100dpi fonts evt verwijderen
- een extra regel zetten in .Xresources nl
code:
1
| Xft.dpi:75 |
Al wat hier boven staat heb ik geprobeerd (100dpi fonts weer terug geplaatst) en loste niets op. Ik draai Kde en/of fluxbox en in beide komt het voor. Hoe dit op te lossen?
Voor de zekerheid zal ik mijn XF86Config file erbij plaatsen.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
| cat /etc/X11/XF86Config
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/truetype/"
FontPath "/usr/X11R6/lib/X11/fonts/sharefont/"
FontPath "/usr/share/fonts/freefont/"
Fontpath "/usr/share/fonts/ttf-bitstream-vera/"
Fontpath "/usr/share/fonts/terminus/"
Fontpath "/usr/share/fonts/shinonome/"
Fontpath "/usr/share/fonts/mplus/"
Fontpath "/usr/share/fonts/monafont/"
Fontpath "/usr/share/fonts/baekmuk/"
Fontpath "/usr/share/fonts/artwiz/"
Fontpath "/usr/share/fonts/default/ghostscript/"
EndSection
Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "speedo"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us_group3"
Option "XkbVariant" "deadkeys"
Option "LeftAlt" "Meta"
Option "RightAlt" "Meta"
Option "ScrollLock" "Compose"
Option "RightCtl" "Control"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Philips"
ModelName "107E"
HorizSync 30-70
VertRefresh 50-160
#ModeLine "1152x864/78Hz" 110 1152 1240 1324 1552 864 864 876 908
#ModeLine "1152x864/70Hz" 92 1152 1208 1368 1474 864 865 875 895
EndSection
Section "Device"
Option "HWcursor" "false"
Option "NvAGP" "1"
Option "TransparentIndex" "1"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV15DDR [GeForce2 Ti]"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1152x864"
EndSubSection
Subsection "Display"
Depth 24
Modes "1152x864"
EndSubsection
EndSection
Section "ServerFlags" |
Tevens is het zo day waneer ik de 78Hz optie wil gebruiken uit de modelines het beeld gaat flikkeren alsof ik 60Hz draai op de resolutie zoals aangeduid. Ik heb de waardes van een site (kan hem niet zo snel terugvinden) waar mijn monitor (PHL107E) ook gewoon tussen stond met daarbij deze waardes en tevens een genereer tooltje waar je handmatig gegevens in kon voeren om de waardes te bepalen.