setting default screen resolution for Gnome desktop

2007-07-06 Thread yong lee
Hi, Is there a way to set the default screen
resolution (to 1280x768. perhaps) for a debian Gnome
desktop ? I have 4 machines, but I have only 1
monitor. Currently, I am using a Belkin monitor
switching device to switch from one machine to another
whenever I need to see or work on a machine. 

The problem is if there is not a monitor/screen
attaching to it when the machine is booting up, the
screen resolution will be set to 640x480 by default.
So when I switch to this machine, the screen and image
look very bad. I wonder whether I can set the default
so I would not have this problem.

Many thanks

Yong 


   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can not change Screen Resolution

2007-07-05 Thread yong lee
Hi,
I was using 1280x768. But after a reboot, my scrren
changed to 640x480. Then, I went to Desktop |
preference | Screen Resolution and tried to change the
resolution back. But the drop down box did not work.
The entry just stayed blue and did not show the rest
of selections for the screen resolution. I was not
able to change it back. 
Any idea?

Thanks
Yong


  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: JAVA AWT exception in debian

2007-06-21 Thread yong lee
Yes, I am able to run a Swing application from a
terminal window. 

Yong 
--- Liam O'Toole [EMAIL PROTECTED] wrote:

 On Wed, 20 Jun 2007 16:13:19 -0700 (PDT)
 yong lee [EMAIL PROTECTED] wrote:
 
  I got a following exception when I ran a JAVA
 program 
  which uses AWT in a terminal window. The same
 program
  works in Windows environment. Do I miss some
  configuration settings in debian environment ?
 Thanks
  -Yong
  
  java.awt.HeadlessException
 
 [...]
 
 Maybe. Can you run any graphical programs at all
 from the terminal
 window? Can you run any other graphical Java
 program, for example one
 of the demos shipped with the JDK?
 
 -- 
 
 Liam
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 



   

Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: setting in /etc/profile in debian

2007-06-21 Thread yong lee
Liam, I think you have a good point. So how do I
change its default if I want the file to be sourced
when I login using GDM. 

Thanks
Yong


--- Liam O'Toole [EMAIL PROTECTED] wrote:

 On Wed, 20 Jun 2007 17:55:37 -0600
 [EMAIL PROTECTED] (Bob Proulx) wrote:
 
  yong lee wrote:
 
 [...]
 
   I have to manually do source /etc/profile to see
 the new changes
   after I open a new terminal window everytime. 
 Even a reboot does
   not help. Does anyone have any idea ?
  
  You say that even a reboot does not help and that
 seems very strange
  to me because I am sure that you would log in
 after that point. :-)
  Are you using a shell other than a POSIX
 compatible one such as csh?
 
 [...]
 
 If the OP logs in using GDM, then (by default)
 /etc/profile is not
 sourced.
 
 -- 
 
 Liam
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 



 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



setting in /etc/profile in debian

2007-06-20 Thread yong lee
I add new entry in /etc/profile.(see below) 
#add java variable
JAVA_HOME=/usr/local/jre1.6.0_01
export JAVA_HOME

#add JAVA_HOME to the PATH
PATH=${JAVA_HOME}/bin:${PATH}
export PATH

I thought these new entries would be effective after I
reopen a new terminal window. But it did not. I have
to manually do source /etc/profile to see the new
changes after I open a new terminal window everytime.
Even a reboot does not help. Does anyone have any idea
?

Many thanks

Yong 


   

Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



JAVA AWT exception in debian

2007-06-20 Thread yong lee
I got a following exception when I ran a JAVA program 
which uses AWT in a terminal window. The same program
works in Windows environment. Do I miss some
configuration settings in debian environment ? Thanks
-Yong

java.awt.HeadlessException
at
java.awt.GraphicsEnvironment.checkHeadless(Unknown
Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Frame.init(Unknown Source)
at java.awt.Frame.init(Unknown Source)
at
javax.swing.SwingUtilities$SharedOwnerFrame.init(Unknown
Source)
at
javax.swing.SwingUtilities.getSharedOwnerFrame(Unknown
Source)
at javax.swing.JWindow.init(Unknown Source)
at javax.swing.JWindow.init(Unknown Source)
at
org.tigr.midas.display.ProfaceProjector.init(ProfaceProjector.java:60)
at
org.tigr.midas.display.Midas.showAbout(Midas.java:183)
at
org.tigr.midas.display.Midas.main(Midas.java:244)
Exception in thread main
java.lang.NullPointerException
at
org.tigr.midas.display.Midas.main(Midas.java:245)




   

Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



how to get a working .config kernel config file

2007-06-19 Thread yong lee
Hi,

I am trying to build a custom kernel with openMosix
patches for my debian 4.0 system. I copied an existing
config file from /boot/config-2.6.18-4-686 to my new
kernel source tree folder and renamed it to be
.config.  Then I ran 'make-kpkg kernel_image' to build
the kernel. But when I reboot with the new kernel, I
got a boot error.

I also ran the make menuconfig, but I did not know
what to choose because I do not know what type of
hardware my machine has. Can anyone suggest me on how
to get a working .config file ?  I just want a
simple/plain working .config file? Any suggestion ?
Any document or outline steps? Please help. 

Many thanks. 

Yong


   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Got a boot error when starting up

2007-06-14 Thread yong lee
Hi,

I am not a Linux expert. I hope someone would kindly
help me or give me some suggestions to fix the
problem.

I just installed a pre-made/customized Linux 2.6.x
kernel. I converted its installation package from the
.rpm format to a .deb format using alien command.
After the installation and a reboot, the machine hung
and shrew the following errors:

VFS: Cannot open root device sda1 or
unknown-block(0,0)
Please append a correct root= boot option
Kernel panic- not syncing: VFS: Unable to mount root
fs on unknown-block(0,0)

Please help. Many thanks

Yong


  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



download and install older version of debian

2007-06-11 Thread yong lee
Hi,

I am new to Debian. I would greatly appreciate if
someone can show me how to get an older version of
debian which runs kernel 2.4.X version. I would prefer
either download an ISO image or via a netinstall
method.

Many thanks.

Yong




   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]