Lines 41-47
Link Here
|
41 |
# $fontPath = "unix/:7100"; |
41 |
# $fontPath = "unix/:7100"; |
42 |
|
42 |
|
43 |
# Here is another example of setting the font path: |
43 |
# Here is another example of setting the font path: |
44 |
$fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"; |
44 |
open(XFC, "/etc/X11/XF86Config"); |
|
|
45 |
while (<XFC>) { |
46 |
if (/^[ \t]+FontPath[\t ]+\"(.*)\"/) { |
47 |
if ($fontPath) { |
48 |
$fontPath="$fontPath,$1"; |
49 |
} else { |
50 |
$fontPath="$1"; |
51 |
} |
52 |
} |
53 |
} |
54 |
close XFC; |
45 |
|
55 |
|
46 |
# X colors database path is optional, uncomment and edit to use: |
56 |
# X colors database path is optional, uncomment and edit to use: |
47 |
# $colorPath = "/usr/lib/X11/rgb"; |
57 |
# $colorPath = "/usr/lib/X11/rgb"; |