Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
xfce:xfce4-panel:clock [2018/04/17 17:08] – [Label and Tooltip Markup] alexxconsxfce:xfce4-panel:clock [2019/04/11 19:00] – [Clock Options] blueberrybrownie
Line 1: Line 1:
 ====== Clock ====== ====== Clock ======
  
-The //Clock// panel plugin displays the current time in a variety of styles and formats.+The Clock panel plugin displays the current time in a variety of styles and formats, and allows for custom tooltips to appear on hover. It also provides a basic calendar that appears when clicked.
  
-====== Properties ======+====== Preferences ======
  
-<figure "Clock's properties dialog"> +<figure "Clock Preferences">{{:xfce:xfce4-panel:xfce4-panel-clock.png?nolink&|}}</figure>
-{{:xfce:xfce4-panel:clock.png?nolink&|}} +
-</figure>+
  
-===== Appearance =====+===== Time Settings ===== 
 +? Timezone 
 +! Allows you to set a custom timezone for the clock by entering the name of a file in the zoneinfo database. If left blank, the clock uses the localtime.
  
-? Tooltip Format +===== Appearance =====
-! Changes how the time is displayed when hovering over the clock display.  +
-? Show Frame +
-! Displays a frame around the clock display.+
 ? Layout ? Layout
-  Analog +    Analogue 
-  ! Displays time as a clock face with hands representing the current hour, minuteand seconds.  +    ! Displays a round, analogue clock with an hour, minute and optionally second hand in the panel
-  ? Binary +    ? Binary 
-  ! Displays a binary clock.  +    ! Displays a grid with highlighted tiles depicting the time in binary. 
-  ? Digital +    ? Digital 
-  A simple time display with multiple formats.  +    Displays the time digitally
-  ? Fuzzy +    ? Fuzzy 
-  ! Displays an approximation of the current time.  +    ! Displays the time as words rather than using numbers
-  ? LCD +    ? LCD 
-  ! Displays the time in the style of a digital LCD click.+    ! Displays the time in the style of an LCD clock. 
 + 
 +? Tooltip format 
 +! Changes the format of the time that gets displayed in the tooltip when hovering over the clock plugin.
  
 ===== Clock Options ===== ===== Clock Options =====
 +The options available will vary depending on the clock {gui>Layout} selected.
 +
 +^ Analogue ^^ 
 +| Display seconds | Displays the seconds hand on the clock face |
 +
 +^ Binary ^^ 
 +| Display seconds | Displays seconds on the clock |
 +| True binary clock | Enlarges the grid and displays 2 / 3 rows rather than 4 |
 +| Show Inactive Dots | Show empty dots |
 +| Show grid | Adds gridlines to the clock |
 +
 +^ Digital ^^ 
 +| Format | Changes the format in which the time is displayed with a predefined or custom format |
  
-<note tip>The options available in //Clock Options// will vary depending on the clock {gui>Layout} selected.</note>+^ Fuzzy ^^  
 +| Fuzziness | Changes the degree of 'fuzziness' that the clock will display0 being the most accurate (displaying "six o'clock" for example), 1 being less accurate, and 2 being the least accurate (displaying "Afternoon" for example) |
  
-24-hour Clock +^ LCD ^^  
-Displays time in a 24-hour (military) format. ({gui>LCD} layout only.)  +| Display seconds | Displays a seconds indicator on the clock | 
-? Display Seconds +24-hour clock | Displays time in a 24-hour (military) format | 
-! Displays a seconds indicator in the clock display. ({gui>Analog}, {gui>LCD}, and {gui>Binary} layouts only.)  +Flash time separators | Flash the separators between digits every second | 
-Flash Time Seperators +Show AM/PM Displays an 'A' or 'P' next to the time to indicate the time of day |
-Flash the seperators between digits. ({gui>LCD} layout only.)  +
-? Format +
-! Changes the time format of the clock with predefined or custom layout. ({gui>Digital} layout only.)  +
-? Fuzziness +
-! Changes the degree of 'fuzziness' that the clock will display. 0 being the most accurate, 1 being less accurate, and 2 being the least accurate. ({gui>Fuzzy} layout only.)  +
-Show AM/PM +
-Displays an 'A' or 'P' to indicate the time of day. ({gui>LCD} layout only.)  +
-? Show Grid +
-! Adds gridlines to the clock. ({gui>Binary} layout only.)  +
-? Show Inactive Dots +
-! All dots that are empty are not shown in the clock display. ({gui>Binary} layout only.)  +
-? True Binary Clock +
-! Displays a seconds indicator in the clock display. ({gui>Binary} layout only.) +
  
 ===== Label and Tooltip Markup ===== ===== Label and Tooltip Markup =====
Line 54: Line 55:
 The plugin supports markup to change the layout of the tooltip and the label on the panel. Consult the [[http://developer.gnome.org/pango/stable/PangoMarkupFormat.html|Text Attribute Markup]] manual of Pango so see what attributes are supported. As an example you can have the following custom format: The plugin supports markup to change the layout of the tooltip and the label on the panel. Consult the [[http://developer.gnome.org/pango/stable/PangoMarkupFormat.html|Text Attribute Markup]] manual of Pango so see what attributes are supported. As an example you can have the following custom format:
  
-  %R%n<span size='x-small'>%d-%m w%V</span>+<code>%R%n%d-%m w%V</code>
  
 Additionally ''%n'' for new-lines and ''%t'' for tabs are also supported. Additionally ''%n'' for new-lines and ''%t'' for tabs are also supported.