Skip to content

Feature idea: xfconf-profile export #1

@ledif

Description

@ledif

xfconf-profile export profile.json could create a shell script containing xfconf-query commands to replicate the profile. This could be useful to send a simple shell script that an Xfce user that does not have xfconf-profile installed can use.

This would also provide a interoperability for those already using jamescherti/watch-xfce-xfconf.

Full round trip testing would look something like:

Script to profile

Consider a script called profile-export.sh containing xfconf-query --set commands.

  1. Run xfconf-profile record in one shell
  2. Open another shell and run ./profile-export.sh.
  3. In the original shell running xfconf-profile record, hit Ctrl-C. This will dump a JSON profile both to the screen and to the current directory called recorded-profile.json.

Profile to script

You would be able to directly using the export command:

xfconf-profile export profile.json > profile-export.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions