~~NOTOC~~
{{ :apps:xfce4-panel-profiles.png?nolink|}}
====== xfce4-panel-profiles - Panel Profiles ======
* **[[#Introduction|Introduction]]**
* **[[#GUI Usage|GUI Usage]]**
* **[[#Command Line Usage|Command Line Usage]]**
* **[[#Required Packages|Required Packages]]**
* **[[#Latest Release|Latest Release]]**
* **[[#Source Code Repository|Source Code Repository]]**
* **[[#Reporting Bugs|Reporting Bugs]]**
----
===== 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.
{{:apps:xfce4-panel-profiles:4.22:xfce4-panel-profiles-window.png|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 {gui>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.
{{:apps:xfce4-panel-profiles:4.22:xfce4-panel-profiles-apply-window.png|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 {gui>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).
{{:apps:xfce4-panel-profiles:4.22:xfce4-panel-profiles-save-window.png|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 {gui>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 {gui>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.
{{:apps:xfce4-panel-profiles:4.22:xfce4-panel-profiles-export-window.png|xfce4-panel-profile Export Configuration Window}}
? Import a configuration
! You can import a previously exported configuration if you click {gui>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
If you launch ''xfce4-panel-profiles'' without any command, it launches the graphical user interface (see [[#GUI Usage|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:
* [[https://www.python.org|Python 3]]
* [[https://pygobject.gnome.org|PyGObject]] (''python3-gi'')
* [[https://github.com/giampaolo/psutil|psutil]] (''python3-psutil'')
* [[https://docs.gtk.org/glib/|GLib]]
* [[https://www.gtk.org|GTK]] 3
* [[https://gitlab.xfce.org/xfce/libxfce4util|libxfce4util]] (with GObject introspection data)
* [[https://gitlab.xfce.org/xfce/libxfce4ui|libxfce4ui]] (with GObject introspection data)
* [[https://gitlab.xfce.org/xfce/xfconf|Xfconf]] (accessed at runtime via D-Bus)
* [[https://gitlab.xfce.org/xfce/xfce4-panel|xfce4-panel]]
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 [[https://wiki.xfce.org/releng/4.22/roadmap#changes_in_dependencies|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 =====
{{rss>https://archive.xfce.org/feeds/project/xfce4-panel-profiles 1 date 2h}}
[[https://gitlab.xfce.org/apps/xfce4-panel-profiles/-/blob/master/NEWS|Read the CHANGELOG]]
* **[[https://archive.xfce.org/src/apps/xfce4-panel-profiles/|Download current release]]** (older versions of this component are also available here)
[[|Back to Top]]
----
===== Source code repository =====
[[https://gitlab.xfce.org/apps/xfce4-panel-profiles]]
----
===== Reporting Bugs =====
* **[[:apps:xfce4-panel-profiles:bugs|Reporting Bugs]]** -- List of currently open bugs and instructions on how to submit new bug reports
[[|Back to Top]]
----
[[:4.22:start|Back to Xfce 4.22 Main Documentation Page]]