Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-01-15 17:38:59

h.wurst
Member
Registered: 2020-11-20
Posts: 24

[SOLVED] xfce4-timer-plugin, how to backup and recreate the alarms?

hi there,

i use xfce4 with arch linux.
I have added a second xfce4-timer-plugin to my panel (at the bottom) and tried to copy the alarms (i have made over 20 alarms) from the first xfce4-timer-plugin
(at the top) located in "/home/USER/.config/xfce4/panel/xfce4-timer-plugin-2.rc" to the *.rc file of the new xfce4-timer-plugin.

But that does not work. Every time i restart or login into a new session the empty *.rc (without the copied alarms) is recreated.
The new xfce4-timer-plugin does not show the alarams i have copied into the *.rc file.

Where is the *.rc file or config file for the xfce4-timer-plugin located?
Or how can i save and reproduce my 20+ alarms?

This is also interesting regarding the backupf of the "/home/USER/.config/xfce4/*" folder.
I thought i can recreate the xfce4 configs by saving this local config folder, but it seems that would not be working.

Last edited by h.wurst (2024-01-15 18:10:43)

Offline

#2 2024-01-15 17:58:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] xfce4-timer-plugin, how to backup and recreate the alarms?

You can't replace or manually edit the rc files while xfce4-panel is running. Its in-memory settings will always overwrite what you've manually changed in the file when it is shutting down. To accomplish what you are looking to do, follow a procedure like this:

  1. Create new timer plugin instance

  2. Save the current panel and plugin settings to disk:

    xfce4-panel -s
  3. Quit the panel:

    xfce4-panel -q
  4. Make the manual changes (or copy over the other rc file being mindful of the filenames)

  5. Restart xfce4-panel:

    xfce4-panel &

Edit: important note, this only works with those plugins that still use rc files to store configuration settings. Those that have migrated to xfconf will require a slightly different procedure.

Last edited by ToZ (2024-01-15 18:00:21)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2024-01-15 18:00:39

h.wurst
Member
Registered: 2020-11-20
Posts: 24

Re: [SOLVED] xfce4-timer-plugin, how to backup and recreate the alarms?

Thanks, i will try that from my debian system, which is on another partition.

EDIT:
Worked, THANK YOU.

Last edited by h.wurst (2024-01-15 18:10:26)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 8 queries executed - Memory usage: 524.79 KiB (Peak: 525.63 KiB) ]