Reply
Thread Tools Search this Thread
Posts: 98 | Thanked: 50 times | Joined on Aug 2011 @ @uk or @Pai,Mae Hong Son
#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; 09-01-2012 at 07:44 AM. Reason: solved
 
Posts: 98 | Thanked: 50 times | Joined on Aug 2011 @ @uk or @Pai,Mae Hong Son
#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,621 | Thanked: 4,297 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:
Posts: 98 | Thanked: 50 times | Joined on Aug 2011 @ @uk or @Pai,Mae Hong Son
#4
At last, a solution! Thanks, I can now change the menu depending on keyboard open/closed!
Closed:-
Name:  Screenshot-20120901-153318.jpg
Views: 55
Size:  23.2 KB

Open:-

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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 01:46 PM.