\mode<presentation>
\useoutertheme{miniframes}
+\setbeamertemplate{page number in head/foot}[totalframenumber]%
+
% No headline.
\setbeamertemplate{headline}{}
-% An optional command that will appear in the middle of the footer.
-\defbeamertemplate{footextra}{}
-
-% Stolen from the miniframes theme, and modified to include the
-% footextra template.
+% Stolen from the miniframes theme and modified.
\setbeamertemplate{footline}{
\begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
\end{beamercolorbox}
leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
\hfill%
- \usebeamertemplate{footextra}%
- \hfill%
- {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
+ \usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}%
\end{beamercolorbox}%
\begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
\end{beamercolorbox}