Page 1 of 1

Exit menu (R-Pi - commit 137)

PostPosted: Tue Sep 17, 2013 11:02 am
by Supermat
Hi,

I installed commit 137 on a Raspberry Pi.
Everything seems to work fine but the exit menu: when I select the "EXIT" option of the menu, the submenu only option showing is "Exit to Desktop".
Anybody can help me understand why "Exit and Reboot" and "Exit and Shutdown" don't even appear as options?
The key mapped to "Exit and Shutdown" doesn't do anything either, so it's not just a visibility problem...

Thanks.

Re: Exit menu (R-Pi - commit 137)

PostPosted: Thu Sep 19, 2013 1:33 pm
by sairuk
http://wahki.mameau.com/index.php?title ... l_Packages

May have something to do with missing packages from what a RPI distro supports.

Re: Exit menu (R-Pi - commit 137)

PostPosted: Thu Sep 19, 2013 2:55 pm
by Supermat
unfortunately no: hal is installed...

Re: Exit menu (R-Pi - commit 137)

PostPosted: Sat Sep 21, 2013 2:11 am
by sairuk
You need to have python dbus support installed looking at the code. If it cannot import the dbus module at runtime the options will be hiden.

try installing python-dbus?

Re: Exit menu (R-Pi - commit 137)

PostPosted: Tue Sep 24, 2013 4:24 pm
by Supermat
Bingo! ...almost.
I now have the options in the menu but the key mapped to "exit and shutdown" still doesn't do anything. Same for "exit and Reboot".
On the other hand they key mapped to "exit with options" opens the menu and there, when I select "Exit and shutdown", it works as expected.

In the end it's working for me but now I'm just curious.
There's no error message in the log.
I'm (slowly) looking into the code but didn't find anything yet.

Thanks for now.

Re: Exit menu (R-Pi - commit 137)

PostPosted: Wed Sep 25, 2013 11:48 am
by sairuk
Supermat wrote:There's no error message in the log.


The log is relatively new, there is only limited items in there at the moment, glad to hear it is working

Re: Exit menu (R-Pi - commit 137)

PostPosted: Wed Sep 25, 2013 12:43 pm
by Zombie
Does your user have access to poweroff?

Re: Exit menu (R-Pi - commit 137)

PostPosted: Fri Jan 31, 2014 4:25 pm
by Supermat
Back playing with my RPi after a long pause...

The option is simply not implemented (but why?)

in win_main.py at line 790 add:

elif mw_func == 'EXIT_AND_SHUTDOWN':
self.play_clip('EXIT_AND_SHUTDOWN')
self.exit_wahcade('shutdown')

and it works.