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.
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 |
|---|
|
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:
| Panel Profiles Apply Configuration Window |
|---|
|
Backup_ followed by the current date and time).
| Panel Profiles Save Configuration Window |
|---|
|
~/.local/share/xfce4-panel-profiles.
.tar.bz2 archive. If the file already exists, you will be asked to confirm before overwriting it.
| Panel Profiles Export Configuration Window |
|---|
|
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.
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
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!
xfce4-panel-profiles depends on the following packages:
python3-gi)python3-psutil)
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.