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

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