您好,欢迎访问三七文档
1LinuxOperatingSystemXWindowsSystemandWindowManagersChengfuSun2LinuxOperatingSystemContentsWhatisXWindow?SettingupyourXFree86SystemUsingtheXDesktopManagerTheGNOMEDesktopEnvironmentTheKDEDesktopEnvironment3LinuxOperatingSystemWhatisXWindow?IntroductionTheXWindowsystemisanetworkingwindowingsystem.ThepropertermsofXWindowsystem’sreferenceareX,X11,XVersion11,ortheXWindowsystem,version11.XwasfirstdevelopedattheMassachusettsInstituteofTechnologyintheearly1980s.TheXWindowsystemusedwithmostLinuxdistributions4LinuxOperatingSystemSettingupyourXFree86SystemInstallXFree86IfyouinstalledandconfiguredX11whenyoufirstinstalledRedHatLinux,you'llfindthatmostoftheXWindowsystemresidesunderthe/usr/X11R6directory.UpgradeX.InsertyourRedHatCD-ROMmount/mnt/cdrom#su-c“rpm-i/mnt/cdrom/RedHat/RPMS/XFree86*rpm5LinuxOperatingSystemThecontentsofthedirectoriesunderthe/usr/X11R6:/usr/X11R6/binWheremost(butnotall)X11clientsarestored/usr/X11R6/includeProgrammingheaderfilesanddirectoriesofbitmapsandpixmaps/usr/X11R6/libX11softwarelibrariesneededbyXclientsandprogrammers/usr/X11R6/manXmanualpages6LinuxOperatingSystemThemajorcomponentsofXFree86.XserversConfigurationsfilesClientsProgrammingheaderfilesLibrariesFontsResourcefilesManualpages7LinuxOperatingSystemConfigureXFree86usingXconfiguratorThefunctionsofXconfiguratordetectyourhardwareInstalltheapplicableXsoftwarewiththeappropriateconfigurationsettings.IfyouarestillunsuccessfulaftertryingoutvarioussettingswithXconfigurator,youmayHavebetterluckwiththexf86configEditthe/etc/X11/XF86Configfilebyhand.8LinuxOperatingSystemExample:HowtochangecolordepthEditthe/etc/X11/XF86ConfigaboutthecolordepthSubsection“DisplayDepth24Modes“800x600”“1024x768ViewPort00Virtual1024768EndSubsection9LinuxOperatingSystemTesteachcolordepthmanuallybyStartx---bpp24(forthe24-bitdepth)makesureXisworkingproperlyforthecolordepthyouwishtouse.Makethecolordepthasthedefaulstbymodifythe/etc/X11/xinit/xserverrcasfollows:•execX:0-bpp24AssumingyouhaveconfiguredXproperly,startingitisasimplematteroftyping•startx10LinuxOperatingSystemUsingtheXDesktopManagerStartuptheXwindowSystemautomaticallyatsystemboottimeEditthe/etc/initabfileandchangeid:3:initdefaulttoid:5:initdefault11LinuxOperatingSystemQuestions:HowtoswitchfromtheGUItotheregularconsoles?HowtoswitchbackagaintotheGUI?12LinuxOperatingSystemChoosingaWindowManagerforXThewindowmanagerisresponsibleforhowXlooksandhowitinteractswithyouandyourapplications.ThecommonwindowmanagersforLinux:FvwmOlvmTwm…..13LinuxOperatingSystemTheGNOMEDesktopEnvironmentIntroductionGNOMEisanacronymfortheGNUNetworkObjectModelEnvironment.Itisauser-friendlydesktopenvironmentthatenablesuserstoeasilyuseandconfiguretheircomputers.GNOMEisdefaultdesktopenvironmentinmostofLinuxdistributions.14LinuxOperatingSystemTheDesktop15LinuxOperatingSystemThedesktopisthemainworkspaceofyourenvironmentwhichincorporateseverything.WindowsareplacedontheDesktopLauchersarealsofoundforapplication,documetsortherdata.Double-clickingwillopenafolderorstartanapplication.Thedesktopistheareaonwhichyourunyourapplicationsandperformallyourwork.16LinuxOperatingSystemOnyourdesktoparelaunchersandfolders:Launchers•Iconswhichappearonthedesktop.•Clickontheicontostarttheapplicationit'sassociatedwith.•Forexample,clickingonaNetscapeNavigatoriconwilllaunchthebrowser.17LinuxOperatingSystemFolders•Containingcontentsofdirectories•Foldersonthedesktopcanstoreapplications,datasuchastextfilesorspreadsheets,andotheritems.•Double-clickingonafolderwillopenitanddisplayitscontents18LinuxOperatingSystemContentsofanOpenFolder19LinuxOperatingSystemThePanelThePanelattheBottomoftheDesktopFromthePanel,youcanlaunch•applicationsandapplets•smallapplicationsandutilitieswhicharemeanttobedockedintothepanel.20LinuxOperatingSystemHidingthePanel•Toenabletheauto-hidefeature,right-clickonthePanel,selectpanel,properties,hidingpolicyandchooseautohide21LinuxOperatingSystemAddinganapplet•Right-clickonthePanel;selectApplets22LinuxOperatingSystem•Right-clickonthePanel;selectPanel=Addtopanel23LinuxOperatingSystemFindingHelp24LinuxOperatingSystemTheGNOMEHelpBrowserincludes:GNOME-relatedhelpinfopagesmanpages25LinuxOperatingSystemTheKDEDesktopEnvironmentWhatisKDE?KDEisapowerfulOpenSourcegraphicaldesktopenvironmentforUnixworkstationsKDEisanInternetprojectthatistrulyopenineverysense.KDEisamaturedesktopsuiteprovidingasolidbasistoanevergrowingnumberofapplicationsforUnixworkstations.26LinuxOperatingSystemTheDesktopDesktopIconsTrashcanControlpanelYoucanaccessanyoneofthesedevicesbyleft-clickingonceontheapplicableicon.27LinuxOperatingSystem28LinuxOperatingSystemThePanelThepanelstretchesacrossthebottomofthedesktopThepanelisveryconfigurable29LinuxOperatingSystemMultipleDesktopsBydefault,KDEprovidesfourdesktopsonwhichyoucanspreadyourwork.Eachdesktopcanholdicons,openapplications,andhaveindividuallycustomizedbackgrounds.Forexample,whileyouarewritingemailonthefirstdesktop,youcanhaveNetscapeNavigatorrunningondesktoptwo,aw
本文标题:Chapter 6 X Windows System and Window Managers
链接地址:https://www.777doc.com/doc-3165659 .html