Active Topics

 


Reply
Thread Tools
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#21
Originally Posted by ; Snoshrk
...You don't have any of the options commented out?!?...
Very carefully, move the "<!--" to the last 6th line position, and looked like
.
.
.
</callback>
</menuitem>
<!---->
</menuitem priority="0" ......
<return>5</return>
<po>...
</menuitem>
</powerkeymenu>


This way you got all the options. That is what my tablet look like, see screenshots here, http://www.internettablettalk.com/fo...254#post192254 , thread #2



bun
Attached Images
 

Last edited by bunanson; 2008-06-29 at 06:48.
 
Posts: 51 | Thanked: 9 times | Joined on Jul 2008 @ Hawaii
#22
is there a way to comment out specific menu items without affecting the other menu options? For example, I'd like to remove the following items:
lock device
top in x-term

can I just add a "<!--" and a "-->" before / after each <menuitem> / </menuitem> in the systemui.xml?

and too, it seems that when coming back from the softpoweroff option with a long key.press, it restores my network connections - is there a way to:
1. change it to NOT restore my net.connections
2. change it to come back on with a short key press / square button press similar to returning from a lock screen & button menu select?

(as always, small words / simple concepts / long explanations for a linux newbie is always appreciated)

thanks in advance
 

The Following User Says Thank You to buma For This Useful Post:
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#23
Yes, you can comment things out exactly that way.

Edit /etc/mce/mce.ini, I think, to change the softpoweroff details. It's got comments explaining what each item does. (I don't think 2. is possible, though...)
 

The Following 2 Users Say Thank You to Benson For This Useful Post:
Posts: 51 | Thanked: 9 times | Joined on Jul 2008 @ Hawaii
#24
thanks Benson,
got #1 to work perfectly the first time (surprisingly - had to dig deep to remember my dos-editing days...) so now I have no options to lock my device or go to xterm in my power menu and I got softpoweroff to not restore my connections (double-woohoo!)

just gotta figure out that longkeypress / softpoweroff return-thing now... anyone else have any clues?
 

The Following User Says Thank You to buma For This Useful Post:
Posts: 123 | Thanked: 20 times | Joined on Jul 2008
#25
thanks for this tip! however when i resume from soft poweroff the power button and the touchscreen becomes unresponsive.. normal?
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#26
Yes, it is normal. Just hold down the power key for a few seconds and let go and the buttons work again.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#27
Originally Posted by lazuli View Post
thanks for this tip! however when i resume from soft poweroff the power button and the touchscreen becomes unresponsive.. normal?
Same here.

bun
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#28
Originally Posted by bunanson View Post
All I want is a .deb file on the desktop that would,

- xterm
- sudo gainroot
- shutdown -r now
Do you have "Statusbar Graph Control" installed? If you do, add this "shutdown" command:
sh -c 'echo shutdown -r now | sudo gainroot'
 

The Following 2 Users Say Thank You to nhanquy For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#29
Originally Posted by nhanquy View Post
Do you have "Statusbar Graph Control" installed? If you do, add this "shutdown" command:
sh -c 'echo shutdown -r now | sudo gainroot'
Wow, that is truly amazing. It works like magic. THANK YOU, nhanquy. I like it very much. I think this is the most important app, I used it quite often. I shortened it down just a bit,
sh -c 'echo reboot | sudo gainroot' to save a couple of strokes. Thanks, it is always good to see you hang around, you always have GOOD ideas


bun

Last edited by bunanson; 2008-07-17 at 00:14.
 
Posts: 123 | Thanked: 20 times | Joined on Jul 2008
#30
Originally Posted by qwerty12 View Post
Yes, it is normal. Just hold down the power key for a few seconds and let go and the buttons work again.
thank you! i just wonder what the short power key press is for. it seems to power on the device but leaves the tablet in offline mode, correct? or does it serve another purpose like underclock the processor or something?
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:18.