Is it possible to configure either LightDM or GDM to automatically log in when my laptop is connected to a certain WiFi? Or even better, to check my location regardless of what WiFi I use?

  • No idea, but it sounds like something you would use udev rules for - something I haven't explored yet. You could possibly write a small program and run it as a daemon as part of your startup. It could watch for the wifi connection to become active. The next problem would be what to do about your passwords. You don't want them stored in the clear anywhere and if they end up on the command line, they will be visible in history. – Joe Jul 30 '15 at 2:50

I'm going to answer the question about the Bluetooth functionality that you put in the title. I don't understand how the remainder of your question about WiFi relates to that.

You can use BlueProximity to lock and unlock you desktop when a certain paired Bluetooth device is in range. Here is an article about BlueProximity on the Ubuntu forums from 2008.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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