You are not logged in.
Pages: 1
Just found out about package-update-indicator and read in this thread that gnome-packagekit is required to use the full functionality, which might be true for out-of-the-box funtionality but there is an option in preferences to run a custom command for applying updates.
I changed it to /usr/bin/xfce4-terminal which opens the terminal when I click "Install updates". So far so good, but how can I make it open the terminal and run sudo apt upgrade?
Offline
A bit more universal:
x-terminal-emulator -e 'sudo apt upgrade'
The x-terminal-emulator alternative should point to the default emulator, which will be xfce4-terminal in an Xfce system. Using the alternative allows the command to work for all desktops regardless of the specific terminal emulator in use.
Brianna Ghey — Rest In Power
Offline
Thank you aitor! Looking forward for updates rolling in.
Offline
A bit more universal:
x-terminal-emulator -e 'sudo apt upgrade'
The x-terminal-emulator alternative should point to the default emulator, which will be xfce4-terminal in an Xfce system. Using the alternative allows the command to work for all desktops regardless of the specific terminal emulator in use.
Thank you, very helpful!
Offline
Pages: 1