You are not logged in.
Pages: 1
My mother-in-law is using bunsenlabs with a user-friendly desktop for a non-techy user (I can't remember but it's Mate or Cinnamon). I would like to put a button on the desktop so she can do a 1-click apt-get update && apt-get upgrade. Can someone guide me on how to do that? I have tried searching the web for answers. Thanks
Offline
You may be interested in enabling unattended-upgrades instead, Debian 9 (stretch) has this running by default:
sudo apt install unattended-upgrades
For Debian 8 (upon which BunsenLabs is based), it also needs to be activated:
https://wiki.debian.org/UnattendedUpgra … o-upgrades
If you still want a button then try creating a file in ~/.local/share/applications/upgrade.desktop with the following content:
[Desktop Entry]
Name=upgrade
Comment=Full system upgrade
Exec=x-terminal-emulator -e upgrade.script
Type=Application
Categories=ConsoleOnly;System
Then create another file at ~/bin/upgrade.script with:
#!/bin/sh
sudo apt update
sudo apt upgrade -y
echo Done!
And make it executable:
chmod +x ~/bin/upgrade.script
There should now be an "Upgrade" menu entry in the "System Tools" section
Offline
There is also
sudo apt install muon
which is an update manager (actually for KDE, but works on #BĹ too). It's basically about clicking Check for Updates, Full Upgrade and Apply Changes.
There is a Toolbars menu entry too.
Last edited by martix (2018-02-06 11:27:21)
Offline
Brill - thanks to you both - I will explore these
Offline
I must admit that I'm not sure how "desktop buttons" work in MATE or Cinnamon but you could try copying the file to ~/Desktop/upgrade.desktop and see if that makes it show up there.
Offline
Pages: 1