Plasma/Panele

    From KDE UserBase Wiki
    This page is a translated version of the page Plasma/Panels and the translation is 13% complete.
    Outdated translations are marked like this.

    Panele w Plasma Desktop

    Panel in configuration mode with More settings-submenu open.

    Panel jest zasobnikiem dla widgetów, który może być umieszczony po każdej stronie pulpitu. Można także umieszczać kilka paneli po tej samej stronie. W domyślnym układzie jest jeden panel, który rozciąga się po całej dolnej krawędzi pulpitu, z następującymi widgetami: menu aktywatorów aplikacji, pager pulpitowy, menedżer zadań (lista otwartych okien), tacka systemowa, menedżer urządzeń oraz zegar. Jeśli używasz laptopa, netbooka, albo innego komputera, który używa baterii pojawi się także widget monitora baterii na panelu. Na końcu panela znajduje się przycisk skrzynki narzędziowej, który może być uruchomiony, aby uzyskać dostęp do opcji konfiguracyjnych.

    Konfiguracja

    Panel może być konfigurowany poprzez kliknięcie na skrzynce narzędziowej, która znajduje się na dole po prawej stronie na panelu poziomym lub pionowym. Na ten czas panel będzie w trybie konfiguracji. Konfiguracja panela może się również odbywać poprzez menu kontekstowe, po kliknięciu prawym przyciskiem myszy na panelu.

    Panel in configuration mode with More settings-submenu open

    Widgety w panelu mogą być sortowane, poprzez przeciąganie ich w trybie konfiguracji. Widgety wyrównywane są do lewej w poziomie i do góry w pionowej pozycji panela.

    Skrzynka narzędziowa Panela

    • 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.
    • Dodaj elementy...: Umożliwia dodawanie widgetów do panela.
    • 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.
    • Skraj ekranu: Pozwala przeciągnąć panel do każdej z czterech krawędzi ekranu.
    • Remove this panel: Removes the current panel and all widgets in it.
    • Wysokość (dla poziomych paneli): Pozwala na regulację wysokości panela.
    • 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.