Re: Re: Only Download Packages via Wi-Fi if Total Download Size Over 100 MB

2019-06-24 Thread Bagas Sanjaya
So in summary: - If NetworkManager is used, mark any connections other than Wi-Fi as metered (as suggested by Ryan Nowakowski) - Write helper script for apt that check for total download size, and if it exceeds 100 MB, prompt whether download via Wi-Fi or continue using current (non-Wi-Fi) c

Re: Only Download Packages via Wi-Fi if Total Download Size Over 100 MB

2019-06-22 Thread David Wright
On Sat 22 Jun 2019 at 19:32:20 (+0700), Bagas Sanjaya wrote: > In Android (Google Play), when a user is about to download application which > its size is over 100 MB, a message is > displayed whether the application is about to be downloaded only via Wi-Fi or > continue using mobile data. > > Ho

Re: Only Download Packages via Wi-Fi if Total Download Size Over 100 MB

2019-06-22 Thread Ryan Nowakowski
You'll need to mark your connection as metered in NetworkManager assuming you're using that as a connection manager. I'm not sure if apt queries that metered status though. On June 22, 2019 7:32:20 AM CDT, Bagas Sanjaya wrote: >Hello Debian Users, > >In Android (Google Play), when a user is abo

Only Download Packages via Wi-Fi if Total Download Size Over 100 MB

2019-06-22 Thread Bagas Sanjaya
Hello Debian Users, In Android (Google Play), when a user is about to download application which its size is over 100 MB, a message is displayed whether the application is about to be downloaded only via Wi-Fi or continue using mobile data. How can I configure the similar feature on apt, that