ev3dev.github.io icon indicating copy to clipboard operation
ev3dev.github.io copied to clipboard

Add tutorial: setting-up Bluetooth - PulseAudio

Open BertLindeman opened this issue 11 years ago • 12 comments

Probably needs more work, but this is a good stage to ask for comments. On Windows the tutorials page did not look OK: tutorial_on_win7

But that could well be a jekyll on win artefact.

BertLindeman avatar Nov 17 '14 21:11 BertLindeman

But that could well be a jekyll on win artifact.

If you have not recently, run bundle update. Also, it should be serving over http://, not file://

dlech avatar Nov 18 '14 05:11 dlech

This is not very readable as-is, so I will let you clean it up a bit based on my comments and then have a look at it again.

dlech avatar Nov 18 '14 05:11 dlech

I assUme commit 5565cd7 is included as the diffs above are marked "outdated"

The format of the output of 'pactl list cards' is horrible on windows but in github OK, but the numbered list restarts after this output. It should not. There is probably more formatting not completely correct. Thanks David.

BertLindeman avatar Nov 18 '14 13:11 BertLindeman

GitHub and GitHub pages use different markdown engines, so it is possible that there are some differences. If things are still looking horrible on windows, they probably will look horrible everywhere. Be sure you are following the instructions from here to preview on Windows. Also, you can create a gh-pages branch in your fork of this repo and see what it will actually look like on the web (should be the same as viewing locally if you are doing it right).

dlech avatar Nov 18 '14 17:11 dlech

This should help: http://kramdown.gettalong.org/syntax.html

dlech avatar Nov 18 '14 17:11 dlech

@BertLindeman

But that could well be a jekyll on win artefact.

From your screenshot, it doesn't look like you are looking at it from the server. The path in the address bar is a "file://" URI, which will just retrieve raw page content (without styles). Open the server (usually http://localhost:4000/) and it should work better, assuming you have the server running.

WasabiFan avatar Nov 18 '14 19:11 WasabiFan

@dlech @WasabiFan Thanks for all the tutorial and guiding. Updated formatting Changed bluetoothctl into brickman

BertLindeman avatar Nov 18 '14 21:11 BertLindeman

I just learned something new. It appears that in kramdown, when using ordered lists the indent depends on where the text after the number starts, so it may not necessarily be a multiple of 4. I was noticing that under numbered items, the code blocks had one or 2 leading spaces.

I would like to keep the indents a multiple of 4, so the way to fix this is to add an extra space between the number and the text if the number is a single digit. Like so...

1.  Some text...
    If there more than one line, it is indented the same.
    ^
123456789
        v
        This is a code block

I added the numbers and "arrows" to make it easier to see how many spaces there are.

dlech avatar Nov 19 '14 17:11 dlech

At the moment I wonder if the BT-keyboard tutorial in ev3dev is indeed an enhancement. A pointer to https://wiki.archlinux.org/index.php/bluetooth_keyboard may be enough. What do you think?

BertLindeman avatar Nov 21 '14 20:11 BertLindeman

The Arch wiki page is way too much info. You just set you keyboard to discoverable, then pair it and connect using brickman. That's it.

dlech avatar Nov 21 '14 23:11 dlech

OK, Let me start on it. I do not have a BT-keyboard. So I will re-use some Brickman screens. It will probably take a few days as I need to do other things :-(

BertLindeman avatar Nov 22 '14 06:11 BertLindeman

Please verify the BT keyboard procedure, I do not have one to test this with :-(

BertLindeman avatar Nov 23 '14 22:11 BertLindeman