Plasma/Panels: Difference between revisions

From KDE UserBase Wiki
(marked for translation)
m (Fix minor typos)
 
(26 intermediate revisions by 8 users not shown)
Line 2: Line 2:
<translate>
<translate>


== Panels in Plasma Desktop ==
== Panels in Plasma Desktop == <!--T:1-->


[[Image:Panel_Settings.png|thumb|512px|center|Panel in configuration mode with <menuchoice>More settings</menuchoice>-submenu open.]]
<!--T:2-->
[[File:Panel v5.26.png|thumb|512px|center|The default panel]]


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: [[Special:myLanguage/Plasma/Kickoff|application menu]], [[Special:myLanguage/Plasma/Pager|desktop pager]], [[Special:myLanguage/Plasma/Tasks|task manager]] (list of open windows), [[Plasma/SystemTray|system tray]], [[Special:myLanguage/Plasma/DeviceNotifier|device notifier]] and [[Special:myLanguage/Plasma/Clocks|clock]]. If you are using a laptop, netbook or other computer that uses a battery there will also be a [[Special:mylanguage/Plasma/Plasmoids#PowerDevil|power management]] widget on the panel. At the end of the panel is a toolbox button which can be activated to access configuration options.
<!--T:3-->
A Panel is a widget container which can be located on any side of the screen. There can be multiple panels on the screen or even on the same side. The default layout is one panel that stretches across the entire bottom of the desktop with the following widgets: [[Special:myLanguage/Plasma/Kickoff|application menu]], [[Special:myLanguage/Plasma/Pager|desktop pager]], [[Special:myLanguage/Plasma/Tasks|task manager]] (list of open windows), [[Special:myLanguage/Plasma/SystemTray|system tray]] (including things like [[Special:mylanguage/Plasma/Plasmoids#PowerDevil|power management]] if you are on a laptop), [[Special:myLanguage/Plasma/Clocks|digital clock]], and peek at desktop.  


== Configuration ==
== Configuration == <!--T:4-->


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.
<!--T:5-->
Panel configuration can be accessed via the context (right click) menu in the panel. At that point, the panel will be in edit mode.


[[Image:Panel_Settings_resize.png|thumb|512px|center|The arrows on the edge of the panel allow the panel's size to be adjusted. Dragging the arrow makes the panel smaller or larger. Dragging the arrow when it is pointing down, moves the panel's position.]]
<!--T:32-->
[[Image:Panel edit mode v5-26.png|thumb|512px|center|Panel in configuration mode with <menuchoice>More settings</menuchoice>-submenu open]]  


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
=== Arranging Widgets === <!--T:7-->
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. You can center widgets in the panel by adding flexible sized spacers on both sides (see the section on the panel toolbox).


=== The Panel Toolbox ===
</translate><span id="The Panel Toolbox"></span><translate>


*<menuchoice>Screen Edge</menuchoice>: Allows you to drag the panel to any of the four edges of the screen.
=== The Panel Toolbox === <!--T:8-->


*<menuchoice>Height</menuchoice> (for horizontal panel): Allows the panel height to be adjusted.
<!--T:33-->
* Size arrows: The arrows on the bar in the middle allow the panel size to be adjusted.
** Arrows pointing left change the minimum panel size.
** Arrows pointing right change the maximum panel size.
** The arrow pointing up is the center of the panel.
** To adjust the height of a horizontal panel or the width of a vertical panel, use the spin box in the toolbox.
** After resizing a panel, you can reset it to maximized in the <menuchoice>More Options</menuchoice> menu.


*<menuchoice>Width</menuchoice> (for vertical panel): Allows the panel width to be adjusted.
<!--T:12-->
 
*<menuchoice>Add Widgets</menuchoice>: Allows widgets to be added to the panel. This will open a sidebar from which you can drag widgets into the panel.
*<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.
*<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>.
**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>.


*<menuchoice>Lock Widgets</menuchoice>: Locks the panel and widgets in position. Also hides the toolbox.
<!--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-->
*<menuchoice>Remove this panel</menuchoice>: Removes the current panel and all widgets in it.
 
<!--T:10-->
*<menuchoice>Height</menuchoice> (for horizontal panel)/<menuchoice>Width</menuchoice> (for vertical panel): Allows the panel height or width to be adjusted. To change the width of a horizontal panel or the height of a vertical panel, use the arrows.
 
<!--T:34-->
*<menuchoice>More Options</menuchoice>: Opens additional settings for the panel (see next section).


=== The "More Settings" Menu ===
=== The "More Settings" Menu === <!--T:15-->


<!--T:16-->
*<menuchoice>Panel Alignment</menuchoice>: Allows the alignment of the panel to be set in three pre-set positions.
*<menuchoice>Panel Alignment</menuchoice>: Allows the alignment of the panel to be set in three pre-set positions.
**<menuchoice>Left/Top</menuchoice>
**<menuchoice>Left/Top</menuchoice>
Line 38: Line 60:
**<menuchoice>Right/Bottom</menuchoice>
**<menuchoice>Right/Bottom</menuchoice>


<!--T:17-->
*<menuchoice>Visibility</menuchoice>
*<menuchoice>Visibility</menuchoice>
**<menuchoice>Always Visible</menuchoice>: Keeps the panel visible at all times, even when windows are maximised.
**<menuchoice>Always Visible</menuchoice>: Keeps the panel visible at all times, even when windows are maximised.
Line 44: Line 67:
**<menuchoice>Windows go below</menuchoice>: This allows windows to go below the panel, even when maximised.
**<menuchoice>Windows go below</menuchoice>: This allows windows to go below the panel, even when maximised.


<!--T:18-->
*<menuchoice>Opacity</menuchoice>
**<menuchoice>Adaptive</menuchoice>: Makes the panel opaque when any windows are touching it, and translucent otherwise.
**<menuchoice>Opaque</menuchoice>: Makes the panel always opaque,
**<menuchoice>Translucent</menuchoice>: Makes the panel always translucent.
*<menuchoice>Maximize Panel</menuchoice>: Makes the panel fit to the screen edges, if it has been resized.
*<menuchoice>Maximize Panel</menuchoice>: Makes the panel fit to the screen edges, if it has been resized.


*<menuchoice>Remove this panel</menuchoice>: Removes the current panel and all widgets in it.
<!--T:35-->
*<menuchoice>Floating Panel</menuchoice>: Adds some margin around the panel when no windows are touching it.
 
<!--T:36-->
*<menuchoice>Remove Panel</menuchoice>: Deletes the panel.
 
<!--T:37-->
*<menuchoice>Shortcut</menuchoice>: Allows you to set a shortcut to focus the panel when it is not currently visible.


== Multiple Panels ==
== Adding Panels == <!--T:20-->


<!--T:21-->
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:
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:
[[Image:Multipanel.png|thumb|512px|center|Screenshot showing a desktop with multiple panels: a vertical panel with an application launcher, shortcuts and a system tray and a second panel placed horizontally at the top of the screen with a task manager and a clock.]]
[[File:Panel multi.png|thumb||768px|center|Screenshot showing a desktop with multiple panels: a floating centered vertical panel with an application launcher and icons-only task manager, and a second panel placed horizontally at the top of the screen with global application menu, system tray, and clock.]]


===== Adding a Panel =====
<!--T:23-->
To add a new panel either click on the desktop toolbox button and select <menuchoice>Add Panel</menuchoice> or open the context (right click) menu on the desktop and select <menuchoice>Add Panel</menuchoice> from the menu.


To add a new panel either click on the desktop toolbox button and select <menuchoice>Add Panel</menuchoice> or open the context (right click) menu on the desktop and select <menuchoice>Add Panel</menuchoice> from the menu.
<!--T:24-->
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: <menuchoice>Default Panel</menuchoice>, which creates a Panel containing all of the default widgets (launcher, pager, tasks, system tray, clock, etc.), and <menuchoice>Empty Panel</menuchoice>, which adds a blank Panel without any pre-configured widgets in it.


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: <menuchoice>Default Panel</menuchoice>, which creates a Panel containing all of the default widgets (launcher, pager, tasks, system tray, clock, etc.), and <menuchoice>Blank Panel</menuchoice>, which adds an empty Panel without any pre-configured widgets in it.
=== Under the Hood === <!--T:29-->


== Locking ==
<!--T:30-->
Should anything "untoward" happen to your panel have a look at <tt>~/.config/plasma-org.kde.plasma.desktop-appletsrc</tt> - 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.


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.  
<!--T:31-->
{{Remember|2=Info needed|1=Here the relevant section of <tt>plasma-desktop-appletsrc</tt> for a default panel containment should go. Please help us provide the info if you know anything about this.}}


Locking can be done by either selecting the <menuchoice>Lock Widgets</menuchoice> entry in the Panel toolbox's <menuchoice>More Settings</menuchoice> menu 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 <menuchoice>Unlock Widgets</menuchoice> from the menu that is displayed.


<!--T:28-->
[[Category:Desktop]]
[[Category:Desktop]]
[[Category:Plasma]]
[[Category:Plasma]]
</translate>
</translate>

Latest revision as of 21:33, 7 January 2023

Panels in Plasma Desktop

The default panel

A Panel is a widget container which can be located on any side of the screen. There can be multiple panels on the screen or even 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 power management if you are on a laptop), digital clock, and peek at desktop.

Configuration

Panel configuration can be accessed via the context (right click) menu in the panel. At that point, the panel will be in edit mode.

Panel in configuration mode with More settings-submenu open

Arranging Widgets

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. You can center widgets in the panel by adding flexible sized spacers on both sides (see the section on the panel toolbox).

The Panel Toolbox

  • Size arrows: The arrows on the bar in the middle allow the panel size to be adjusted.
    • Arrows pointing left change the minimum panel size.
    • Arrows pointing right change the maximum panel size.
    • The arrow pointing up is the center of the panel.
    • To adjust the height of a horizontal panel or the width of a vertical panel, use the spin box in the toolbox.
    • After resizing a panel, you can reset it to maximized in the More Options menu.
  • Add Widgets: Allows widgets to be added to the panel. This will open a sidebar from which you can drag widgets into the panel.
  • Add Spacer: 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 fixed size:. Enter the context (right click) menu and deactivate Set Flexible Size.
  • Drag to move: You can click into the empty space and drag the panel to any of the four edges of the screen.
  • Remove this panel: Removes the current panel and all widgets in it.
  • Height (for horizontal panel)/Width (for vertical panel): Allows the panel height or width to be adjusted. To change the width of a horizontal panel or the height of a vertical panel, use the arrows.
  • More Options: Opens additional settings for the panel (see next section).

The "More Settings" Menu

  • Panel Alignment: Allows the alignment of the panel to be set in three pre-set positions.
    • Left/Top
    • Center
    • Right/Bottom
  • Visibility
    • Always Visible: Keeps the panel visible at all times, even when windows are maximised.
    • Auto Hide: Hides the panel off screen until the mouse is placed near the screen edge.
    • Windows can cover: This allows windows to cover the panel and if maximised, will cover the panel.
    • Windows go below: This allows windows to go below the panel, even when maximised.
  • Opacity
    • Adaptive: Makes the panel opaque when any windows are touching it, and translucent otherwise.
    • Opaque: Makes the panel always opaque,
    • Translucent: Makes the panel always translucent.
  • Maximize Panel: Makes the panel fit to the screen edges, if it has been resized.
  • Floating Panel: Adds some margin around the panel when no windows are touching it.
  • Remove Panel: Deletes the panel.
  • Shortcut: Allows you to set a shortcut to focus the panel when it is not currently visible.

Adding 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:

Screenshot showing a desktop with multiple panels: a floating centered vertical panel with an application launcher and icons-only task manager, and a second panel placed horizontally at the top of the screen with global application menu, system tray, and clock.

To add a new panel either click on the desktop toolbox button and select Add Panel or open the context (right click) menu on the desktop and select Add Panel 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: Default Panel, which creates a Panel containing all of the default widgets (launcher, pager, tasks, system tray, clock, etc.), and Empty Panel, which adds a blank Panel without any pre-configured widgets in it.

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.

Info needed

Here the relevant section of plasma-desktop-appletsrc for a default panel containment should go. Please help us provide the info if you know anything about this.