X Configuration to X Windows

Well this posting is to complete my previous post about my monitor problem that go off it self after start the x windows.So lets starts to hacked the slackware 12.1.

X Window environment in Slackware is provided by Xorg. X is responsible for providing a graphical user interface. It is independent from the operating system, unlike Windows or the MacOS.

To configure X, you'll need to make an /etc/X11/xorg.conf file. This file contains lots of details about your video hardware, mouse, and monitor. It's a very complex configuration file, but fortunately there are several programs to help create one for you. We'll mention a few of them here.

xorgconfig
This is a simple menu driven frontend that's similar in feel to the Slackware installer. It simply tells the X server to take a look at the card, and then set up the best initial configuration file it can make based on the information it gathers. The generated /etc/X11/xorg.conf file should be a good starting point for most systems (and should work without modification).

This is a text-based X configuration program that's designed for the advanced system administrator. Here's a sample walkthrough using xorgconfig. First, start the program:

# xorgconfig

This will present a screenful of information about xorgconfig. To continue, press ENTER. xorgconfig will ask you to verify you have set your PATH correctly. It should be fine, so go ahead and hit ENTER.

Step-1. xorgconfig Mouse Configuration

Select your mouse from the menu presented. If you don't see your serial mouse listed, pick the Microsoft protocol -- it's the most common and will probably work. Next xorgconfig will ask you about using ChordMiddle and Emulate3Buttons. You'll see these options described in detail on the screen. Use them if the middle button on your mouse doesn't work under X, or if your mouse only has two buttons (Emulate3Buttons lets you simulate the middle button by pressing both buttons simultaneously). Then, enter the name of your mouse device. The default choice, /dev/mouse, should work since the link was configured during Slackware setup. If you're running GPM (the Linux mouse server) in repeater mode, you can set your mouse type to /dev/gpmdata to have X get information about the mouse through gpm. In some cases (with busmice especially) this can work better, but most users shouldn't do this.

xorgconfig will ask you about enabling special key bindings. If you need this say “y”. Most users can say “n” -- enter this if you're not sure.

Step-2. xorgconfig Horizontal Sync

In the next section you enter the sync range for your monitor. To start configuring your monitor, press ENTER. You will see a list of monitor types -- choose one of them. Be careful not to exceed the specifications of your monitor. Doing so could damage your hardware.

Step-3. xorgconfig Vertical Sync

Specify the vertical sync range for your monitor (you should find this in the manual for the monitor). xorgconfig will ask you to enter strings to identify the monitor type in the xorg.conf file. Enter anything you like on these 3 lines (including nothing at all).

Step-4. xorgconfig Video Card

Now you have the opportunity to look at the database of video card types. You'll want to do this, so say “y”, and select a card from the list shown. If you don't see your exact card, try selecting one that uses the same chipset and it will probably work fine.

Next, tell xorgconfig how much RAM you have on your video card. xorgconfig will want you to enter some more descriptive text about your video card. If you like, you can enter descriptions on these three lines.

You'll then be asked which display resolutions you want to use. Again, going with the provided defaults should be fine to start with. Later on, you can edit the /etc/X11/xorg.conf file and rearrange the modes so 1024x768 (or whatever mode you like) is the default.

At this point, the xorgconfig program will ask if you'd like to save the current configuration file. Answer yes, and the X configuration file is saved, completing the setup process. You can start X now with the startx command.

now you can try the x windows by type "startx" an hit the "enter" button. so have fun guess. Thank you

Other X configuration tips :

*1
The second way to configure X is to use xorgsetup, an automagical configuration program that comes with Slackware. To run xorgsetup, log in as root and type:

# xorgsetup

If you've already got an /etc/X11/xorg.conf file (because you've already configured X), you'll be asked if you want to backup the existing config file before continuing. The original file will be renamed to /etc/X11/xorg.conf.backup.


*2
To make desktop selection easy, Slackware also includes a program called xwmconfig that can be used to select a desktop or window manager. It is run like so:

% xwmconfig






Related Posts by Categories



0 komentar:

Others

Links Galery Other
Maj'sBlog
get the code

Red Carpet : BolaSinema
Rohman Sudiro
TopicKhamsionk
Iyandri
David
Deskapahendri
HackTheSlack
MyCuteLingeries
Ngadsens
Frizzy
omSanjaya
marcel
pinginbelajar
jepangsong
thobingsunarya
ripmaggots
rumahislami
neocomp4
arwi-cigo
nearie.web.id
aveef
sakurasays
You ??
www.flickr.com
This is a Flickr badge showing public photos and videos from majendra. Make your own badge here.