How to display clock with date in vertical XFCE panel
XFCE4 is my desktop environment of choice in every Linux distro I use these days. However my display resolution of 1366 x 768 on the laptop is quite low by today's standards, so I set the panel (the taskbar) to the left edge of the screen. I wanted to have a clock with date in my vertical panel. Although it looks impossible, I found out a workaround.
First of all, your clock needs to be configured properly for the vertical panel. I described how it can be done in the following article:
Let's use it to create a clock that also shows the date on the next row.
- Set the Format option of the clock applet to "Custom Format":
- In the text box below, enter the following
For other format markup options, visit this page.
- Close the properties dialog. You are done:
Using this simple trick, you will be able to adjust the format of the panel's clock applet and make it show the clock in any format you like. You are only limited by the width of the panel that you have set.