Xfce Wiki

Sub domains
 

xfce4-panel-profiles - Panel Profiles

Introduction

Xfce Panel Profiles (xfce4-panel-profiles) is an application for managing Xfce panel layouts.

Due to its inherent flexibility and modularity, Xfce Panel provides the user the ability to create a variety of panel layouts. xfce4-panel-profiles makes it possible to backup, restore, import, and export these panel layouts.


GUI Usage

The application's main window displays a two column table. On the left side, are the profile configuration's name (Filename). One the right is the last modification time (Date Modified). Click on a column header to sort the list. The list always includes the current configuration, the remaining entries are either default profiles provided by the operating system, or profiles and backups saved by the user.

Panel Profiles Window
xfce4-panel-profile Window

To perform any actions, first select the appropriation profile configuration. Nex, select an action button on the bottom toolbar. The available tasks, from the left to right are:

Applying a configuration
To apply the selected configuration, click Apply Configuration button. A confirmation dialog will open: check Make a backup of the current configuration to save the current configuration before replacing it. The configuration will be immediately applied to the panel.

Panel Profiles Apply Configuration Window
xfce4-panel-profile Apply Configuration Window

The old current configuration will be lost if you apply a different configuration without making a backup!
Saving a configuration
To make a backup of the selected configuration, click Save Configuration button. This will open a dialog box, create a name for the copied configuration (by default Backup_ followed by the current date and time).

Panel Profiles Save Configuration Window
xfce4-panel-profile Save Configuration Window

Custom saved configurations are usually stored in ~/.local/share/xfce4-panel-profiles.
Removing a configuration
To remove the selected configuration, click Remove Configuration button. Only custom user profiles can be removed.
Removed configurations cannot be restored!
Exporting a configuration
To export the selected configuration, click Export button. This will open a dialog box allowing the naming of the file and specifying its location. The configuration is saved as a .tar.bz2 archive. If the file already exists, a prompt dialog will ask to confirm before overwriting it.

Panel Profiles Export Configuration Window
xfce4-panel-profile Export Configuration Window

Importing a configuration
To import a previously exported configuration, click Import button. This will open a file chooser dialog to allow the selection of the configuration to be imported, then a dialog to create a name for the profile.

Back To Top


Command Line Usage

Panel profiles provides two command line arguments that allow the loading and activation of a panel profile or saving the current configuration.

xfce4-panel-profiles <load|save> <file>

If you launch xfce4-panel-profiles without any command, it launches the graphical user interface (see GUI Usage). Use --version to print the version and --help to show the usage.

When saving, the archive format depends on the file extension: .tar.bz2 creates a bzip2-compressed archive, .tar.gz a gzip-compressed archive, and any other extension an uncompressed tar archive. When loading, the format is detected automatically.

If an error occurs, an error message is printed and the program exits with status 1.

Examples

Save current configuration to current-config.tar.bz2:

xfce4-panel-profiles save current-config.tar.bz2

Load and apply previously saved configuration:

xfce4-panel-profiles load current-config.tar.bz2
The save command writes the file to the given path (relative paths are resolved from the current working directory) and overwrites an existing file without asking for confirmation!

Back to Top


Required Packages

xfce4-panel-profiles depends on the following packages:

At build time the runtime dependencies are checked by default. To skip this check, for example when packaging, set the meson option check-runtime-dependencies to false. You can choose which Python interpreter to use with the meson option python-path. For example:

meson setup build -Dcheck-runtime-dependencies=false -Dpython-path=/usr/bin/python3

For current version requirements of Xfce components, see the dependency version list on the developer wiki. For the exact required or minimum versions, see the meson.build file in the source code repository or in the release tarball.


Latest Release

  • xfce4-panel-profiles 1.1.1 released (2025/05/22 08:55)

Read the CHANGELOG

Back to Top


Source code repository

Reporting Bugs

  • Reporting Bugs – List of currently open bugs and instructions on how to submit new bug reports

Back to Top


Back to Xfce Main Documentation Page