% commands to maintain images for Debian explanation
% in free beer talk
%% Not needed any more since pgf 1.18
%% \usepackage{pgfarrows,pgfnodes}                                                           

\newcommand{\defimage}[3]{
   \pgfdeclaremask{#1}{#1-mask}
   \pgfdeclareimage[interpolate=true,mask=#1,%
                 width=#2mm,height=#3mm]{#1}{#1}
}

\defimage{smiley}{10}{10}
\defimage{smiley2}{10}{10}
\defimage{smiley3}{10}{10}
\defimage{smiley4}{10}{10}
\defimage{computer}{10}{10}
\defimage{tux}{10}{11.7}
\defimage{gnome}{10}{10}
\defimage{firefox}{10}{10}
\defimage{thunderbird}{10}{10}
\defimage{oo}{35}{7.7} % LibreOffice instead of OpenOffice
%\defimage{gnumeric}{12.5}{20}
\defimage{TeXlion}{15}{20}
\defimage{gimp}{11}{8}
\defimage{apache}{16}{5}
\defimage{postgresql}{10}{10}
\defimage{distribution}{10}{10}
\defimage{money}{7.5}{7.5}
\defimage{debiandist}{7.5}{10}
\defimage{wn}{10}{10}
\defimage{ich}{7.5}{10}

\defimage{m1}{3.2}{3.2}
\defimage{m2}{3.2}{3.2}
\defimage{m3}{3.2}{3.2}
\defimage{m4}{3.2}{3.2}
\defimage{m5}{3.2}{3.2}
\defimage{m6}{3.2}{3.2}
\defimage{m7}{3.2}{3.2}
\defimage{m8}{3.2}{3.2}
\defimage{m9}{3.2}{3.2}

\defimage{slx-tux}{20}{23.4}
\defimage{skolelinux-search}{27}{40}
\defimage{tux-resmed}{20}{23.4}
\defimage{debian-med-search}{27}{40}
\defimage{tux-gis}{20}{23.4}
\defimage{debian-gis-search}{27}{40}

\defimage{verleihnix}{27}{40}

\newcommand{\putbums}[7]{%
%% #1 - Position: Syntax \pgfxy(x,y)
%% #2 - Image name
%% #3 - Pin point at computer
%% #4 - Outgoing angle of arrow from image
%% #5 - Incoming angle of arrow into image
%% #6 - Distance start of arrow to image
%% #7 - Incoming direction of arrow into computer
  \pgfputat{#1}{\pgfbox[center,center]{\pgfuseimage{#2}}}%
  \pgfnodecircle{#2}[virtual]{\pgfrelative{#1}{\pgfxy(#6,0)}}{2pt}%
  \pgfnodeconncurve{#2}{#3}{#4}{#5}{5mm}{#7}%
}

\newcommand{\putdings}[8]{%
%% #1 - Viewable on ...
%% #2 - Position: Syntax \pgfxy(x,y)
%% #3 - Image name
%% #4 - Pin point at computer
%% #5 - Outgoing angle of arrow from image       
%% #6 - Incoming angle of arrow into image
%% #7 - Distance start of arrow to image
%% #8 - Incoming direction of arrow into computer
 \visible<#1->{%
  \putbums{#2}{#3}{#4}{#5}{#6}{#7}{#8}%
 }
}

\newcommand{\putsmileySechzehnNeun}[2]{%
 \visible<#2>{%
   \pgfputat{\pgfxy(12.0,4)}{\pgfbox[center,center]{\pgfuseimage{smiley#1}}}%
 }
}

\newcommand{\putsmiley}[2]{%
 \visible<#2>{%
   \pgfputat{\pgfxy(9.0,4)}{\pgfbox[center,center]{\pgfuseimage{smiley#1}}}%
 }
}
% Progress bar uncovering a text
\newcommand{\progressbar}[1]{%
  \begin{pgfpicture}{0mm}{0mm}{\paperwidth}{1mm}
    \visible<1-| handout:0>
    {%
      \color{ProgressBorder}
        \pgfrect[fill]{\pgfxy(-0.1,-0.1)}{\pgfxy(10.2,0.8)}
      \color{ProgressBack}
        \pgfrect[fill]{\pgfxy(0,0)}{\pgfxy(10,0.6)}
      \color{ProgressColor}
        \pgfrect[fill]{\pgfxy(0,0)}{\pgfxy(2,0.6)}
      \color{ProgressBack}
        \pgfputat{\pgfxy(5,0.2)}{\pgfbox[center,base]{#1}}
    }
    \visible<2-| handout:0>
    {\transduration<1>{0.5}
       \color{ProgressColor}
          \pgfrect[fill]{\pgfxy(0,0)}{\pgfxy(4,0.6)}
       \color{ProgressBack}
         \pgfputat{\pgfxy(5,0.2)}{\pgfbox[center,base]{#1}}
    }
    \visible<3-| handout:0>
    {\transduration<2>{0.5}
       \color{ProgressColor}
          \pgfrect[fill]{\pgfxy(0,0)}{\pgfxy(6,0.6)}
       \color{ProgressBack}
         \pgfputat{\pgfxy(5,0.2)}{\pgfbox[center,base]{#1}}
    }
    \visible<4-| handout:0>
    {\transduration<3>{0.5}
       \color{ProgressColor}
          \pgfrect[fill]{\pgfxy(0,0)}{\pgfxy(8,0.6)}
       \color{ProgressBack}
         \pgfputat{\pgfxy(5,0.2)}{\pgfbox[center,base]{#1}}
    }
    \visible<5-| handout:0>
    {\transduration<4>{0.5}
       \color{ProgressColor}
          \pgfrect[fill]{\pgfxy(0,0)}{\pgfxy(10,0.6)}
       \color{ProgressBack}
         \pgfputat{\pgfxy(5,0.2)}{\pgfbox[center,base]{#1}}
    }

    % use only state 4 for the handout version
    \visible<0| handout:1>
    {\transduration<0| handout:1>{100}
     \color{ProgressColor}
       \pgfrect[fill]{\pgfxy(0,0)}{\pgfxy(8,0.6)}
     \color{ProgressBack}
       \pgfputat{\pgfxy(5,0.2)}{\pgfbox[center,base]{#1}}
    }
  \end{pgfpicture}
}


% Explaining Debian in images part 1/3
\newcommand{\FreeBeerDistribution}{

\begin{frame}
  \frametitle{Linux from scratch}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
    \pgfsetlinewidth{0.3pt}%
    \color{structure}%
    \pgfsetendarrow{\pgfarrowto}%

    \putsmiley{}{1-5}

    \visible<2->{%
     \pgfputat{\pgfxy(9.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{computer}}}%
     \pgfnodecircle{computerbottom}[virtual]{\pgfrelative{\pgfxy(9.0,2.75)}{\pgfxy(0,-0.5)}}{2pt}%
     \pgfnodecircle{computerbottomleft}[virtual]{\pgfrelative{\pgfxy(9.0,2.75)}{\pgfxy(-0.4,-0.4)}}{2pt}%
     \pgfnodecircle{computerleft}[virtual]{\pgfrelative{\pgfxy(9.0,2.75)}{\pgfxy(-0.5,0)}}{2pt}%
     \pgfnodecircle{computertopleft}[virtual]{\pgfrelative{\pgfxy(9.0,2.75)}{\pgfxy(-0.4,0.4)}}{2pt}%
     \pgfnodecircle{computerright}[virtual]{\pgfrelative{\pgfxy(9.0,2.75)}{\pgfxy(0.5,0)}}{2pt}%
    }

    \putdings{3}{\pgfxy(2.0,2)}{tux}{computerbottom}{45}{-90}{0.4}{15mm}
    \putdings{4}{\pgfxy(1.0,3)}{gnome}{computerbottomleft}{45}{-135}{0.4}{15mm}
    \putdings{5}{\pgfxy(1.3,4)}{firefox}{computerleft}{-30}{0}{0.55}{-15mm}
    \putdings{6}{\pgfxy(2.7,4.5)}{thunderbird}{computerleft}{0}{0}{0.55}{-15mm}
    \putsmiley{2}{6-8}
    \putdings{7}{\pgfxy(1.8,6)}{oo}{computertopleft}{-60}{0}{1.5}{-15mm}
%    \putdings{8}{\pgfxy(5,6.7)}{gnumeric}{computertopleft}{-20}{0}{0.75}{-15mm}
    \putdings{8}{\pgfxy(5,6.7)}{TeXlion}{computertopleft}{-20}{0}{0.75}{-15mm}
    \putsmiley{3}{9-10}
    \putdings{9}{\pgfxy(7.5,6.7)}{gimp}{computertopleft}{-20}{0}{0.6}{-15mm}
    \putdings{10}{\pgfxy(4.5,0.5)}{apache}{computerright}{10}{-45}{0.75}{15mm}
    \putsmiley{4}{11-}
    \putdings{11}{\pgfxy(7,0)}{postgresql}{computerright}{10}{-45}{0.5}{15mm}
  \end{pgfpicture}
\end{frame}

\begin{frame}
  \frametitle{Distribution}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
    \pgfsetlinewidth{0.3pt}%
    \color{structure}%
    \pgfsetendarrow{\pgfarrowto}%

    \visible<1->{%
     \pgfputat{\pgfxy(6.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{distribution}}}%
     \pgfnodecircle{d1}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0,-0.4)}}{2pt}%
     \pgfnodecircle{d2}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.4,-0.4)}}{2pt}%
     \pgfnodecircle{d3}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.6,0)}}{2pt}%
     \pgfnodecircle{d4}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.6,0.45)}}{2pt}%
     \pgfnodecircle{d5}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.35,-0.35)}}{2pt}%
     \pgfnodecircle{d6}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.3,0)}}{2pt}%
     \pgfnodecircle{d7}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.3,0.4)}}{2pt}%

     \putbums{\pgfxy(2.0,2)}{tux}{d1}{45}{-90}{0.4}{15mm}
     \putbums{\pgfxy(1.0,3)}{gnome}{d2}{45}{-135}{0.4}{15mm}
     \putbums{\pgfxy(1.3,4)}{firefox}{d3}{-30}{0}{0.55}{-15mm}
     \putbums{\pgfxy(2.7,4.5)}{thunderbird}{d3}{0}{0}{0.55}{-15mm}
     \putbums{\pgfxy(1.8,6)}{oo}{d4}{-60}{-30}{1.5}{-15mm}
%    \putbums{\pgfxy(5,6.7)}{gnumeric}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(5,6.7)}{TeXlion}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(7.5,6.7)}{gimp}{d4}{-20}{-30}{0.6}{-15mm}
     \putbums{\pgfxy(4.5,0.5)}{apache}{d5}{10}{-45}{0.75}{15mm}
     \putbums{\pgfxy(7,0)}{postgresql}{d5}{10}{-45}{0.5}{15mm}
    }

    \putsmiley{}{2-}
    \pgfnodecircle{user}[virtual]{\pgfrelative{\pgfxy(9.0,4)}{\pgfxy(-0.5,0)}}{2pt}%
                                      %%%%%%%% -------^ Smiley-coordinates

    \visible<2->{%
     \pgfputat{\pgfxy(9.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{computer}}}%
     \pgfnodecircle{computerleft}[virtual]{\pgfrelative{\pgfxy(9.0,2.75)}{\pgfxy(-0.5,0)}}{2pt}%
     \pgfsetlinewidth{0.9pt}%
     \pgfnodeconncurve{d6}{computerleft}{30}{150}{5mm}{15mm}%
    }

    \pgfsetlinewidth{0.3pt}%
    \visible<3->{%
     \color{ImportantColor}%
     \pgfnodeconncurve{user}{d7}{-180}{45}{5mm}{15mm}%
     \pgfputat{\pgfxy(7.5,4)}{\pgfbox[center,center]{\pgfuseimage{money}}}%
     \color{structure}%
   }
  \end{pgfpicture}
