xfce4-panel-profiles - Panel Profiles


Introduction

Xfce Panel Profiles (xfce4-panel-profiles) is a simple application to manage Xfce panel layouts.

With the modular Xfce Panel, a multitude of panel layouts can be created. This tool makes it possible to backup, restore, import, and export these panel layouts.


GUI Usage

Panel profiles main window shows a two columns table: on the left there is the configuration's name (Filename), at the right the last modification time (Date Modified). Click on a column header to sort the list. The list always includes the current configuration, the other 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, you need to first select the configuration that you want to consider. Then you can select a button on the bottom toolbar. The available tasks, from the left to right are:

Apply a configuration
You can apply the selected configuration, if you 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 instantly 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!
Save a configuration
You can make a backup of the selected configuration, if you click Save Configuration button. It will open a dialog, you can insert 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.
Remove a configuration
You can remove the selected configuration, if you click Remove Configuration button. Only custom user profiles can be removed.
Removed configurations cannot be restored!
Export a configuration
You can export the selected configuration if you click Export button. It will open a dialog to allow you to insert the file name and the location. The configuration is saved as a .tar.bz2 archive. If the file already exists, you will be asked to confirm before overwriting it.

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

Import a configuration
You can import a previously exported configuration if you click Import button. It will open a file chooser dialog to allow you to select the configuration you want to import, then a dialog to insert a name for it.

Back To Top


Command Line Usage

Panel profiles provides two command line commands that allow you to load and activate a panel profile or save 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

Read the CHANGELOG

Back to Top


Source code repository

https://gitlab.xfce.org/apps/xfce4-panel-profiles


Reporting Bugs

Back to Top


Back to Xfce 4.22 Main Documentation Page