Configuring X Windows and Printing – Flashcards

Unlock all answers in this set

Unlock answers
question
Which command should you use to convert encoding from one type to another? (locale) (tzselect) (iconv) (conv)
answer
iconv
question
Which environment variable overrides all other locale settings and sets all locales to the same setting?
answer
LC_ALL
question
Which directory contains the locale configuration files on a Linux distribution? (Tip: Enter the full path to the directory.)
answer
/usr/share/locale
question
You are piping the data from the cat command to another program, but the data is garbled. You believe the locale is corrupting the output. Which variable setting should you change to avoid the problem described above? (LC_NAME=C) (LC_COLLATE=C) (LC_NUMERIC=C) (LANG=C)
answer
LANG=C
question
Match the locale environmental variable name on the left with the description on the right
answer
Specifies personal name format LC_NAME Specifically used an override for LC_MESSAGES. LANGUAGE A special variable for overriding all other settings. It sets all locales to the same setting. LC_ALL Defines all locale settings at once, while allowing further individual customization via the LC_*settings LANG
question
You have installed a new monitor on your system. What can you do to optimize the video resolution of your monitor? (Run startx so it auto detects the monitor.) (Edit the settings in the XF86Config file.) (Run gnome and let it auto-detect the monitor.) (Run mondetect to auto set the resolution.)
answer
Edit the settings in the XF86Config file.
question
You have installed XFree86 version 4. You want to run an application to configure X Windows. Which application will perform the configuration? (Choose two.) (xorgconfig) (xf86cfg) (Xconfig) (Xorg) (Xconfiguration)
answer
xf86cfg and Xconfiguration
question
You want to automatically query the hardware and generate an X windows configuration file. What utility can you use? (XF86Config) (Xconfigurator) (XFree86) (XF86cfg)
answer
XFree86
question
You want to run a utility to configure your monitor from a command line. Which of the following commands should you use? (XF86Setup -monitor) (Xconfig) (XFree86 -bpp) (Xconfigurator --hsync --vsync)
answer
Xconfigurator --hsync --vsync
question
You are installing Linux on a new system. When you setup the X server, what do you need to know about the video card for a successful configuration? (Video chipset) (Monitor resolution) (Video card processor speed) (Video RAM)
answer
Video chipset
question
Which section of the /etc/X11/xorg.conf file controls the color depth? (Module) (Device) (VideoAdaptor) (Screen)
answer
Screen
question
Which section of the /etc/X11/xorg.conf file allows you to create vendor-specific configuration settings for an X server?
answer
Vendor
question
You have made a few changes to the X server configuration file and you need to implement the changes by restarting the X server. Which of the following actions will not restart the X server? (Press Ctrl-Alt-Backspace) (Restart the computer) (Use the startx command) (Log out and in)
answer
Use the startx command
question
Which component of the X Windows System controls the placement and appearance of windows on a Linux computer?
answer
Window Manager
question
Which of the following statements best describes the purpose of an X font server? (X font servers were developed for client systems that were not powerful enough to handle font rendering.) (An X font server controls the placement and appearance of windows on a Linux computer, such as moving, hiding, resizing, or closing them, as well as controlling what they display.)
answer
X font servers were developed for client systems that were not powerful enough to handle font rendering.
question
You need to edit the Gnome Display Manager (GMD) settings on your Linux system. What is the configuration file for the GDM display manager? (Tip: Enter the full path to the file.)
answer
/etc/X11/gdm/gdm.conf
question
Which of the following display managers use the same configuration file? (GDM and KDM) (XDM and GDM) (Each display manager uses an exclusive configuration file.) (XDM and KDM)
answer
XDM and KDM
question
Which GDM script runs as the session is starting and can register the session with utmp/wtmp? (PostLogin) (PreSession) (Init) (PostSession)
answer
PreSession
question
Which section of the /etc/X11/gdm/gdm.conf file has options to configure the look and content of the login screen on the GDM display manager? (Xserver definitions) (Greeter) (XDMCP chooser) (Servers)
answer
Greeter
question
Which file of the /usr/X11R6/lib/X11/xdm directory should you use to configure look and content of the login screen on an XDM display manager? (Xresources) (Xaccess) (Xservers) (xdm-config)
answer
Xresources
question
You have a Linux system running without a display manager. Which command will launch the display manager session in 16 bit mode?
answer
startx -depth 16
question
Which of the following commands will configure the init scripts on your Linux system to launch the GDM display manager when the system boots? (insserv gdm on) (chkconfig --list gdm) (chkconfig gdm on) (gdm start)
answer
chkconfig gdm on
question
What is another term for keyboard accessibility options on a Linux system?
answer
AccessX
question
Who benefits from the sticky keys accessibility option? (Users who press and hold down keys by accident) (Users who press single keys multiple times by accident) (Users who have difficulty pressing multiple keys at the same time.) (Users who need a tactile representation of the keys.)
answer
Users who have difficulty pressing multiple keys at the same time.
question
You have a user which has difficulty typing. She is constantly pressing keys multiple times by accident. Which keyboard accessibility option should you enable? (mouse keys) (sticky keys) (toggle keys) (bounce keys)
answer
bounce keys
question
You have a user who has difficulty using the mouse. Which keyboard accessibility option should you enable? (toggle keys) (mouse keys) (sticky keys) (bounce keys)
answer
mouse keys
question
Which of the following statements best describes the repeat rate keyboard accessibility option? (Repeat rate affects how quickly the action associated with the key is repeatedly performed when the key is pressed and held down.) (Repeat rate requires a key to be pressed for a specified time period before acceptance.)
answer
Repeat rate affects how quickly the action associated with the key is repeatedly performed when the key is pressed and held down.
question
What is Emacspeak? (A Braille Embosser.) (A screen reader.) (A screen magnifier.) (An onscreen keyboard.)
answer
A screen reader.
question
Which type of desktop theme displays the background and text colors to improve readability?
answer
high contrast
question
Which type of Braille device prints a hard copy of a text document using Braille characters? (Braille Embosser) (Braille display) (Braille reader) (Braille theme)
answer
Braille Embosser
question
Which of the following statements best describes the mouse gesture visual accessibility option? (A mouse gesture displays an image of keyboard where a user to use a mouse to select keys as if they were pressed on a real keyboard.) (A mouse gesture allows users to configure Linux to complete a specified task when the mouse is moved in a certain pattern.)
answer
A mouse gesture allows users to configure Linux to complete a specified task when the mouse is moved in a certain pattern.
question
Which of the following is generally not an alternative input method for the GNOME On-Screen Keyboard (GOK)? (Moving the head.) (Blowing and sipping to activate a pneumatic switch.) (Moving the mouse in a certain pattern.) (Blinking an eye or a directed gaze with an eye tracking system.)
answer
Moving the mouse in a certain pattern.
question
Which of the following items is a free, open source scriptable screen reader which works with the GNOME desktop? (Gedit) (Emacspeak) (GOK) (Orca)
answer
Orca
question
What does the lprm command do? (Reschedules jobs for the line printer print queue) (Redirects output to the line printer print queue) (Removes jobs from the line printer print queue) (Sends e-mail about the line printer status)
answer
Removes jobs from the line printer print queue
question
What information about print jobs does the utility lpq display? (Select Two.) (The amount of in or toner left in the printer.) (The printer serial number.) (A numerical job ID that can be used to manipulate the job from other utilities.) (The name of the application that submitted the job.) (The username of the person who submitted the job. )
answer
The username of the person who submitted the job. and A numerical job ID that can be used to manipulate the job from other utilities.
question
You want to send the yearend.txt file to the acctg printer. Which command would you use? (lpq acctg yearend.txt) (lpq -P acctg yearend.txt) (lpout -P acctg yearend.txt) (lpr -P acctg yearend.txt)
answer
lpr -P acctg yearend.txt
question
User badams sends two print jobs to the Marketing printer (the default printer). He notices the printer is stalled on the first document, and uses the lprm - command. What will be the result? (All jobs in the queue, including those for other users, will be deleted) (Both his jobs will be deleted) (The first job will be deleted)
answer
Both his jobs will be deleted
question
You want to configure your CUPS from a Web browser. Which command is correct? (http://localhost:531) (http://localhost:601) (http://localhost:901) (http://localhost:631)
answer
http://localhost:631
question
You have installed and configured a new printer manually. You cannot print to the new printer. What should you do? (Use the command /etc/rc.d/init.d/lpd restart to restart the lpd print service) (Use the command /etc/rc.d/init.d/cups restart to restart the cups print service) (Use the command service cups restart to restart the cups print service) (Use the command /etc/rc.d/init.d/printd restart to restart the print service)
answer
Use the command /etc/rc.d/init.d/lpd restart to restart the lpd print service and Use the command /etc/rc.d/init.d/cups restart to restart the cups print service and Use the command service cups restart to restart the cups print service
question
You want to configure your CUPS from a Web browser. What URL address and port should you enter within the Web browser's address field? (Tip: Enter the address and port as if at the Web browser)
answer
http://localhost:631
question
You are using the cupsctl command to configure the /etc/cups/cupsd.conf file. Which cupsctl option will enable the sharing of the locally-connected printer to other computers on the network?
answer
--share-printers
question
You are configuring the /etc/cups/cupsd.conf file. Which command should you use to prevent remote remote printers from being displayed on the local system? (cupsctl --no-remote-admin) (cupsctl --no-share-printers) (cupsctl --remote-printers) (cupsctl --no-remote-printers)
answer
cupsctl --no-remote-printers
question
Which command should you use to create the CUPS root user and password? (Tip: Enter the command as if at the command prompt, but without any options.)
answer
lppasswd
question
Which of the following lines in the /etc/cups/cupsd.conf file will configure CUPS to listen for print jobs sent only from the local system? (Listen localhost:631) (Listen *:631) (Listen 192.168.0.0:631) (Listen 192.168.0.1:631)
answer
Listen localhost:631
question
Which command should you use to print 23 copies of the comparables file on the homeprint printer?
answer
lpr -P homeprint -#23 comparables
question
Which of the following commands will remove all files from the print queue (lpc clean) (lpc remove) (lpc status) (lpc clear)
answer
lpc clean
question
Which lpr option should you use to change the page width of the print job? (-h) (-r) (-P) (-w)
answer
-w
question
Which command will show the contents of all the print queues on your Linux system? (Tip: Enter the command as if at the command prompt.)
answer
lpq -a
question
Which of the following commands removes print job 11 from the hp7 printer? (lprm 11) (cancel -P hp7 11) (cancel -U hp7 11) (cancel 11)
answer
cancel -P hp7 11
question
Your linux system uses the Line Printer Daemon (LPD) to manage print jobs. Which file should you use to edit the LDP configuration? (Tip: Enter the full path to the file.)
answer
/etc/lpd.perms
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New