Welcome
Welcome to a320

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Poweroff / Shutdown code in zImage?

Linux on Dingoo Installation, releases, etc...

Moderator: Moderators

Re: Poweroff / Shutdown code in zImage?

Postby vimrc on Tue Oct 06, 2009 9:50 pm

Hi MASSIVE88, you can put it into the /local/dmenu/themes/????/menu_system.cfg

sth like this:

Menu System
{
Icon = "res/system.png"
Name = "System"

...
...
...

MenuItem Poweroff
{
Icon = "res/system/reboot.png"
Name = " Poweroff"
Executable = "poweroff"
WorkDir = "/"
}

}
vimrc
 
Posts: 47
Joined: Mon Jul 13, 2009 6:49 pm
Location: Delft, NL

Re: Poweroff / Shutdown code in zImage?

Postby MeneerJansen on Tue Oct 06, 2009 9:53 pm

Good question. Place that text, for instance, in: /local/dmenu/themes/Base/menu_system.cfg. That is, if you use the theme called "Base". Beware: I've heard that Dingux's scripts require "Unix compliant end-of-line characters". In normal speak that meaneth: no use of Notepad.exe. Use Linux, or another type of text editor (dunno which). ;)
User avatar
MeneerJansen
 
Posts: 93
Joined: Fri Aug 14, 2009 1:36 pm

Re: Poweroff / Shutdown code in zImage?

Postby MASSIVE88 on Tue Oct 06, 2009 10:44 pm

I got you, thanks for the info.

Im running vim as my text editor, so that should not be a problem.
MASSIVE88
 
Posts: 6
Joined: Wed Sep 30, 2009 11:06 pm

Re: Poweroff / Shutdown code in zImage?

Postby codiak on Tue Oct 06, 2009 11:13 pm

Can someone make a yellow version of the reboot.png in the hellsing theme?
I tried it myself, but got into trouble with transparency and shadows :(

Finaly made it! :D
Maybe someone likes it too.
Attachments
reboot.png
reboot.png (6.25 KiB) Viewed 180 times
Last edited by codiak on Thu Oct 08, 2009 2:05 pm, edited 1 time in total.
User avatar
codiak
 
Posts: 31
Joined: Thu Sep 17, 2009 10:19 am

Re: Poweroff / Shutdown code in zImage?

Postby Shaylen on Wed Oct 07, 2009 3:54 pm

Just tried this on my dingux and it works perfectly. Thanks a ton for the upload vimrc. :)
Flying Minmatar is like rolling down a flight of stairs in an office chair while firing an uzi.
-Referencing EVE Online
User avatar
Shaylen
 
Posts: 5
Joined: Mon Oct 05, 2009 5:45 pm
Location: Boston, MA

Re: Poweroff / Shutdown code in zImage?

Postby BrendanSmall on Wed Oct 07, 2009 7:38 pm

Got it to work!
LOVE IT! :D
BrendanSmall
 
Posts: 9
Joined: Wed Aug 05, 2009 2:14 pm

Re: Poweroff / Shutdown code in zImage?

Postby dingoo on Wed Oct 07, 2009 11:05 pm

hmmm ... for me it says something like "safe to turn off now" but when i use the power button nothing happens ??

What is suppose to happen?

thanks :?: :?:
dingoo
 
Posts: 6
Joined: Fri May 08, 2009 9:58 am

Re: Poweroff / Shutdown code in zImage?

Postby vimrc on Thu Oct 08, 2009 1:38 pm

dingoo wrote:hmmm ... for me it says something like "safe to turn off now" but when i use the power button nothing happens ??

What is suppose to happen?

thanks :?: :?:


Shouldn't like this, have you used the modified zImage?
vimrc
 
Posts: 47
Joined: Mon Jul 13, 2009 6:49 pm
Location: Delft, NL

Re: Poweroff / Shutdown code in zImage?

Postby jevilon on Fri Oct 09, 2009 11:19 pm

Run perfect, thank you
jevilon
 
Posts: 4
Joined: Tue Sep 01, 2009 8:38 am

Re: Poweroff / Shutdown code in zImage?

Postby blizz on Sat Oct 10, 2009 2:21 am

When i execute the shutdown it seems to shutdown, but then the screen turns black and it crashes. That means i can't turn it on again.
Need to do a hard reset after that...

Edit: Forget that... it boots if i hold the powerbutton for about 3 seconds after the shutdown. Normally i only have to hit the power button and it boots. I#m not entirely sure if it shuts down completely...
blizz
 
Posts: 4
Joined: Mon Sep 21, 2009 1:24 am

PreviousNext

Return to Dingux

Who is online

Users browsing this forum: No registered users and 0 guests