Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: ozboss on December 11, 2016, 12:15:18 PM

Title: Exit Attract Mode
Post by: ozboss on December 11, 2016, 12:15:18 PM
So in the displays menu there is, besides the emulators an option to "Exit Attract-Mode", but when i press it,
it just exits attract mode but doesn't execute the shutdown, like it does when i press esc in the displays menu and then exit.

How can i change this?
How would i be able to delete this from the displays menu entirely?
Title: Re: Exit Attract Mode
Post by: progets on December 11, 2016, 04:13:13 PM
Configure-->General-->Allow Exit from "Displays Menu" = No
Title: Re: Exit Attract Mode
Post by: ozboss on December 12, 2016, 02:54:17 AM
sry i forgot to mention that im running on retropie....
i don't have this option
Title: Re: Exit Attract Mode
Post by: ozboss on December 13, 2016, 05:15:53 AM
i actually found it, but it's in configure->displays->'displays menu' options, for anybody else that has this problem
Title: Re: Exit Attract Mode
Post by: pghretroguy on December 21, 2016, 10:38:02 AM
This is funny. When I hit back a few times and select "yes" at "Exit Attract-Mode", it just takes me to the command prompt where I can type exit to take me back to AM. I want that function to shutdown the Pi. Any ideas? Thanks!
Title: Re: Exit Attract Mode
Post by: hermine.potter on December 21, 2016, 10:25:51 PM
@pghretroguy
AM does, what you AM tell
Exit AM => it exits the application AM
closing an application doesn't mean a complete shutdown of OS
that's all.

start AM > press TAB > General > Exit Command : sudo poweroff
Title: Re: Exit Attract Mode
Post by: tonberryhunter on December 25, 2016, 02:04:34 AM
sudo poweroff just brings be to the command line same thing with sudo shutdown
Title: Re: Exit Attract Mode
Post by: foreverclumsy on January 02, 2017, 01:58:26 PM
sudo poweroff just brings be to the command line same thing with sudo shutdown
I am having the same issue as well. Both commands just exit to the command line.
Title: Re: Exit Attract Mode
Post by: gepponline on January 02, 2017, 02:50:31 PM
havw you tried with "sudo shutdown now"  ?
Title: Re: Exit Attract Mode
Post by: progets on January 02, 2017, 08:53:03 PM
FYI - When you add "sudo poweroff" it will not work on your first exit because the file is loaded in memory. If you have issues getting this working, reboot your Pi after adding it.
Title: Re: Exit Attract Mode
Post by: ozboss on January 04, 2017, 09:53:20 AM
the normal command i think is 'sudo shutdown now -P'
Title: Re: Exit Attract Mode
Post by: jretropie on January 06, 2017, 07:57:42 AM
sudo shutdown -P now

('P' must be capital)
Title: Re: Exit Attract Mode
Post by: foreverclumsy on January 06, 2017, 01:53:21 PM
i copied the exact run command that AM uses when you select "shutdown" option from "attract mode setup".

Code: [Select]
sudo /bin/bash "/home/pi/.attract/Attract Mode Setup/Shutdown.sh"
Which if you opened the Shutdown.sh, it says:

Code: [Select]
#!/usr/bin/env bash
sudo shutdown -P now
Title: Re: Exit Attract Mode
Post by: tekn0 on July 06, 2017, 10:21:14 AM
Is there a way to change the exit text on the Pi to say "Shut Down System" instead of "exit attract-mode?" I can not seem to find this file to edit it.
Title: Re: Exit Attract Mode
Post by: hermine.potter on July 06, 2017, 09:48:51 PM
@tekn0
Thread (http://forum.attractmode.org/index.php?topic=558.0)...

if you're using english language file :
Code: [Select]
sudo nano /usr/local/share/attract/language/en.msg

add under '#Interface strings' this line:
Code: [Select]
Exit Attract-Mode?;Shut Down System
Title: Re: Exit Attract Mode
Post by: tekn0 on July 07, 2017, 12:29:41 PM
@tekn0
Thread (http://forum.attractmode.org/index.php?topic=558.0)...

if you're using english language file :
Code: [Select]
sudo nano /usr/local/share/attract/language/en.msg

add under '#Interface strings' this line:
Code: [Select]
Exit Attract-Mode?;Shut Down System

This worked, thank you very much.
I also noticed there was a pull request on github to add this as a feature: https://github.com/mickelson/attract/pull/363
Title: Re: Exit Attract Mode
Post by: Steven Campoli on September 30, 2018, 09:50:20 AM
hey guys just wondering, in the main menu page when i go to the exit button the page says exit attract mode at the top...is their a way to change this...i used the shutdown system for the confirmation exit and it worked, how can i edit the text on the actual page.

Thank you !