Make commandline interface available from the xfpanel-switch

Bug #1556737 reported by Shuhao on 2016-03-14
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Xfce4 Panel Profiles
Fix Released
Undecided
Unassigned

Bug Description

First off let me just applaud you for this work. I needed this for a long time but it didn't exists, so I had to hack around with xfce4-panel.xml and such.

My request is not difficult, although some refactoring may be required after looking at the code. The idea is to expose the `load` and `save` command from panelconfig.py in the xfpanel-switch executable. This would avoid the ugly looking expression of:

python3 /usr/share/xfpanel-switch/xfpanel-switch/panelconfig.py load /path/to/config.tar.bz2

Also it brings more certainty that the command line load/save feature is supported.

Revision history for this message
Marius Ghita (marius.ghita) wrote :

I would also like this feature supported by default, for the moment I'll resort to the workaround @Shuhao shared (thanks for that).

Revision history for this message
Gergő (pinter-gergo) wrote :

I would also like this feature. I would like to switch panel configs from script.
Thanks

Revision history for this message
Sean Davis (bluesabre) wrote :
Changed in xfpanel-switch:
status: New → Fix Committed
Sean Davis (bluesabre) on 2018-03-27
Changed in xfpanel-switch:
milestone: none → 1.0.5
Sean Davis (bluesabre) on 2018-03-27
Changed in xfpanel-switch:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers