Last active
October 25, 2015 20:19
-
-
Save Fordi/0c1c643fe17edd21d1d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: If you have Xming installed, this will get you connected to your Raspberry Pi, and will start blueman-manager, | |
:: thereby enabling you to pair bluetooth like a civilized human being | |
:: Remember to close the X Server from the system tray when you're done. | |
set XMING_HOME=C:\Program Files (x86)\Xming | |
set PI_HOST=raspberry | |
set PI_USER=pi | |
set PI_PASS=raspberry | |
cd %XMING_HOME% | |
start "Xming" /B "%XMING_HOME%\xming.exe" -from localhost -multiwindow | |
"%XMING_HOME%\plink.exe" -batch -ssh -2 -t -X -C %PI_USER%@%PI_HOST% -pw %PI_PASS% gksudo blueman-manager |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment