Professional Documents
Culture Documents
2
Appendix 2: Modified Files
NOTE: All the files below are stored in the rootcopy folder.
• /etc/inittab
This file changes the run level from the text-based on to the
graphical. By default the value is id:3:initdefault:
• /etc/issue
This file has a drawing for Slax logo in the text based screen it is in
run level 3. Just in case the user would switch to this level, the user
will get this screen.
-----------------------------------------------------------------------
---------
:: SLAX 5.0.7 :: Arabic Interface ::
Standard Edition ::
-----------------------------------------------------------------------
---------
_[1;32m :cCCCo:. _[0;39m
_[1;32m .:::cOCCOOCCOC. .. _[0;39m
_[1;32m .oOCCCOOOC: :c :COCCCOc. _[0;39m
_[1;32m :CCCOc. .CCc::cOCCC: _[0;39m
_[1;32m .cOC: :o. oCO: _[0;39m slax
login:_[1;34m root _[0;39m
_[1;32m :oO: :c oCCCC: _[0;39m
password:_[1;34m toor _[0;39m
_[1;32m .:..:cc: .oCCCc _[0;39m
_[1;32m :oOOc :: :oCCC _[0;39m
_[1;32m .CCOc . cOOC. _[0;39m
_[1;32m CCCC: .:co:. :: _[0;39m
_[1;32m cOCCC: :. .oOc _[0;39m
_[1;32m cOo: o. cCO: _[0;39m After login try
following commands:
_[1;32m cOCCc. :oO :CCCo: _[0;39m
_[1;32m :COCCOOC: c .ooooCCCOo. _[0;39m startx ....
run Xwindow and KDE
_[1;32m .:: :CoccoCCCCc:::. _[0;39m xconf ....
detects gfx hardware
3
_[1;32m :cCOOCoc _[0;39m
• /etc/profile.d/lang.sh
This is the most important file which allows the system to boot to
the language. In my case the language is Arabic and the shortcut
for it is ar, SA means Saudi Arabia
• Wallpaper
This is the background of the Slax
/opt/kde/share/wallpapers/slax-wallpaper.jpg
4
• /opt/kde/share/config/kdm/backgroundrc
This is the login background (The address can be changed)
[Desktop0]
Wallpaper=/opt/kde/share/wallpapers/flower.jpg
WallpaperMode=Scaled
5
• Boot Image
Here is the first image you see once you boot the system, the boot
image has special extension which is .lss. To edit this image you
need to do the following
Convert the splash.lss file to ppm using
Lss16toppm < splash.lss > splash.ppm
Then you need to convert ppm to jpg using
convert splash.ppm splash.jpg
Edit the picture using any designing programme (in my case The
Gimp) and save it.
Then you need to reverse the previous conversion
convert splash.jpg splash.ppm
ppmtolss16 < splash.ppm > splash.lss
The address of the file: /boot/splash.lss
6
• /boot/splash.cfg
This is a welcoming messages appears under the image boot. (you
can change the text).
_boot/splash.lss
_0f Welcome to Arabic Live CD -SLAX-. Hit
Enter to continue booting or press F1 for
help...
• /root/.kde/share/config/kdeglobals
This file has the native country of the language (in my case Saudi
Arabia) and the language as well.
[Locale]
Country=sa
Language=ar_SA
• /root/.kde/share/config/kxkbrc
This file has the responsibility of the input method from the
keyboard. Additional field has the default languages you might
need, you can add more languages if you need. Layout field has the
default layout of the keyboard.
[Layout]
Additional=ar,us
Layout=ar
Variants=ar(basic),us(intl)
7
• configsave
This command allows you to modify the desktop and many other
things, and then you save the file into the driver or any storage device
(you can use this command while you are running the system).
Configsave /mnt/usb/slaxconf.mo
When you reboot the system you have to click enter to confirm the
saving of the changes.
Then add this file to the modules directory and burn the new CD,
you will get the new changes.
8
12. KDE Screen Saver
13. 14 Surah of Quran
14. Arabic fonts
References
1. www.slax.com
2. www.arabeyes.org