Deja Dup runs in the morning & hogs my CPU. Is there a way to add a new button to the Ubuntu "power off" menu that will "backup then shut down" in addition to the 'shut down' buttons?
Asked
Active
Viewed 334 times
0
-
Alternative: See https://askubuntu.com/questions/880551/reduce-process-priority-of-built-in-deja-dup-duplicity-process-in-unity for how to assign Deja Dup a lower resource priority so your foreground tasks still get plenty of CPU and don't slow down. – user535733 Mar 15 '21 at 08:52
1 Answers
1
You could create your own little script that runs the backup program, then shuts the computer down. If you then create a .desktop
launcher for it and place that in ~/.local/share/applications
, then an icon for that script will appear in your applications overview. You could then start the backup and shut down from the applications overview.

vanadium
- 88,010
-
Awesome plan. I put the script in an argos extension. so the button is right next to the power off on the header. Thanks! – Mithun Kalan Mar 16 '21 at 09:47
-
Glad I could inspire you. If this answer helped you, then please consider "accepting" it: click the checkmark next to the question. – vanadium Mar 16 '21 at 10:14
-
Update. Got a different ext. https://github.com/PRATAP-KUMAR/Bring-Out-Submenu-of-Power-Off-Logout & then modified it to add a new button that runs a script "deja-dup --backup; shutdown". Right there in the power off menu like i wanted. – Mithun Kalan Mar 16 '21 at 11:18