date man page

2009-05-02 Thread T o n g
Hi, I'm wondering where I can find the full man page for the date command. I've tried the followings, date --help man date info coreutils 'date invocation' But neither give me the help for method that I'm using, ie., date -I and date -Isecond I now wonder where did I read that methods f

Re: Obtain info about cd-r/rw

2009-05-02 Thread T o n g
On Wed, 29 Apr 2009 17:23:37 +0200, Mirco Piccin wrote: > How can i obtain info about a cd-r/rw support? I usually use > dvd+rw-mediainfo for dvd+/-* , but i don't know if ther's something > similar for cd-*. $ cdrdao scanbus Cdrdao version 1.1.9 - (C) Andreas Mueller Using libscg version 'sc

Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-02 Thread T o n g
On Sat, 02 May 2009 15:45:17 +0200, Kaixi Luo wrote: > the battery of my laptop used to last much longer with Windows Vista (4 > hours) than with Debian (2.5 hours). How's that possible? I bet that your Debian's power saving is not enabled by default. You've got to do some preliminary readings

tar up a symbolic linked directory

2009-05-02 Thread T o n g
Hi, I want to tar up a symbolic linked directory as if it is a real directory. Is there any easy way to do it? Let me explain with an example (that you can try): mkdir d1 touch d1/{a,b,c} ln -s c d1/d ln -s d1 d2 I want that the result tar file looks like this: tar -tvzf d2.tgz drwxrwx

tar up a symbolic linked directory

2009-05-02 Thread T o n g
Hi, I want to tar up a symbolic linked directory as if it is a real directory. Is there any easy way to do it? Let me explain with an example (that you can try): mkdir d1 touch d1/{a,b,c} ln -s c d1/d ln -s d1 d2 I want that the result tar file looks like this: tar -tvzf d2.tgz drwxrwx-

Re: tar up a symbolic linked directory

2009-05-04 Thread T o n g
>> >> I can't see that it would be possible to dereference the top-level >> symlink but no others. No commands that I know of support selective >> symlink dereferencing, except find(1) with -H. >> >> That lead me to try: >> $ find -H d2 | cpio -o

Udev and device name unstable

2009-05-11 Thread T o n g
Hi, My DVD device is used to be /dev/dvd or /dev/dvdrw. But today after I rebooted my box, there are no /dev/dvd or /dev/dvdrw devices any more. They are changed to /dev/dvd1 and /dev/dvdrw1 instead. This make it very inconvenient for me, since all my scripts (and fstab) are using hard-coded /de

Re: Udev and device name unstable

2009-05-12 Thread T o n g
On Tue, 12 May 2009 10:20:31 +0300, Andrei Popescu wrote: > > My DVD device is used to be /dev/dvd or /dev/dvdrw. But today > > after I rebooted my box, there are no /dev/dvd or /dev/dvdrw > > devices any more. They are changed to /dev/dvd1 and /dev/dvdrw1 > > instead. > > Those are usually symb

GTK theme looks different between accounts

2009-05-21 Thread T o n g
Hi, I just found out that the GTK themes look different in my account than in my wife's. Why is that? I thought it is because of my daunting GTK related config files, So I did cd rm -rf .gconf .gconfd .gnome/ .gnome2/ .gnome2_private/ .gstreamer-0.10/ To clean them up. But still, every sin

Where are the GTK local conf files

2009-05-23 Thread T o n g
Hi, I just found out that the GTK themes look different in my account than it should. E.g., the bg_color for the Crux theme in gtk2-engines is #d3d7cf, however, it shows as #f6f6f6 in my account. If I create another account, all themes show up correctly, whereas in my account every single themes i

Choosing my own GTK theme

2009-05-23 Thread T o n g
On Sat, 23 May 2009 09:28:51 +0100, Harry Rickards wrote: >> I just found out that the GTK themes look different in my account than >> it should. E.g., the bg_color for the Crux theme in gtk2-engines is >> #d3d7cf, however, it shows as #f6f6f6 in my account. If I create >> another account, all the

Re: Choosing my own GTK theme

2009-05-23 Thread T o n g
On Sat, 23 May 2009 17:19:18 +, T o n g wrote: > Removing ~/.gtkrc-2.0 did the trick. All the themes in gtk2-engines look > as expected afterward. However, if I use gtk-theme-switch2 to pick own > GTK theme (ie. save a new ~/.gtkrc-2.0 file) then redo startx, all > themes in

Kvm howto

2009-06-18 Thread T o n g
Hi, Can you recommend a good Kvm howto/blog/etc for current Debian (Sid)? I found this one, http://www.howtoforge.com/virtualization-with-kvm-on-a-debian-lenny-server but what's strange to me that it is using an entirely different tool kit than the official howto @ http://www.linux-kvm.org/pag

Purge sendmail queue

2009-06-18 Thread T o n g
On Tue, 16 Jun 2009 22:14:39 -0700, Richard A Nelson wrote: > /etc/init.d/sendmail purgestat now -- purge sendmail host status Hi, Is there any way to purge sendmail queue? There have been many cases when I notice the mail-recipient run out of mail space after having queued hundreds of big e

Re: bootstrap sid 32 bit on lenny 64 bit

2009-06-20 Thread T o n g
On Sun, 21 Jun 2009 09:14:26 +0800, Umarzuki Mochlis wrote: > i bootstrapped into 32 bit sid chroot but when i ran # uname -r > > it tells me that the kernel is 64 bit 2.6.26-2-amd64 That's normal. Ref: http://bts.grml.org/grml/issue586 I.e., "hostname get the name of the running system throu

The Debian way for ondemand cpufreq governor

2009-07-11 Thread T o n g
Hi, I am able to use the 2.6 kernel ondemand cpufreq governor, but I just noticed that I have to do 'modprobe powernow-k8' and change the cpufreq governor from performance to ondemand each time after I reboot. What's the Debian way to enable ondemand cpufreq governor by default (installing as

sudo warning

2009-07-11 Thread T o n g
Hi, I used to get the following sudo warning on the first time I sudo, but for one box, I kept getting it: $ sudo su - We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2)

Re: The Debian way for ondemand cpufreq governor

2009-07-11 Thread T o n g
On Sun, 12 Jul 2009 08:21:38 +1000, Alex Samad wrote: >> What's the Debian way to enable ondemand cpufreq governor by default >> (installing as minimum packages as possible)? > > look at this package cpufrequtils and then look in here > /etc/init.d/cpufrequtils If I don't 'modprobe powernow-k8'

Re: sudo warning

2009-07-11 Thread T o n g
On Sat, 11 Jul 2009 19:24:39 -0600, Matthew Moore wrote: >> How can I disable the sudo warning? > > From the sudoers manpage, > > lecture This option controls when a short lecture will be printed > along with the password prompt. . . > > Looks like you have set the lecture option in your su

Re: The Debian way for ondemand cpufreq governor

2009-07-12 Thread T o n g
On Sun, 12 Jul 2009 13:11:14 -0400, Andrew Malcolmson wrote: >> You need to edit /etc/default/cpufrequtils and read the comments. I don't have such file as /etc/default/cpufrequtils*, so nowhere to read the comments from. > Actually /etc/init.d/cpufrequtils I took a look at it, but still don'

Re: sudo warning

2009-07-12 Thread T o n g
On Sat, 11 Jul 2009 23:43:18 -0400, Scott Gifford wrote: > The manpage mentions that timestamp files are stored in /var/run/sudo, Hmm... I didn't find it... $ man sudoers | grep /var/run $ man sudo | grep /var/run Where did you find it? -- Tong (remove underscore(s) to reply) http://xpt.

Re: The Debian way for ondemand cpufreq governor

2009-07-12 Thread T o n g
On Sat, 11 Jul 2009 18:39:54 -0500, Nate Bargmann wrote: >> . . . I have to do 'modprobe powernow-k8' and change the cpufreq >> governor from performance to ondemand each time after I reboot. . . >> > . . . my preferred package is 'powernowd'. . . IT > seems to do a good job of managing the dema

[Solved] The Debian way for ondemand cpufreq governor

2009-07-12 Thread T o n g
On Sun, 12 Jul 2009 20:59:04 +, T o n g wrote: >>> . . . I have to do 'modprobe powernow-k8' and change the cpufreq >>> governor from performance to ondemand each time after I reboot. . . The simple solution is to install 'cpufrequtils', then *reboot*

Debian AMD64 and Intel CPUs

2009-07-12 Thread T o n g
Hi, I've recently realized that Debian AMD64 is not only suitable for my AMD64 but some Intel CPUs as well. http://www.debian.org/ports/amd64/ says all Intel CPUs with EM64T extension are supported. Can someone tell me what kind of Intel CPUs have that EM64T? Any easy rule of thumb? E.g., c

