Toon posts:

resolutie probleem

Pagina: 1
Acties:

Verwijderd

Topicstarter
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
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.

  • Arzie
  • Registratie: Juni 1999
  • Laatst online: 00:21
Je kunt de displaysize overriden:

code:
1
2
3
4
5
6
7
8
9
Section "Monitor"
    Identifier  "TFT"

    HorizSync   30-75
    VertRefresh 60-75
    
    Option  "DPMS"
    DisplaySize 357 267 # override values for 100 dpi
EndSection

Verwijderd

Topicstarter
Heb je ook toevallig een referentie waar ik meer/goede info hierover kan vinden?

  • Arzie
  • Registratie: Juni 1999
  • Laatst online: 00:21
Google weet er vast meer van. Maar je geeft dus gewoon de breedtexhoogte-afmetingen in millimeters op.

[ Voor 8% gewijzigd door Arzie op 27-12-2003 23:55 ]


  • sebas
  • Registratie: April 2000
  • Laatst online: 16-12-2025
Hoe start je X?

startx/kdm/gdm?

Hier helpt het om kdm / gdm te forcen naar 75dpi:
gdm.conf (bij mij regel 273)
code:
1
command=/usr/X11R6/bin/X -deferglyphs 16 -dpi 75 -nolisten tcp -audit 0

kdm (/etc/kde3/kdm/Xservers):
code:
1
2
:0 local@tty1 /usr/bin/nice -n -10 /usr/X11R6/bin/X :0 -dpi 75 -nolisten tcp vt7
:1 local reserve /usr/X11R6/bin/X :1 -dpi 75 -nolisten tcp vt8


(Dat nice erin mag je eruithalen. ;))

Everyone complains of his memory, no one of his judgement.