|
|
4c79b5 |
\documentclass{article}
|
|
|
4c79b5 |
\usepackage{longtable}
|
|
|
4c79b5 |
\usepackage[pdftex]{graphicx}
|
|
|
4c79b5 |
\usepackage{hyperref}
|
|
|
4c79b5 |
\hypersetup{pdfauthor={CentOS Documentation SIG},%
|
|
|
4c79b5 |
pdftitle={GNOME Display Manager (GDM)},%
|
|
|
4c79b5 |
pdfsubject={CentOS Corporate Visual Identity}%
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\title{GNOME Display Manager (GDM)}
|
|
|
4c79b5 |
\author{CentOS Documentation SIG}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\begin{document}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\maketitle
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\begin{abstract}
|
|
|
4c79b5 |
This article describes the GDM Visual Style for CentOS Distribution.
|
|
|
4c79b5 |
GDM is the first choice defined as CentOS Display Manager (DM). If
|
|
|
4c79b5 |
users leave their computers on all the time and don't share their
|
|
|
4c79b5 |
system, they won't see this as often as users who share a desktop
|
|
|
4c79b5 |
system with other users on the system or laptop users who reboot and
|
|
|
4c79b5 |
login more frequently.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Copyright \copyright\ 2010\ The CentOS Project. Permission is
|
|
|
4c79b5 |
granted to copy, distribute and/or modify this document under the
|
|
|
4c79b5 |
terms of the GNU Free Documentation License, Version 1.2 or any later
|
|
|
4c79b5 |
version published by the Free Software Foundation; with no Invariant
|
|
|
4c79b5 |
Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the
|
|
|
4c79b5 |
license is included in the section entitled ``GNU Free Documentation
|
|
|
4c79b5 |
License''.
|
|
|
4c79b5 |
\end{abstract}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\tableofcontents
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\section{Workplace}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\begin{itemize}
|
|
|
4c79b5 |
\item SVN:trunk/Identity/Themes/\$THEME/Distro/BootUp/GDM/
|
|
|
4c79b5 |
\item SVN:trunk/Translations/Identity/Themes/Distro/BootUp/GDM/
|
|
|
4c79b5 |
\item SVN:trunk/Scripts/Identity/Themes/Distro/BootUp/GDM/
|
|
|
4c79b5 |
\end{itemize}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\section{Theme}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\input{table-theme.tex}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\section{Design}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
The centos-release.png and screenshot.png images are rendered for each
|
|
|
4c79b5 |
major release of CentOS. This task is done using the rendering script
|
|
|
4c79b5 |
(render.sh) available in the workplace. This script creates the
|
|
|
4c79b5 |
appropriate PNG images under img/\$VERSION/ directory.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
The background.png image is taken from Backgrounds section. This task
|
|
|
4c79b5 |
is done using the building script(build.sh) available in the
|
|
|
4c79b5 |
workplace. This script collects all information, groups it and stores
|
|
|
4c79b5 |
it under tgz/\$VERSION/\$RESOLUTION/ with the form \$THEME.tar.gz.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Whith the building script you can create GDM themes for specific
|
|
|
4c79b5 |
CentOS major releases, and inside each major release for specific
|
|
|
4c79b5 |
screen resolutions.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
More information about GDM theming is available in the \emph{GNOME
|
|
|
4c79b5 |
Display Manager Reference Manual}. This guide is available online and
|
|
|
4c79b5 |
inside your system's help. As shortcut to get that help, you can run
|
|
|
4c79b5 |
the following command:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\begin{itemize}
|
|
|
4c79b5 |
\item gnome-help file:///usr/share/gnome/help/gdm/C/gdm.xml\#thememanual
|
|
|
4c79b5 |
\end{itemize}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\section{Configuration}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\begin{description}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\item[GraphicalTheme]: The graphical theme that the Themed Greeter
|
|
|
4c79b5 |
should use. It should refer to a directory in the theme directory set
|
|
|
4c79b5 |
by \emph{GraphicalThemeDir}.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\texttt{GraphicalTheme=\$THEME}\\
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\item[GraphicalThemeDir]: The directory where themes for the Themed
|
|
|
4c79b5 |
Greeter are installed.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\texttt{GraphicalThemeDir=/usr/share/gdm/themes/}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\item[BackgroundColor]: The Standard greeter (gdmlogin) background
|
|
|
4c79b5 |
color. If the BackgroundType is 2, use this color in the background of
|
|
|
4c79b5 |
the greeter. Also use it as the back of transparent images set on the
|
|
|
4c79b5 |
background and if the BackgroundRemoteOnlyColor is set and this is a
|
|
|
4c79b5 |
remote display. This only affects the GTK+ Greeter.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\texttt{BackgroundColor=\#204C8D}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\item[GraphicalThemeColor]: Use this color in the background of the
|
|
|
4c79b5 |
Themed Greeter. This only affects the Themed Greeter.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\texttt{GraphicalThemeColor=\#000000}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\end{description}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
More information about GDM and its configuration can be found in its
|
|
|
4c79b5 |
reference guide. As shortcut to get that help, you can run the
|
|
|
4c79b5 |
following command:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\begin{itemize}
|
|
|
4c79b5 |
\item gnome-help file:///usr/share/gnome/help/gdm/C/gdm.xml\#index
|
|
|
4c79b5 |
\end{itemize}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\section{Rendering}
|
|
|
4c79b5 |
\section{Testing}
|
|
|
4c79b5 |
\section{Issues}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\begin{description}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\item[Transition from Greeter to Desktop]: This seems to be available
|
|
|
4c79b5 |
when using the variable \emph{BackgroundImage} in GTK+ Greeter only.
|
|
|
4c79b5 |
In Themed Greeter the best we have is the variable
|
|
|
4c79b5 |
\emph{GraphicalThemedColor} to specify the background color of the
|
|
|
4c79b5 |
transition.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\item[Different resolutions]: Designing of GDM theme needs to be
|
|
|
4c79b5 |
expandable through different screen resolutions. By default, GDM theme
|
|
|
4c79b5 |
uses a background image of 2048x1536 pixels. When screen resolution
|
|
|
4c79b5 |
changes the predifined behaviour is to scale this image to fit the
|
|
|
4c79b5 |
current display resolution. If the screen resolution is higher, or
|
|
|
4c79b5 |
differs in ratio (for example when it a wide screens) the design of
|
|
|
4c79b5 |
GDM them could loose quality or look different from the original one.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
As a workaround, if GDM theme looks narrow or deformed to you, use the
|
|
|
4c79b5 |
building script to create the GDM theme in your specific screen
|
|
|
4c79b5 |
resolution.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\item[GDM theme installation]: Use the login screen administrator
|
|
|
4c79b5 |
(gdmsetup). This action requires you to have \emph{root} privileges.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\item[Default Display Manager]: By default GDM is the first display
|
|
|
4c79b5 |
manager choice\footnote{See the file /etc/X11/prefdm.}. If you
|
|
|
4c79b5 |
changed this and want to go back then, run the following command (as
|
|
|
4c79b5 |
\emph{root}) and reboot:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\texttt{echo "DISPLAYMANAGER=GNOME" > /etc/sysconfig/desktop}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\end{description}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
% License section
|
|
|
4c79b5 |
\input{../../../../../Licenses/GFDL.tex}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\end{document}
|