\end{frame}
}

% Distribution in one slide
\newcommand{\FreeBeerDistributionShort}{
\begin{frame}
  \frametitle{Distribution}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
    \pgfsetlinewidth{0.3pt}%
    \color{structure}%
    \pgfsetendarrow{\pgfarrowto}%

     \pgfputat{\pgfxy(6.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{distribution}}}%
     \pgfnodecircle{d1}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0,-0.4)}}{2pt}%
     \pgfnodecircle{d2}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.4,-0.4)}}{2pt}%
     \pgfnodecircle{d3}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.6,0)}}{2pt}%
     \pgfnodecircle{d4}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.6,0.45)}}{2pt}%
     \pgfnodecircle{d5}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.35,-0.35)}}{2pt}%
     \pgfnodecircle{d6}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.3,0)}}{2pt}%
     \pgfnodecircle{d7}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.3,0.4)}}{2pt}%

     \putbums{\pgfxy(2.0,2)}{tux}{d1}{45}{-90}{0.4}{15mm}
     \putbums{\pgfxy(1.0,3)}{gnome}{d2}{45}{-135}{0.4}{15mm}
     \putbums{\pgfxy(1.3,4)}{firefox}{d3}{-30}{0}{0.55}{-15mm}
     \putbums{\pgfxy(2.7,4.5)}{thunderbird}{d3}{0}{0}{0.55}{-15mm}
     \putbums{\pgfxy(1.8,6)}{oo}{d4}{-60}{-30}{1.5}{-15mm}
