User Tools

Site Tools


creator.py

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
creator.py [2020/12/31 20:01] renocreator.py [2021/01/04 14:02] (current) reno
Line 25: Line 25:
 In this option you enter in what brewer will be in use on this computer. In this option you enter in what brewer will be in use on this computer.
 Enter in the # of brewer on this computer, then enter the 3 digit serial number being used. Enter in the # of brewer on this computer, then enter the 3 digit serial number being used.
 +
 </hidden> </hidden>
  
Line 32: Line 33:
  
 Upon entering this option, it'll bring you back to the main menu as if nothing has happened. This is normal. Two files will be re-created/written over. //rsync.sh// and //rsync-all.sh// in side the schedule_task directory.  Upon entering this option, it'll bring you back to the main menu as if nothing has happened. This is normal. Two files will be re-created/written over. //rsync.sh// and //rsync-all.sh// in side the schedule_task directory. 
 +
 </hidden> </hidden>
 <hidden ===== 3. Set new usb name for the brewers =====> <hidden ===== 3. Set new usb name for the brewers =====>
Line 56: Line 58:
   - Enter the name you would like to rename it to.   - Enter the name you would like to rename it to.
   - You'll be returned back to the main menu. Repeat step 3-7   - You'll be returned back to the main menu. Repeat step 3-7
 +
 </hidden> </hidden>
 <hidden ===== 4. Setup dosbox config =====> <hidden ===== 4. Setup dosbox config =====>
Line 65: Line 68:
 Please enter the USB name that is being used for Br#xxx: Please enter the USB name that is being used for Br#xxx:
 </konsole> </konsole>
-This option will automatically rewrite the current dosbox config (I.E. BrewCom1-###.conf). Upon entering the the option, you'll be asked to enter in the com port that the specific brewer is using.</hidden>+This option will automatically rewrite the current dosbox config (I.E. BrewCom1-###.conf). Upon entering the the option, you'll be asked to enter in the com port that the specific brewer is using. 
 + 
 +</hidden> 
 + 
 +<hidden ===== 5. Setup auto start script=====> 
 +**Requirement:** None 
 + 
 +<konsole> 
 +Pick an option. 
 +1. Add a new auto start script 
 +2. View an auto start script 
 +3. Delete an auto start script 
 +4. Return to main Menu 
 +</konsole> 
 +This option will assist you in creating a new auto start script for Linux Mint. There are already a few ready to go scripts. To access these, enter 1 (Add a new auto start script) and the following as the name 
 +  - **vnc**: This will automatically create the script to start the vnc server on computer startup. 
 +  - **clock**: This will automatically start the clock on computer startup. 
 +  - **br#xxx**: This will create a script to startup the brewer dosbox on computer startup. To get to this option, the first two letters of the name must be //br//. Afterwards you will be asked to enter the serial number of the brewer. Enter the 3 digit serial number (I.E. 026). afterwards, it'll bring you back out to the main menu with the script created. 
 +  - **autossh**: This will create a script to startup autossh tunnel. Once this is picked, enter the local port you wish to forward (22 for SSH, 5900 for VNC), then enter the port you wish to forward to. 
 + 
 +</hidden> 
 +<hidden ===== 6. Setup smb =====> 
 +**Requirement:**  
 +  * Run the python script with sudo 
 +  * Have Samba installed (This should of been part of the [[software_setup|computer setup]]) 
 +<konsole> 
 +Please make sure you have installed samba. 
 + Type y if you have installed samba already: y 
 +Did you launch this with sudo? y/n: y 
 +</konsole> 
 +You will be prompt to confirmed samba is installed and the python script launched with sudo. This will automatically add //~/brews// as a shared folder by modifying the smb.config. (This only needs to be done once  
 +during the initial computer setup.) 
 +</hidden> 
 +<hidden ===== 7. Shortcuts creator =====> 
 +**Requirements:** 
 +  * Complete Option 1 
 + 
 +<konsole> 
 +1. Create brewer dosbox shortcuts 
 +2. Create clock shortcut 
 +3. Create brewcmd shortcut 
 +4. Return to menu 
 +</konsole> 
 +  - Creates the brewer dosbox shortcuts for the brewers setup in option 1 
 +  - Creates the shortcut to launch the clock 
 +  - Create the shortcut to launch brewcmd via wine 
 + 
 +</hidden> 
  
  
creator.py.1609444918.txt.gz · Last modified: 2020/12/31 20:01 by reno