New Life Games LLC
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News:

Welcome to the NewLifeGames.com message forum! 

 


NLG Site Navigation Menu


Archives of old posts can be found at...... Newlifegames.net/nlg/

Author Topic: Any Ubuntu Gurus out there?? Help! Pinbox / Nucore autostart  (Read 4701 times)

0 Members and 1 Guest are viewing this topic.

Offline Harvs

  • Think!, While it's still legal...
  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 1988
  • Reputation Power: 167
  • Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!
  • Gender: Male
  • NLG
Any Ubuntu Gurus out there?? Help! Pinbox / Nucore autostart
« on: January 03, 2016, 03:51:32 PM »
So, I am running Nucore/Pinbox to run my Star Wars Episode 1 pinball machine while my factory CPU is being repaired. All works fine except having to type in 'restart' in the LXterminal after the failed autostart of the game. This is a well known issue on pinball forums, but the fix a few people have mentioned is doubling up a command in the autostart.sh file, and the explanation on code to type is not there .. So my question..

Is there a simple way to make a command to 'restart' the program for me so I don't have a mouse and keyboard hanging off my pinball machine.., OR, can someone explain how to view, edit and save in the autorun.sh file?

Running Ubuntu 10.04 btw.

Link to the fix here:
https://pinside.com/pinball/forum/topic/linuxubuntu-gurus-please-help-me

Willing to pay 1,000,000 for the answer to this.  :cool_thumb_up:


« Last Edit: January 03, 2016, 08:13:32 PM by Harvs »

Offline rickhunter

  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 7511
  • Reputation Power: 445
  • rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!
  • Gender: Male
  • I Void Warranties.
Re: Any Ubuntu Gurus out there?? Help!
« Reply #1 on: January 03, 2016, 07:30:41 PM »
From what I read the autostart.sh file is created when you install pinbox and it is located in the path /root/pinbox/scripts.  So to edit this file, if you don't have a GUI shell at the linux shell:


cd /root/pinbox/scripts
vi ./autostart.sh


This will load the file into a VERY primitive text editor, but all linux releases have it, so it's the one I use all the time.  so if you want to add stuff to the file, then navigate to the last line and the last character on the line and hit "Shift-A" and it will append to the end of the file.  Hit return and type your new line.  Then hit "ESC" type ":wq!" this will write and quit the editor.  If you want to view your new file, then type more ./autostart.sh


You can google "linux vi" and it will tell you all the commands for the editor.  Hope this helps.


It is best to be in elevated root user when editing these files, unless the default users has r/w permissions.
If you find the site helpful, consider becoming a contributing member.  It pays for costs and keeps this site alive.  I do not respond to requests for private, one-on-one help. Your questions should be posted in the appropriate forum where they may help others as well.

Offline Harvs

  • Think!, While it's still legal...
  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 1988
  • Reputation Power: 167
  • Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!Harvs Is an-NLG GOD!
  • Gender: Male
  • NLG
Re: Any Ubuntu Gurus out there?? Help!
« Reply #2 on: January 03, 2016, 08:07:54 PM »
THANK YOU RICK! I have been messing with this (googling nonstop etc) to figure out how to put that into the autostart.sh file..

You must have a gigantic head.., what don't you know...and in detail.., damn. - Again, thank you, owe ya!!



So, for google searches from other dumbos like myself...

From ROOT (logged into pinbox):

Type        cd /root/pinbox/scripts    (press enter)

Type        vi .autostart.sh               (press enter, then SHIFT   A)   

Type        ./run pinbox -bpp 16 -fullscreen    insert that right below the existing ./run pinbox -bpp 16 -fullscreen seen and press ESC.


Type        :wq!       

So, the doubling does work as stated on Pinside, here's just the caveman explanation of how to (which I needed, badly   :cool_thumb_up:)
« Last Edit: January 04, 2016, 05:18:47 AM by Harvs »

Offline rickhunter

  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 7511
  • Reputation Power: 445
  • rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!
  • Gender: Male
  • I Void Warranties.
Re: Any Ubuntu Gurus out there?? Help! Pinbox / Nucore autostart
« Reply #3 on: January 03, 2016, 10:19:40 PM »
Glad it worked out!!!  :applause: :applause: :applause:



If you find the site helpful, consider becoming a contributing member.  It pays for costs and keeps this site alive.  I do not respond to requests for private, one-on-one help. Your questions should be posted in the appropriate forum where they may help others as well.

 

Cell Phone and Pad Mode

imode wap wap2

NLG Archives

Archives @ newlifegames.net Wayback Machine

Contact Us

NLG Shop 928 754-4147 Email Us 1788 Highway 95 30 BHC City AZ 86442
If you find this site helpful, please consider becoming a Contributing NLG Member with a monthly subscription to help cover the cost of pizza, coffee, aspirin, hosting, and bandwidth.
Contributing Members: get unlimited personal messages, can save topics and replies as drafts,
can post to the Classified ads, get unlimited access to the downloads, and also get this minty badge:



**Subscription Link** (Click Here) **Subscription Link**



           
If you would rather remain anonymous Thank You or just want to help support the site, please use this "make a donation" button:




From your entire NLG staff, thank you for supporting NLG.


New Life Games LLC 1788 HIGHWAY 95 UNIT 30 BULLHEAD CITY AZ 86442




Newlifegames.com     Newlifegames.net     Newlifegames.org

Newlifegame.com     Newlifegame.net     Newlifegame.org    Newlifegames.us

   New Life Games     NewLifeGames  NLG

 We Bring new Life to old Games    1-888-NLG-SLOTS

Are all Copyright and Trademarks of New Life Games LLC 1992 - 2022


FAIR USE NOTICE:



This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner.
We make such material available in an effort to advance awareness and understanding of the issues involved.
We believe this constitutes a fair use of any such copyrighted material as provided for in section 107 of the US Copyright Law.
In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those
who have expressed a prior interest in receiving the included information for research and educational purposes.

For more information please visit: http://www.law.cornell.edu/uscode/17/107.shtml
If you wish to use copyrighted material from this site for purposes of your own that go beyond fair use,
you must obtain permission directly from the copyright owner.




The NewLifeGames.com website is optimized for use with Firefox and a minimum screen resolution of 1600 x 900 pixels.

SimplePortal 2.3.5 © 2008-2012, SimplePortal