Skip to main content

A command-line tool that can help you to configure XFCE 4 programmatically

Project description

watch-xfce-xfconf - Automate XFCE Configuration!

Introduction

The command-line tool watch-xfce-xfconf, written by James Cherti, allows displaying and watching the xfconf-query commands of all the XFCE 4 Xfconf settings that are being changed by XFCE programs like xfce4-settings-manager, thunar, catfish, ristretto, among others.

The watch-xfce-xfconf command-line tool is especially useful for users who want to replicate XFCE 4 settings on several computers.

What is xfconf-query?

The xfconf-query command-line tool allows retrieving, modifying, and creating XFCE 4 Xfconf settings, such as the desktop background, panel preferences, window decorations, window manager settings, and more.

How can xfconf-query commands help automate the configuration of XFCE 4?

By displaying the xfconf-query commands, watch-xfce-xfconf allows to easily create a Shell script that can be used to automate the configuration of XFCE 4, which provides several benefits:

  • It saves time and effort by eliminating the need to manually adjust settings on each individual machine,
  • It reduces the risk of errors and inconsistencies that may arise from manually configuring settings on different machines,
  • Finally, it allows focusing on other important tasks rather than spending time configuring XFCE 4 manually.

Installation

The watch-xfce-xfconf command-line tool can be installed locally, in ~/.local/bin/watch-xfce-xfconf, using pip:

pip install --user watch-xfce-xfconf

Usage

Run xfce4-settings-manager in the background:

xfce4-settings-manager &

After that, execute watch-xfce-xfconf:

~/.local/bin/watch-xfce-xfconf

Once you begin modifying XFCE 4 settings using xfce4-settings-manager, watch-xfce-xfconf will automatically display the corresponding xfconf-query commands in the terminal. These xfconf-query commands can be easily copied and pasted into a Shell script, allowing for quick and efficient automation of XFCE 4 configuration across multiple machines.

Features

  • Parses XML files that are located in the directory: ~/.config/xfce4/xfconf/xfce-perchannel-xml/,
  • Monitors changes in XFCE 4 settings / Xfconf,
  • Displays xfconf-query commands,
  • Supports the following Xfconf types: uint, int, string, bool, array, double.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

watch-xfce-xfconf-1.0.5.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

watch_xfce_xfconf-1.0.5-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file watch-xfce-xfconf-1.0.5.tar.gz.

File metadata

  • Download URL: watch-xfce-xfconf-1.0.5.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for watch-xfce-xfconf-1.0.5.tar.gz
Algorithm Hash digest
SHA256 4b7404bc8e490362296a1ed1dc2f4347adf4d634b292b3b2035bd44080a6ad6c
MD5 5aa01fb8c9d4eed322e62c0a087f83ca
BLAKE2b-256 a82f0619c67a6fcde500681dc818910abea5ce931c4d667b444d0cbc1171c064

See more details on using hashes here.

File details

Details for the file watch_xfce_xfconf-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for watch_xfce_xfconf-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 220c9c5c9bb94307831e8dbfa2af50afebdd9d1f97b3af30c2699b043f3aae27
MD5 b1258db732144eab4011e7a45b49df41
BLAKE2b-256 5eed4d8c87e8559b4e6cce82b4646ae505947255ed30f04d687acbce1ef982dc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page