Cool, but why would you want to do this when you could just set a hotkey string
Open Menu, Up on Five Way, Press Five Way
Plus, that'll take care of the top bar.
Originally Posted by yifanlu
Anyone knows a command to turn off kindle wireless? It's probelty a lipc command.
NVM, found it:
"lipc-get-prop com.lab126.wan powerState" shows the power status
0 = off
1 = on
3 = powering on
4 = powering off
(there might be more, but those are the ones I saw)
"lipc-set-prop com.lab126.wan startWan 1" starts wireless
"lipc-set-prop com.lab126.wan stopWan 1" stops wireless
if [ `lipc-get-prop com.lab126.wan powerState` -ne 1 ]; then
lipc-set-prop com.lab126.wan startWan 1
lipc-set-prop com.lab126.wan stopWan 1
This is a short script to stop/start the wan depending if it was on or off when you ran it. The only weird thing is that the status bar/framework doesn't update to the wan status. There should be another lipc command to do so.