Vous êtes sur la page 1sur 8

7/29/13

Dragora

Dragora
Text mode menu configuration tools
Timezone Keyboard Mouse Window manager In order to facilitate the configuration of certain issues, some tools are offered as a part of the distribution to configure the time zone, the keyboard map, the mouse, and the window manager.

Timezone
Set the time zone simply typing tzconfig. See below:

www.dragora.org/en/files/2x/menutools.html

1/8

7/29/13

Dragora

You can choose between the option "Local time" or "UTC". By design, the Kernel of Linux is prepared to run in Coordinated Universal Time (UTC), specially if you are using GNU/Linux as your single-system. Otherwise, select the option "Local time" if you have more than one operating system, and that system expects a Local time. The next step is select the zone, like for example "Africa/Cairo". That's all. Considerations /etc/sysconfig/hardwareclock is used to store your option (UTC or localtime). By default - tzconfig looks under the directory /usr/share/zoneinfo for the file that contains the information of your zone (ex. /usr/share/zoneinfo/Africa/Cairo). A copy of the file is performed to save the data zone as /etc/localtime. Note: The copy of the file under /etc is to guarantee the configuration of the time, because /usr
www.dragora.org/en/files/2x/menutools.html 2/8

7/29/13

Dragora

could not be mounted if /etc/localtime is a symlink to /usr/share/zoneinfo/my_zone. Instead, the symlink /usr/share/zoneinfo/localtime is pointing out to your zone. Between reboots - the Stage 1 (/etc/runit/1) and Stage 3 (/etc/runit/3) call to the script /etc/rc.d/rc.clock which is used to set or save the current system time according to /etc/sysconfig/hardwareclock. The TZ_DIR variable can be passed to tzconfig to indicate a different location of the zoneinfo directory. The /etc/localtime file is interpreted by Glibc and is done by library functions that are linked into the application programs.

Keyboard
Change the keyboard map is easy, just typing keyconfig. See below:

www.dragora.org/en/files/2x/menutools.html

3/8

7/29/13

Dragora

The menu is ordered by "Keyboard Layout/Keyboard Map". Select the option for your Keyboard and then, a second window is given for test the Keymap. Otherwise, you can go back and select the right option. The most common layout is QWERTY. If you don't know which is your Keyboard Layout, take a look at Wikipedia. Considerations
www.dragora.org/en/files/2x/menutools.html 4/8

7/29/13

Dragora

Your selection is saved on /etc/sysconfig/keymap. A file called rc.keymap is generated by keyconfig under /etc/rc.d to load the Keyboard Map using loadkeys. /etc/rc.d/rc.keymap is executed by /etc/runit/1 on the Stage 1.

Mouse
The gpmconfig tool is used to configure your mouse type in console.

www.dragora.org/en/files/2x/menutools.html

5/8

7/29/13

Dragora

gpmconfig lets you set the mouse type through gpm. To know more, see the technical considerations. Considerations Your selection is saved on /etc/sysconfig/gpm. The service located on /etc/sv/gpm reads the configuration file and is loaded by runit.
www.dragora.org/en/files/2x/menutools.html 6/8

7/29/13

Dragora

Window manager
The tool to select a window manager is called wmconfig. See below:

wmconfig allows to select to user and superuser to have his own window manager or desktop for load. To know more, see the technical considerations. Considerations wmconfig reads all the files that begin as "xinitrc" followed of a dot (xinitrc.*). By default, under the directory
www.dragora.org/en/files/2x/menutools.html 7/8

7/29/13

Dragora

/etc/X11/xinit. wmconfig presents the menu options for the user. After your choice, a copy of the xinitrc file is stored in your $HOME, like $HOME/xinitrc. wmconfig creates a symlink of the xinitrc file chosen on /etc/X11/xinit/xinitrc. And it's used to determine the default item the next time that you run wmconfig. The DIR variable can be passed to wmconfig to indicate a different location of the xinitrc files. All tools are acceded as superuser via console. Except for wmconfig. 08 August 2012, 17:08 | (GNU Free Documentation License | Validate HTML)

www.dragora.org/en/files/2x/menutools.html

8/8

Vous aimerez peut-être aussi