Active Topics

 


Reply
Thread Tools
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#1
I am familiar with tailoring the power button dropdown menu.
I am looking to tailor the menu depending on whether the keyboard is open or not. Is there a <menuitem {bllah blah}
visible="keyboardopen" > type option?

Last edited by macey; 2012-09-01 at 11:44. Reason: solved
 
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#2
Perhaps if I'd have said "would really appreciate some help with this" I may have had a reply. Even "there is no such option" would be helpful, at least I can stop looking!
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#3
good idea!

<menuitem priority="20" name="Reboot" visible="open">
<keyfile>/sys/devices/platform/gpio-switch/slide/state</keyfile>
<return>6</return>
<po>osso-powerup-shutdown</po>
</menuitem>


nicolai
 

The Following 3 Users Say Thank You to nicolai For This Useful Post:
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#4
At last, a solution! Thanks, I can now change the menu depending on keyboard open/closed!
Closed:-
Name:  Screenshot-20120901-153318.jpg
Views: 158
Size:  23.2 KB

Open:-

Name:  Screenshot-20120901-153306.jpg
Views: 168
Size:  23.2 KB

Last edited by macey; 2012-09-01 at 14:42.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:05.