%    \putbums{\pgfxy(5,6.7)}{gnumeric}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(5,6.7)}{TeXlion}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(7.5,6.7)}{gimp}{d4}{-20}{-30}{0.6}{-15mm}
     \putbums{\pgfxy(4.5,0.5)}{apache}{d5}{10}{-45}{0.75}{15mm}
     \putbums{\pgfxy(7,0)}{postgresql}{d5}{10}{-45}{0.5}{15mm}

    \putsmiley{}{1-}
    \pgfnodecircle{user}[virtual]{\pgfrelative{\pgfxy(9.0,4)}{\pgfxy(-0.5,0)}}{2pt}%
                                      %%%%%%%% -------^ Smiley-coordinates

     \pgfputat{\pgfxy(9.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{computer}}}%
     \pgfnodecircle{computerleft}[virtual]{\pgfrelative{\pgfxy(9.0,2.75)}{\pgfxy(-0.5,0)}}{2pt}%
     \pgfsetlinewidth{0.9pt}%
     \pgfnodeconncurve{d6}{computerleft}{30}{150}{5mm}{15mm}%

    \pgfsetlinewidth{0.3pt}%
     \color{ImportantColor}%
     \pgfnodeconncurve{user}{d7}{-180}{45}{5mm}{15mm}%
     \pgfputat{\pgfxy(7.5,4)}{\pgfbox[center,center]{\pgfuseimage{money}}}%
     \color{structure}%
  \end{pgfpicture}
\end{frame}
}

% Distribution in one slide without the money aspect
\newcommand{\FreeBeerDistributionShortNoMoney}{
\begin{frame}
  \frametitle{Distribution}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
    \pgfsetlinewidth{0.3pt}%
    \color{structure}%
    \pgfsetendarrow{\pgfarrowto}%

     \pgfputat{\pgfxy(6.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{distribution}}}%
     \pgfnodecircle{d1}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0,-0.4)}}{2pt}%
     \pgfnodecircle{d2}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.4,-0.4)}}{2pt}%
     \pgfnodecircle{d3}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.6,0)}}{2pt}%
     \pgfnodecircle{d4}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.6,0.45)}}{2pt}%
     \pgfnodecircle{d5}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.35,-0.35)}}{2pt}%
     \pgfnodecircle{d6}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.3,0)}}{2pt}%
     \pgfnodecircle{d7}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.3,0.4)}}{2pt}%

     \putbums{\pgfxy(2.0,2)}{tux}{d1}{45}{-90}{0.4}{15mm}
     \putbums{\pgfxy(1.0,3)}{gnome}{d2}{45}{-135}{0.4}{15mm}
     \putbums{\pgfxy(1.3,4)}{firefox}{d3}{-30}{0}{0.55}{-15mm}
     \putbums{\pgfxy(2.7,4.5)}{thunderbird}{d3}{0}{0}{0.55}{-15mm}
     \putbums{\pgfxy(1.8,6)}{oo}{d4}{-60}{-30}{1.5}{-15mm}
%    \putbums{\pgfxy(5,6.7)}{gnumeric}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(5,6.7)}{TeXlion}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(7.5,6.7)}{gimp}{d4}{-20}{-30}{0.6}{-15mm}
     \putbums{\pgfxy(4.5,0.5)}{apache}{d5}{10}{-45}{0.75}{15mm}
     \putbums{\pgfxy(7,0)}{postgresql}{d5}{10}{-45}{0.5}{15mm}

    \putsmiley{}{1-}
    \pgfnodecircle{user}[virtual]{\pgfrelative{\pgfxy(9.0,4)}{\pgfxy(-0.5,0)}}{2pt}%
                                      %%%%%%%% -------^ Smiley-coordinates

     \pgfputat{\pgfxy(9.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{computer}}}%
     \pgfnodecircle{computerleft}[virtual]{\pgfrelative{\pgfxy(9.0,2.75)}{\pgfxy(-0.5,0)}}{2pt}%
     \pgfsetlinewidth{0.9pt}%
     \pgfnodeconncurve{d6}{computerleft}{30}{150}{5mm}{15mm}%

%    \pgfsetlinewidth{0.3pt}%
%     \color{ImportantColor}%
%     \pgfnodeconncurve{user}{d7}{-180}{45}{5mm}{15mm}%
%     \pgfputat{\pgfxy(7.5,4)}{\pgfbox[center,center]{\pgfuseimage{money}}}%
     \color{structure}%
  \end{pgfpicture}
\end{frame}
}

% Explaining Debian in images part 2/3
\newcommand{\FreeBeerDebian}[6]{

\defimage{#1}{#2}{#3}
\defimage{#4}{#5}{#6}

\begin{frame}
  \frametitle{Debian}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
    \pgfsetlinewidth{0.3pt}%
    \color{structure}%
    \pgfsetendarrow{\pgfarrowto}%

    \visible<1->{%
     \pgfputat{\pgfxy(6.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{debiandist}}}%
     \pgfnodecircle{d1}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0,-0.45)}}{2pt}%
     \pgfnodecircle{d2}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.35,-0.45)}}{2pt}%
     \pgfnodecircle{d3}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.4,0)}}{2pt}%
     \pgfnodecircle{d4}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.35,0.4)}}{2pt}%
     \pgfnodecircle{d5}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.35,-0.45)}}{2pt}%
     \pgfnodecircle{d6}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.3,0)}}{2pt}%
     \pgfnodecircle{d7}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.3,0.4)}}{2pt}%
     \pgfnodecircle{d8}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.15,0.4)}}{2pt}%
     \pgfnodecircle{d9}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.4,-0.35)}}{2pt}%

     \putbums{\pgfxy(2.0,2)}{tux}{d1}{45}{-90}{0.4}{15mm}
     \putbums{\pgfxy(1.0,3)}{gnome}{d2}{45}{-135}{0.4}{15mm}
     \putbums{\pgfxy(1.3,4)}{firefox}{d3}{-30}{0}{0.55}{-15mm}
     \putbums{\pgfxy(2.7,4.5)}{thunderbird}{d3}{0}{0}{0.55}{-15mm}
     \putbums{\pgfxy(1.8,6)}{oo}{d4}{-60}{-30}{1.5}{-15mm}
%     \putbums{\pgfxy(5,6.7)}{gnumeric}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(5,6.7)}{TeXlion}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(7.5,6.7)}{gimp}{d4}{-20}{-30}{0.6}{-15mm}
     \putbums{\pgfxy(4.5,0.5)}{apache}{d5}{10}{-45}{0.75}{15mm}
     \putbums{\pgfxy(7,0)}{postgresql}{d5}{10}{-45}{0.5}{15mm}
    }

    \putsmiley{}{2-}
    \pgfnodecircle{user}[virtual]{\pgfrelative{\pgfxy(9.0,4)}{\pgfxy(-0.5,0)}}{2pt}%
                                      %%%%%%%% -------^ Smiley-coordinates

    \visible<2->{%
     \pgfputat{\pgfxy(9.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{computer}}}%
     \pgfnodecircle{computerleft}[virtual]{\pgfrelative{\pgfxy(9.0,2.75)}{\pgfxy(-0.5,0)}}{2pt}%
     \pgfsetlinewidth{0.9pt}%
     \pgfnodeconncurve{d6}{computerleft}{30}{150}{5mm}{15mm}%
    }

    \pgfsetlinewidth{0.3pt}%
    \visible<3->{%
     \pgfputat{\pgfxy(4,1.8)}{\pgfbox[center,center]{\pgfuseimage{m1}}}%
     \pgfputat{\pgfxy(3.0,2.5)}{\pgfbox[center,center]{\pgfuseimage{m2}}}%
     \pgfputat{\pgfxy(3.1,3.4)}{\pgfbox[center,center]{\pgfuseimage{m3}}}%
     \pgfputat{\pgfxy(3.85,4)}{\pgfbox[center,center]{\pgfuseimage{m4}}}%
     \pgfputat{\pgfxy(4.3,4.5)}{\pgfbox[center,center]{\pgfuseimage{m5}}}%
     \pgfputat{\pgfxy(5.45,5.0)}{\pgfbox[center,center]{\pgfuseimage{m6}}}%
     \pgfputat{\pgfxy(6.5,5.0)}{\pgfbox[center,center]{\pgfuseimage{m7}}}%
     \pgfputat{\pgfxy(6.2,0.83)}{\pgfbox[center,center]{\pgfuseimage{m8}}}%
     \pgfputat{\pgfxy(7.4,1.0)}{\pgfbox[center,center]{\pgfuseimage{m9}}}%
    }

    \visible<4->{%
     \putbums{\pgfxy(9,6.4)}{wn}{d8}{-60}{60}{0.63}{15mm}
     \pgfputat{\pgfxy(7.4,4.5)}{\pgfbox[center,center]{\pgfuseimage{ich}}}%
    }

    \visible<5->{%
     \putbums{\pgfxy(9,0.4)}{#1}{d9}{60}{-15}{0.5}{15mm}
     \pgfputat{\pgfxy(8.2,1.8)}{\pgfbox[center,center]{\pgfuseimage{#4}}}%
    }
  \end{pgfpicture}
\end{frame}
}

\newcommand{\FreeBeerDebianShort}{

\begin{frame}
  \frametitle{Debian}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
% make sure we draw on white background
%   ... or rather do not change tested code and care for a white canvas in the main document
%      \color{white}
%        \pgfrect[fill]{\pgfxy(0,-1)}{\pgfxy(10.2,8.75)}
    \pgfsetlinewidth{0.3pt}%
    \color{structure}%
    \pgfsetendarrow{\pgfarrowto}%

     \pgfputat{\pgfxy(6.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{debiandist}}}%
     \pgfnodecircle{d1}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0,-0.45)}}{2pt}%
     \pgfnodecircle{d2}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.35,-0.45)}}{2pt}%
     \pgfnodecircle{d3}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.4,0)}}{2pt}%
     \pgfnodecircle{d4}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(-0.35,0.4)}}{2pt}%
     \pgfnodecircle{d5}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.35,-0.45)}}{2pt}%
     \pgfnodecircle{d6}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.3,0)}}{2pt}%
     \pgfnodecircle{d7}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.3,0.4)}}{2pt}%
     \pgfnodecircle{d8}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.15,0.4)}}{2pt}%
     \pgfnodecircle{d9}[virtual]{\pgfrelative{\pgfxy(6.0,2.75)}{\pgfxy(0.4,-0.35)}}{2pt}%

     \putbums{\pgfxy(2.0,2)}{tux}{d1}{45}{-90}{0.4}{15mm}
     \putbums{\pgfxy(1.0,3)}{gnome}{d2}{45}{-135}{0.4}{15mm}
     \putbums{\pgfxy(1.3,4)}{firefox}{d3}{-30}{0}{0.55}{-15mm}
     \putbums{\pgfxy(2.7,4.5)}{thunderbird}{d3}{0}{0}{0.55}{-15mm}
     \putbums{\pgfxy(1.8,6)}{oo}{d4}{-60}{-30}{1.5}{-15mm}
%     \putbums{\pgfxy(5,6.7)}{gnumeric}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(5,6.7)}{TeXlion}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(7.5,6.7)}{gimp}{d4}{-20}{-30}{0.6}{-15mm}
     \putbums{\pgfxy(4.5,0.5)}{apache}{d5}{10}{-45}{0.75}{15mm}
     \putbums{\pgfxy(7,0)}{postgresql}{d5}{10}{-45}{0.5}{15mm}

    \putsmiley{}{1-}
    \pgfnodecircle{user}[virtual]{\pgfrelative{\pgfxy(9.0,4)}{\pgfxy(-0.5,0)}}{2pt}%
                                      %%%%%%%% -------^ Smiley-coordinates

     \pgfputat{\pgfxy(9.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{computer}}}%
     \pgfnodecircle{computerleft}[virtual]{\pgfrelative{\pgfxy(9.0,2.75)}{\pgfxy(-0.5,0)}}{2pt}%
     \pgfsetlinewidth{0.9pt}%
     \pgfnodeconncurve{d6}{computerleft}{30}{150}{5mm}{15mm}%

    \pgfsetlinewidth{0.3pt}%
     \pgfputat{\pgfxy(4,1.8)}{\pgfbox[center,center]{\pgfuseimage{m1}}}%
     \pgfputat{\pgfxy(3.0,2.5)}{\pgfbox[center,center]{\pgfuseimage{m2}}}%
     \pgfputat{\pgfxy(3.1,3.4)}{\pgfbox[center,center]{\pgfuseimage{m3}}}%
     \pgfputat{\pgfxy(3.85,4)}{\pgfbox[center,center]{\pgfuseimage{m4}}}%
     \pgfputat{\pgfxy(4.3,4.5)}{\pgfbox[center,center]{\pgfuseimage{m5}}}%
     \pgfputat{\pgfxy(5.45,5.0)}{\pgfbox[center,center]{\pgfuseimage{m6}}}%
     \pgfputat{\pgfxy(6.5,5.0)}{\pgfbox[center,center]{\pgfuseimage{m7}}}%
     \pgfputat{\pgfxy(6.2,0.83)}{\pgfbox[center,center]{\pgfuseimage{m8}}}%
     \pgfputat{\pgfxy(7.4,1.0)}{\pgfbox[center,center]{\pgfuseimage{m9}}}%

     \putbums{\pgfxy(9,6.4)}{wn}{d8}{-60}{60}{0.63}{15mm}
     \pgfputat{\pgfxy(7.4,4.5)}{\pgfbox[center,center]{\pgfuseimage{ich}}}%

  \end{pgfpicture}
\end{frame}
}

