Blame Manual/repository-latex/centos-art.sh-latex/Identity/Themes/Distro/BootUp/KDM/manual.tex

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