Blame Manuals/Repository/repository-latex/Identity/Themes/Distro/BootUp/KDM/manual.tex

52fa34
\documentclass{article}
52fa34
\usepackage{longtable}
52fa34
\usepackage[pdftex]{graphicx}
52fa34
\usepackage{hyperref}
52fa34
\hypersetup{pdfauthor={CentOS Documentation SIG},%
52fa34
            pdftitle={KDE Display Manager (KDM)},%
52fa34
            pdfsubject={CentOS Corporate Visual Identity}%
52fa34
            }
52fa34
52fa34
\title{KDE Display Manager (KDM)}
52fa34
\author{CentOS Documentation SIG}
52fa34
52fa34
\begin{document}
52fa34
52fa34
\maketitle
52fa34
52fa34
\begin{abstract} 
52fa34
This article describes the KDM Visual Style for CentOS Distribution.
52fa34
KDE Display Manager (KDM) is the second choice defined as CentOS
52fa34
Display Manager. If users leave their computers on all the time and
52fa34
don't share their system, they won't see this as often as users who
52fa34
share a desktop system with other users on the system or laptop users
52fa34
who reboot and login more frequently.
52fa34
52fa34
Copyright \copyright\ 2010\ The CentOS Project. Permission is
52fa34
granted to copy, distribute and/or modify this document under the
52fa34
terms of the GNU Free Documentation License, Version 1.2 or any later
52fa34
version published by the Free Software Foundation; with no Invariant
52fa34
Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the
52fa34
license is included in the section entitled ``GNU Free Documentation
52fa34
License''.  
52fa34
\end{abstract}
52fa34
52fa34
\tableofcontents
52fa34
52fa34
\section{Workplace}
52fa34
52fa34
\begin{itemize}
52fa34
\item SVN:trunk/Identity/Themes/\$THEME/Distro/BootUp/KDM/
52fa34
\item SVN:trunk/Translations/Identity/Themes/Distro/BootUp/KDM/
52fa34
\item SVN:trunk/Scripts/Identity/Themes/Distro/BootUp/KDM/
52fa34
\end{itemize}
52fa34
52fa34
\section{Theme}
52fa34
52fa34
\input{table-theme.tex}
52fa34
52fa34
\section{Design}
52fa34
52fa34
The centos-release.png and screenshot.png images are rendered for each
52fa34
major release of CentOS. This task is done using the script render.sh
52fa34
available in the workplace.  This script creates the appropriate PNG
52fa34
images under img/\$VERSION/ directory.
52fa34
52fa34
The background.png image is taken from Backgrounds section. This task
52fa34
is done using the script build.sh available in the workplace. This
52fa34
script collects all information needed, groups it and stores it under
52fa34
tgz/\$VERSION/\$RESOLUTION/ with the form \$THEME.tar.gz.
52fa34
52fa34
Whith the build.sh script you can create KDM themes for specific
52fa34
CentOS major releases, and inside each major release for specific
52fa34
screen resolutions.
52fa34
52fa34
KDM theme uses the same standard that GDM theme does. More information
52fa34
about GDM theming is available in the \textit{GNOME Display Manager
52fa34
Reference Manual}. This guide is available online and inside your
52fa34
system's help. As shortcut to get that help, you can run the following
52fa34
command:
52fa34
52fa34
\begin{itemize}
52fa34
\item gnome-help file:///usr/share/gnome/help/gdm/C/gdm.xml\#thememanual
52fa34
\end{itemize}
52fa34
52fa34
\section{Configuration}
52fa34
52fa34
\input{table-config.tex}
52fa34
52fa34
\begin{description}
52fa34
52fa34
\item[Theme]: In the file \emph{kdmrc}, \texttt{Theme} defines which
52fa34
is the KDM theme used by default.
52fa34
52fa34
\texttt{Theme=/usr/share/apps/kdm/themes/Modern/}
52fa34
52fa34
\item[UseTheme]: In the file \emph{kdmrc}, \texttt{UseTheme} defines
52fa34
the precedence of background. If true KDM theme background image takes
52fa34
precedence against KDM background.
52fa34
52fa34
\texttt{UseTheme=true}
52fa34
52fa34
\item[Wallpaper]: In the file \emph{backgroundrc}, \texttt{Wallpaper}
52fa34
defines the default configuration for KDM background.
52fa34
52fa34
\texttt{Wallpaper=/usr/share/backgrounds/images/default.png}
52fa34
52fa34
\end{description}
52fa34
52fa34
The background image used on KDM is one file, and the background image
52fa34
used on KDM theme is another file. Even they are independent files,
52fa34
the monolithic visual structure requires the same visual information
52fa34
in these images.
52fa34
52fa34
More information about KDE login screen, KDM and its configuration can
52fa34
be found in KDE help. As shortcut to get that help, you can run the
52fa34
following commands:
52fa34
52fa34
\begin{itemize}
52fa34
\item khelpcenter help:/kdm/login.html
52fa34
\item khelpcenter help:/kdm/configuring-kdm.html
52fa34
\item khelpcenter help:/kdm/kdm-files.html
52fa34
\end{itemize}
52fa34
52fa34
\section{Rendering}
52fa34
\section{Testing}
52fa34
\section{Issues}
52fa34
52fa34
\begin{description}
52fa34
52fa34
\item[Transition from Greeter to Desktop]: If KDE desktop background
52fa34
and KDM background are the same (and they should because the
52fa34
monolithic visual structure) the transition from login screen to
52fa34
desktop is ``smooth'' because the background image is always visible
52fa34
on the screen.
52fa34
52fa34
\item[Differences between KDM and GDM themes]: KDM and GDM
52fa34
themes\footnote{It refers to the \emph{.xml} files and its related
52fa34
files.} are basically the same except for the following differences:
52fa34
52fa34
\begin{enumerate}
52fa34
52fa34
\item KDM theme requires the ``user-entry'' and ``pw-entry'' stocks.
52fa34
This forces the using of two boxes, one for username and one for
52fa34
password. This boxes are visibly appart one from another. In GDM we
52fa34
use just one box (the ``user-pw-entry'' stock), both for
52fa34
username and password.
52fa34
52fa34
\item In KDM theme, messages were centered on the screen to fit the
52fa34
KDM two-boxes design. In GDM they are centered to the
52fa34
``user-pw-entry'' stock width.
52fa34
52fa34
\item In KDM theme, the ``language'' stock shows nothing. It creates
52fa34
an empty space in the screen. The language block was commented to save
52fa34
space on the screen. In GDM laguage buttom is present and when clicked
52fa34
a box pops up with a list of languages to choose.
52fa34
52fa34
\item Both KDM and GDM themes use the same font defintion in the
52fa34
\emph{.xml} file, but in presentation they look quiet different. For
52fa34
example the KDM clock's \emph{Sans 10 Bold} theme definition does not
52fa34
take effect. Probably font definition in \emph{kdmrc} file takes
52fa34
precedence against theme's one.
52fa34
52fa34
\end{enumerate}
52fa34
52fa34
\item[Different resolutions]: Designing of KDM theme needs to be
52fa34
expandable through different screen resolutions. By default, KDM theme
52fa34
uses a background image of 2048x1536 pixels. When screen resolution
52fa34
changes the predifined behaviour is to scale this image to fit the
52fa34
current display resolution. If the screen resolution is higher, or
52fa34
differs in ratio (for example when it is a wide screens) the design of
52fa34
KDM theme could loose quality or look different from the original one.
52fa34
52fa34
As a workaround, if KDM theme looks narrow or deformed to you, use the
52fa34
build.sh script to create the KDM theme in your specific screen
52fa34
resolution.
52fa34
52fa34
\item[KDM theme installation]: To install a KDM theme you need to copy
52fa34
its files from the workplace to its location in the filesytem. If you
52fa34
want to make that KDM theme your default one, then you also need to
52fa34
update the KDM configuration files to match your theme location. Both
52fa34
of these actions require you to have \emph{root} privileges.
52fa34
52fa34
\item[Default Display Manager]: By default KDM is the second display
52fa34
manager choice\footnote{See the file \emph{/etc/X11/prefdm}.}. To use
52fa34
KDM as first choise, run the following command (as \emph{root}) and
52fa34
reboot:
52fa34
52fa34
\texttt{echo "DISPLAYMANAGER=KDE" > /etc/sysconfig/desktop}
52fa34
52fa34
\item[Package content]: CentOS Default KDM Theme seems to be inside
52fa34
the package redhat-artwork. In contrast with GDM which has some files in
52fa34
redhat-logos and others in redhat-artwork. Could we standardize this ?
52fa34
All files in just one package (redhat-artwork) or files divided in two
52fa34
packages (redhat-artwork, and redhat-logos).
52fa34
52fa34
\end{description}
52fa34
52fa34
% License section
52fa34
\input{../../../../../Licenses/GFDL.tex}
52fa34
52fa34
\end{document}