Home Files
Adminer
Execute Command
PHP Eval
Symlink
File Upload
Owner :
www-data
PHP Version
5.6.40-0+deb8u12
Disk Space
40.98 GB
Server Addr
19-www4
Your IP
10.10.10.40
Edit File
File:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Themes</title><link rel="stylesheet" type="text/css" href="aptitude.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="aptitude user's manual"><link rel="up" href="ch02s05.html" title="Customizing aptitude"><link rel="prev" href="ch02s05s05.html" title="Configuration file reference"><link rel="next" href="ch02s06.html" title="Playing Minesweeper"><link rel="preface" href="pr01.html" title="Introduction"><link rel="chapter" href="ch01.html" title="Chapter 1. Getting started"><link rel="chapter" href="ch02.html" title="Chapter 2. aptitude reference guide"><link rel="chapter" href="ch03.html" title="Chapter 3. aptitude frequently asked questions"><link rel="chapter" href="ch04.html" title="Chapter 4. Credits"><link rel="reference" href="rn01.html" title="Command-line reference"><link rel="refentry" href="rn01re01.html" title="aptitude"><link rel="refentry" href="rn01re02.html" title="aptitude-create-state-bundle"><link rel="refentry" href="rn01re03.html" title="aptitude-run-state-bundle"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Themes</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s05s05.html"><img src="images/prev.gif" alt="Prev"></a> </td><th width="60%" align="center">Customizing <span class="command"><strong>aptitude</strong></span></th><td width="20%" align="right"> <a accesskey="n" href="ch02s06.html"><img src="images/next.gif" alt="Next"></a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="secThemes"></a>Themes</h3></div></div></div><p> A <em class="firstterm">theme</em> in <span class="command"><strong>aptitude</strong></span> is simply a collection of settings that <span class="quote">“<span class="quote">go together</span>”</span>. Themes work by overriding the default values of options: if an option is not set in the system configuration file or in your personal configuration file, <span class="command"><strong>aptitude</strong></span> will use the setting from the current theme, if one is available, before using the standard default value. </p><p> A theme is simply a named group under <code class="literal">Aptitude::Themes</code>; each configuration option contained in the group will override the corresponding option in the global configuration. For instance, if the <code class="literal">Dselect</code> theme is selected, the option <code class="literal">Aptitude::Themes::Dselect::Aptitude::UI::Package-Display-Format</code> will override the default value of the option <code class="literal">Aptitude::UI::Package-Display-Format</code>. </p><p> To select a theme, set the configuration option <code class="literal">Aptitude::Theme</code> to the name of the theme; for instance, </p><pre class="screen">Aptitude::Theme Vertical-Split;</pre><p> The following themes are shipped with <span class="command"><strong>aptitude</strong></span> in <code class="filename">/usr/share/aptitude/aptitude-defaults</code>: </p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">Dselect</code></span></dt><dd><p> This theme makes <span class="command"><strong>aptitude</strong></span> look and behave more like the legacy <code class="literal">dselect</code> package manager: </p><div class="screenshot"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="100%"><tr><td><img src="images/dselect-theme.png" width="100%"></td></tr></table><div class="longdesc-link" align="right"><br clear="all"><span class="longdesc-link">[<a href="ld-idp60370752.html" target="longdesc">D</a>]</span></div></div></div></dd><dt><span class="term"><code class="literal">Vertical-Split</code></span></dt><dd><p> This theme rearranges the display: instead of the current package's description appearing underneath the package list, it is displayed to the right of the package list. This theme is useful with very wide terminals, and perhaps also when editing the built-in hierarchy of packages. </p><div class="screenshot"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="100%"><tr><td><img src="images/vertical-split-theme.png" width="100%"></td></tr></table><div class="longdesc-link" align="right"><br clear="all"><span class="longdesc-link">[<a href="ld-idp60377936.html" target="longdesc">D</a>]</span></div></div></div></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s05s05.html"><img src="images/prev.gif" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s05.html"><img src="images/up.gif" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s06.html"><img src="images/next.gif" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Configuration file reference </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.gif" alt="Home"></a></td><td width="40%" align="right" valign="top"> Playing Minesweeper</td></tr></table></div></body></html>