Plasma/Panels: Difference between revisions
m (update to plasma 5.16) |
(get panel documentation up to date with current version) |
||
Line 25: | Line 25: | ||
=== The Panel Toolbox === <!--T:8--> | === The Panel Toolbox === <!--T:8--> | ||
<!--T: | <!--T:12--> | ||
*<menuchoice> | *<menuchoice>Add Widgets</menuchoice>: Allows widgets to be added to the panel. | ||
<!--T:13--> | |||
*<menuchoice>Add Spacer</menuchoice>: Allows you to add a spacer into the panel giving space between the items in it. | |||
**The standard behavior of a spacer is that it uses as much space as possible (flexible size), but you can also set it to a <menuchoice>fixed size:</menuchoice>. Enter the context (right click) menu and deactivate <menuchoice>Set Flexible Size</menuchoice>. | |||
<!--T:9--> | |||
*<menuchoice>Drag to move</menuchoice>: You can click into the empty space and drag the panel to any of the four edges of the screen. | |||
<!--T:19--> | <!--T:19--> | ||
*<menuchoice>Remove this panel</menuchoice>: Removes the current panel and all widgets in it. | *<menuchoice>Remove this panel</menuchoice>: Removes the current panel and all widgets in it. | ||
<!--T:10--> | <!--T:10--> | ||
Line 40: | Line 44: | ||
*<menuchoice>Width</menuchoice> (for vertical panel): Allows the panel width to be adjusted. | *<menuchoice>Width</menuchoice> (for vertical panel): Allows the panel width to be adjusted. | ||
*<menuchoice>More Options</menuchoice>: Opens additional settings for the panel (see next section). | |||
*<menuchoice> | |||
=== The "More Settings" Menu === <!--T:15--> | === The "More Settings" Menu === <!--T:15--> |
Revision as of 18:48, 27 December 2022
Panels in Plasma Desktop
A Panel is a widget container which can be located on any side of the desktop. There can be multiple panels on the same side. The default layout is one panel that stretches across the entire bottom of the desktop with the following widgets: application menu, desktop pager, task manager (list of open windows), system tray (including things like a device notifier) and clock. If you are using a laptop, netbook or other computer that uses a battery there will also be a power management widget in the system tray. At the end of the panel is a toolbox button which can be activated to access configuration options.
Configuration
The panel can then be configured by clicking on the toolbox located on the right for horizontal or bottom for vertical panel. At that point, the panel will be in configuration mode. Panel configuration may also be accessed via the context (right click) menu in the panel.
Widgets in the panel can be sorted by dragging them when in configuration mode. Widgets align left in the horizontal and top in the vertical panel
The Panel Toolbox
- : Allows widgets to be added to the panel.
- The standard behavior of a spacer is that it uses as much space as possible (flexible size), but you can also set it to a . Enter the context (right click) menu and deactivate .
: Allows you to add a spacer into the panel giving space between the items in it.
- : You can click into the empty space and drag the panel to any of the four edges of the screen.
- : Removes the current panel and all widgets in it.
- (for horizontal panel): Allows the panel height to be adjusted.
- (for vertical panel): Allows the panel width to be adjusted.
- : Opens additional settings for the panel (see next section).
The "More Settings" Menu
- : Keeps the panel visible at all times, even when windows are maximised.
- : Hides the panel off screen until the mouse is placed near the screen edge.
- : This allows windows to cover the panel and if maximised, will cover the panel.
- : This allows windows to go below the panel, even when maximised.
- : Makes the panel fit to the screen edges, if it has been resized.
Under the Hood
Should anything "untoward" happen to your panel have a look at ~/.config/plasma-org.kde.plasma.desktop-appletsrc - the panel itself is classed as a containment (there are at least two, the desktop and the panel) which is home to all the different widgets you put there.
Multiple Panels
It is also possible to have more than one panel on your desktop. This proves useful if you want to have a more flexible layout:
Adding a Panel
To add a new panel either click on the desktop toolbox button and select
or open the context (right click) menu on the desktop and select from the menu.If more than one kind of Panel is installed, you will be able to select between them to choose what sort of Panel you would prefer. By default, two Panel types are available:
, which creates a Panel containing all of the default widgets (launcher, pager, tasks, system tray, clock, etc.), and , which adds an empty Panel without any pre-configured widgets in it.Locking
The panels and desktop may be locked to prevent changes being made to them. When locked, the toolbox buttons will not be shown on either the desktop or on the panels. To configure a panel, it must be unlocked, otherwise the toolbox and context menu entries to configure or add widgets are unavailable.
Locking can be done by either selecting the
entry in the Panel toolbox or in the Panel context (right click) menu. Once locked, the Panels can be unlocked again by right clicking on either a panel or desktop and selecting from the menu that is displayed.