Re: N800 Equivalent to Closing N770 Case?
Quote:
|
Re: N800 Equivalent to Closing N770 Case?
Quote:
If you edit /etc/mce/mce.ini you can make the power button do soft power off. |
Re: N800 Equivalent to Closing N770 Case?
How do you do that?
|
Re: N800 Equivalent to Closing N770 Case?
Quote:
- Do you have any user experience with Linux? Or at least know how Linux file systems are organized? - Do you have Xterm and a means to become root installed? - Do you know what Midnight Commander is? Or do you know how to work with vim, Joe or Nano? (I'm not trying to be pedantic, but certain procedures are definitely hacky in nature and those who say "Duh?" at the previous questions, are best to leave them alone) |
Re: N800 Equivalent to Closing N770 Case?
BTW, I'm seriously considering to set the longkeypress of the power key to softpoweroff (seeing as I hardly ever shutdown NaB00 and the power off option is in the menu anyway).
Does anyone know a good reason (as in: "No, you fool!! that'll wreck your device!!") for not doing this? |
Re: N800 Equivalent to Closing N770 Case?
I've done this and there does not seem to be any adverse effects. I have switched off and on a couple of times and also longpressed the power button a couple of times all seems to be as it should.
Rick |
Re: N800 Equivalent to Closing N770 Case?
Well, I just did it: changed the longpress of the power key to softpoweroff. Everything works as it should, although a reboot appears to be necessary (at least, the first time I tried the new longpress, NaB00 shut down).
Interestingly enough, the new longpress behaviour extends to power on as well: all I now have to do to put NaB00 to sleep or wake him up again, is press the power key for a second (the default length of 1,000 milliseconds for longpress can be changed as well, but 1 second if fine by me; that's about as long as it took to slide the cover over poor old NokiLLO). Yay Nokia! (but you're still not off the hook for the video botchup) |
Re: N800 Equivalent to Closing N770 Case?
Quote:
|
Re: N800 Equivalent to Closing N770 Case?
Quote:
|
Re: N800 Equivalent to Closing N770 Case?
Quote:
My starting point, many years ago, was "Linux in a Nutshell" from O'Reilly. I don't even know if this book is still in print, but I found it amazingly helpful. It doesn't try to be a "for dummies" book, but still manages to explain everything to the not-particularly-genius (a subspecies I am proud to be a member of). my best advice would be to install Linux on a desktop somewhere, get that, or another, book and play a bit. In the mean time, for this particular problem: 1. Install Xterm from repository 2. Install becomeroot (read the instructions on the homepage!) from repository 3. Install Midnight Commander from repository Concise information about Midnight Commander: It is a text-based (meaning that it runs from an Xterm, by typing "mc" at the command prompt) file management tool, in the style of Norton Commander for the old DOS-pc. With Midnight Commander you can access the complete filesystem of the N800, far more than what the built in nanny-file manager will let you see. Warning! Linux file systems are substantially different from what you get on a pc, something I am not even going to try to explain in this message. More warning! The following steps involve messing around in your system as "root", which is the equivalent of "God" in a Linux filesystem. If anything goes wrong, don't blame me; I don't exist. If you have those three applications, I would advize you to play around with Midnight Commander a while, without becoming root. It will be very hard to mess things up irrevocably as a user and if you get completely stuck (which will happen!), you can always hit the big X of the Xterm and chicken out. So, assuming you've been around the virtual block a few times, do this: 1. Start Xterm (make sure the input method is the keyboard, Xterm doesn't play well with the HWR) 2. Type "sudo gainroot" (without the brackets; I'm assuming from now on you'll leave them out). You'll get some messages and the prompt changes from "/ $" to "/ #", indicating that you are now root and evil things may happen. 3. Type "mc". If you've played with mc before, you'll notice it has now a different colour scheme. Again, this is to tell you you are now root. From these warnings it must now have become clear that root is not to be taken lightly. I kid you not. 4. In mc, scroll down in the left pane to the "/etc" directory and hit enter on the virtual keyboard (as you know from your experiments, the enter key on the D-pad doesn't work). 5. In the "/etc" directory, scroll down to the "/mce" directory (it's really the "/etc/mce" directory, but we'll go on what the mc window shows you) 6. In the "/mce" directory, scroll to the file "mce.ini" (you know it's a file, because there's no "/" in front of it). 7. Don't hit enter. Funny things happen if you hit enter on a file. At the bottom of the mc window, you'll see a row of numbers, followed by commands; this is mc's main menu. Tapping "4 Edit" will start the file editor. 8. Look around in the file; it is a rather typical example of a Linux configuration file: All in plain text and with lots of explanations. To change the behaviour of the long powerkeypress, first find the section that begins with "[PowerKey]" (you can use the search function in the editor, but the file is not that long, so scrolling until you see it is doable). In that section look for a line that reads: "PowerKeyLongAction=poweroff". Change "poweroff" to "softpoweroff". DON'T CHANGE ANYTHING ELSE. 9. Tap "2 Save"; confirm save file. 10 Exit mc by tapping "10 Quit" (this option is normally not visible; you have to zoom out with the top keys until you see it) 10. Type "exit" at the Xterm command prompt. This will end root mode (see how the trusted "/ $" prompt is back to tell you all is well?) 11. Type "exit" again to end your Xterm session. (if all the exiting doesn't work out well, hitting the "X" of the Xterm window will shut everything down. It is frowned upon, but I don't think it'll cause any harm, as long as you get out of the editor cleanly first) It is possible that the new behaviour of the powerkey doesn't start until you reboot, so make sure you have nothing important running when you try it for the first time. 12. Ask someone else where to find the "systemui.xml" file and how to modify it, if you want to change the power menu. |
All times are GMT. The time now is 19:58. |
vBulletin® Version 3.8.8