Author Topic: backbox-update  (Read 3274 times)

weVeg

  • Hero Member
  • *****
  • Posts: 737
    • View Profile
on: September 09, 2013, 06:32:52 PM
Hi devel, someone could check the script "Update" inside menu, after the last upgrade something change and now the launcher need to be improved.
Launching that on terminal (even by menu), the answer is :
Code: [Select]
sudo backbox-update                                                
usage: backbox-update [-h] [-v] [-l] [-a] [-g] [-t TOOL] type
backbox-update: error: too few arguments

Also, speaking about, someone can explain difference between "minimal" and "desktop" please?
« Last Edit: September 09, 2013, 06:44:25 PM by weVeg »

una voce libera è sempre liberatrice
under_r00t


b4d_bl0ck

  • Sr. Member
  • ****
  • Posts: 285
    • View Profile
Reply #1 on: September 09, 2013, 08:58:12 PM
Hi weVeg true... looking around i think menu entry aren't synchronized with the .desktop file.
In /usr/share/applications/backbox-update.desktop there is:
Code: [Select]
Exec=sh -c "sudo backbox-update desktop; ${SHELL:-bash}"that is the nice one, while in the main menu it's:
Code: [Select]
Exec=sh -c "sudo backbox-update; ${SHELL:-bash}"
To fix: MENU -> Settings -> Main Menu select the Update menu entry of the menu and click Properties and in the Command field put:
Code: [Select]
sh -c "sudo backbox-update desktop; ${SHELL:-bash}"
Also looking in apt-cache there are a sort of two meta-packages that provide tools for the distro: backbox-desktop which installs all tools, like the ones with GUI interface, and the more lightweight backbox-minimal which installs just CLI tools.
So the menu entry didn't get updated with the desktop parameter, that is the default for most installations.

---
Edit: If someone is interested, the .desktop file that affects the Update menu entry behaviour is not in the global directory in /usr/share/applications/ but in $HOME/.local/share/applications/. So the same result as above can be obtained editing this file in the field Exec=


Bye!!
See you! ;)
« Last Edit: September 09, 2013, 10:33:03 PM by b4d_bl0ck »

bool secure = check_paranoia() ? true : false;


weVeg

  • Hero Member
  • *****
  • Posts: 737
    • View Profile
Reply #2 on: September 09, 2013, 09:13:00 PM
great!! thanks a lot b4d_bl0ck! Ever helpful!!
See you bro!! =)

una voce libera è sempre liberatrice
under_r00t


ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #3 on: September 10, 2013, 01:20:01 PM
Good "tip" b4d_bl0ck, thanks ! :o


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*