If you like skeezix's minimenu (and even if you don't), you possibly already experienced minimenu crashing in an endless loop on startup.
Besides trying to fix the crash bugs (four patches for last selected app and category mapping related crashes are contained in the attached zip), I have created a mmwrapper patch to start another program when minimenu crashes. This is currently a simple shell script using zenity to start a Terminal, a different ui, or shutdown the pandora. I want to get some feedback before pestering skeezix.
Please download mmtest.zip and extract it anywhere. (It contains mmwrapper/mmenu compiled from the git commit indicated in the file HEAD plus the included patches, the actual failure mode script mmfail.sh and two test wrappers.)
To just test the recovery part without having to crash your carefully configured minimenu first run mmtest. This uses /bin/false instead of minimenu simulating a startup crash. Note that shutdown and switch in the recovery menu will actually shutdown and switch your gui.
To test it with minimenu (containing the patches mentioned above) included run mmtest.mmenu. It should work normally including starting PNDs. If it crashes it should run the recovery script.
If you like taking risks you can test this as your default ui by putting the full path to mmtest or mmtest.mmenu into .xinitrc in your user's home directory in the line that begins with
DEFAULT_SESSION=...
To change it back just use the Pandora startup configuration scripts to set the default gui (or edit .xinitrc yourself). I've run this for a while and it seems to work, but YMMV.
I'd like to hear your opinion.
Thanks for helping me with this!
edit: updated attachment; now contains mmenu with my patches applied
edit 2014-07-10: updated attachment
Besides trying to fix the crash bugs (four patches for last selected app and category mapping related crashes are contained in the attached zip), I have created a mmwrapper patch to start another program when minimenu crashes. This is currently a simple shell script using zenity to start a Terminal, a different ui, or shutdown the pandora. I want to get some feedback before pestering skeezix.
Please download mmtest.zip and extract it anywhere. (It contains mmwrapper/mmenu compiled from the git commit indicated in the file HEAD plus the included patches, the actual failure mode script mmfail.sh and two test wrappers.)
To just test the recovery part without having to crash your carefully configured minimenu first run mmtest. This uses /bin/false instead of minimenu simulating a startup crash. Note that shutdown and switch in the recovery menu will actually shutdown and switch your gui.
To test it with minimenu (containing the patches mentioned above) included run mmtest.mmenu. It should work normally including starting PNDs. If it crashes it should run the recovery script.
If you like taking risks you can test this as your default ui by putting the full path to mmtest or mmtest.mmenu into .xinitrc in your user's home directory in the line that begins with
DEFAULT_SESSION=...
To change it back just use the Pandora startup configuration scripts to set the default gui (or edit .xinitrc yourself). I've run this for a while and it seems to work, but YMMV.
I'd like to hear your opinion.
Thanks for helping me with this!
edit: updated attachment; now contains mmenu with my patches applied
edit 2014-07-10: updated attachment
Attachments
Last edited by a moderator: