Archive for August, 2007

$ xlsfonts | more $ xlsfonts > /tmp/allfonts (Web design conference)

Monday, August 27th, 2007

$ xlsfonts | more $ xlsfonts > /tmp/allfonts Here are some fonts you can try. Use the command xterm -fn “font” to try some of these fonts: 12×24romankana -adobe-utopia-bold* lucidasanstypewriter-bold-18 The X server maintains a list of font locations in what is called the font path. When you display a list of fonts or choose particular fonts to assign as resources, the font path is checked to determine whether the font exists. Font path is similar to the shell PATH, which searches for commands by checking a list of directories, using the order in which they appear in the PATH. Likewise, X checks for a font using the order set by font path. To see the current font path, type xset -q| grep -i font. Changing X display resources Resources associated with your X server display affect the behavior of the mouse and keyboard, and can modify such things as the sounds and background of your desktop. There are several commands that are used to change and view the resources that are set for your display: xset Sets and displays a variety of resources associated with your X display. It can control sounds from the desktop, set the font path, change mouse parameters, change the screen saver, and set background color of the desktop. xmodmap Modifies how the keys on your keyboard and pointer buttons are mapped. It can also display existing key map and pointer map tables. xsetroot Sets parameters associated with your root window. You can change the cursor for the mouse pointer or set the background window to a color or bitmap image. xv Although xv can be used to capture and display images in a variety of formats, it can also be used to show an image as a background for your display. (The xv command does not come with the Red Hat Linux distribution, though it is available from Red Hat FTP sites as shareware.) Typically, you would try different values with these commands to find settings that look and behave the way you want. Then you could add these commands, with options, to your .xinitrc or .xsession files so that they are in effect each time you start the desktop. There are several attributes of your mouse, cursor, and keyboard mappings that you can change. You can speed your mouse motion. You can change what each mouse button does. You can assign a different cursor to the mouse pointer. You can modify annoying sounds. You can set the background of your display. You can set the idle time of your screen saver. Mouse speed To change the speed your mouse cursor travels in proportion to how far you move the mouse, change the acceleration value with the xset command. To set the m option to xset, enter a number to represent acceleration. You can also add a number, following the first one that represents a threshold. The movement of the cursor is the first number (acceleration) times the movement of the mouse (the distance the mouse is moved), after it passes the set threshold of pixels. (The reason for waiting for the threshold to be reached is so
If you are in need for cheap and reliable webhost to host your website, we recommend http web server services.

In these examples, the first line shows buttons (Jetty web server)

Sunday, August 26th, 2007

In these examples, the first line shows buttons on the xfontsel window in red. The second line places the xclock utility in the lower-left corner of the screen. The third line sets the fonts used in an xterm window to be the 9×15bold font. X colors When you define X resources, there are several ways to refer to colors. One way that is easy to understand is to use common names: red, blue, black, etc. However, to be more specific, you can also use hexadecimal notation or specific numeric red, green, and blue values to refer to more subtle colors. The table of colors that are supported by X are contained in /usr/lib/X11/rgb.txt file. Each entry in this file consists of three numbers and a name. The three numbers represent the intensity of red, green, and blue, respectively. A zero (0) represents no trace of the color, whereas 255 represents full intensity. Here are some examples of colors in this file: 250 235 215 AntiqueWhite 230 230 250 lavender 255 228 225 misty rose 255 255 255 white 0 0 0 black 47 79 79 DarkSlateGray 190 190 190 gray 0 0 128 navy 0 0 255 blue 135 206 235 sky blue 175 238 238 PaleTurquoise 0 255 255 cyan 0 255 0 green 255 255 0 yellow 165 42 42 brown 255 165 0 orange 255 0 0 red 255 0 255 magenta 160 32 240 purple You can use any of these names as arguments to color resource options. (Remember to put multiword colors in quotes.) Another way to refer to a color is with hexadecimal notation. In this form, there are six integers, each representing a number from 0 to 16. The first two integers refer to red, the next two refer to blue, and the final two refer to green. So, in the first two integers, ff is 255 (all red) and 00 is zero (no red). The same is true for setting the amounts of blue and green used. Here are some common colors in hexadecimal notation. black #000000 blue #0000ff cyan #00ffff green #00ff00 magenta #ff00ff red #ff0000 white #ffffff yellow #ffff00 Depending on where you enter colors in hexadecimal notation, you may need to put the numbers in quotes. For example, to set the background color to green for an xterm window, you would type xterm -bg “#00ff00″ at the command line. X fonts To see the fonts that are available to X on your computer, use the xlsfonts command. The xlsfonts command just dumps a listing of fonts to your screen. So, to view the contents you should either pipe the output to the more command or direct the output to a file. Here are two ways to run the command:
We recommend you use shared web hosting services, because many users agree that it is cheap, reliable and customer-satisfying webhost.

Freelance web design - $ xterm -xrm “XTerm*cursorColor:Blue” This command opens an

Sunday, August 26th, 2007

$ xterm -xrm “XTerm*cursorColor:Blue” This command opens an xterm window with the color of the cursor set to blue. You can set any xterm resource using the -xrm option. Try a few others, such as -xrm XTerm*background:Red or -xrm XTerm*foreground:Yellow. You can have more than one resource set at a time, but each must be preceded with -xrm. Caution Be careful not to set background, foreground, and other adjacent items to the same color. If your text, cursor, or other items seem to have disappeared, they may just be set to the same color. X resource files When you specify a resource for an X client, that resource follows a fairly simple form. It consists of class name, attribute, and a value. The class name is just the name of the application with the first letter capitalized. Some class names that begin with the letter x, however, capitalize the second letter as well (for example, the classname for the xterm application is XTerm). The attribute identifies the element within that application. The value is what that element is set to. Here is an example of an X resource: XTerm*background: Red The object of this attribute is the xterm command. The attribute is the background. The value sets the background to red. X resources that are specific to a particular client are organized in a hierarchy, in what is called a widget class. To find this hierarchy for an X client, check its man page and look for the WIDGETS heading. (Not all man pages have this heading.) Tip To see the widget tree for an X client that is running, use the editres command. From editres, choose Commands Get Tree, and then click the window of the client for which you want to see resources. To see an extensive list of resources, try clicking the editres window itself. Because the hierarchy of resources can allow long names, you can use an asterisk in a resource name for what is called a loose binding. This means that any number of characters can be matched by the asterisk (the way an asterisk is used as a wildcard in the shell). So, in the example just shown, any resource that ends with the attribute background for the XTerm class will be Red. If you want to be more specific in how you match a resource name, use a period (.) to create a tight binding in a resource name. A tight binding enables you to be more specific about the resource you want. For example, if you want all backgrounds in the xterm window to be Black and foregrounds to be White, but you want the scrollbar background to be Red and the foreground to be Yellow, use the following resources: XTerm*background: Black XTerm*foreground: White XTerm*scrollbar.background: Red XTerm*scrollbar.foreground: Yellow Most X applications accept these attributes: background, foreground, borderwidth, and bordercolor. Many also accept title (to change the name in the title bar), geometry (to set the window size and location), and font (to change the font used in the window). Remember that you can add resources in several ways: .Xdefaults, .Xresources, application-specific resource files in your home directory (such as XTerm), or using the -xrm “resource” option on an X client s command line. Here are a few X resource examples you can try to get a feel for: xfontsel*MenuButton.background: Red XClock*geometry: +0-0 XTerm*font: 9×15bold
Visit our web design programs services for an affordable and reliable webhost to suit all your needs.

Set a resource to a particular value. This (Web hosting service)

Saturday, August 25th, 2007

Set a resource to a particular value. This is useful for setting any X resource for the client that can t be changed with a specific option. (Separate the resource and value with a colon and surround them with quotes to avoid special characters from being interpreted by the shell.) In most cases, you can use several of these X options on the same command line. The following are some examples of X command options that are used with some common X clients: Note You can type these commands in a Terminal window in your GUI. The results should appear on your desktop. If the clients don t appear, refer to Chapter 5 for information on running X applications. Example one The xeyes command opens a small window that contains a pair of eyes. Those eyes follow your mouse movements around the screen. Here is an example of the xeyes command with several options: $ xeyes -fg red -center yellow & This runs the xeyes command with the pupils (-fg) set to red and the whites of the eyes (-center) set to yellow. The -center option is specific to xeyes. The ampersand (&) runs the command in the background. Example two The xlogo command simply displays an X (representing the X Window System) on your display. Here is an example of the xlogo command with several options: $ xlogo -geometry 300×300-0-0 -bg green -fg red & This places an X logo in the lower right-hand corner of the screen (-0-0) at a size of 300 x 300 pixels. The background behind the X is green (-bg), whereas the X itself is red (-fg). If the location had been set to +0+0, the X would have been placed in the upper left-hand corner. The ampersand (&) runs the command in the background. Note For an xterm window, -geometry is interpreted in characters. So, a geometry of 80 @@ts 15 would result in the text area of the xterm window being 80 characters wide and 15 lines long. Example three The xterm command starts a Terminal window on your desktop. Here is an example of an xterm command with several options: $ xterm -title “Login to Comp1″ -e ssh comp1 This command opens an xterm window and attempts to log in to a remote computer called comp1 (-e ssh comp1). The words Login to Comp1 will appear in the xterm window s title bar. To try this on your own computer, substitute comp1 with the name of a computer on your network. This example represents a great way to start an application and identify the activity of that application in the title bar of the xterm window. (This is a particularly good technique when an xterm command is used to log in to another computer. The title reminds you that you are not working on your own computer within that window, because you re logged in somewhere else.) Example four X resources can also be set on a command line. The following is an example of an -xrm option being used to set resources for an xterm window.
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.

There are also commands that (Best web design) you can run

Saturday, August 25th, 2007

There are also commands that you can run to change attributes related to general desktop features (xsetroot command) or your keyboard mappings (xmodmap command). The following sections describe how to change X resources using both X client command-line options and X resource files. X client command-line options When you run X client commands, or put them in a configuration file to start automatically, you can add options that affect how the client looks and behaves. These options are part of the X toolkit, so they are available regardless of what window manager you are using. Table 4-2 describes options that can be used with many different X client commands. Table 4-2: Command Options for Setting X Clients Option Description -bg color or -background color Set the background color of the window by replacing color with the color you choose. See the Colors section for a list of valid colors. -fg color or -foreground color Set the window s foreground color by replacing color with the color you choose. This color is used for text or graphics in the window. -rv or -reverse Reverse the window s background and foreground colors. +rv Restore the window s original background and foreground colors. -bd color or -bordercolor color Set the color of the window border by replacing color with the color you choose. See the Colors section for a list of valid colors. -bw pixels or -borderwidth pixels Set the window border width in terms of number of pixels. -display display Set the client program to appear on a particular display. The display can be set as the display on the local system (:0.0) or to a display on a remote computer (host:0.0). See Chapter 5 for a more in-depth description of how to direct the output of an X client to a remote display. -fn fontname or -font fontname Set the font used in the display text to fontname. See the Fonts section to find valid font names. -geometry WidthxHeight+Xoff+Yoff Set the size and placement of the window on the screen. Width and Height are numbers indicating either pixels or characters. Xoff and Yoff set the offset of where on the screen the window begins. A plus sign (+) offsets the window from the left or top of the screen. A minus (-) sign offsets the window from the right or bottom of the screen. (See examples that follow.) -iconic Start the application minimized (reduced to an icon). This is a nice option for running several clients at startup time so they are immediately ready for use, but not cluttering up your screen. -name “app name” Assign a name to the client (app name) that can be used to identify the application s resources. This is useful when the client has been renamed or aliased, but you still want it to use its resources. The app name you assign appears on the icon representing the window when it is minimized and, possibly, in the window s title bar. The name can be overridden in those locations using the option -title. -title “Window Name” Set the title used in the window s title bar and, possibly, the icon representing the window when it is minimized. -xnllanguage lang[_terr][.codeset] Set the language, territory, and codeset used to resolve filenames (such as resource files). -xrm “resource:value”
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.

Select a group that the MIME type you (Net web server)

Friday, August 24th, 2007

Select a group that the MIME type you are adding applies to by clicking the arrows next to the Group box. Then enter a Type name for the new MIME type and click OK. 5. Add the following information to the General tab that appears for the new MIME type: Filename Patterns Click Add and enter the file name extension for files that should be handled by this MIME type. Icon Click the icon on this tab to see the Select Icon window. From there, you can select the icon you want to represent the MIME type and click OK. Description Type a description of the MIME type. Application Preference Order Click Add, then select an application that will handle the MIME type that you just added and click OK. You can add several applications, in order, that could be used to handle the data type. The first application launches when you select a matching file type; other applications will appear on the menu when you right-click a matching file type and select Open With. 6. Click Apply. The new MIME time is now saved. At this point, any file created with the file extension that was just added will be launched by the application you indicated when the file is opened from the desktop or File Manager window. Right-click a file of that type to choose to launch the file by a different application from the Open With list (if more than one application is listed for the file type). Changing X Settings No matter what window manager you use, there are X resources that you can change that apply to your desktop in general, as well as specific X clients you run. Most X clients use standard options to set background and foreground colors, window titles, placement on the screen, and other resources. This section describes how to set X resources that apply to the general desktop, as well as to X client programs. The most common ways to set X resources are by: X Client Command-Line Options Most X clients support standard command-line options (as well as some options specific to each client) that set resources. For example, the option -geometry can be used to set the default size and position of most X clients. X Resource Files System and user resource files can be loaded by the xrdb command at desktop startup time. When you start the X GUI, it loads resources from either the system-wide Xresources file or from your personal .Xresources file (if either exists). Default resources for many X clients are stored in files in the /usr/lib/X11/app-defaults directory. You can override any X client resources files in app-defaults by creating files of the same names in your home directory.
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.

Multiple domain web hosting - If you decide later that you no longer

Friday, August 24th, 2007

If you decide later that you no longer want this application to be available on the panel, right-click it and click Remove. To move it to a different location on the panel, right-click it, click Move, move it to where you want it on the panel, and click again. Adding applications to the desktop To add an application to the desktop, you can use the desktop menu. Here s how: 1. Right-click an open area of the desktop. 2. Select Create New Link to Application from the menu. 3. In the Properties window that appears, replace the Program name. (This name will appear under the icon on the desktop.) 4. Add Permissions, Execute, and Application information for the application as described in the previous section about adding applications to the panel. In this case, much of the information will have to be entered manually. You will at least want to enter the command to execute, along with any options, on the Execute tab. You will probably also want to enter the Comment and Name on the Application tab. Click OK to save the application icon to the desktop. If you decide later that you no longer want this application to be available on the desktop, right-click it and click Delete or Move to Trash. Configuring MIME types By assigning MIME types and file extensions to particular types of data files, you can assign how those types of data are handled when the file is opened from KDE (such as in the Konqueror File Manager window). This can be a very powerful feature. It enables you to identify which application is started to handle a file that you open. MIME, which stands for Multipurpose Internet Mail Extension, was originally created as a way of adding different kinds of data to a mail message. For example, the data could be an image, a sound clip, or a video. Because this data may not have a file extension associated with it (.doc, .gif, and so on), the MIME type associated with the file could indicate to the mail reader or other application what to do with the data. When you add a MIME type to the Konqueror window, it tells it how to deal with particular kinds of data when a file is encountered in a folder (based on file extension) or some data is encountered when you open a Web page (based on MIME type). The following example shows a MIME type entry that was created to cause a particular application to be launched based on a file extension: 1. From the K menu, click the Control Center. 2. From the KDE Control Center, choose File Browsing File Associations. A File Associations screen appears in the KDE Control Center. 3. Click Add to create a new MIME Type. A Create new file type window appears. 4.
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.

Applets Select the security level associated with (Sri lanka web server)

Thursday, August 23rd, 2007

Applets Select the security level associated with the applets on your panel. You can indicate that only trusted applets can be used, then choose which applets to add to your Trusted list. Adding application launchers and MIME types You want to be able to quickly access the applications that you use most often. One of the best ways to make that possible is to add icons to the panel or the desktop that can launch the applications you need with a single click. Procedures for adding applications to the panel and desktop are described in the following sections. Adding applications to the panel You can add any KDE application to the KDE panel quite easily. From the K menu button on the panel, do the following: 1. Right-click an open space on the panel. 2. Choose Panel Menu Add Button. 3. Select one of the categories of applications. 4. Click any application from the category you selected (or select Add this menu to add the whole menu of applications). An icon representing the application should immediately appear on the panel. At this point, you can change any properties associated with the application by right-clicking on the application icon in the panel and then selecting Preferences. Here are the properties you can change: General Lets you change the file name associated with the icon. (This is not recommended, since the file name is not exposed from the panel.) You can also click the icon on this tab to select a different icon to represent it. Permissions Lets you change read, write, and execute permissions associated with the application. Because this is a special KDE link file (.kdelnk or .desktop), it only needs to be readable by all and not executable. Execute Lets you change the complete command line that is run when the command is executed, as well as the icon representing the application. Click Run in terminal if the application is a text-based, and not a GUI-based, application. Application Lets you add a Comment to the application. This comment is displayed as a tooltip when the pointer is positioned over the icon. The Name you enter is what appears in the title bar for the application. If you want the application to be launched if a particular type of data (MIME Type) is encountered, you can click a MIME Type in the right text box, then click the left arrow button to move the MIME Type to the left box.
We recommend cheap and reliable webhost to host and run your web applications: Coldfusion Web Hosting services.

Medical web site - Tip If you are working in a place

Thursday, August 23rd, 2007

Tip If you are working in a place where you want your desktop to be secure, be sure to turn on the Require Password feature. This prevents others from gaining access to your computer when you forget to lock it or shut it off. If you have any virtual terminals open, switch to them and type vlock to lock each of them as well. (You need to install the vlock package if the vlock command isn’t available.) Change fonts You can assign different fonts to places that fonts appear on the desktop. Under the Look & Feel heading, select Fonts. Select one of the categories of fonts (General, Fixed width, Desktop icon, File manager, Toolbar, Menu, and Window title fonts). Then click the Choose box to select a font from the Select Font box that you want to assign to that category. If the font is available, you will see an example of the text in the Sample text box. Tip If you want to use 100 dpi fonts, you need to add an entry for 100 dpi fonts to the /etc/XF86Config file. After you make that change, you need to restart the X server for it to take effect. Other attributes you can change for the selected fonts are size (in points) and character set (to select an ISO standard character set). Select Apply to apply the changes Change the colors Under the Look & Feel heading in the KDE Control Center, select Colors. The window that appears lets you change the color of selected items on the desktop. Select a whole color scheme from the Color Scheme box. Or select an item from the Widget color box to change a particular item. Items you can change include text, backgrounds, links, buttons, and title bars. Changing panel attributes For most people, the panel is the place where they select which desktop is active and which applications are run. You can change some of the behavior of the panel from the KDE Control Center. (Select Panel under the Look & Feel heading.) Here are the features you can change from each of the tabs: Position Change the location of the panel by clicking on Top, Left, Bottom, or Right in the Panel Location box. The Panel Style selection lets you change the size of the panel from Medium to Tiny, Small, or Large. Hiding There are selections that allow you to autohide the panel and hide buttons. Under the Hide Buttons heading, choose whether or not hide buttons are put on each outside edge (left/top or right/bottom) of the Panel. Sliders let you select the delay and speed at which panels and buttons are hidden. Look & Feel You can enable icon zooming (so icons bulge out as the mouse passes over them), have tooltips appear, and enable background tiles. You can select a background image for the panel. You can also assign different tile colors for different types of applications you add to the Panel. Menus Choose options associated with menus. You can clear the menu cache after a set number of seconds or select to show hidden files on browser menus. For the K Menu, you can select to merge different menu locations, show the recent documents submenu, and show the quick browser submenu. By defining a Quick Start section, you can have the most recently or most frequently used items accessible from that menu.
From our experience, we can recommend PHP5 Web Hosting services, if you need affordable webhost to host and run your web application.

Figure 4-7: Configure (Web hosting domain names) your desktop from the KDE

Wednesday, August 22nd, 2007

Figure 4-7: Configure your desktop from the KDE Control Center. Click the plus (+) sign next to topics you want to configure. Then select the particular item you want to configure. The following sections describe some of the features you can configure from the KDE Control Center. Changing the display There are several ways you can change the look and feel of your desktop display. Under the Look & Feel topic (click the +), you can change Background, Colors, Desktop, Fonts, Icons, Key Bindings, Launch Feedback, Panel, Screensaver, Style, Taskbar, Theme Manager, and Window Behavior, and Window Decoration. Here are a few of the desktop features you may want to change: Change the background Under the Look & Feel heading in the KDE Control Center, select Background. You can remove the X next to Common Backgrounds to choose to have a common background for all four of your virtual desktops or assign backgrounds to individual desktops. First select the Mode: Flat (single color); Pattern (two colors and click Setup to select a pattern); Background Program (click Setup to choose a program to run on the background); Horizontal Gradient (two colors that fade from left to right); Vertical Gradient (two colors that fade from top to bottom); Pyramid Gradient (two colors that fade from outside in); Pipecross Gradient (two colors that fade from the outside to a cross in the middle); and Elliptic Gradient (two colors that fade from outside to an ellipse in the middle). If you prefer to use a wallpaper on the background, click the Wallpaper tab and select a desktop. Choose a Mode (to indicate the position of the wallpaper) and click the Wallpaper box to scroll down to choose the wallpaper. If you have a JPEG image you would like to use instead, click the Browse button to select the image you want from your file system. Click the Multiple box if you want to assign several wallpapers that change at set intervals. Click Apply to apply your selections. Change the screensaver Under the Look & Feel heading, select Screensaver. From the window that appears, select from about 25 different screen savers. Click Setup to modify the behavior of the screen saver. Under settings, select how many minutes of inactivity before the screensaver turns on. You can also click Require password to require that a password be entered before you can access your display after the screensaver has come on.
From our experience, we are can tell you that you can find a reliable and cheap webhost service at Java Web Hosting services.