Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (8) </ ... 2 3 4 5 6 [7] 8 >/

[ Track this topic :: Email this topic :: Print this topic ]

new topic new poll
Topic: DSL v4.4RC2< Next Oldest | Next Newest >
JohnJS Offline





Group: Members
Posts: 200
Joined: Oct. 2006
Posted: June 08 2008,14:45 QUOTE

Time keeps reverting to EDT on start-up.
Did a new install of 4.4RC2 Frugal Grub Toram with tz=US/Pacific.
The Date/Time in Panel states to go to "Apps/windowmanager/restart" but windowmanager does not appear anywhere. Only shows up under Exit/restart windowmanager. But does not seem to retain PDT on reboot or restart after shutdown.
SystemStats/Boot shows tz=US/Pacific.
Shutdown screen shows the correct date and time near the end.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: June 08 2008,14:58 QUOTE

If you have net connectivity upon boot then you can not only set your timezone but also set the time. To set time at boot use settime

Use showbootcodes to check that you have both, e.g., mine looks like this:

$ showbootcodes
ramdisk_size=100000 lang=us quiet vga=791 frugal tz=US/Pacific settime host=silent restore=sda1

If you don't have net access upon boot then, perhaps you set your net access in /opt/bootlocal.sh, and you could add settime  after net is up by adding the line /usr/local/bin/gettime.lua.

Or finally, use the menu option to set time via internet on some window managers you may need to exit to prompt then return to X to see the updated time. I beleive jwm does not need to do this.


Edited by roberts on June 08 2008,16:05
Back to top
Profile PM WEB 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: June 08 2008,15:01 QUOTE

Quote
The Date/Time in Panel states to go to "Apps/windowmanager/restart" but windowmanager does not appear anywhere.

If you're using jwm, a keybinding has been set up to do that (ctrl-alt-r = restart jwm). Note also there are two time set options in the menu. You can use gettime.lua to set the time from NIST time server automatically or on the fly, the latter of which works very well with the tz= cheatcode. See below.

Quote
But does not seem to retain PDT on reboot or restart after shutdown.

Add /usr/local/bin/gettime.lua to bootlocal.sh. That works for me. When you boot, it checks the server and sets the correct time. I boot to runlevel 3 on hard drive install and time is set before login. The time is usually set before jwm loads when using USB or frugal unless I have a really slow connection.

EDIT: I forgot about settime cheatcode.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
JohnJS Offline





Group: Members
Posts: 200
Joined: Oct. 2006
Posted: June 08 2008,16:20 QUOTE

Thanks roberts/lucky13:
All I did was add to bootlocal.sh /usr/local/bin/gettime.lua.
The time is now correct on reboot.
PS: have AT&T high speed connection(dsl).
Don't recall having to do this when I was using LILO.

Edit: Just added settime to grub/boot now it works.
Also removed /usr/local/bin/gettime.lua line from bootlocal.sh as it looks to be redundant.
Back to top
Profile PM 
jaapz Offline





Group: Members
Posts: 129
Joined: May 2007
Posted: June 08 2008,21:18 QUOTE

Quote (lucky13 @ June 04 2008,18:23)
DSL isn't about "design and stuff" and there's nothing meiotic about the combinations in this iteration. I chose colors that didn't make me squint and that were mild and pleasant instead of black-on-black wannabe-h4x0r BS that makes eyes bleed from squinting

k so u say ppl who like to help but cannot code, but in the other way, are familiar with GIMP, are not accepted here. and help with making DSL better by making the colors actually fit is not accepted here...

i just said that the colors didnt really fit to eachother, and that that could be done better, i didnt say that we immediatly should get a vista'ish wallpaper with nice OSX effects. i said the colors didnt fit, and i can make a theme as small as yours where the colors DO actually fit, so dont moan about the backgrounds that are to big, they can be made smaller... these are just examples for backgrounds that maybe could be used.

so dont be a dick and scare people away that try to help

EDIT:
made a skin (silvery) that fits with all three bg's i posted earlier in this topic:
Code Sample
<JWM>
<!-- Visual Styles -->
<!-- silvery -->

<WindowStyle>
<Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
<Width>2</Width>
<Height>20</Height>
<Active>
<Text>grey20</Text>
<Title>grey70:grey40</Title>
<Corner>grey20</Corner>
<Outline>grey50</Outline>
</Active>
<Inactive>
<Text>grey10</Text>
<Title>grey80</Title>
<Corner>grey44</Corner>
<Outline>grey44</Outline>
</Inactive>
</WindowStyle>

<TaskListStyle>
<Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
<ActiveForeground>grey20</ActiveForeground>
<ActiveBackground>grey70:grey60</ActiveBackground>
<Foreground>grey20</Foreground>
<Background>grey60:grey50</Background>
</TaskListStyle>

<!-- Additional TrayStyle attribute: insert -->

<TrayStyle>
<Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
<Background>grey70</Background>
<Foreground>grey20</Foreground>
</TrayStyle>

<PagerStyle>
<Outline>black</Outline>
<Foreground>grey80</Foreground>
<Background>grey70</Background>
<ActiveForeground>grey90</ActiveForeground>
<ActiveBackground>grey22</ActiveBackground>
</PagerStyle>

<MenuStyle>
<Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
<Foreground>grey20</Foreground>
<Background>grey70</Background>
<ActiveForeground>grey90</ActiveForeground>
<ActiveBackground>grey50:grey40</ActiveBackground>
</MenuStyle>

<PopupStyle>
<Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
<Outline>grey22</Outline>
<Foreground>grey0</Foreground>
<Background>grey90</Background>
</PopupStyle>
</JWM>
Back to top
Profile PM 
36 replies since June 01 2008,19:08 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (8) </ ... 2 3 4 5 6 [7] 8 >/
new topic new poll
Quick Reply: DSL v4.4RC2

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code