2

I'm trying to enable debug in appcenter to figure out why mine has the updates page empty. I saw the option -d in App Center from command line, but where the debug logs are saved?

Thanks.

1

1 Answer 1

2

AppCenter is always ran on startup with a "silent" argument (appcenter --silent) which makes it not show the window, silently load the database and update the cache to e.g: show the notification to the user that there are updates available.

When you're launching appcenter from command line when a silent instance is already running, you are simply invoking the GLib.Application.activate () method on the existing instance which is not really what you want in this case. See: http://bazaar.launchpad.net/~elementary-apps/appcenter/appcenter/view/head:/src/Application.vala#L97

You can just kill the current instance with killall appcenter and start debugging it with appcenter -d, gdb appcenter or whatever you are using to do so.

2
  • Great! Thanks! I'll try to execute with -d and see if i can figure out why the updates page are still empty.
    – dilguis
    Commented Feb 17, 2017 at 23:43
  • I'm also trying to do this, but the command appcenter is not found.
    – TheLabCat
    Commented Apr 26, 2022 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.