Enlever le mot de passe pour des entrées :
Ajouter --unrestricted aux menuentry qu'on veut laisser disponible dans /boot/grub/grub.cfg
install dependencies :
sudo apt-get install qmake qt5-default libqt5x11extras5-dev libxmu-dev libxpm-dev
Lancer un programme docké :
kdocker -q thunderbirdThe pi can't draw more than 1A due to a fuse stopping the board drawing more than that. So how big a battery you need really depends on how long you want it to run. If you have a 500mAh battery, that will output 500mA (0.5A) for one hour, or 1000mA (1A) for half an hour. Similarly, a 2000mAh battery will give you 2000mA (2A) for one hour or 1000mA (1A for two hours). So really it's up to you, your battery, and your budget.
In the onCreateView
setDialog().setOnShowListener(new DialogInterface.OnShowListener() {
@Override
public void onShow(DialogInterface dialog) {
BottomSheetDialog d = (BottomSheetDialog) dialog;
FrameLayout bottomSheet = (FrameLayout) d.findViewById(R.id.design_bottom_sheet);
CoordinatorLayout coordinatorLayout = (CoordinatorLayout) bottomSheet.getParent();
BottomSheetBehavior bottomSheetBehavior = BottomSheetBehavior.from(bottomSheet);
bottomSheetBehavior.setPeekHeight(bottomSheet.getHeight());
coordinatorLayout.getParent().requestLayout();
}
});