\newcommand{\FreeBeerDebianShortSechzehnNeun}{

\begin{frame}
  \frametitle{Debian}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
% make sure we draw on white background
%   ... or rather do not change tested code and care for a white canvas in the main document
%      \color{white}
%        \pgfrect[fill]{\pgfxy(0,-1)}{\pgfxy(10.2,8.75)}
    \pgfsetlinewidth{0.3pt}%
    \color{structure}%
    \pgfsetendarrow{\pgfarrowto}%

     \pgfputat{\pgfxy(7.5,2.75)}{\pgfbox[center,center]{\pgfuseimage{debiandist}}}%
     \pgfnodecircle{d1}[virtual]{\pgfrelative{\pgfxy(7.5,2.75)}{\pgfxy(0,-0.45)}}{2pt}%
     \pgfnodecircle{d2}[virtual]{\pgfrelative{\pgfxy(7.5,2.75)}{\pgfxy(-0.35,-0.45)}}{2pt}%
     \pgfnodecircle{d3}[virtual]{\pgfrelative{\pgfxy(7.5,2.75)}{\pgfxy(-0.4,0)}}{2pt}%
     \pgfnodecircle{d4}[virtual]{\pgfrelative{\pgfxy(7.5,2.75)}{\pgfxy(-0.35,0.4)}}{2pt}%
     \pgfnodecircle{d5}[virtual]{\pgfrelative{\pgfxy(7.5,2.75)}{\pgfxy(0.35,-0.45)}}{2pt}%
     \pgfnodecircle{d6}[virtual]{\pgfrelative{\pgfxy(7.5,2.75)}{\pgfxy(0.3,0)}}{2pt}%
     \pgfnodecircle{d7}[virtual]{\pgfrelative{\pgfxy(7.5,2.75)}{\pgfxy(0.3,0.4)}}{2pt}%
     \pgfnodecircle{d8}[virtual]{\pgfrelative{\pgfxy(7.5,2.75)}{\pgfxy(0.15,0.4)}}{2pt}%
     \pgfnodecircle{d9}[virtual]{\pgfrelative{\pgfxy(7.5,2.75)}{\pgfxy(0.4,-0.35)}}{2pt}%

     \putbums{\pgfxy(2.0,1.7)}{tux}{d1}{45}{-90}{0.4}{15mm}
     \putbums{\pgfxy(1.0,3)}{gnome}{d2}{45}{-135}{0.4}{15mm}
     \putbums{\pgfxy(1.3,4)}{firefox}{d3}{-30}{0}{0.55}{-15mm}
     \putbums{\pgfxy(2.7,4.5)}{thunderbird}{d3}{0}{0}{0.55}{-15mm}
     \putbums{\pgfxy(1.8,6)}{oo}{d4}{-60}{-30}{1.5}{-15mm}
%     \putbums{\pgfxy(5,6.7)}{gnumeric}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(5,6.7)}{TeXlion}{d4}{-20}{-30}{0.75}{-15mm}
     \putbums{\pgfxy(8.5,6.7)}{gimp}{d4}{-20}{-30}{0.6}{-15mm}
     \putbums{\pgfxy(4.5,0.5)}{apache}{d5}{10}{-45}{0.75}{15mm}
     \putbums{\pgfxy(9,0.3)}{postgresql}{d5}{10}{-45}{0.5}{15mm}

    \putsmileySechzehnNeun{}{1-}
    \pgfnodecircle{user}[virtual]{\pgfrelative{\pgfxy(12.0,4)}{\pgfxy(-0.5,0)}}{2pt}%
                                      %%%%%%%% -------^ Smiley-coordinates

     \pgfputat{\pgfxy(12.0,2.75)}{\pgfbox[center,center]{\pgfuseimage{computer}}}%
     \pgfnodecircle{computerleft}[virtual]{\pgfrelative{\pgfxy(12.0,2.75)}{\pgfxy(-0.5,0)}}{2pt}%
     \pgfsetlinewidth{0.9pt}%
     \pgfnodeconncurve{d6}{computerleft}{30}{150}{5mm}{15mm}%

    \pgfsetlinewidth{0.3pt}%
     \pgfputat{\pgfxy(4,1.71)}{\pgfbox[center,center]{\pgfuseimage{m1}}}%
     \pgfputat{\pgfxy(3.0,2.69)}{\pgfbox[center,center]{\pgfuseimage{m2}}}%
     \pgfputat{\pgfxy(3.1,3.5)}{\pgfbox[center,center]{\pgfuseimage{m3}}}%
     \pgfputat{\pgfxy(3.9,4.2)}{\pgfbox[center,center]{\pgfuseimage{m4}}}%
     \pgfputat{\pgfxy(4.7,4.8)}{\pgfbox[center,center]{\pgfuseimage{m5}}}%
     \pgfputat{\pgfxy(6.2,5.0)}{\pgfbox[center,center]{\pgfuseimage{m6}}}%
     \pgfputat{\pgfxy(7.75,5.0)}{\pgfbox[center,center]{\pgfuseimage{m7}}}%
     \pgfputat{\pgfxy(6.6,0.83)}{\pgfbox[center,center]{\pgfuseimage{m8}}}%
     \pgfputat{\pgfxy(8.9,1.3)}{\pgfbox[center,center]{\pgfuseimage{m9}}}%

     \putbums{\pgfxy(11.6,6.4)}{wn}{d8}{-60}{60}{0.63}{15mm}
     \pgfputat{\pgfxy(9.35,4.5)}{\pgfbox[center,center]{\pgfuseimage{ich}}}%

  \end{pgfpicture}
\end{frame}
}

% Explaining Debian in images part 3/3

\pgfdeclareimage[interpolate=true,width=\paperwidth,height=\paperheight]{whirl}{whirl}

