LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-25-2005, 07:07 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Which file controls the startup of xclock


Hi folks,

BLFS 6.1
twm -window manager

I have been trying to reset the analogue xclock as digital. "xclock -d" started a new digital xclock. I can kill the analogue xclock. However on next boot it started the analogue xclock again. I read /etc/X11/xdm/Xresources but could not find its entry there.

Please advise which is its configure file controlling the startup of xclock at boot. TIA

BR
satimis
 
Old 09-25-2005, 09:01 AM   #2
LokTin
LQ Newbie
 
Registered: Sep 2005
Posts: 7

Rep: Reputation: 0
Edit ~/.xinitrc
# Begin .xinitrc file
xterm -g 80x40+0+0 &
#xclock -g 100x100-0+0 & <====add #
twm
 
Old 09-25-2005, 10:20 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi LokTin,

Tks for your advice which worked here.

bash-3.00$ cat ~/.xinitrc
Code:
# Begin .xinitrc file
xterm  -g 80x40+0+0   &
xclock -d -g -0+0 &
twm
About reset the date and time.

# date --set 2005-09-25
# date --set 11:30:0

only worked on newly started xclock but not on exiting xclock. Which file shall I edit? TIA

BR
satimis
 
Old 09-25-2005, 12:49 PM   #4
LokTin
LQ Newbie
 
Registered: Sep 2005
Posts: 7

Rep: Reputation: 0
Are you use local time? if isn't. you can edit /etc/sysconfig/clock
Code:
bash-3.00$ vi /etc/sysconfig/clock
# Begin /etc/sysconfig/clock

UTC=0     <======set  0

# End /etc/sysconfig/clock
Ensure your BIOS time is accuracy.

Last edited by LokTin; 09-25-2005 at 01:03 PM.
 
Old 09-25-2005, 07:30 PM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi LokTin,

Quote:
Are you use local time? if isn't. you can edit /etc/sysconfig/clock
Amended /etc/sysconfig/clock as advised.

UTC=0

Before "UTC=1"

What is the time for "UTC=1"? "man UTC" and "man utc" had no printout.

Besides the second digit is not running, being stationery. To make it changed I have to restart X. Please advise how to make the "second" running. TIA

BR
satimis
 
Old 09-25-2005, 11:40 PM   #6
LokTin
LQ Newbie
 
Registered: Sep 2005
Posts: 7

Rep: Reputation: 0
Quote:
What is the time for "UTC=1"? "man UTC" and "man utc" had no printout.
www.linuxfromscratch.org/hints/downloads/files/time.txt
on above URL local vs. UTC section
Quote:
Besides the second digit is not running, being stationery. To make it changed I have to restart X. Please advise how to make the "second" running. TIA
perhaps xclock not support second.i don't know.
on my system i am use "wmzcalock" no problem.
Why do you use twm window manager? you can try to use windowmaker icewm etc.them are lightweight window manager.
 
Old 09-25-2005, 11:54 PM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi LokTin,

Tks for your URL

Quote:
Why do you use twm window manager?
That is default. I'm busily fixing other problems encounted during building BLFS 6.1. I'm prepared to upgrade it to VTWM when time allows.

Tks

BR
satimis
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which file controls the processes that Fedora loads! sjia Linux - Newbie 1 04-08-2004 12:11 AM
Which file controls what is shown under the sessions menu at startup (RehHat9)? caesius_01 Linux - General 1 03-27-2004 10:03 AM
User and File access controls questions sureshp1980 Linux - General 6 09-26-2003 04:12 PM
What config file controls services? pkdunn Linux - Newbie 1 07-15-2003 12:35 PM
what file controls...... wr3ck3d Slackware 5 01-01-2003 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration