/usr/share/debian-reference/ch07.en.html is in debian-reference-en 2.72.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Chapter 7. The X Window System</title>
<link rel="stylesheet" type="text/css" href="debian-reference.css"/>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="home" href="index.en.html" title="Debian Reference"/>
<link rel="up" href="index.en.html" title="Debian Reference"/>
<link rel="prev" href="ch06.en.html" title="Chapter 6. Network applications"/>
<link rel="next" href="ch08.en.html" title="Chapter 8. I18N and L10N"/>
</head>
<body>
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr>
<th colspan="3" align="center">Chapter 7. The X Window System</th>
</tr>
<tr>
<td align="left"><a accesskey="p" href="ch06.en.html"><img src="images/prev.png" alt="Prev"/></a> </td>
<th width="60%" align="center"> </th>
<td align="right"> <a accesskey="n" href="ch08.en.html"><img src="images/next.png" alt="Next"/></a></td>
</tr>
</table>
<hr/>
</div>
<div class="chapter">
<div class="titlepage">
<div>
<div>
<h1 class="title"><a id="_the_x_window_system"/>Chapter 7. The X Window System</h1>
</div>
</div>
</div>
<div class="toc">
<p>
<strong>Table of Contents</strong>
</p>
<dl class="toc">
<dt>
<span class="section">
<a href="ch07.en.html#_key_packages">7.1. Key packages</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_setting_up_desktop_environment">7.2. Setting up desktop environment</a>
</span>
</dt>
<dd>
<dl>
<dt>
<span class="section">
<a href="ch07.en.html#_debian_menu">7.2.1. Debian menu</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_freedesktop_org_menu">7.2.2. Freedesktop.org menu</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_debian_menu_from_freedesktop_org_menu">7.2.3. Debian menu from Freedesktop.org menu</a>
</span>
</dt>
</dl>
</dd>
<dt>
<span class="section">
<a href="ch07.en.html#_the_server_client_relationship">7.3. The server/client relationship</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_the_x_server">7.4. The X server</a>
</span>
</dt>
<dd>
<dl>
<dt>
<span class="section">
<a href="ch07.en.html#_the_re_configuration_of_the_x_server">7.4.1. The (re)configuration of the X server</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_the_connection_methods_to_the_x_server">7.4.2. The connection methods to the X server</a>
</span>
</dt>
</dl>
</dd>
<dt>
<span class="section">
<a href="ch07.en.html#_starting_the_x_window_system">7.5. Starting the X Window System</a>
</span>
</dt>
<dd>
<dl>
<dt>
<span class="section">
<a href="ch07.en.html#_starting_x_session_with_gdm3">7.5.1. Starting X session with gdm3</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_customizing_the_x_session_classic_method">7.5.2. Customizing the X session (classic method)</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_customizing_the_x_session_new_method">7.5.3. Customizing the X session (new method)</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_connecting_a_remote_x_client_via_ssh">7.5.4. Connecting a remote X client via SSH</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_secure_x_terminal_via_the_internet">7.5.5. Secure X terminal via the Internet</a>
</span>
</dt>
</dl>
</dd>
<dt>
<span class="section">
<a href="ch07.en.html#_fonts_in_the_x_window">7.6. Fonts in the X Window</a>
</span>
</dt>
<dd>
<dl>
<dt>
<span class="section">
<a href="ch07.en.html#_basic_fonts">7.6.1. Basic fonts</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_additional_fonts">7.6.2. Additional fonts</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_cjk_fonts">7.6.3. CJK fonts</a>
</span>
</dt>
</dl>
</dd>
<dt>
<span class="section">
<a href="ch07.en.html#_x_applications">7.7. X applications</a>
</span>
</dt>
<dd>
<dl>
<dt>
<span class="section">
<a href="ch07.en.html#_x_office_applications">7.7.1. X office applications</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_x_utility_applications">7.7.2. X utility applications</a>
</span>
</dt>
</dl>
</dd>
<dt>
<span class="section">
<a href="ch07.en.html#_the_x_trivia">7.8. The X trivia</a>
</span>
</dt>
<dd>
<dl>
<dt>
<span class="section">
<a href="ch07.en.html#_clipboard">7.8.1. Clipboard</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_keymaps_and_pointer_button_mappings_in_x">7.8.2. Keymaps and pointer button mappings in X</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_classic_x_clients">7.8.3. Classic X clients</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_the_x_terminal_emulator_xterm">7.8.4. The X terminal emulator — xterm</a>
</span>
</dt>
<dt>
<span class="section">
<a href="ch07.en.html#_running_x_clients_as_root">7.8.5. Running X clients as root</a>
</span>
</dt>
</dl>
</dd>
</dl>
</div>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Warning">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Warning]" src="images/warning.png"/>
</td>
<th align="left">Warning</th>
</tr>
<tr>
<td align="left" valign="top">
<p>This chapter is getting outdated since this is based on Debian 7.0 (<code class="literal">Wheezy</code>) released in 2013.</p>
</td>
</tr>
</table>
</div>
<p>The <a class="ulink" href="http://en.wikipedia.org/wiki/X_Window_System">X Window System</a> on the Debian system is based on the source from <a class="ulink" href="http://www.x.org/">X.Org</a>.</p>
<div class="section">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="_key_packages"/>7.1. Key packages</h2>
</div>
</div>
</div>
<p>There are a few (meta)packages provided to ease installation.</p>
<div class="table">
<a id="listofkeymetapackagesforxwindow"/>
<p class="title">
<strong>Table 7.1. List of key (meta)packages for X Window</strong>
</p>
<div class="table-contents">
<table class="table" summary="List of key (meta)packages for X Window" border="1">
<colgroup>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
</colgroup>
<thead>
<tr>
<th style="text-align: left">
(meta)package
</th>
<th style="text-align: left">
popcon
</th>
<th style="text-align: left">
size
</th>
<th style="text-align: left">
description
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xorg">
<code class="literal">xorg</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xorg">I:513</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xorg.html">52</a>
</td>
<td style="text-align: left">
X libraries, an X server, a set of fonts, and a group of basic X clients and utilities (metapackage)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xserver-xorg">
<code class="literal">xserver-xorg</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xserver-xorg">V:102, I:553</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xserver-xorg.html">238</a>
</td>
<td style="text-align: left">
full suite of the X server and its configuration
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xbase-clients">
<code class="literal">xbase-clients</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xbase-clients">I:49</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xbase-clients.html">46</a>
</td>
<td style="text-align: left">
miscellaneous assortment of X clients (metapackage)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/x11-common">
<code class="literal">x11-common</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=x11-common">V:408, I:802</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/x11-common.html">305</a>
</td>
<td style="text-align: left">
filesystem infrastructure for the X Window System
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xorg-docs">
<code class="literal">xorg-docs</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xorg-docs">I:7</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xorg-docs.html">2032</a>
</td>
<td style="text-align: left">
miscellaneous documentation for the X.Org software suite
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/menu">
<code class="literal">menu</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=menu">V:92, I:278</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/m/menu.html">1435</a>
</td>
<td style="text-align: left">
generate the Debian menu for all menu-aware applications
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/gksu">
<code class="literal">gksu</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=gksu">V:38, I:253</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/g/gksu.html">289</a>
</td>
<td style="text-align: left">
Gtk+ frontend to <span class="citerefentry"><span class="refentrytitle">su</span>(1)</span> or <span class="citerefentry"><span class="refentrytitle">sudo</span>(8)</span>
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/menu-xdg">
<code class="literal">menu-xdg</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=menu-xdg">V:35, I:139</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/m/menu-xdg.html">76</a>
</td>
<td style="text-align: left">
convert the Debian menu structure to the <a class="ulink" href="http://en.wikipedia.org/wiki/Freedesktop.org">freedesktop.org</a> xdg menu structure
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xdg-utils">
<code class="literal">xdg-utils</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xdg-utils">V:251, I:573</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xdg-utils.html">325</a>
</td>
<td style="text-align: left">
utilities to integrate desktop environment provided by the <a class="ulink" href="http://en.wikipedia.org/wiki/Freedesktop.org">freedesktop.org</a>
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/task-gnome-desktop">
<code class="literal">task-gnome-desktop</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=task-gnome-desktop">I:213</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/t/task-gnome-desktop.html">6</a>
</td>
<td style="text-align: left">
standard <a class="ulink" href="http://en.wikipedia.org/wiki/GNOME">GNOME</a> desktop environment (metapackage)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/task-kde-desktop">
<code class="literal">task-kde-desktop</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=task-kde-desktop">I:70</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/t/task-kde-desktop.html">6</a>
</td>
<td style="text-align: left">
core <a class="ulink" href="http://en.wikipedia.org/wiki/KDE">KDE</a> desktop environment (metapackage)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/task-xfce-desktop">
<code class="literal">task-xfce-desktop</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=task-xfce-desktop">I:107</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/t/task-xfce-desktop.html">6</a>
</td>
<td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Xfce">Xfce</a> lightweight desktop environment (metapackage)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/task-lxde-desktop">
<code class="literal">task-lxde-desktop</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=task-lxde-desktop">I:45</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/t/task-lxde-desktop.html">6</a>
</td>
<td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/LXDE">LXDE</a> lightweight desktop environment (metapackage)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/fluxbox">
<code class="literal">fluxbox</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=fluxbox">V:2, I:11</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/f/fluxbox.html">3860</a>
</td>
<td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Fluxbox">Fluxbox</a>: package for highly configurable and low resource <a class="ulink" href="http://en.wikipedia.org/wiki/X_window_manager">X window manager</a></td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break"/>
<p>For the basics of X, refer to <span class="citerefentry"><span class="refentrytitle">X</span>(7)</span> and <a class="ulink" href="http://www.tldp.org/HOWTO/XWindow-User-HOWTO.html">the LDP XWindow-User-HOWTO</a>.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="_setting_up_desktop_environment"/>7.2. Setting up desktop environment</h2>
</div>
</div>
</div>
<p>A <a class="ulink" href="http://en.wikipedia.org/wiki/Desktop_environment">desktop environment</a> is usually a combination of a <a class="ulink" href="http://en.wikipedia.org/wiki/X_window_manager">X window manager</a>, a file manager, and a suite of compatible utility programs.</p>
<p>You can setup a full <a class="ulink" href="http://en.wikipedia.org/wiki/Desktop_environment">desktop environment</a> such as <a class="ulink" href="http://en.wikipedia.org/wiki/GNOME">GNOME</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/KDE">KDE</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/Xfce">Xfce</a>, or <a class="ulink" href="http://en.wikipedia.org/wiki/LXDE">LXDE</a>, from the <code class="literal">aptitude</code> under the task menu.</p>
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Tip">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Tip]" src="images/tip.png"/>
</td>
<th align="left">Tip</th>
</tr>
<tr>
<td align="left" valign="top">
<p>Task menu may be out of sync with the latest package transition state under Debian <code class="literal">unstable</code>/<code class="literal">testing</code> environment. In such situation, you need to deselect some (meta)packages listed under <span class="citerefentry"><span class="refentrytitle">aptitude</span>(8)</span> task menu to avoid package conflicts. When deselecting (meta)packages, you must select certain packages providing their dependencies manually to avoid them deleted automatically.</p>
</td>
</tr>
</table>
</div>
<p>You may alternatively setup a simple environment manually just with a <a class="ulink" href="http://en.wikipedia.org/wiki/X_window_manager">X window manager</a> such as <a class="ulink" href="http://en.wikipedia.org/wiki/Fluxbox">Fluxbox</a>.</p>
<p>See <a class="ulink" href="http://www.xwinman.org">Window Managers for X</a> for the guide to the X window manager and the desktop environment.</p>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_debian_menu"/>7.2.1. Debian menu</h3>
</div>
</div>
</div>
<p><a class="ulink" href="https://www.debian.org/doc/packaging-manuals/menu.html/">Debian menu system</a> provides a general interface for both text- and X-oriented programs with <span class="citerefentry"><span class="refentrytitle">update-menus</span>(1)</span> from the <code class="literal">menu</code> package. Each package installs its menu data in the "<code class="literal">/usr/share/menu/</code>" directory. See "<code class="literal">/usr/share/menu/README</code>".</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_freedesktop_org_menu"/>7.2.2. Freedesktop.org menu</h3>
</div>
</div>
</div>
<p>Each package which is compliant to Freedesktop.org's xdg menu system installs its menu data provided by "<code class="literal">*.desktop</code>" under "<code class="literal">/usr/share/applications/</code>". Modern desktop environments which are compliant to Freedesktop.org standard use these data to generate their menu using the <code class="literal">xdg-utils</code> package. See "<code class="literal">/usr/share/doc/xdg-utils/README</code>".</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_debian_menu_from_freedesktop_org_menu"/>7.2.3. Debian menu from Freedesktop.org menu</h3>
</div>
</div>
</div>
<p>In order to access the traditional Debian menu from the <a class="ulink" href="http://www.freedesktop.org/wiki/Specifications/menu-spec/">Freedesktop.org menu</a> compliant window manager environment such as GNOME and KDE, you must install the <code class="literal">menu-xdg</code> package.</p>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="_the_server_client_relationship"/>7.3. The server/client relationship</h2>
</div>
</div>
</div>
<p>The X Window System is activated as a combination of the server and client programs. The meaning for the words <span class="strong"><strong>server</strong></span> and <span class="strong"><strong>client</strong></span> with respect to the words <span class="strong"><strong>local</strong></span> and <span class="strong"><strong>remote</strong></span> requires attention here.</p>
<div class="table">
<a id="listofserverclientterminology"/>
<p class="title">
<strong>Table 7.2. List of server/client terminology</strong>
</p>
<div class="table-contents">
<table class="table" summary="List of server/client terminology" border="1">
<colgroup>
<col style="text-align: left"/>
<col style="text-align: left"/>
</colgroup>
<thead>
<tr>
<th style="text-align: left">
type
</th>
<th style="text-align: left">
description
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">
<span class="strong"><strong>X server</strong></span>
</td>
<td style="text-align: left">
a program run on a <span class="strong"><strong>local host</strong></span> connected to the user's display and input devices.
</td>
</tr>
<tr>
<td style="text-align: left">
<span class="strong"><strong>X client</strong></span>
</td>
<td style="text-align: left">
a program run on a <span class="strong"><strong>remote host</strong></span> that processes data and talks to the X server.
</td>
</tr>
<tr>
<td style="text-align: left">
<span class="strong"><strong>application server</strong></span>
</td>
<td style="text-align: left">
a program run on a <span class="strong"><strong>remote host</strong></span> that processes data and talks to the application clients.
</td>
</tr>
<tr>
<td style="text-align: left">
<span class="strong"><strong>application client</strong></span>
</td>
<td style="text-align: left">
a program run on a <span class="strong"><strong>local host</strong></span> connected to the user's display and input devices.
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break"/>
<p>Modern X servers have <a class="ulink" href="http://en.wikipedia.org/wiki/MIT-SHM">the MIT Shared Memory Extension</a> and communicate with their local X clients using the local shared memory. This bypasses the network transparent Xlib interprocess communication channel and gains performance for large images.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="_the_x_server"/>7.4. The X server</h2>
</div>
</div>
</div>
<p>See <span class="citerefentry"><span class="refentrytitle">xorg</span>(1)</span> for X server information.</p>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_the_re_configuration_of_the_x_server"/>7.4.1. The (re)configuration of the X server</h3>
</div>
</div>
</div>
<p>The following (re)configures an X server.</p>
<pre class="screen"># dpkg-reconfigure --priority=low x11-common</pre>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Note">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Note]" src="images/note.png"/>
</td>
<th align="left">Note</th>
</tr>
<tr>
<td align="left" valign="top">
<p>Recent Linux kernels have good graphics and input device supports with <a class="ulink" href="http://en.wikipedia.org/wiki/Direct_Rendering_Manager">DRM</a>, <a class="ulink" href="https://wiki.debian.org/KernelModesetting">KMS</a>, and <a class="ulink" href="http://en.wikipedia.org/wiki/Udev">udev</a>. X server is rewritten to use them. So "<code class="literal">/etc/X11/xorg.conf</code>" is usually not present on your system. These parameters are configured by the kernel. See "<code class="literal">fb/modedb.txt</code>" in the Linux kernel documentation.</p>
</td>
</tr>
</table>
</div>
<p>For the large high resolution CRT monitor, it is a good idea to set the refresh rate as high as your monitor can handle (85 Hz is great, 75 Hz is OK) to reduce flicker. For the LCD monitor, slower standard refresh rate (60Hz) is usually fine due to its slow response.</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Note">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Note]" src="images/note.png"/>
</td>
<th align="left">Note</th>
</tr>
<tr>
<td align="left" valign="top">
<p>Be careful not to use too high refresh rate which may cause fatal hardware failure of your monitor system.</p>
</td>
</tr>
</table>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_the_connection_methods_to_the_x_server"/>7.4.2. The connection methods to the X server</h3>
</div>
</div>
</div>
<p>There are several ways of getting the "X server" (<span class="strong"><strong>display</strong></span> side) to accept connections from an "X client" (<span class="strong"><strong>application</strong></span> side).</p>
<div class="table">
<a id="listofconnectionhodstothexserver"/>
<p class="title">
<strong>Table 7.3. List of connection methods to the X server</strong>
</p>
<div class="table-contents">
<table class="table" summary="List of connection methods to the X server" border="1">
<colgroup>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
</colgroup>
<thead>
<tr>
<th style="text-align: left">
package
</th>
<th style="text-align: left">
popcon
</th>
<th style="text-align: left">
size
</th>
<th style="text-align: left">
user
</th>
<th style="text-align: left">
encryption
</th>
<th style="text-align: left">
method
</th>
<th style="text-align: left">
pertinent use
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xbase-clients">
<code class="literal">xbase-clients</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xbase-clients">I:49</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xbase-clients.html">46</a>
</td>
<td style="text-align: left">
unchecked
</td>
<td style="text-align: left">
no
</td>
<td style="text-align: left"><code class="literal">xhost</code> command
</td>
<td style="text-align: left">
deprecated
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xbase-clients">
<code class="literal">xbase-clients</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xbase-clients">I:49</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xbase-clients.html">46</a>
</td>
<td style="text-align: left">
checked
</td>
<td style="text-align: left">
no
</td>
<td style="text-align: left"><code class="literal">xauth</code> command
</td>
<td style="text-align: left">
local connection via pipe
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/openssh-client">
<code class="literal">openssh-client</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=openssh-client">V:821, I:996</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/o/openssh-client.html">4151</a>
</td>
<td style="text-align: left">
checked
</td>
<td style="text-align: left">
yes
</td>
<td style="text-align: left"><code class="literal">ssh -X</code> command
</td>
<td style="text-align: left">
remote network connection
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/gdm3">
<code class="literal">gdm3</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=gdm3">V:192, I:281</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/g/gdm3.html">4697</a>
</td>
<td style="text-align: left">
checked
</td>
<td style="text-align: left">
no (XDMCP)
</td>
<td style="text-align: left">
GNOME display manager
</td>
<td style="text-align: left">
local connection via pipe
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/sddm">
<code class="literal">sddm</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=sddm">V:36, I:71</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/s/sddm.html">1823</a>
</td>
<td style="text-align: left">
checked
</td>
<td style="text-align: left">
no (XDMCP)
</td>
<td style="text-align: left">
KDE display manager
</td>
<td style="text-align: left">
local connection via pipe
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xdm">
<code class="literal">xdm</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xdm">V:3, I:8</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xdm.html">665</a>
</td>
<td style="text-align: left">
checked
</td>
<td style="text-align: left">
no (XDMCP)
</td>
<td style="text-align: left">
X display manager
</td>
<td style="text-align: left">
local connection via pipe
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/wdm">
<code class="literal">wdm</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=wdm">V:126, I:564</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/w/wdm.html">2302</a>
</td>
<td style="text-align: left">
checked
</td>
<td style="text-align: left">
no (XDMCP)
</td>
<td style="text-align: left">
WindowMaker display manager
</td>
<td style="text-align: left">
local connection via pipe
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/ldm">
<code class="literal">ldm</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=ldm">V:0, I:1</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/l/ldm.html">413</a>
</td>
<td style="text-align: left">
checked
</td>
<td style="text-align: left">
yes
</td>
<td style="text-align: left">
LTSP display manager
</td>
<td style="text-align: left">
remote SSH network connection (thin client)
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break"/>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Warning">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Warning]" src="images/warning.png"/>
</td>
<th align="left">Warning</th>
</tr>
<tr>
<td align="left" valign="top">
<p>Do not use remote <a class="ulink" href="http://en.wikipedia.org/wiki/Transmission_Control_Protocol">TCP</a>/<a class="ulink" href="http://en.wikipedia.org/wiki/Internet_Protocol">IP</a> connection over <span class="strong"><strong>unsecured</strong></span> network for X connection unless you have very good reason such as use of encryption. A remote TCP/IP socket connection without encryption is prone to the <span class="strong"><strong>eavesdropping attack</strong></span> and is disabled by default on the Debian system. Use "<code class="literal">ssh -X</code>".</p>
</td>
</tr>
</table>
</div>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Warning">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Warning]" src="images/warning.png"/>
</td>
<th align="left">Warning</th>
</tr>
<tr>
<td align="left" valign="top">
<p>Do not use <a class="ulink" href="http://en.wikipedia.org/wiki/X_display_manager">XDMCP connection</a> over <span class="strong"><strong>unsecured</strong></span> network either. It sends data via <a class="ulink" href="http://en.wikipedia.org/wiki/User_Datagram_Protocol">UDP</a>/<a class="ulink" href="http://en.wikipedia.org/wiki/Internet_Protocol">IP</a> without encryption and is prone to the <span class="strong"><strong>eavesdropping attack</strong></span>.</p>
</td>
</tr>
</table>
</div>
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Tip">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Tip]" src="images/tip.png"/>
</td>
<th align="left">Tip</th>
</tr>
<tr>
<td align="left" valign="top">
<p>LTSP stands for <a class="ulink" href="http://en.wikipedia.org/wiki/Linux_Terminal_Server_Project">Linux Terminal Server Project</a>.</p>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="_starting_the_x_window_system"/>7.5. Starting the X Window System</h2>
</div>
</div>
</div>
<p>The X Window System is usually started as an <a class="ulink" href="http://en.wikipedia.org/wiki/X_session_manager">X session</a> which is the combination of an X server and connecting X clients. For the normal desktop system, both of them are executed on a workstation.</p>
<p>The <a class="ulink" href="http://en.wikipedia.org/wiki/X_session_manager">X session</a> is started by one of the following.</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p><code class="literal">startx</code> command started from the command line
</p>
</li>
<li class="listitem">
<p>
One of the <a class="ulink" href="http://en.wikipedia.org/wiki/X_display_manager">X display manager</a> daemon programs <code class="literal">*dm</code> started by <code class="literal">systemd</code> based on the dependency of "<code class="literal">graphical.target</code>".
</p>
</li>
</ul>
</div>
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Tip">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Tip]" src="images/tip.png"/>
</td>
<th align="left">Tip</th>
</tr>
<tr>
<td align="left" valign="top">
<p>The start up script for the display manager daemons checks the content of the "<code class="literal">/etc/X11/default-display-manager</code>" file before actually executing themselves. This ensures to have only one <a class="ulink" href="http://en.wikipedia.org/wiki/X_display_manager">X display manager</a> daemon program activated.</p>
</td>
</tr>
</table>
</div>
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Tip">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Tip]" src="images/tip.png"/>
</td>
<th align="left">Tip</th>
</tr>
<tr>
<td align="left" valign="top">
<p>See <a class="xref" href="ch08.en.html#_specific_locale_only_under_x_window" title="8.4.5. Specific locale only under X Window">Section 8.4.5, “Specific locale only under X Window”</a> for initial environment variables of the X display manager.</p>
</td>
</tr>
</table>
</div>
<p>Essentially, all these programs execute the "<code class="literal">/etc/X11/Xsession</code>" script. Then the "<code class="literal">/etc/X11/Xsession</code>" script performs <span class="citerefentry"><span class="refentrytitle">run-parts</span>(8)</span> like action to execute scripts in the "<code class="literal">/etc/X11/Xsession.d/</code>" directory. This is essentially an execution of the first program which is found in the following order by the <code class="literal">exec</code> builtin command.</p>
<div class="orderedlist">
<ol class="orderedlist">
<li class="listitem">
<p>
The script specified as the argument of "<code class="literal">/etc/X11/Xsession</code>" by the X display manager, if it is defined.
</p>
</li>
<li class="listitem">
<p>
The "<code class="literal">~/.xsession</code>" or "<code class="literal">~/.Xsession</code>" script, if it is defined.
</p>
</li>
<li class="listitem">
<p>
The "<code class="literal">/usr/bin/x-session-manager</code>" command, if it is defined.
</p>
</li>
<li class="listitem">
<p>
The "<code class="literal">/usr/bin/x-window-manager</code>" command, if it is defined.
</p>
</li>
<li class="listitem">
<p>
The "<code class="literal">/usr/bin/x-terminal-emulator</code>" command, if it is defined.
</p>
</li>
</ol>
</div>
<p>This process is affected by the content of "<code class="literal">/etc/X11/Xsession.options</code>". The exact programs to which these "<code class="literal">/usr/bin/x-*</code>" commands point, are determined by the Debian alternatives system and changed by "<code class="literal">update-alternatives --config x-session-manager</code>", etc.</p>
<p>See <span class="citerefentry"><span class="refentrytitle">Xsession</span>(5)</span> for details.</p>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_starting_x_session_with_gdm3"/>7.5.1. Starting X session with gdm3</h3>
</div>
</div>
</div>
<p><span class="citerefentry"><span class="refentrytitle">gdm3</span>(1)</span> lets you select the session type (or desktop environment: <a class="xref" href="ch07.en.html#_setting_up_desktop_environment" title="7.2. Setting up desktop environment">Section 7.2, “Setting up desktop environment”</a>), and language (or locale: <a class="xref" href="ch08.en.html#_the_locale" title="8.4. The locale">Section 8.4, “The locale”</a>) of the X session from its menu. It keeps the selected default value in "<code class="literal">~/.dmrc</code>" as the following.</p>
<pre class="screen">[Desktop]
Session=default
Language=ja_JP.UTF-8</pre>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_customizing_the_x_session_classic_method"/>7.5.2. Customizing the X session (classic method)</h3>
</div>
</div>
</div>
<p>On a system where "<code class="literal">/etc/X11/Xsession.options</code>" contains a line "<code class="literal">allow-user-xsession</code>" without preceding "<code class="literal">#</code>" characters, any user who defines "<code class="literal">~/.xsession</code>" or "<code class="literal">~/.Xsession</code>" is able to customize the action of "<code class="literal">/etc/X11/Xsession</code>" by completely overriding the system code. The last command in the "<code class="literal">~/.xsession</code>" file should use form of "<code class="literal">exec some-window/session-manager</code>" to start your favorite X window/session managers.</p>
<p>If this feature is used, the selection of the display (or login) manager (DM), session manager or window manager (WM) by the system utility is ignored.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_customizing_the_x_session_new_method"/>7.5.3. Customizing the X session (new method)</h3>
</div>
</div>
</div>
<p>Here are new methods to customize the X session without completely overriding the system code as above.</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
The display manager <code class="literal">gdm3</code> can select a specific session and set it as the argument of "<code class="literal">/etc/X11/Xsession</code>".
</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
"<code class="literal">/etc/profile</code>", "<code class="literal">~/.profile</code>", "<code class="literal">/etc/xprofile</code>", and "<code class="literal">~/.xprofile</code>" files are executed as a part of <code class="literal">gdm3</code> start up process.
</p>
</li>
</ul>
</div>
</li>
<li class="listitem">
<p>
The "<code class="literal">~/.xsessionrc</code>" file is executed as a part of start up process. (desktop independent)
</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
"<code class="literal">#allow-user-xsession</code>" in "<code class="literal">/etc/X11/Xsession.options</code>" does not restrict execution of the "<code class="literal">~/.xsessionrc</code>" file.
</p>
</li>
</ul>
</div>
</li>
<li class="listitem">
<p>
The "<code class="literal">~/.gnomerc</code>" file is executed as a part of start up process. (GNOME desktop only)
</p>
</li>
</ul>
</div>
<p>The selection of the display (or login) manager (DM), session manager or window manager (WM) by the system utility is respected.</p>
<p>These configuration files should not have "<code class="literal">exec …</code>" nor "<code class="literal">exit</code>" in them.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_connecting_a_remote_x_client_via_ssh"/>7.5.4. Connecting a remote X client via SSH</h3>
</div>
</div>
</div>
<p>The use of "<code class="literal">ssh -X</code>" enables a secure connection from a local X server to a remote application server.</p>
<p>Set "<code class="literal">X11Forwarding</code>" entries to "<code class="literal">yes</code>" in "<code class="literal">/etc/ssh/sshd_config</code>" of the remote host, if you want to avoid "<code class="literal">-X</code>" command-line option.</p>
<p>Start the X server on the local host.</p>
<p>Open an <code class="literal">xterm</code> in the local host.</p>
<p>Run <span class="citerefentry"><span class="refentrytitle">ssh</span>(1)</span> to establish a connection with the remote site as the following.</p>
<pre class="screen">localname @ localhost $ ssh -q -X loginname@remotehost.domain
Password:</pre>
<p>Run an X application command, e.g. "<code class="literal">gimp</code>", on the remote site as the following.</p>
<pre class="screen">loginname @ remotehost $ gimp &</pre>
<p>This method can display the output from a remote X client as if it were locally connected through a local UNIX domain socket.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_secure_x_terminal_via_the_internet"/>7.5.5. Secure X terminal via the Internet</h3>
</div>
</div>
</div>
<p>Secure X terminal via the Internet, which displays remotely run entire X desktop environment, can easily achieved by using specialized package such as <code class="literal">ldm</code>. Your local machine becomes a secure thin client to the remote application server connected via SSH.</p>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="_fonts_in_the_x_window"/>7.6. Fonts in the X Window</h2>
</div>
</div>
</div>
<p><a class="ulink" href="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig 2.0</a> was created to provide a distribution independent library for configuring and customizing font access in 2002. Debian after <code class="literal">squeeze</code> uses <a class="ulink" href="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig 2.0</a> for its font configuration.</p>
<p>Font supports on X Window System can be summarized as follows.</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
Legacy X server side font support system
</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
The original core X11 font system provides backward compatibility for older version of X client applications.
</p>
</li>
<li class="listitem">
<p>
The original core X11 fonts are installed on the X server.
</p>
</li>
</ul>
</div>
</li>
<li class="listitem">
<p>
Modern X client side font support system
</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
The modern X system supports all fonts listed below (<a class="xref" href="ch07.en.html#_basic_fonts" title="7.6.1. Basic fonts">Section 7.6.1, “Basic fonts”</a>, <a class="xref" href="ch07.en.html#_additional_fonts" title="7.6.2. Additional fonts">Section 7.6.2, “Additional fonts”</a>, and <a class="xref" href="ch07.en.html#_cjk_fonts" title="7.6.3. CJK fonts">Section 7.6.3, “CJK fonts”</a>) with advanced features such as anti-aliasing.
</p>
</li>
<li class="listitem">
<p><a class="ulink" href="http://en.wikipedia.org/wiki/Xft">Xft</a> 2.0 connects modern X applications such as ones from <a class="ulink" href="http://en.wikipedia.org/wiki/GNOME">GNOME</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/KDE">KDE</a>, and <a class="ulink" href="http://en.wikipedia.org/wiki/LibreOffice">LibreOffice</a> with <a class="ulink" href="http://freetype.sourceforge.net/index.html">FreeType</a> 2.0 library.
</p>
</li>
<li class="listitem">
<p><a class="ulink" href="http://freetype.sourceforge.net/index.html">FreeType</a> 2.0 provides font rasterization library.
</p>
</li>
<li class="listitem">
<p><a class="ulink" href="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig</a> provides resolution of the font specification for <a class="ulink" href="http://en.wikipedia.org/wiki/Xft">Xft</a> 2.0. See <span class="citerefentry"><span class="refentrytitle">fonts.conf</span>(5)</span> for its configuration.
</p>
</li>
<li class="listitem">
<p>
All modern X applications using <a class="ulink" href="http://en.wikipedia.org/wiki/Xft">Xft</a> 2.0 can talk to modern X server using the <a class="ulink" href="http://en.wikipedia.org/wiki/XRender">X Rendering Extension</a>.
</p>
</li>
<li class="listitem">
<p>
The <a class="ulink" href="http://en.wikipedia.org/wiki/XRender">X Rendering Extension</a> moves font access and glyph image generation from the X server to the X client.
</p>
</li>
</ul>
</div>
</li>
</ul>
</div>
<div class="table">
<a id="tableofpackagestindowfontsystems"/>
<p class="title">
<strong>Table 7.4. Table of packages to support X Window font systems</strong>
</p>
<div class="table-contents">
<table class="table" summary="Table of packages to support X Window font systems" border="1">
<colgroup>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
</colgroup>
<thead>
<tr>
<th style="text-align: left">
package
</th>
<th style="text-align: left">
popcon
</th>
<th style="text-align: left">
size
</th>
<th style="text-align: left">
description
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xfonts-utils">
<code class="literal">xfonts-utils</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xfonts-utils">V:39, I:613</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xfonts-utils.html">387</a>
</td>
<td style="text-align: left">
X Window System font utility programs
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/libxft2">
<code class="literal">libxft2</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=libxft2">V:121, I:733</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/libx/libxft2.html">122</a>
</td>
<td style="text-align: left">
Xft, a library that connects X applications with the FreeType font rasterization library
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/libfreetype6">
<code class="literal">libfreetype6</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=libfreetype6">V:471, I:994</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/libf/libfreetype6.html">920</a>
</td>
<td style="text-align: left"><a class="ulink" href="http://freetype.sourceforge.net/index.html">FreeType</a> 2.0 font rasterization library
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/fontconfig">
<code class="literal">fontconfig</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=fontconfig">V:404, I:857</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/f/fontconfig.html">563</a>
</td>
<td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig</a>, a generic font configuration library — support binaries
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/fontconfig-config">
<code class="literal">fontconfig-config</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=fontconfig-config">V:414, I:916</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/f/fontconfig-config.html">472</a>
</td>
<td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Fontconfig">Fontconfig</a>, a generic font configuration library — configuration data
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break"/>
<p>You can check font configuration information by the following.</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
"<code class="literal">xset q</code>" for core X11 font path
</p>
</li>
<li class="listitem">
<p>
"<code class="literal">fc-match</code>" for fontconfig font default
</p>
</li>
<li class="listitem">
<p>
"<code class="literal">fc-list</code>" for available fontconfig fonts
</p>
</li>
</ul>
</div>
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Tip">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Tip]" src="images/tip.png"/>
</td>
<th align="left">Tip</th>
</tr>
<tr>
<td align="left" valign="top">
<p>"<a class="ulink" href="http://unifont.org/iuc27/html/ICUPresentation.html">The Penguin and Unicode</a>" is a good overview of modern X Window System. Other documentations at <a class="ulink" href="http://unifont.org/">http://unifont.org/</a> should provide good information on Unicode fonts, Unicode-enabled software, internationalization, and Unicode usability issues on <a class="ulink" href="http://en.wikipedia.org/wiki/Free_and_open_source_software">free/libre/open source (FLOSS)</a> operating systems.</p>
</td>
</tr>
</table>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_basic_fonts"/>7.6.1. Basic fonts</h3>
</div>
</div>
</div>
<p>There are 2 major types of <a class="ulink" href="http://en.wikipedia.org/wiki/Computer_font">computer fonts</a>.</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
Bitmap fonts (good for low resolution rasterization)
</p>
</li>
<li class="listitem">
<p>
Outline/stroke fonts (good for high resolution rasterization)
</p>
</li>
</ul>
</div>
<p>While scaling of bitmap fonts causes jugged image, scaling of outline/stroke fonts produces smooth image.</p>
<p>Bitmap fonts on the Debian system are usually provided by compressed <a class="ulink" href="http://fontforge.sourceforge.net/pcf-format.html">X11 pcf bitmap font files</a> having their file extension "<code class="literal">.pcf.gz</code>".</p>
<p>Outline fonts on the Debian system are provided by the following.</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p><a class="ulink" href="http://en.wikipedia.org/wiki/PostScript">PostScript</a> Type 1 font files having their file extension "<code class="literal">.pfb</code>" (binary font file) and "<code class="literal">.afm</code>" (font metrics file).
</p>
</li>
<li class="listitem">
<p><a class="ulink" href="http://en.wikipedia.org/wiki/TrueType">TrueType</a> (or <a class="ulink" href="http://en.wikipedia.org/wiki/OpenType">OpenType</a>) font files usually having their file extension "<code class="literal">.ttf</code>".
</p>
</li>
</ul>
</div>
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Tip">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Tip]" src="images/tip.png"/>
</td>
<th align="left">Tip</th>
</tr>
<tr>
<td align="left" valign="top">
<p><a class="ulink" href="http://en.wikipedia.org/wiki/OpenType">OpenType</a> is intended to supersede both <a class="ulink" href="http://en.wikipedia.org/wiki/TrueType">TrueType</a> and <a class="ulink" href="http://en.wikipedia.org/wiki/PostScript">PostScript</a> Type 1.</p>
</td>
</tr>
</table>
</div>
<div class="table">
<a id="tableofcorresponscripttypebfonts"/>
<p class="title">
<strong>Table 7.5. Table of corresponding <a class="ulink" href="http://en.wikipedia.org/wiki/PostScript">PostScript</a> Type 1 fonts</strong>
</p>
<div class="table-contents">
<table class="table" summary="Table of corresponding PostScript Type 1 fonts" border="1">
<colgroup>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
</colgroup>
<thead>
<tr>
<th style="text-align: left">
font package
</th>
<th style="text-align: left">
popcon
</th>
<th style="text-align: left">
size
</th>
<th style="text-align: left">
sans-serif font
</th>
<th style="text-align: left">
serif font
</th>
<th style="text-align: left">
monospace font
</th>
<th style="text-align: left">
source of font
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">
PostScript
</td>
<td style="text-align: left">
N/A
</td>
<td style="text-align: left">
N/A
</td>
<td style="text-align: left">
<a class="ulink" href="http://en.wikipedia.org/wiki/Helvetica">Helvetica</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://en.wikipedia.org/wiki/Times_New_Roman">Times</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://en.wikipedia.org/wiki/Courier_(typeface)">Courier</a>
</td>
<td style="text-align: left">
Adobe
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/gsfonts">
gsfonts
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=gsfonts">I:694</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/g/gsfonts.html">4439</a>
</td>
<td style="text-align: left">
Nimbus Sans L
</td>
<td style="text-align: left">
Nimbus Roman No9 L
</td>
<td style="text-align: left">
Nimbus Mono L
</td>
<td style="text-align: left"><a class="ulink" href="http://www.math.utah.edu/~beebe/fonts/urw.html">URW</a> (Adobe compatible size)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/gsfonts-x11">
gsfonts-x11
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=gsfonts-x11">I:120</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/g/gsfonts-x11.html">96</a>
</td>
<td style="text-align: left">
Nimbus Sans L
</td>
<td style="text-align: left">
Nimbus Roman No9 L
</td>
<td style="text-align: left">
Nimbus Mono L
</td>
<td style="text-align: left">
X font support with PostScript Type 1 fonts.
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/t1-cyrillic">
t1-cyrillic
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=t1-cyrillic">I:24</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/t/t1-cyrillic.html">4884</a>
</td>
<td style="text-align: left">
Free Helvetian
</td>
<td style="text-align: left">
Free Times
</td>
<td style="text-align: left">
Free Courier
</td>
<td style="text-align: left">
URW extended (Adobe compatible size)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/lmodern">
lmodern
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=lmodern">I:138</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/l/lmodern.html">33270</a>
</td>
<td style="text-align: left">
LMSans*
</td>
<td style="text-align: left">
LMRoman*
</td>
<td style="text-align: left">
LMTypewriter*
</td>
<td style="text-align: left">
scalable PostScript and OpenType fonts based on Computer Modern (from TeX)
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break"/>
<div class="table">
<a id="tableofcorresponingtruetypefonts"/>
<p class="title">
<strong>Table 7.6. Table of corresponding <a class="ulink" href="http://en.wikipedia.org/wiki/TrueType">TrueType</a> fonts</strong>
</p>
<div class="table-contents">
<table class="table" summary="Table of corresponding TrueType fonts" border="1">
<colgroup>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
</colgroup>
<thead>
<tr>
<th style="text-align: left">
font package
</th>
<th style="text-align: left">
popcon
</th>
<th style="text-align: left">
size
</th>
<th style="text-align: left">
sans-serif font
</th>
<th style="text-align: left">
serif font
</th>
<th style="text-align: left">
monospace font
</th>
<th style="text-align: left">
source of font
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/ttf-mscorefonts-installer">
ttf-mscorefonts-installer
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=ttf-mscorefonts-installer">V:1, I:82</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/t/ttf-mscorefonts-installer.html">92</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://en.wikipedia.org/wiki/Arial">Arial</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://en.wikipedia.org/wiki/Times_New_Roman">Times New Roman</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://en.wikipedia.org/wiki/Courier_(typeface)">Courier New</a>
</td>
<td style="text-align: left">
Microsoft (Adobe compatible size) (This installs non-free data)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/fonts-liberation">
fonts-liberation
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=fonts-liberation">I:574</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/f/fonts-liberation.html">2093</a>
</td>
<td style="text-align: left">
Liberation Sans
</td>
<td style="text-align: left">
Liberation Serif
</td>
<td style="text-align: left">
Liberation Mono
</td>
<td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Liberation_fonts">Liberation Fonts project</a> (Microsoft compatible size)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/fonts-freefont-ttf">
fonts-freefont-ttf
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=fonts-freefont-ttf">V:45, I:363</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/f/fonts-freefont-ttf.html">10746</a>
</td>
<td style="text-align: left">
FreeSans
</td>
<td style="text-align: left">
FreeSerif
</td>
<td style="text-align: left">
FreeMono
</td>
<td style="text-align: left"><a class="ulink" href="http://savannah.gnu.org/projects/freefont/">GNU freefont</a> (Microsoft compatible size)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/fonts-dejavu">
fonts-dejavu
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=fonts-dejavu">I:514</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/f/fonts-dejavu.html">39</a>
</td>
<td style="text-align: left">
DejaVu Sans
</td>
<td style="text-align: left">
DejaVu Serif
</td>
<td style="text-align: left">
DejaVu Sans Mono
</td>
<td style="text-align: left"><a class="ulink" href="http://dejavu-fonts.org">DejaVu</a>, <a class="ulink" href="http://www.gnome.org/fonts/">Bitstream Vera</a> with Unicode coverage
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/fonts-dejavu-core">
fonts-dejavu-core
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=fonts-dejavu-core">V:321, I:768</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/f/fonts-dejavu-core.html">2954</a>
</td>
<td style="text-align: left">
DejaVu Sans
</td>
<td style="text-align: left">
DejaVu Serif
</td>
<td style="text-align: left">
DejaVu Sans Mono
</td>
<td style="text-align: left"><a class="ulink" href="http://dejavu-fonts.org">DejaVu</a>, <a class="ulink" href="http://www.gnome.org/fonts/">Bitstream Vera</a> with Unicode coverage (sans, sans-bold, serif, serif-bold, mono, mono-bold)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/fonts-dejavu-extra">
fonts-dejavu-extra
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=fonts-dejavu-extra">I:539</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/f/fonts-dejavu-extra.html">7217</a>
</td>
<td style="text-align: left">
N/A
</td>
<td style="text-align: left">
N/A
</td>
<td style="text-align: left">
N/A
</td>
<td style="text-align: left"><a class="ulink" href="http://dejavu-fonts.org">DejaVu</a>, <a class="ulink" href="http://www.gnome.org/fonts/">Bitstream Vera</a> with Unicode coverage (oblique, italic, bold-oblique, bold-italic, condensed)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/ttf-unifont">
ttf-unifont
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=ttf-unifont">I:22</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/t/ttf-unifont.html">16943</a>
</td>
<td style="text-align: left">
N/A
</td>
<td style="text-align: left">
N/A
</td>
<td style="text-align: left">
unifont
</td>
<td style="text-align: left"><a class="ulink" href="http://Unifoundry.com">GNU Unifont</a>, with all printable character code in Unicode 5.1 Basic Multilingual Plane (BMP)
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break"/>
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Tip">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Tip]" src="images/tip.png"/>
</td>
<th align="left">Tip</th>
</tr>
<tr>
<td align="left" valign="top">
<p><a class="ulink" href="http://dejavu-fonts.org">DejaVu</a> fonts are based on and superset of <a class="ulink" href="http://www.gnome.org/fonts/">Bitstream Vera</a> fonts.</p>
</td>
</tr>
</table>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_additional_fonts"/>7.6.2. Additional fonts</h3>
</div>
</div>
</div>
<p><span class="citerefentry"><span class="refentrytitle">aptitude</span>(8)</span> helps you find additional fonts easily.</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
The short package list under "Tasks" → "Localization"
</p>
</li>
<li class="listitem">
<p>
The filtered flat package list of font data with regex on debtag: "<code class="literal">~Gmade-of::data:font</code>"
</p>
</li>
<li class="listitem">
<p>
The filtered flat package list of the BDF (bitmap) font packages with regex on package name: "<code class="literal">~nxfonts-</code>"
</p>
</li>
<li class="listitem">
<p>
The filtered flat package list of the TrueType (outline) font packages with regex on package name: "<code class="literal">~nttf-|~nfonts-</code>"
</p>
</li>
</ul>
</div>
<p>Since <span class="strong"><strong>Free</strong></span> fonts are sometimes limited, installing or sharing some commercial TrueType fonts is an option for a Debian users. In order to make this process easy for the user, some convenience packages have been created.</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
<code class="literal">mathematica-fonts</code>
</p>
</li>
<li class="listitem">
<p>
<code class="literal">fonts-mscorefonts-installer</code>
</p>
</li>
</ul>
</div>
<p>You'll have a really good selection of TrueType fonts at the expense of contaminating your <span class="strong"><strong>Free</strong></span> system with non-Free fonts.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_cjk_fonts"/>7.6.3. CJK fonts</h3>
</div>
</div>
</div>
<p>Here are some key points focused on fonts of <a class="ulink" href="http://en.wikipedia.org/wiki/CJK_characters">CJK characters</a>.</p>
<div class="table">
<a id="tableofkeywordsundicatefonttypes"/>
<p class="title">
<strong>Table 7.7. Table of key words used in CJK font names to indicate font types</strong>
</p>
<div class="table-contents">
<table class="table" summary="Table of key words used in CJK font names to indicate font types" border="1">
<colgroup>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
</colgroup>
<thead>
<tr>
<th style="text-align: left">
font type
</th>
<th style="text-align: left">
Japanese font name
</th>
<th style="text-align: left">
Chinese font name
</th>
<th style="text-align: left">
Korean font name
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">
sans-serif
</td>
<td style="text-align: left">
gothic, ゴチック
</td>
<td style="text-align: left">
hei, gothic
</td>
<td style="text-align: left">
dodum, gulim, gothic
</td>
</tr>
<tr>
<td style="text-align: left">
serif
</td>
<td style="text-align: left">
mincho, 明朝
</td>
<td style="text-align: left">
song, ming
</td>
<td style="text-align: left">
batang
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break"/>
<p>Font name such as "VL PGothic" with "P" is a proportional font which corresponds to the fixed width "VL Gothic" font.</p>
<p>For example, <a class="ulink" href="http://en.wikipedia.org/wiki/Shift_JIS">Shift_JIS</a> code table comprises 7070 characters. They can be grouped as the following.</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
JIS X 0201 single-byte characters (191 characters, a.k.a. half-width characters)
</p>
</li>
<li class="listitem">
<p>
JIS X 0208 double-byte characters (6879 characters, a.k.a. full-width characters)
</p>
</li>
</ul>
</div>
<p>Double-byte characters occupy double width on console terminals which uses CJK fixed width fonts. In order to cope with such situation, <a class="ulink" href="http://www.ibiblio.org/pub/packages/ccic/software/info/HBF-1.1/">Hanzi Bitmap Font (HBF) File</a> with file extension "<code class="literal">.hbf</code>" may be deployed for fonts containing single-byte and double-byte characters.</p>
<p>In order to save space for <a class="ulink" href="http://en.wikipedia.org/wiki/TrueType">TrueType</a> font files, <a class="ulink" href="http://en.wikipedia.org/wiki/TrueType">TrueType</a> font collection file with file extension "<code class="literal">.ttc</code>" may be used.</p>
<p>In order to cover complicated code space of characters, CID keyed <a class="ulink" href="http://en.wikipedia.org/wiki/PostScript">PostScript</a> Type 1 font is used with CMap files starting themselves with "<code class="literal">%!PS-Adobe-3.0 Resource-CMap</code>". This is rarely used for normal X display but used for PDF rendering etc. (see <a class="xref" href="ch07.en.html#_x_utility_applications" title="7.7.2. X utility applications">Section 7.7.2, “X utility applications”</a>).</p>
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Tip">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Tip]" src="images/tip.png"/>
</td>
<th align="left">Tip</th>
</tr>
<tr>
<td align="left" valign="top">
<p>The multiple <a class="ulink" href="http://en.wikipedia.org/wiki/Glyph">glyphs</a> are expected for some <a class="ulink" href="http://en.wikipedia.org/wiki/Unicode">Unicode</a> code points due to <a class="ulink" href="http://en.wikipedia.org/wiki/Han_unification">Han unification</a>. One of the most annoying ones are "U+3001 IDEOGRAPHIC COMMA" and "U+3002 IDEOGRAPHIC FULL STOP" whose character positions differ among CJK countries. Configuring priority of Japanese centric fonts over Chinese ones using "<code class="literal">~/.fonts.conf</code>" should give peace of minds to Japanese.</p>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="_x_applications"/>7.7. X applications</h2>
</div>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_x_office_applications"/>7.7.1. X office applications</h3>
</div>
</div>
</div>
<p>Here is a list of basic office applications (LO is LibreOffice).</p>
<div class="table">
<a id="listofbasicxofficeapplications"/>
<p class="title">
<strong>Table 7.8. List of basic X office applications</strong>
</p>
<div class="table-contents">
<table class="table" summary="List of basic X office applications" border="1">
<colgroup>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
</colgroup>
<thead>
<tr>
<th style="text-align: left">
package
</th>
<th style="text-align: left">
popcon
</th>
<th style="text-align: left">
package size
</th>
<th style="text-align: left">
type
</th>
<th style="text-align: left">
description
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/libreoffice-writer">
<code class="literal">libreoffice-writer</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=libreoffice-writer">V:314, I:490</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/libr/libreoffice-writer.html">31652</a>
</td>
<td style="text-align: left">
LO
</td>
<td style="text-align: left">
word processor
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/libreoffice-calc">
<code class="literal">libreoffice-calc</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=libreoffice-calc">V:309, I:484</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/libr/libreoffice-calc.html">28663</a>
</td>
<td style="text-align: left">
LO
</td>
<td style="text-align: left">
spreadsheet
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/libreoffice-impress">
<code class="literal">libreoffice-impress</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=libreoffice-impress">V:307, I:481</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/libr/libreoffice-impress.html">3802</a>
</td>
<td style="text-align: left">
LO
</td>
<td style="text-align: left">
presentation
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/libreoffice-base">
<code class="literal">libreoffice-base</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=libreoffice-base">V:296, I:462</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/libr/libreoffice-base.html">8928</a>
</td>
<td style="text-align: left">
LO
</td>
<td style="text-align: left">
database management
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/libreoffice-draw">
<code class="literal">libreoffice-draw</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=libreoffice-draw">V:307, I:481</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/libr/libreoffice-draw.html">9881</a>
</td>
<td style="text-align: left">
LO
</td>
<td style="text-align: left">
vector graphics editor (draw)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/libreoffice-math">
<code class="literal">libreoffice-math</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=libreoffice-math">V:310, I:487</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/libr/libreoffice-math.html">1625</a>
</td>
<td style="text-align: left">
LO
</td>
<td style="text-align: left">
mathematical equation/formula editor
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/abiword">
<code class="literal">abiword</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=abiword">V:4, I:16</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/a/abiword.html">4748</a>
</td>
<td style="text-align: left">
GNOME
</td>
<td style="text-align: left">
word processor
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/gnumeric">
<code class="literal">gnumeric</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=gnumeric">V:15, I:24</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/g/gnumeric.html">7888</a>
</td>
<td style="text-align: left">
GNOME
</td>
<td style="text-align: left">
spreadsheet
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/gimp">
<code class="literal">gimp</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=gimp">V:84, I:506</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/g/gimp.html">16413</a>
</td>
<td style="text-align: left">
GTK
</td>
<td style="text-align: left">
bitmap graphics editor (paint)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/inkscape">
<code class="literal">inkscape</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=inkscape">V:153, I:346</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/i/inkscape.html">130049</a>
</td>
<td style="text-align: left">
GNOME
</td>
<td style="text-align: left">
vector graphics editor (draw)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/dia">
<code class="literal">dia</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=dia">V:21, I:38</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/d/dia.html">3916</a>
</td>
<td style="text-align: left">
GTK
</td>
<td style="text-align: left">
flowchart and diagram editor
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/planner">
<code class="literal">planner</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=planner">V:3, I:7</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/p/planner.html">1170</a>
</td>
<td style="text-align: left">
GNOME
</td>
<td style="text-align: left">
project management
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/calligrawords">
<code class="literal">calligrawords</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=calligrawords">V:1, I:8</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/c/calligrawords.html">5569</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
word processor
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/calligrasheets">
<code class="literal">calligrasheets</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=calligrasheets">V:1, I:7</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/c/calligrasheets.html">10780</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
spreadsheet
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/calligrastage">
<code class="literal">calligrastage</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=calligrastage">V:0, I:7</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/c/calligrastage.html">4832</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
presentation
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/calligraplan">
<code class="literal">calligraplan</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=calligraplan">V:0, I:7</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/c/calligraplan.html">15222</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
project management
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/kexi">
<code class="literal">kexi</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=kexi">V:0, I:7</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/k/kexi.html">7475</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
database management
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/karbon">
<code class="literal">karbon</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=karbon">V:1, I:8</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/k/karbon.html">4186</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
vector graphics editor (draw)
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break"/>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_x_utility_applications"/>7.7.2. X utility applications</h3>
</div>
</div>
</div>
<p>Here is a list of basic utility applications which caught my eyes.</p>
<div class="table">
<a id="listofbasicxutilityapplications"/>
<p class="title">
<strong>Table 7.9. List of basic X utility applications</strong>
</p>
<div class="table-contents">
<table class="table" summary="List of basic X utility applications" border="1">
<colgroup>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
</colgroup>
<thead>
<tr>
<th style="text-align: left">
package
</th>
<th style="text-align: left">
popcon
</th>
<th style="text-align: left">
package size
</th>
<th style="text-align: left">
type
</th>
<th style="text-align: left">
description
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/evince">
<code class="literal">evince</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=evince">V:179, I:409</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/e/evince.html">1401</a>
</td>
<td style="text-align: left">
GNOME
</td>
<td style="text-align: left">
document(pdf) viewer
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/okular">
<code class="literal">okular</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=okular">V:72, I:123</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/o/okular.html">13100</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
document(pdf) viewer
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/calibre">
<code class="literal">calibre</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=calibre">V:7, I:38</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/c/calibre.html">51018</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
e-book converter and library management
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/fbreader">
<code class="literal">fbreader</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=fbreader">V:2, I:17</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/f/fbreader.html">3035</a>
</td>
<td style="text-align: left">
GTK
</td>
<td style="text-align: left">
e-book reader
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/evolution">
<code class="literal">evolution</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=evolution">V:42, I:284</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/e/evolution.html">441</a>
</td>
<td style="text-align: left">
GNOME
</td>
<td style="text-align: left">
Personal information Management (groupware and email)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/kontact">
<code class="literal">kontact</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=kontact">V:2, I:22</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/k/kontact.html">2030</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
Personal information Management (groupware and email)
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/scribus">
<code class="literal">scribus</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=scribus">V:5, I:27</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/s/scribus.html">19061</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
desktop page layout editor
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/glabels">
<code class="literal">glabels</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=glabels">V:0, I:4</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/g/glabels.html">1389</a>
</td>
<td style="text-align: left">
GNOME
</td>
<td style="text-align: left">
label editor
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/gnucash">
<code class="literal">gnucash</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=gnucash">V:4, I:14</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/g/gnucash.html">9667</a>
</td>
<td style="text-align: left">
GNOME
</td>
<td style="text-align: left">
personal accounting
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/homebank">
<code class="literal">homebank</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=homebank">V:0, I:3</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/h/homebank.html">878</a>
</td>
<td style="text-align: left">
GTK
</td>
<td style="text-align: left">
personal accounting
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/kmymoney">
<code class="literal">kmymoney</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=kmymoney">V:0, I:3</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/k/kmymoney.html">12342</a>
</td>
<td style="text-align: left">
KDE
</td>
<td style="text-align: left">
personal accounting
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/shotwell">
<code class="literal">shotwell</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=shotwell">V:20, I:207</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/s/shotwell.html">6635</a>
</td>
<td style="text-align: left">
GTK
</td>
<td style="text-align: left">
digital photo organizer
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xsane">
<code class="literal">xsane</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xsane">V:21, I:195</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xsane.html">909</a>
</td>
<td style="text-align: left">
GTK
</td>
<td style="text-align: left">
scanner frontend
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break"/>
<div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Caution">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Caution]" src="images/caution.png"/>
</td>
<th align="left">Caution</th>
</tr>
<tr>
<td align="left" valign="top">
<p>The <code class="literal">poppler-data</code> package (previously non-free, see <a class="xref" href="ch11.en.html#_ghostscript" title="11.4.1. Ghostscript">Section 11.4.1, “Ghostscript”</a>) needs to be installed for <code class="literal">evince</code> and <code class="literal">okular</code> to display CJK PDF documents using Cmap data (<a class="xref" href="ch07.en.html#_cjk_fonts" title="7.6.3. CJK fonts">Section 7.6.3, “CJK fonts”</a>).</p>
</td>
</tr>
</table>
</div>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Note">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Note]" src="images/note.png"/>
</td>
<th align="left">Note</th>
</tr>
<tr>
<td align="left" valign="top">
<p>Installing softwares such as <code class="literal">scribus</code> (KDE) on GNOME desktop environment are quite acceptable since corresponding functionality is not available under GNOME desktop environment. But installing too many packages with duplicated functionalities clutter your menu.</p>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="_the_x_trivia"/>7.8. The X trivia</h2>
</div>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_clipboard"/>7.8.1. Clipboard</h3>
</div>
</div>
</div>
<p>The X selection using 3 mouse buttons is the native clipboard feature of X (see <a class="xref" href="ch01.en.html#_unix_style_mouse_operations" title="1.4.4. Unix style mouse operations">Section 1.4.4, “Unix style mouse operations”</a>).</p>
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Tip">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Tip]" src="images/tip.png"/>
</td>
<th align="left">Tip</th>
</tr>
<tr>
<td align="left" valign="top">
<p>Shift-Insert can work as the equivalent of the middle-mouse-button click.</p>
</td>
</tr>
</table>
</div>
<div class="table">
<a id="listofbasicxselectionprograms"/>
<p class="title">
<strong>Table 7.10. List of basic X selection programs</strong>
</p>
<div class="table-contents">
<table class="table" summary="List of basic X selection programs" border="1">
<colgroup>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
<col style="text-align: left"/>
</colgroup>
<thead>
<tr>
<th style="text-align: left">
package
</th>
<th style="text-align: left">
popcon
</th>
<th style="text-align: left">
package size
</th>
<th style="text-align: left">
type
</th>
<th style="text-align: left">
description
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xsel">
<code class="literal">xsel</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xsel">V:11, I:41</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xsel.html">51</a>
</td>
<td style="text-align: left">
X
</td>
<td style="text-align: left">
command line interface to X selections
</td>
</tr>
<tr>
<td style="text-align: left">
<a class="ulink" href="http://packages.debian.org/sid/xclip">
<code class="literal">xclip</code>
</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://qa.debian.org/popcon.php?package=xclip">V:8, I:37</a>
</td>
<td style="text-align: left">
<a class="ulink" href="http://packages.qa.debian.org/x/xclip.html">55</a>
</td>
<td style="text-align: left">
X
</td>
<td style="text-align: left">
command line interface to X selections
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="table-break"/>
<p>The modern Desktop Environments (GNOME, KDE, …) offer different clipboard system for the cut, copy, and paste using the left mouse button and keys (CTRL-X, CRTL-C, and CTRL-V).</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_keymaps_and_pointer_button_mappings_in_x"/>7.8.2. Keymaps and pointer button mappings in X</h3>
</div>
</div>
</div>
<p><span class="citerefentry"><span class="refentrytitle">xmodmap</span>(1)</span> is a utility for modifying keymaps and pointer button mappings in the X Window System.
To get the <span class="strong"><strong>keycode</strong></span>, run <span class="citerefentry"><span class="refentrytitle">xev</span>(1)</span> in the X and press keys. To get the meaning of <span class="strong"><strong>keysym</strong></span>, look into the MACRO definition in "<code class="literal">/usr/include/X11/keysymdef.h</code>" file (<code class="literal">x11proto-core-dev</code> package). All "<code class="literal">#define</code>" statements in this file are named as "<code class="literal">XK_</code>" prepended to <span class="strong"><strong>keysym</strong></span> names.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_classic_x_clients"/>7.8.3. Classic X clients</h3>
</div>
</div>
</div>
<p>Most traditional X client programs, such as <span class="citerefentry"><span class="refentrytitle">xterm</span>(1)</span>, can be started with a set of standard command line options to specify geometry, font, and display.</p>
<p>They also use the X resource database to configure their appearance. The system-wide defaults of X resources are stored in "<code class="literal">/etc/X11/Xresources/*</code>" and application defaults of them are stored in "<code class="literal">/etc/X11/app-defaults/*</code>". Use these settings as the starting points.</p>
<p>The "<code class="literal">~/.Xresources</code>" file is used to store user resource specifications. This file is automatically merged into the default X resources upon login. To make changes to these settings and make them effective immediately, merge them into the database using the following command.</p>
<pre class="screen">$ xrdb -merge ~/.Xresources</pre>
<p>See <span class="citerefentry"><span class="refentrytitle">x</span>(7)</span> and <span class="citerefentry"><span class="refentrytitle">xrdb</span>(1)</span>.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_the_x_terminal_emulator_xterm"/>7.8.4. The X terminal emulator — xterm</h3>
</div>
</div>
</div>
<p>Learn everything about <span class="citerefentry"><span class="refentrytitle">xterm</span>(1)</span> at <a class="ulink" href="http://dickey.his.com/xterm/xterm.faq.html">http://dickey.his.com/xterm/xterm.faq.html</a>.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="_running_x_clients_as_root"/>7.8.5. Running X clients as root</h3>
</div>
</div>
</div>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Warning">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Warning]" src="images/warning.png"/>
</td>
<th align="left">Warning</th>
</tr>
<tr>
<td align="left" valign="top">
<p>Never start the X display/session manager under the root account by typing in <code class="literal">root</code> to the prompt of the display manager such as <code class="literal">gdm3</code> because it is considered unsafe (insecure), even when you plan to perform administrative activities. The entire X architecture is considered insecure if run as root. You must always use the lowest privilege level possible, like a regular user account.</p>
</td>
</tr>
</table>
</div>
<p>Easy ways to run a particular X client, e.g. "<code class="literal">foo</code>" as root is to use <span class="citerefentry"><span class="refentrytitle">sudo</span>(8)</span> etc. as the following.</p>
<pre class="screen">$ sudo foo &</pre>
<pre class="screen">$ sudo -s
# foo &</pre>
<pre class="screen">$ gksu foo &</pre>
<pre class="screen">$ ssh -X root@localhost
# foo &</pre>
<div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
<table border="0" summary="Caution">
<tr>
<td rowspan="2" align="center" valign="top">
<img alt="[Caution]" src="images/caution.png"/>
</td>
<th align="left">Caution</th>
</tr>
<tr>
<td align="left" valign="top">
<p>Use of <span class="citerefentry"><span class="refentrytitle">ssh</span>(1)</span> just for this purpose as above is waste of resource.</p>
</td>
</tr>
</table>
</div>
<p>In order for the X client to connect to the X server, please note the following.</p>
<div class="itemizedlist">
<ul class="itemizedlist">
<li class="listitem">
<p>
Values of the old user's "<code class="literal">$XAUTHORITY</code>" and "<code class="literal">$DISPLAY</code>" environment variables must be copied to the new user's ones.
</p>
</li>
<li class="listitem">
<p>
The file pointed by value of the "<code class="literal">$XAUTHORITY</code>" environment variable must be readable by the new user.
</p>
</li>
</ul>
</div>
<p>The <code class="literal">gksu</code> package (popcon: V:38, I:253) is a specialized GTK+ GUI package for gaining the root privileges. It can be configured to use <span class="citerefentry"><span class="refentrytitle">su</span>(1)</span> or <span class="citerefentry"><span class="refentrytitle">sudo</span>(8)</span> as its backend depending on the "<code class="literal">/apps/gksu/sudo-mode</code>" gconf key. You can edit gconf key using <span class="citerefentry"><span class="refentrytitle">gconf-editor</span>(1)</span> (menu: "Applications" → "System Tools" → "Configuration Editor").</p>
</div>
</div>
</div>
<div class="navfooter">
<hr/>
<table width="100%" summary="Navigation footer">
<tr>
<td align="left"><a accesskey="p" href="ch06.en.html"><img src="images/prev.png" alt="Prev"/></a> </td>
<td align="center"> </td>
<td align="right"> <a accesskey="n" href="ch08.en.html"><img src="images/next.png" alt="Next"/></a></td>
</tr>
<tr>
<td align="left" valign="top">Chapter 6. Network applications </td>
<td align="center">
<a accesskey="h" href="index.en.html">
<img src="images/home.png" alt="Home"/>
</a>
</td>
<td align="right" valign="top"> Chapter 8. I18N and L10N</td>
</tr>
</table>
</div>
</body>
</html>
|