LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-17-2018, 08:59 PM   #16
Uueez
LQ Newbie
 
Registered: Jan 2018
Posts: 1

Rep: Reputation: Disabled
Script help


I’m new to most of this. Where do I put the script mentioned so the sudo python3... command is able to find it?
 
Old 01-18-2018, 07:37 AM   #17
pitcrawler
LQ Newbie
 
Registered: Mar 2016
Posts: 9

Rep: Reputation: Disabled
You should be able to put both of the files wherever you like. If you look at the start_shanwan.sh file on github, it has the line: "SCRIPT_PATH=/opt/ShanWanTwin_2-4Ghz_Linux/shanwan-joystick.py"
You can either create the ShanWanTwin_2-4Ghz_Linux folder in /opt/ or just change that line to wherever you want to put the script.

You can put the start_shanwat.sh script wherever you want as well. I have mine in my /home/pi folder.

If you're running retropie/raspbian you can then edit the /etc/rc.local file to allow it to run on startup.
See these instructions: https://thepihut.com/blogs/raspberry...ething-on-boot
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Head, Twin view, separate X window - things you can do with multi displays MonsterMaxx Linux - Newbie 24 10-18-2008 01:04 AM
LXer: Twin Brothers of Separate Mothers LXer Syndicated Linux News 0 05-07-2008 09:41 AM
plugging in two gamepads DJOtaku Linux - Games 6 11-28-2006 07:46 AM
Separate Wallpaper in Twin View fredmt Linux - General 1 08-28-2005 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration