Im using linux and i cannot detect mini DP to use my second screen

Looks like this might be a hybrid graphics notebook (Optimus) so you’ll have to set up PRIME:
https://forums.developer.nvidia.com/t/official-driver-384-59-with-geforce-1050m-doesnt-work-on-opensuse-tumbleweed-kde/52620/2?u=generix