\newcommand{\FreeBeerCDD}[1]{
\begin{frame}
  \frametitle{#1}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
    \pgfputat{\pgfxy(-0.6,-1.4)}{\pgfbox[left,bottom]{\pgfuseimage{whirl}}}%

    \visible<1>{%
      \putsmiley{4}{1}
    }
    \visible<2->{%
      \pgfputat{\pgfxy(3.8,1.5)}{\pgfbox[center,center]{\pgfuseimage{slx-tux}}}%
      \pgfputat{\pgfxy(2.2,3.4)}{\pgfbox[center,center]{\pgfuseimage{skolelinux-search}}}%
    }

    \visible<3->{%
      \pgfputat{\pgfxy(7.5,3.5)}{\pgfbox[center,center]{\pgfuseimage{tux-resmed}}}%
      \pgfputat{\pgfxy(5.8,5.3)}{\pgfbox[center,center]{\pgfuseimage{debian-med-search}}}%
    }
  \end{pgfpicture}
\end{frame}
}

\newcommand{\FreeBeerBlends}[1]{
\begin{frame}
  \frametitle{#1}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
    \pgfputat{\pgfxy(-0.6,-1.4)}{\pgfbox[left,bottom]{\pgfuseimage{whirl}}}%

    \visible<1>{%
      \putsmiley{4}{1}
    }
    \visible<2->{%
      \pgfputat{\pgfxy(2.8,1.1)}{\pgfbox[center,center]{\pgfuseimage{slx-tux}}}%
      \pgfputat{\pgfxy(1.2,3.0)}{\pgfbox[center,center]{\pgfuseimage{skolelinux-search}}}%
    }

    \visible<3->{%
      \pgfputat{\pgfxy(5.2,4.0)}{\pgfbox[center,center]{\pgfuseimage{tux-resmed}}}%
      \pgfputat{\pgfxy(3.5,5.8)}{\pgfbox[center,center]{\pgfuseimage{debian-med-search}}}%
    }

    \visible<4->{%
      \pgfputat{\pgfxy(9.6,1.7)}{\pgfbox[center,center]{\pgfuseimage{tux-gis}}}%
      \pgfputat{\pgfxy(7.9,3.5)}{\pgfbox[center,center]{\pgfuseimage{debian-gis-search}}}%
    }
  \end{pgfpicture}
\end{frame}
}

\newcommand{\FreeBeerBlendsSechzehnNeun}[1]{
\begin{frame}
  \frametitle{#1}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
    \pgfputat{\pgfxy(-0.6,-1.4)}{\pgfbox[left,bottom]{\pgfuseimage{whirl}}}%

    \visible<1>{%
      \putsmiley{4}{1}
    }
    \visible<2->{%
      \pgfputat{\pgfxy(2.8,1.1)}{\pgfbox[center,center]{\pgfuseimage{slx-tux}}}%
      \pgfputat{\pgfxy(1.2,3.0)}{\pgfbox[center,center]{\pgfuseimage{skolelinux-search}}}%
    }

    \visible<3->{%
      \pgfputat{\pgfxy(7.0,3.4)}{\pgfbox[center,center]{\pgfuseimage{tux-resmed}}}%
      \pgfputat{\pgfxy(5.3,5.2)}{\pgfbox[center,center]{\pgfuseimage{debian-med-search}}}%
    }

    \visible<4->{%
      \pgfputat{\pgfxy(12.6,1.7)}{\pgfbox[center,center]{\pgfuseimage{tux-gis}}}%
      \pgfputat{\pgfxy(10.9,3.5)}{\pgfbox[center,center]{\pgfuseimage{debian-gis-search}}}%
    }
  \end{pgfpicture}
\end{frame}
}

\newcommand{\FreeBeerBlendsMedEduGis}[1]{
\begin{frame}
  \frametitle{#1}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
    \pgfputat{\pgfxy(-0.6,-1.4)}{\pgfbox[left,bottom]{\pgfuseimage{whirl}}}%

    \visible<1>{%
      \putsmiley{4}{1}
    }
    \visible<2->{%
      \pgfputat{\pgfxy(5.5,4.0)}{\pgfbox[center,center]{\pgfuseimage{tux-resmed}}}%
      \pgfputat{\pgfxy(3.8,5.8)}{\pgfbox[center,center]{\pgfuseimage{debian-med-search}}}%
    }
    \visible<3->{%
      \pgfputat{\pgfxy(3.0,1.1)}{\pgfbox[center,center]{\pgfuseimage{slx-tux}}}%
      \pgfputat{\pgfxy(1.4,3.0)}{\pgfbox[center,center]{\pgfuseimage{skolelinux-search}}}%
    }
    \visible<4->{%
      \pgfputat{\pgfxy(10.0,1.7)}{\pgfbox[center,center]{\pgfuseimage{tux-gis}}}%
      \pgfputat{\pgfxy(8.3,3.5)}{\pgfbox[center,center]{\pgfuseimage{debian-gis-search}}}%
    }
  \end{pgfpicture}
\end{frame}
}
\newcommand{\FreeBeerDebianMed}[1]{
\begin{frame}
  \frametitle{#1}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.8\paperheight}
    \pgfputat{\pgfxy(-0.6,-1.4)}{\pgfbox[left,bottom]{\pgfuseimage{whirl}}}%

    \visible<1>{%
      \putsmiley{4}{1}
    }
    \visible<2->{%
      \pgfputat{\pgfxy(7.5,3.5)}{\pgfbox[center,center]{\pgfuseimage{tux-resmed}}}%
      \pgfputat{\pgfxy(5.8,5.3)}{\pgfbox[center,center]{\pgfuseimage{debian-med-search}}}%
    }
  \end{pgfpicture}
\end{frame}
}

\newcommand{\FreeBeerCDDShort}[1]{
\begin{frame}
  \frametitle{#1}
  \begin{pgfpicture}{0cm}{0cm}{\paperwidth}{0.81\paperheight}
    \pgfputat{\pgfxy(-0.4,-1.4)}{\pgfbox[left,bottom]{\pgfuseimage{whirl}}}%

    \visible<1>{%
      \putsmiley{4}{1}
    }
    \visible<2->{%
      \pgfputat{\pgfxy(3.8,1.5)}{\pgfbox[center,center]{\pgfuseimage{slx-tux}}}%
      \pgfputat{\pgfxy(2.2,3.4)}{\pgfbox[center,center]{\pgfuseimage{skolelinux-search}}}%

      \pgfputat{\pgfxy(7.5,3.5)}{\pgfbox[center,center]{\pgfuseimage{tux-resmed}}}%
      \pgfputat{\pgfxy(5.8,5.3)}{\pgfbox[center,center]{\pgfuseimage{debian-med-search}}}%
    }
  \end{pgfpicture}
\end{frame}
}
