GPIO rotary volume
- 
					
					
					
					
 Ok, I can report that the script runs and works perfectly! I made the two modifications as the original author suggested to switch line 1 to "!/usr/bin/env python2" and to switch line 25 to "from multiprocessing import Queue". But I have to start the script manually, "./volume-monitor.py" since it doesn't startup with the system. So, IF that was fixed then this would be working perfectly! 
- 
					
					
					
					
 @dh04000 hi 
 The easy way to start it is totouch ~/custom.sh && chmod u+x ~/custom.shand then edit ~/custom.sh to start your python 
- 
					
					
					
					
 So lets assume I have no idea what to add to custom.sh to start up my script. How do I do that? 
- 
					
					
					
					
 @dh04000 just add what you'd usually tyoe on the command line  say saypython /path/to/script.py
- 
					
					
					
					
 @Substring Oh, that seems simple. Thank you.  I'l try it sometime this week/weekend and report how it went. 
- 
					
					
					
					
 
- 
					
					
					
					
 Complete success! The script starts up with the system now! Thanks for the help! 
- 
					
					
					
					
 @dh04000 
 good news , may be to make a complete tutorial ? please ? please
- 
					
					
					
					
 Ok. What form should it be in? A google document, typed into this forum thread, a new forum thread, something else? Also, how do I do those cool code windows? 
- 
					
					
					
					
 @dh04000 @acris the articld could be written directly in the wiki? 
 https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)
- 
					
					
					
					
 In the wiki  
- 
					
					
					
					
 @acris I'm still interested in writing a how-to use this script, but I don't know how to write to the wiki. Can I just send someone a google document with the how-to in it? EDIT: Also @Substring once I wrote the how-to, would you mind checking it with your system since you also have a rotary encoder? 
- 
					
					
					
					
 No problem make google docs and a modo add your document on wiki. 
- 
					
					
					
					
 @dh04000 mine is not plugged hahaha the wiki syntax is farily simple, you even have a WYSIWYG bar to edit 
- 
					
					
					
					
 Done: https://docs.google.com/document/d/15gvyNhxF_knimoVxYE0X3E4Fe1n_DSU06Wli_QtnwxE/pub @Substring @acris @lackyluuk It needs some minor editing work for the wiki. I put comments in blue on what needs to be done. 
- 
					
					
					
					
 I started editing the wiki, but I'm not good at it.... Also, please test those copy/paste instructions. I haven't had a chance to try it on my machine yet. 
- 
					
					
					
					
 
- 
					
					
					
					
 Great !!! thanks a lot @dh04000 
- 
					
					
					
					
 @acris It's not done. I don't know how to add the text box with the script. Also, I want to show how to increase the rate of volume change, and change min and max of the script in the tweaks section. Which I still have to write. Got to test it on my machine first. Also, I need someone to test my instructions and verify that it works as intended. 
- 
					
					
					
					
 @dh04000 you add code in 2 ways (wirks the same on the forum : - either as a "span" lile thisbetween back quotes
- either as a block
 Like thisBetween a pair of triple back quotes. But beware, you must start a new line after each triplet of back quotes. So my block above looks like : 
 3 back quotes without spaces
 Like this
 3 back quotes without spaces
 Please note that on github you can specify which language is used in a code block. You just need to add the language name right after the opening triplet, say :
 3 back quotes python
 Like this
 3 back quotesThe wiki langiage nme is known as markdown, and github has an advanced markdown for code 
- either as a "span" 
 
			
		 
			
		