xorg radeon driver dual head configuration

2008-09-02 Thread T o n g
Hi, anybody here have positive experience with configuring dual head for xorg radeon driver? I've having problem doing that -- ref, http://www.linuxquestions.org/questions/linux-hardware-18/ati-radeon-dual-head-with-tv-out-528521/#post3266559 thanks -- Tong (remove underscore(s) to reply) h

OT, where is jar

2008-09-12 Thread T o n g
Hi, Where can I find the 'jar' command? It used to come with the java package, but I have all necessary java packages: ii java-common Base of all Java packages ii java-package utility for building Java(TM) 2 related Debian packages ii sun-java6-bin Sun Java(TM) Runtime Environment (JRE) 6 (a

durep, anyone?

2008-09-13 Thread T o n g
Hi, Anyone is using durep version 0.9-1's web reporting feature? I always use durep to view my disk usages. But starting from version 0.9, the report format changed. Now the results are stored in data dump files in /var/lib/durep and are to be viewed through a CGI script. I just upgrade my dur

how to find all hard links of the same file

2008-09-14 Thread T o n g
Hi, If the hard link field of a file is more than one, how can I find out all the other hard links to this file? thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a s

[Adv Q] Using alternative set of libs for vlc

2008-09-16 Thread T o n g
Thanks Joel. On Tue, 16 Sep 2008 01:27:11 -0700, Joël wrote: >> When I play whatever XviD avi files with vlc, I get: >> >>  [0542] main decoder error: no suitable decoder module for fourcc >> `XVID'. >> . . . > > I have the same problem. > I don't know for you but it is related to debianmult

Dealing with obsolete packages

2008-09-30 Thread T o n g
Hi, I know that aptitude gui interface can show all those obsolete packages by sections. my questions are: - how can I tag all obsolete packages in a section, then remove them? - how can I get such obsolete packages list on command line? thanks -- Tong (remove underscore(s) to reply) http:/

Re: Looking for a lazy gui

2008-09-30 Thread T o n g
On Tue, 30 Sep 2008 22:47:05 -0500, Ron Johnson wrote: >> I recall stumbling upon a program in the Debian archive which was a >> simple GUI - a customisable row of buttons and text-boxes - and which >> could be hooked up to any script, as a shortcut to actually writing a >> gui (which i can't do).

Re: Looking for a lazy gui

2008-10-01 Thread T o n g
On Wed, 01 Oct 2008 06:22:22 +, T o n g wrote: > If python is not a must-have, and you want something even simpler, give > gtkdialog a try. If that is still not simple enough, install tk and try the following script: --- #! /bin/sh # -

Re: Dealing with obsolete packages

2008-10-01 Thread T o n g
On Wed, 01 Oct 2008 06:44:26 -0700, Daniel Burrows wrote: > or just push "-" on the header of the group if you're using the curses > interface. That's what I thought. I press "-" on the spot marked as "*" in the following: Actions Undo Package Resolver Search Options Views Help C-T: Menu

Configuring sudo by file, not by visudo etc

2008-10-08 Thread T o n g
Hi, Is it possible to configure sudo by file, not by visudo etc? I know that visudo provides security checks, parses for errors, and protects against multiple edits of the file. But each time I just copy and paste what I prepared into it. I'm wondering if I can omit this extra step entires, si

Install xorg video drivers

2008-10-08 Thread T o n g
Hi, What's the meta package that install most xorg video drivers? I tried xorg but no video drivers are installed. Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: Configuring sudo by file, not by visudo etc

2008-10-08 Thread T o n g
On Wed, 08 Oct 2008 16:53:34 -0500, ReikoShea wrote: >> Is it possible to configure sudo by file, not by visudo etc? >> > Most definitely can just overwrite /etc/sudoers instead of using visudo. > Not recommended, but does work. Thanks. It works. Don't know why it didn't work previously. Do I ha

Re: Install xorg video drivers

2008-10-08 Thread T o n g
On Thu, 09 Oct 2008 13:30:45 +1030, Dale wrote: > try 'xserver-xorg-video-all' $ aptitude install xserver-xorg-video-all No candidate version found for xserver-xorg-video-all -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ --

/dev/shm lost

2008-10-08 Thread T o n g
Hi, I used to have the tmpfs /dev/shm, but lost it due to recent update. I'm wondering who is in charge of creating it -- so as to get it back. thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email

Re: Install xorg video drivers

2008-10-08 Thread T o n g
On Thu, 09 Oct 2008 03:40:05 +, T o n g wrote: >> try 'xserver-xorg-video-all' > > $ aptitude install xserver-xorg-video-all No candidate version found for > xserver-xorg-video-all sorry, my aptitude was not properly setup. Thanks for the reply. It works

proxy server difficulties

2008-10-08 Thread T o n g
Hi, I can't get any of the proxy server working on my newly installed lenny, both squid and privoxy. squid installs and starts fine. Just that it doesn't work if I browse using proxy server localhost:3128. The logs looks normal to me: /var/log/squid# dir total 4 -rw-r- 1 proxy proxy0

X-keyboard configuration

2008-10-08 Thread T o n g
Hi, The keyboard under Xorg does not work as expected on my newly installed lenny -- modification keys don't work any more. For example, I can't even switch virtual consoles. Ctrl-Alt-F1 gives a beep and ";5P". Shift-Fx keys don't work in my editors either. I have no clue what could be wrong

Re: proxy server difficulties

2008-10-09 Thread T o n g
On Thu, 09 Oct 2008 15:39:03 +1000, Julian De Marchi wrote: >> I can't get any of the proxy server working on my newly installed >> lenny, both squid and privoxy. >> >> squid installs and starts fine. Just that it doesn't work if I browse >> using proxy server localhost:3128. The logs looks norma

What could be wrong with my network setup

2008-10-09 Thread T o n g
On Thu, 09 Oct 2008 05:09:38 +, T o n g wrote: > I can't get any of the proxy server working on my newly installed lenny, just realize that I can't make any network connection to localhost, proxy, http, ssh and even ping. $ ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84)

Re: What could be wrong with my network setup

2008-10-09 Thread T o n g
On Thu, 09 Oct 2008 18:41:42 +0200, Sven Joachim wrote: >> $ ifconfig -a >> eth0 Link encap:Ethernet HWaddr 00:11:2f:be:4b:ba >> inet addr:192.168.0.100 Bcast:192.168.0.255 >> Mask:255.255.255.0 > > Is that all? What's up with the lo(opback) interface? Ah, there it i

How to enable userdir in apache2

2008-10-09 Thread T o n g
Hi, After upgrading to apache2 my userdir doesn't work any more. How to enable it? I didn't find the answer using the apache+userdir in google. Also, the Upgrading to 2.0 from 1.3 http://httpd.apache.org/docs/2.0/upgrading.html doesn't help at all. Thanks -- Tong (remove underscore(s) to

Re: What could be wrong with my network setup

2008-10-09 Thread T o n g
On Thu, 09 Oct 2008 22:13:18 +0300, Eugene V. Lyubimkin wrote: > You should up it. yep, it works. thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsub

[Solved] X-keyboard configuration

2008-10-09 Thread T o n g
On Thu, 09 Oct 2008 05:39:59 +, T o n g wrote: > The keyboard under Xorg does not work as expected on my newly installed > lenny -- modification keys don't work any more. > > For example, I can't even switch virtual consoles. Ctrl-Alt-F1 gives a > beep and ";5P

Re: /dev/shm lost

2008-10-12 Thread T o n g
On Sat, 11 Oct 2008 20:55:55 +0200, Florian Kulzer wrote: > /etc/init.d/mountdevsubfs.sh THANKS A LOT! -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscr

On the fly spell checking in firefox

2008-10-13 Thread T o n g
Hi, My firefox (iceweasel) use to have the on the fly spell checking capability in text editing entries. But my lose it in my newly installed lenny. How can I get it back? thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools

Re: On the fly spell checking in firefox

2008-10-14 Thread T o n g
On Tue, 14 Oct 2008 19:02:54 +0200, Florian Kulzer wrote: >> My firefox (iceweasel) use to have the on the fly spell checking >> capability in text editing entries. But my lose it in my newly >> installed lenny. >> >> How can I get it back? > > Did you check if it is activated? > > Edit > Prefe

Can't config cups printer, no backends found

2008-10-14 Thread T o n g
Hi, I can't config my cups printer in my newly installed lenny system. I found that the reason might be that no cups backends can be found, because previously, /usr/lib/cups/backend/usb can returns my printer info, now it is empty. How should I fix it? thanks PS. my cups: $ dpkg -l *cups

Re: Can't config cups printer, no backends found

2008-10-15 Thread T o n g
On Wed, 15 Oct 2008 01:49:33 -0500, Ron Johnson wrote: >> I can't config my cups printer in my newly installed lenny system. I >> found that the reason might be that no cups backends can be found, >> because previously, >> >> /usr/lib/cups/backend/usb >> >> can returns my printer info, now it i

Re: Can't config cups printer, no backends found

2008-10-15 Thread T o n g
On Wed, 15 Oct 2008 18:58:19 +0200, Nigel Henry wrote: >> > I can't config my cups printer in my newly installed lenny system. I >> > found that the reason might be that no cups backends can be found, >> > because previously, >> > >> > /usr/lib/cups/backend/usb >> > >> > can returns my printer in

Re: On the fly spell checking in firefox

2008-10-15 Thread T o n g
On Wed, 15 Oct 2008 19:58:49 +0200, Florian Kulzer wrote: >> >> My firefox (iceweasel) use to have the on the fly spell checking >> >> capability in text editing entries. But my lose it in my newly >> >> installed lenny. >> >> >> >> How can I get it back? >> > >> > Did you check if it is activat

Re: Can't config cups printer, no backends found

2008-10-15 Thread T o n g
On Wed, 15 Oct 2008 10:07:54 -0500, Ron Johnson wrote: > I'm stumped, too. > > $ dpkg -S /usr/lib/cups/backend/usb > dpkg: /usr/lib/cups/backend/usb not found. > > $ apt-file search /usr/lib/cups/backend/usb $ > > $ dir /usr/lib/cups/backend/usb > -rwxr-xr-x 2 root root 17220 2008-10-11 05:59 /

update: Can't config cups printer, problem gone

2008-10-15 Thread T o n g
On Thu, 16 Oct 2008 04:14:35 +, T o n g wrote: > I can't config my cups printer in my newly installed lenny system. Somehow, the command /usr/lib/cups/backend/usb now returns my printer info. I turn off and on the printer before running the command, both when posting the OP,

Re: On the fly spell checking in firefox

2008-10-16 Thread T o n g
On Thu, 16 Oct 2008 09:03:41 -0500, Sam Leon wrote: >> My firefox (iceweasel) use to have the on the fly spell checking >> capability in text editing entries. But my lose it in my newly >> installed lenny. >> >> How can I get it back? > Install hunspell and a laungauge pack: > > http://packages

How to properly empty log files

2008-10-16 Thread T o n g
Hi, My /var/log/mail.err is very big due to a misconfiguration error. However, I can't simply remove it because it is "owned" by rsyslogd: $ lsof | grep mail.err rsyslogd 4387 root 10w REG8,9 17605899 247416 /var/log/mail.err So, how to properly empty log files?

Why not thunderbird

2008-10-16 Thread T o n g
Hi, I know that thunderbird has been renamed to icedove in Debian. But for iceweasel, we can still type the command firefox, mozilla-firefox, or even mozilla and start it. So why icedove is not providing the thunderbird command? thanks -- Tong (remove underscore(s) to reply) http://xpt.s

Mails stay in /var/spool/mail, without being forwarded

2008-10-17 Thread T o n g
Hi, I use sendmail as the default MTA, and have ~/.procmailrc for filtering my mails. However, in my newly installed system (Lenny), my mails stay in /var/ spool/mail without being forwarded. How should I fix it? Do I need that .forward file? My setting has been working fine for many years.

Re: Mails stay in /var/spool/mail, without being forwarded

2008-10-17 Thread T o n g
On Fri, 17 Oct 2008 15:34:31 -0700, Richard A Nelson wrote: >> "Most Linux systems are set up to use procmail as the local delivery >> agent by default, so you should not have to set up a .forward." >> >> Or there is something else? > > procmail is optional, and so can not be the default MDA > >

update-grub and chroot

2008-10-17 Thread T o n g
Hi, I tried to update my grub menu.lst in the chroot system using update- grub, but it doesn't work. I'm wondering if it is possible to update the grub menu.lst in the chroot to reflect its appropriate kernel to boot from. thanks -- Tong (remove underscore(s) to reply) http://xpt.sourcefor

Re: update-grub and chroot

2008-10-20 Thread T o n g
Hi, thanks everyone for the reply, On Sat, 18 Oct 2008 10:17:23 +0200, Shams Fantar wrote: >> I'm wondering if it is possible to update the grub menu.lst in the >> chroot with update-grub to reflect its appropriate kernel to boot from. >> > . . . You > should update your menu.lst outside the

Re: How to properly empty log files

2008-10-20 Thread T o n g
On Sat, 18 Oct 2008 11:47:12 +, Tzafrir Cohen wrote: >> > you can "truncate" the file with the folowing bash line : >> > > /var/log/mail.err >> >> > or the following portable line : >> > echo > /var/log/mail.err >> >> Neither of those will work in this instance, as the file is held open >> f

Re: /dev/shm lost

2008-10-21 Thread T o n g
n Sat, 11 Oct 2008 20:55:55 +0200, Florian Kulzer wrote: >> I used to have the tmpfs /dev/shm, but lost it due to recent update. >> >> I'm wondering who is in charge of creating it -- so as to get it back. > > /etc/init.d/mountdevsubfs.sh hmm... I have that file and still don't have /dev/shm.

grub complains type mismatch and won't boot

2008-10-21 Thread T o n g
Hi, While trying to boot from a restored OS, grub complains Filesystem type is reiserfs, partition type 0x83 and won't boot. What does it means? partition type 0x83 is Linux partition, and reiserfs is one of Linux file system. Why grub still complains? How can I fix it? This is not the fi

Re: Sleek and slim Gnome?

2008-10-22 Thread T o n g
On Wed, 22 Oct 2008 09:56:30 -0200, Eduardo M KALINOWSKI wrote: > Look for some package like gnome-minimal, gnome-core, etc., that > installs only the minimal requirements, then install other parts as > necessary. Yes, second to that. During Debian intallation, don't select gnome. Afterward, ins

Re: downgrading a single package

2008-10-25 Thread T o n g
On Fri, 24 Oct 2008 13:33:45 -0200, Eduardo M KALINOWSKI wrote: >> I was experiencing with an unstable package, now I'd like to >> downgrade this package... >> $ apt-cache policy nfs-common >> nfs-common: >> Installed: 1:1.1.3-2 >> Candidate: 1:1.1.3-2 >> Version table: >> *** 1:1.1.3-2 0

Integrated hardware benchmark tools

2008-10-29 Thread T o n g
Hi, Debian repo contains many stress and benchmark tools. Some of them have duplicated functionalities. So I guess not everyone knows how to pick from those packages to form the most comprehensive hardware benchmark tool kit, when you're buying a new computer or checking an old one. If the pr

Gnome file type association

2008-11-09 Thread T o n g
Hi, I can't set file associations for my Gnome any more. Here is how I did: . Open the ("Nautilus") file browser. . Left click on a file to change the association. . Select "Open With" then select "Other Application". . Select the program to open the file. It works, but the problem is that t

bugs.debian.org down?

2008-11-10 Thread T o n g
Hi, is it only me or bugs.debian.org is really down? The requested URL could not be retrieved While trying to retrieve the URL: http://bugs.debian.org/ The following error was encountered: * Connection to 140.211.166.43 Failed The system returned: (110) Connection timed out The re

numlockx works?

2008-11-10 Thread T o n g
Hi, Quick question since I can't check bugs.debian.org, does numlockx work for you? I'm using the latest version under Lenny: $ apt-cache policy numlockx numlockx: Installed: 1.1-9 Candidate: 1.1-9 However, neither "numlockx on", nor "numlockx off" works for me. PS. My X: $ apt-cache po

Re: numlockx works?

2008-11-11 Thread T o n g
On Tue, 11 Nov 2008 15:30:04 +1300, Dean Sutherland wrote: >> However, neither "numlockx on", nor "numlockx off" works for me. . . >> > numlockx works here running lenny: Then I guess that it might be driver related because I've just found that this bug has the exact symptom that I'm experienc

OT: Using git shallow checkouts

2008-11-13 Thread T o n g
Hi, The git's "shallow checkouts" feature enables people to download the latest version of the repository without downloading all the history. It is "adequate if you are only interested in the recent history of a large project with a long history, and would want to send in fixes as patches".

Solved: Using git shallow checkouts

2008-11-13 Thread T o n g
On Thu, 13 Nov 2008 22:15:08 +, T o n g wrote: > Hi, > > > The git's "shallow checkouts" feature enables people to download the > latest version of the repository without downloading all the history. > > It is "adequate if you are only interested i

/srv and /selinux

2008-11-15 Thread T o n g
Hi, I found there are two empty directories in my /, /srv and /selinux. What are they for? Who creates/owns them? Is it ok to remove them? thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [E

Re: /srv and /selinux

2008-11-16 Thread T o n g
On Sun, 16 Nov 2008 09:13:30 +0100, Sven Joachim wrote: >> I found there are two empty directories in my /, /srv and /selinux. >> What are they for? Who creates/owns them? Is it ok to remove them? Thanks a lot for the comprehensive explanation, Sven. -- Tong (remove underscore(s) to reply) ht

Open VMware Tools and clipboard

2008-11-16 Thread T o n g
Hi, Has anyone been able to use the Open VMware Tools to copy/paste selections between VMware host and client via clipboard? I am able to do it with other distros, but can't do it under Debian. Please help. thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs

only root can unmount

2008-11-26 Thread T o n g
Hi, I get the following error when unmounting dvd: $ umount /mnt/dvd umount: only root can unmount /dev/dvd from /mnt/dvd Strange is that, I have "user" in my fstab: $ grep dvd /etc/fstab /dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0 and moreover, I mounted /mnt/dvd as myself, not root. Wha

OT: Hidden service disk

2008-11-29 Thread T o n g
Hi, Major PC vendors store their system installation/rescue disks in 1st partition (and call it service disk). I'm wondering how they are able to hide the partition from Windows. Is any tools under Linux that can create such hidden partitions from Windows. If so, how? and can Linux access such

Re: only root can unmount

2008-11-29 Thread T o n g
On Wed, 26 Nov 2008 21:30:03 +, T o n g wrote: > I get the following error when unmounting dvd: > > $ umount /mnt/dvd > umount: only root can unmount /dev/dvd from /mnt/dvd > > Strange is that, I have "user" in my fstab: > > $ grep dvd /etc/fstab > /d

Re: OT: Hidden service disk

2008-11-30 Thread T o n g
On Sun, 30 Nov 2008 06:28:23 -0500, Paul Cartwright wrote: >> . . . It is probably set to empty or hidden or >> something similar. > >Device Boot Start End Blocks Id System > /dev/sda1 1 8 64228+ de Dell Utility > /dev/sda2 * 9

Re: only root can unmount

2008-11-30 Thread T o n g
On Sun, 30 Nov 2008 10:12:56 +0200, Andrei Popescu wrote: > The only thing that sticks out is that you have /dev/dvd in fstab but > mount talks about /dev/scd2. Try replacing /dev/dvd with /dev/scd2 in > fstab. [EMAIL PROTECTED]:~$ grep dvd /etc/fstab /dev/scd2 /mnt/dvd auto user,noauto,exec,ro 0

CD/DVD devices

2008-11-30 Thread T o n g
Hi, I'm using Lenny, - What are the (standard) devices names and mount point names for CD/DVD, the Debian way? - Is there any tools to build fstab entries for me according to my CD/ DVDs? - If not, how can I know which (device) is which for all my CD/DVDs, the automatically way, not try-and-err

Re: only root can unmount

2008-11-30 Thread T o n g
On Sun, 30 Nov 2008 10:12:56 +0200, Andrei Popescu wrote: > The only thing that sticks out is that you have /dev/dvd in fstab but > mount talks about /dev/scd2. Try replacing /dev/dvd with /dev/scd2 in > fstab. Ah, it works now. Thanks a lot Andrei. That's the solution. The reason that it didn't

Re: CD/DVD devices

2008-11-30 Thread T o n g
On Sun, 30 Nov 2008 21:38:45 +0200, Eugene V. Lyubimkin wrote: >> - If not, how can I know which (device) is which for all my CD/DVDs, >> the automatically way, not try-and-error way? > /dev/disk/by-id ? Nope, it only contains my HD links, no CD/DVD. Yours are different? -- Tong (remove undersc

Re: CD/DVD devices

2008-11-30 Thread T o n g
On Sun, 30 Nov 2008 19:22:56 -0600, Ron Johnson wrote: /dev/disk/by-id ? >>> Nope, it only contains my HD links, no CD/DVD. Yours are different? >>> >> Yes. >> >> $ ls /dev/disk/by-id | grep DVD >> ata-HL-DT-ST_DVD+-RW_GSA-T11N_KV472E33633 $ readlink >> /dev/disk/by-id/ata-HL-DT-ST_DVD+-RW_G

Re: only root can unmount

2008-11-30 Thread T o n g
On Sun, 30 Nov 2008 23:11:29 +0100, Sven Joachim wrote: >>> The only thing that sticks out is that you have /dev/dvd in fstab but >>> mount talks about /dev/scd2. Try replacing /dev/dvd with /dev/scd2 in >>> fstab. >> >> Ah, it works now. Thanks a lot Andrei. That's the solution. > > Hm, I still

How to stop an active network connection

2008-12-02 Thread T o n g
Hi, How can I stop an active network connection? e.g., $ netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 192.168.0.100:ssh ip-72-55-146-217.:35911 ESTABLISHED Because barbarians

Re: only root can unmount

2008-12-02 Thread T o n g
On Tue, 02 Dec 2008 06:01:59 -0800, Daniel Burrows wrote: >> [EMAIL PROTECTED]:~$ grep dvd /etc/fstab >> /dev/dvd /media/dvd autousers,noauto,exec,ro0 >> 0 /dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0 > > Is it intentional that one line says "users" and the other one

Benchmark tools

2008-12-03 Thread T o n g
- Threaded I/O bench for Linux xengine - A benchmark program for the X Window System. netperf - Network performance benchmark pipebench - Measures the speed of stdin/stdout communication svn-workbench - A Workbench for Subversion lmbench - Utilities to benchmark UNIX systems lmbench-doc - Documentation for

Unknown network traffic

2009-01-09 Thread T o n g
Hi, I've tried all the network bandwidth monitoring tools that I know to find out the unknown network traffic I'm having now, I've tried iftop, netstat, lsof and pktstat, and still can't find out the result. Please help. First, neither of the following command reveal anything suspicious: netsta

Re: Unknown network traffic (Conclusion)

2009-01-11 Thread T o n g
> I've tried all the network bandwidth monitoring tools that I know to find > out the unknown network traffic I'm having now . . . As for tools to further analysis the traffic, Both Allen Kistler @gmail.com & Javier Barroso @comp.os.linux.networking suggested tcpdump and wireshark, which are pre

slocate replacements

2009-01-27 Thread T o n g
Hi, Since the slocate has recently been obsoleted, I'm wondering what the recommend replacements are. I use slocate quite a lot, especially it regular expression searching. thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tool

Light-weighted voice recorder

2009-01-31 Thread T o n g
Hi I'm looking for a light-weighted voice recorder (for quick note taking). I've tried most of the CLI tools, the problem is that none of them have the "pause" feature that I need during recording. I also know many others, http://xpt.sourceforge.net/techdocs/media/audio/ad04-SoundRecording/ b

Set alsa capture on using amixer

2009-01-31 Thread T o n g
Hi, I suddenly can't use my microphone for voice recording any more. I made it work before. Now with the same HW and SW, nothing get recorded. (I can hear the echo sound from the speaker when speaking to mic). Checking back my log, I noticed one difference: Previously it was: $ amixer set C

Re: Light-weighted voice recorder

2009-01-31 Thread T o n g
On Sat, 31 Jan 2009 13:26:18 -1000, Joel Roth wrote: > Have you looked at Ecasound? Thanks everyone for the reply. Nigel's recommendation, MhWaveedit, is exactly what I am looking for -- as simple as possible. Ecasound is powerful, but it's almost 5 times bigger than MhWaveedit, and presumabl

Re: startx resets kbdrate of the Linux console

2009-01-31 Thread T o n g
On Sun, 01 Feb 2009 01:35:29 +, David Jardine wrote: >> # startx seems to mess with kbdrate...set it back to what I like >> sudo kbdrate -r 30 -d 250 -s >> >> . . . Is there some way to avoid the way Xwindows resets kbdrate? > > Look at kbdrate in the kbd or console-tools package. I

audacious-crossfade

2009-02-04 Thread T o n g
Hi, I am missing the audacious-crossfade plugin, after switching over from xmms. From the inet search I have an impression that audacious-crossfade has been a normal Debian package. But it no longer exist from the official site. Does it ever exist? What happened to it? Why Debian doesn't hav

Re: audacious-crossfade

2009-02-07 Thread T o n g
On Thu, 05 Feb 2009 22:09:29 +0100, Florian Ernst wrote: >> But it no longer exist from the official site. Does it ever exist? > > According to the last package maintainer audacious-crossfade is > "impossible to use reliably with audacious 1.5" . . . Thanks a lot Florian for your comprehensive

<    1   2   3   4   5   6   7   8   9   10   >