Re: GMail backup on debian

2011-01-17 Thread T o n g
Thanks a lot for your detailed explanations, Camaleón. On Mon, 17 Jan 2011 19:13:04 +, Camaleón wrote: >> Moreover, how can I view those folders in thunderbird? (I was able to >> view local mailbox files before, but somehow I can't do it now) > > You only have to create a new IMAP account in

Re: Why is Evolution and Epiphany now a part of gnome-core?

2011-01-17 Thread T o n g
On Mon, 17 Jan 2011 18:36:57 +, Camaleón wrote: > (note that everybody can reopen a bug) Camaleón, I read all your posts, and agree to them all. But I have to say I don't agree with you on this one. For *this specific case*, I *do* consider the DD's reply being "pointlessly abrasive, inap

Re: Cannot turn on bell in xterm

2011-01-21 Thread T o n g
On Fri, 21 Jan 2011 07:27:56 -0800, Joe Riel wrote: >> > beep >> >> That works; as expected the sound comes through the internal speakers. > > I meant "external" speakers. I remembered that it can be turned on (i.e., switch from internal speaker to external ones) via alsamixer, or any othe

Re: Let's talk about compression rates

2011-01-22 Thread T o n g
On Sat, 22 Jan 2011 07:57:21 -0800, S Mathias wrote: > $ time 7z a -mx=9 linux-2.6.37.tar.7z linux-2.6.37.tar; echo; time xz -9 > -z linux-2.6.37.tar; echo; ls -lS was the linux-2.6.37.tar already in cache memory? If not, and you do xz first, you will see more dramatic results. -- Tong (remov

Re: Cannot turn on bell in xterm

2011-01-23 Thread T o n g
On Sun, 23 Jan 2011 19:47:51 +, Camaleón wrote: >>> What does "amixer" show on PC Speaker? >> >> I don't see any entries for "PC Speaker": >> >> $ amixer | grep control > > (...) > > Hum... in fact, while I have a "PC speaker" entry in squeeze, I've just > checked in lenny and there is non

Linux disk partition encryption

2011-01-25 Thread T o n g
Hi, I'm thinking to do the disk partition encryptions now. However "Hard drive encryption sounds like an intimating concept, mostly because it is. The thought of taking your precious files, then using a mathematical formula to convert them into random noise before scattering them back across

How to start gdm by default

2011-01-26 Thread T o n g
Hi, I need to start gdm by default on one of my boxes, which is currently booting into text mode. I do have gdm installed: $ dpkg -l | grep gdm ii gdm2.20.11-4 GNOME Display Manager It's still activated as the bootup service: % update-rc.d gdm defaults gdm already in /etc/r

Re: Linux disk partition encryption

2011-01-27 Thread T o n g
On Thu, 27 Jan 2011 16:40:39 +0100, Erwan David wrote: > CBC would be a very bad idea for random access and modification. I thought so. Thanks for the confirmation. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSU

Mount all filesystems in fstab, weird problem

2011-01-27 Thread T o n g
Hi, Somehow my fstab entries are not all mounted by default: $ grep -A2 devpts /etc/fstab devpts /dev/pts devpts mode=06220 0 LABEL=cache21 /lfs/cache21 ext3 noauto,user,dev,suid,exec 0 0 # /dev/sdb2 LABEL=cache31 /lfs/cache31 ext3 noauto,user,dev,suid,exec 0

Re: Mount all filesystems in fstab, weird problem

2011-01-27 Thread T o n g
On Thu, 27 Jan 2011 21:03:04 -0800, Dr. Ed Morbius wrote: >> LABEL=cache31 /lfs/cache31 ext3 noauto,user,dev,suid,exec 0 0 # >> /dev/sdc1 > ^^ Ha! Thx -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.

Re: /etc/X11/Xsession.d

2011-01-28 Thread T o n g
On Fri, 28 Jan 2011 12:12:41 -0500, Wayne Topa wrote: > Note: I start x with startx, and use fluxbox WM. Me too. > In debian, for years now, anything I want to have start up in X I put in > .xinitrc like this > > synergys --config ~/.synergy.conf --restart & > . . . what if you want the

VM speed benchmark

2011-01-30 Thread T o n g
Hi, Talking about VM, some prefer virtulbox, some VMWare. Don't know how many of you prefer kvm. I'm wondering if you could do the speed benchmark of your preferred VM, and compare the result to that of your host. The reason that I'm asking -- recently I noticed that my kvm is extremely slow,

[Solution] Start synergy automatically when X starts (was: /etc/X11/Xsession.d)

2011-01-30 Thread T o n g
On Sat, 29 Jan 2011 15:41:23 +, Camaleón wrote: >> I want to use it to start an app when X starts, synergyc to be exact, > (...) > > There is a doc on how to do this, but not sure if that will help: > > http://synergy2.sourceforge.net/autostart.html Thanks Camaleón. Been there, read that.

panning using xrandr

2011-01-30 Thread T o n g
Hi, How to do panning using xrandr? Wouldn't xrandr --panning x be the same as xrandr -s x But it won't work -- I need to put --output before --panning. The problem is, I've searched everywhere, but every possible string I tried didn't work. warning: output LVDS1 not found; ignoring w

Re: panning using xrandr

2011-02-01 Thread T o n g
On Mon, 31 Jan 2011 12:20:49 +, Camaleón wrote: >> How to do panning using xrandr? . . . > > Don't guess; ask your device: "xrandr -q" will tell you the name of Perfect, thanks a lot. Now the question that I really want, How can I reduce the size of my display to a smaller size, while k

[Solution] panning using xrandr

2011-02-02 Thread T o n g
On Tue, 01 Feb 2011 14:31:55 +, T o n g wrote: > Now the question that I really want, > > How can I reduce the size of my display to a smaller size, while keep > the virtual size of my display to my current size, using panning to view > all virtual display. whole tread is doc

Re: X freeze the system after upgrade

2011-02-03 Thread T o n g
On Thu, 03 Feb 2011 12:42:22 +, Camaleón wrote: >>> My Xorg completely freeze up the system after my recent upgrade. > > Can you "ssh" to the machine while X is frozen? No, can't even ping -- destination unreachable. >> Forgot to mention, it is Debian Testing, kernel version 2.6.35. > > A

Re: X freeze the system after upgrade

2011-02-03 Thread T o n g
On Thu, 03 Feb 2011 12:42:22 +, Camaleón wrote: >> On Thu, 03 Feb 2011 01:25:28 +0000, T o n g wrote: >> >>> My Xorg completely freeze up the system after my recent upgrade. >> . . . it is Debian Testing, kernel version 2.6.35. > > ... why are you loading t

Re: How to use mount.crypt remount

2011-02-03 Thread T o n g
On Thu, 03 Feb 2011 17:42:18 +0100, Jochen Schulz wrote: >> I can't figure out how to use the remount option of mount.crypt from >> its man page. . . > > Use a comma to separate mount options, just like in the /etc/fstab: > > mount -o remount,ro … Thanks. Now I&#

How to use mount.crypt options

2011-02-03 Thread T o n g
On Thu, 03 Feb 2011 17:20:06 +, T o n g wrote: > Thanks. Now I'm one step further, but bumped into another problem: [reposting the same message with added questions] On Thu, 03 Feb 2011 17:42:18 +0100, Jochen Schulz wrote: >> I can't figure out how to use the remount op

Paravirtualization kvm with libvirt

2011-02-04 Thread T o n g
Hi, I have some questions regarding http://wiki.libvirt.org/page/Virtio ie., paravirtualization kvm with libvirt Followings are quotes and my questions, ,- | We assume that you have installed the virtio-compatible guest | under KVM using libvirt (ie. using something like virt-install or

Pump, dhchp, dns and dnsmasq

2011-02-05 Thread T o n g
Hi, Some questions around pump, dhchp, dns and dnsmasq, - Some dhcp server *requires* that hostnames be sent. I've found document on how to send hostnames with other dhchp clients except pump. Now, how can I configure pump to send hostnames when making dhchp requests? - The dnsmasq can b

Re: Pump, dhchp, dns and dnsmasq

2011-02-05 Thread T o n g
On Sat, 05 Feb 2011 20:19:43 +, Tixy wrote: > You'll have to disable DHCP on your router so only your new box responds > to DHCP requests. . . Thanks for your answer, Tixy. In that case, I assume that the dnsmasq server need to be configured to be on a static IP, correct? Any I need to man

Re: Using Libvirt

2011-02-06 Thread T o n g
On Sun, 06 Feb 2011 15:35:34 +0530, Anand Sivaram wrote: >> I'm wondering how can I use the libvirt? . . . >> > Take a look at > http://edin.no-ip.com/blog/hswong3i/libvirt-kvm-debian-mini-howto Thanks. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt

Re: Pump, dhchp, dns and dnsmasq

2011-02-06 Thread T o n g
On Sat, 05 Feb 2011 20:19:43 +, Tixy wrote: > . . . adding a dhcp-host line in dnsmasq.conf for each NIC. E.g. the > entry for the machine I'm typing on is > > dhcp-host=00:28:58:3A:EB:A1,192.168.2.20,computer2,infinite > ^ ^^ ^ MAC

[Conclusion] Providing DHCP and DNS services with DNSMasq

2011-02-07 Thread T o n g
Many thanks to Tixy, who answered all my questions, I now compile it into a big blog, Providing DHCP and DNS services with DNSMasq http://sfxpt.wordpress.com/2011/02/06/providing-dhcp-and-dns-services- with-dnsmasq/ Synopsis To use DNSmasq to provide DNS, DHCP, tftpd and ad blocking to my hom

Re: Pump, dhchp, dns and dnsmasq

2011-02-07 Thread T o n g
On Mon, 07 Feb 2011 11:12:37 +, Tixy wrote: > I also had another thought, Is kvm1 a virtual machine? If so, does it > even get to talk directly to the dnsmasq server or is the host doing NAT > and it's own configuration for the guest? See my blog, http://sfxpt.wordpress.com/2011/02/06/provi

Re: single machine, different IP addresses

2011-02-08 Thread T o n g
On Tue, 08 Feb 2011 10:58:55 +, Camaleón wrote: Is it possible to make a single machine having/answering to different IP addresses (I'm using DNSmasq as the dns server)? >>> You can use a virtual interface: >>> >>> ifconfig eth0:0 192.168.0.1 netmask 255.255.255.0 >>> >> IMO t

Re: single machine, different IP addresses

2011-02-08 Thread T o n g
On Tue, 08 Feb 2011 13:14:39 +, T o n g wrote: >>>>> Is it possible to make a single machine having/answering to >>>>> different IP addresses (I'm using DNSmasq as the dns server)? >>>>> >>>> You can use a virtual interface

This is a spam: debian-user@lists.debian.org 2:10:05 PM

2011-02-08 Thread T o n g
I was curious enough to have opened it, and found out it is just a spam. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble

Re: Pump, dhchp, dns and dnsmasq

2011-02-08 Thread T o n g
On Tue, 08 Feb 2011 09:12:09 +, Tixy wrote: >> > ;; ANSWER SECTION: >> > maroon. 0 IN A 127.0.0.1 >> > >> > ;; Query time: 0 msec >> > ;; SERVER: 192.168.0.100#53(192.168.0.100) ;; WHEN: Sun Feb 6 >> > 23:20:41 2011 >> > ;; MSG SIZE rcvd: 40 >> >> This is t

Re: Squeeze fdisk and cfdisk changed Correction

2011-02-08 Thread T o n g
On Tue, 08 Feb 2011 12:29:38 -0500, Wayne Topa wrote: > This problem was found on only 1 of 3 installs of Squeeze. > > I am now reinstalling the faulty system. Do you still remember what partition tool that you used (that get you into this)? I found whenever I use tools from windows, I get suc

dig knows while ping doesn't

2011-02-16 Thread T o n g
Hi, I can't explain the following myself: $ dig maroon ; <<>> DiG 9.7.1-P2 <<>> maroon ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34832 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;

Re: dig knows while ping doesn't

2011-02-16 Thread T o n g
On Thu, 17 Feb 2011 03:20:58 +, T o n g wrote: > I can't explain the following myself: . . . > > -- dig knows the host maroon. > -- yet ping doesn't know the host maroon. - It actually happens to all of my local hosts short names, unless the domain name is append

C programming, checking for ^C

2011-02-21 Thread T o n g
Hi, I need to check for ^C in an endless loop that doesn't do any stdio. How can I do that? Back in DOS days, I used to use kbhit() from CONIO.H, which checks for currently available keystrokes. Is there similar things under Linux gcc? Thanks -- Tong (remove underscore(s) to reply) http:

ssh connection, secondary ok while prime not

2011-02-24 Thread T o n g
Hi, I have a very weird ssh connection problem -- I get Permission denied (publickey). error while trying to ssh into the box (as root) [1]. However, if I ssh into the same box, same as root, using the same sshd configuration, just a secondary debug ssh session, it works flawlessly [2]. I'

Re: ssh connection problem, DNS and ~/.ssh/config (long)

2011-02-26 Thread T o n g
~/.ssh/config file for remote host connection - my sshd is listening on port 21 - remote host is named maroon, and client is named coral Now the problem in summary, - using hostname for remote host NOK. - using ~/.ssh/config file NOK. Here are the details (long!). Problem #1, us

one-line html post

2011-02-26 Thread T o n g
one-line html post -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http:/

Re: bash variables

2011-02-26 Thread T o n g
On Fri, 25 Feb 2011 14:21:27 -0800, Mike McClain wrote: > the following command lists (along with everything else) > 2 *.deb files in /home/mike/ > > root@/deb40a:~> FIND1="-maxdepth 1 -type f -print -name '*'"; \ > GREP="-v '\.\(deb\|gz\|tgz\|bz2\|tbz\|zip\)$'"; \ find /home/mike/ > $FI

Re: Ripping CD

2011-06-24 Thread T o n g
On Thu, 23 Jun 2011 20:48:13 +0200, Andreas Rönnquist wrote: > asunder is pretty nice for the ripping part of your request (lightweight > and GTK-based) Thanks Andreas, I gave asunder a whirl but somehow it always freeze on me. I guess it might be because that I'm using an old version, v1.9.3-

Re: Ripping CD

2011-06-24 Thread T o n g
On Sat, 25 Jun 2011 02:23:45 +, T o n g wrote: > I gave asunder a whirl but somehow it always freeze on me. It works fine now -- I shouldn't have messed with the proxy setting. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.n

Tagging the music using cddb

2011-06-25 Thread T o n g
Hi, None of the cd rippers work perfectly for me for the moment, so I need to tag the converted ogg music myself *using cddb*. Anybody has done that before? thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUB

Re: Tagging the music using cddb

2011-06-27 Thread T o n g
On Sat, 25 Jun 2011 16:36:46 +0100, Brad Rogers wrote: >> tag the converted ogg music myself *using cddb*. Anybody has done that >> before? > > Yes, but almost invariably, I didn't like what I got from there . . . Guess I'm lucky that all cddb lookups from GUI tools are fine for me. Do you stil

Re: My CD and DVD are messed up

2011-06-28 Thread T o n g
On Tue, 28 Jun 2011 13:01:04 +, Camaleón wrote: > On Mon, 27 Jun 2011 22:22:59 +, T o n g wrote: > >> On Sat, 25 Jun 2011 17:49:24 +, Camaleón wrote: >> >>>> On my system the /dev/cdrom is actually DVD while My CD is actually >>>> /d

Re: My CD and DVD are messed up

2011-07-02 Thread T o n g
Hi, Thanks everyone for the follow ups. Sorry for responding late. On Tue, 28 Jun 2011 17:07:08 +, Camaleón wrote: >> On my system the /dev/cdrom is actually DVD while My CD is actually >> /dev/ cdrom1. > > That does not match with a "correct" fstab file. > > Your primary device (dvd?) s

Re: pre-seed was Re: Headless Install Debian Squeeze

2011-07-02 Thread T o n g
On Fri, 01 Jul 2011 16:19:42 +0100, Wawrzek Niewodniczanski wrote: >> I think it can be introduced on a USB stick or possibly even a floppy >> although the USB stick method would work on just about any P.C. made in >> the last 15 years. . . >> > [...] > I use http to server preseed file . . . U

Re: My CD and DVD are messed up

2011-07-02 Thread T o n g
On Sat, 02 Jul 2011 16:06:23 +, Camaleón wrote: > just read Debian udev the docs to follow the instructions. Hi Camaleón, Thanks for your reply. However, I was having a hard time trying to find what you meant by "Debian udev the docs". All that I found are bit and pieces here and there. W

OT: Camaleón

2011-07-02 Thread T o n g
On Sat, 02 Jul 2011 12:36:14 +1000, Scott Ferguson wrote: > you're best sticking with Camaleón if possible - she does run Gnome and > . . . I don't know western names well and I had always thought that Camaleón is a man, although being "overly" polite (than ordinary man). Is Camaleón really a

Re: My CD and DVD are messed up

2011-07-03 Thread T o n g
On Sun, 03 Jul 2011 15:51:56 +, Camaleón wrote: >> I put them in another file, /etc/udev/rules.d/71-my-cd.rules, but how >> would I overwrite the settings in /etc/udev/rules.d/70 -persistent- >> cd.rules, which was automatically generated by the 75-cd -aliases- >> generator.rules? I.e., wouldn

Re: too much context switching

2011-07-04 Thread T o n g
On Mon, 04 Jul 2011 11:20:18 -0600, ChadDavis wrote: > I'm learning about various tools to monitor performance. I'm reading > about vmstat right now, and it says that context switching, if very > high, can be an indicator of misbehaving hardware Hi ChadDavis, can you post more about this vmstat

printing image full page

2011-07-04 Thread T o n g
Hi, I'm looking for a script-able way to print any arbitrary image onto a full printer page (letter, A4, etc). All the image viewing tools that I tried didn't give me such feature, and so far the only solution I have is, , , doing it in winword. Thanks -- Tong (remove underscore(s) to reply

Re: printing image full page

2011-07-05 Thread T o n g
On Tue, 05 Jul 2011 17:10:56 +, Camaleón wrote: >> I'm looking for a script-able way to print any arbitrary image onto a >> full printer page (letter, A4, etc). . . > > Mmmm, not sure if you are looking for something like "lp file.jpg -o > fitplot" :-?

mlocate db update disabled

2011-07-11 Thread T o n g
Hi, All my boxes have mlocate working fine, except one Ubuntu box. I guess that its mlocate db updating is disabled. How to verify it and get it working? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCR

Re: "Friends" relation diagram

2011-07-21 Thread T o n g
On Thu, 21 Jul 2011 20:29:47 +, T o n g wrote: > What the most appropriate tool to document/describe/diagram the inter- > relations between a group of friends, of which the relations can be > anything, even like, neighbour, car-pool, play-hokey, etc, etc. > > The graphviz co

Re: how do I create a kdm login for non-desktop user

2011-07-22 Thread T o n g
On Fri, 22 Jul 2011 15:22:04 +0300, Jari Fredriksson wrote: >> If the remote user has problems with their computer they should be able >> to press Enter and "fixme" will login and run a script connecting . . . >> > Quite strange setup. But OK. Typical "Windows-thinking". -- Tong (remove under

Re: Have blkid reports on newly added devices

2011-08-05 Thread T o n g
On Fri, 05 Aug 2011 11:33:38 +, Camaleón wrote: > That's weird. Give us the output of "mount" and "dmesg|grep -i sdc" > >> What do you get? Different than mine? > > Yep, sure. As soon as I plug my USB flash key (or my camera) it gets > detected by blkid without needing to make sorcery nor su

Re: IP geographical address info

2011-08-05 Thread T o n g
On Fri, 05 Aug 2011 14:33:19 +0100, Darac Marjal wrote: >> On the other hand, given a country or state/province, can I get a list >> of IP addresses that belong to it? > > Not sure if that's possible, but someone else might have ideas. Thanks for the hint, Darac. Found it's source. FYI, the geog

Re: screenshot manipulation tool

2011-08-08 Thread T o n g
On Mon, 08 Aug 2011 09:41:40 +0200, Mirco Piccin wrote: >>> I meant a simple one, just to the point, not a big monster like gimp. > > i use Shutter! Thanks Mirco. Shutter is indeed a feature-rich screenshot manipulation program which has all the features that I need. Thanks. Just one drawback

Re: screenshot manipulation tool

2011-08-08 Thread T o n g
On Mon, 08 Aug 2011 14:34:01 +, T o n g wrote: > 24 new dependences, 4232kB of archives, 26MB of total installation disk > space is a bit too big for a simple task like this. I still gave it a try. Here is it's limitations I found so far. - unable to work on the image from

How to trick my Debian in thinking that a package is not installed

2010-04-20 Thread T o n g
Hi, How can I trick my Debian into thinking that a package is not installed? I am talking about the *standalone* durep package. I don't like the new 0.9 version but rather prefer the old 0.8 version. However, even I've put it on hold in dpkg/aptitude, from time to time if I do a 'aptitude safe

Re: How to trick my Debian in thinking that a package is not installed

2010-04-20 Thread T o n g
On Tue, 20 Apr 2010 18:31:06 +0100, Brad Rogers wrote: >> How can I trick my Debian into thinking that a package is not >> installed? > > Your best option is, as others have said, to use pinning. If that > doesn't work, or you prefer not to use that method, you could > > 1) simply uninstall dur

Re: backup apt tree?

2010-04-20 Thread T o n g
On Tue, 20 Apr 2010 17:52:33 -0500, Ron Johnson wrote: > so anything catastrophic as to trash var/ will best be solved by a > complete reinstall. 2nd to that. package downgrading would never be "quickly and painlessly". Do a complete system restore, that'd be more quickly and painlessly than do

Re: List issues?

2010-04-20 Thread T o n g
On Tue, 20 Apr 2010 17:37:36 -0500, Chris wrote: > ... oddly enough. Last email from this list to me was at 11:22 am CDT > It's now 5:37 pm CDT No, it's not the list but you. When in doubts, check official debian-user mailing list archives http://lists.debian.org/debian-user/ -- Tong (remov

Re: How to trick my Debian in thinking that a package is not installed

2010-04-20 Thread T o n g
On Tue, 20 Apr 2010 17:26:02 -0600, Monique Y. Mudama wrote: > On Tue, Apr 20 at 23:10, T o n g penned: >> >> Yes, that's what I am doing now. Moreover, I've put it on hold in both >> dpkg and aptitude, but somehow it still get upgraded from time to time. > >

Re: How to trick my Debian in thinking that a package is not installed

2010-04-21 Thread T o n g
On Tue, 20 Apr 2010 22:33:14 -0700, Daniel Burrows wrote: >> I am talking about the *standalone* durep package. I don't like the new >> 0.9 version but rather prefer the old 0.8 version. However, even I've >> put it on hold in dpkg/aptitude, from time to time if I do a 'aptitude >> safe- upgrade',

Re: backup apt tree?

2010-04-21 Thread T o n g
On Wed, 21 Apr 2010 14:14:54 +0200, Sjoerd Hardeman wrote: > Downgrading is not supported... It will *not* fix your problem. You can > of course uninstall the package and reinstall a previous version > directly from its deb. And most often, after a major upgrade, the previous versions can't be

self adaptive apt source

2010-05-05 Thread T o n g
Hi, I came across an universal apt source site that will detect & determine the fastest mirror for each individual user. Now I forgot where to find the info. Anyone can help? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/too

Re: self adaptive apt source

2010-05-05 Thread T o n g
On Thu, 06 May 2010 06:09:21 +0200, godo wrote: >> I came across an universal apt source site that will detect& determine >> the fastest mirror for each individual user. Now I forgot where to find >> the info. Anyone can help? >> > I don't know web site, but maybe apt-spy and netselect-apt can he

Re: self adaptive apt source

2010-05-06 Thread T o n g
On Thu, 06 May 2010 21:58:32 +0900, Osamu Aoki wrote: > I think you are talking CDN. Bingo! > http://lists.debian.org/debian-devel/2008/02/msg00700.html > http://wiki.debian.org/DebianGeoMirror Thanks for the url! -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs

list not upgraded packages

2010-05-06 Thread T o n g
Hi, I was able to see a list of not upgraded packages, but not now: % aptitude upgrade Resolving dependencies... No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 9 not upgraded. Need to get 0B of archives. After unpacking 0B will be use

no alternatives for firefox/mozilla

2010-05-06 Thread T o n g
Hi, Having upgraded iceweasel, I am no longer able to call firefox or mozilla from command line any more. I don't mind firefox is called iceweasel or whatever in Debian, but entirely stopping me from starting firefox is something I don't feel comfortable. Please comment. PS: $ apt-cache pol

Re: no alternatives for firefox/mozilla

2010-05-06 Thread T o n g
On Fri, 07 May 2010 03:20:07 +, T o n g wrote: > Having upgraded iceweasel, I am no longer able to call firefox or > mozilla from command line any more. I don't mind firefox is called > iceweasel or whatever in Debian, but entirely stopping me from starting > firefox is somet

Re: no alternatives for firefox/mozilla

2010-05-07 Thread T o n g
On Fri, 07 May 2010 07:41:44 +0200, Sven Joachim wrote: >> whatever in Debian, but entirely stopping me from starting firefox is >> something I don't feel comfortable. > > This is a feeling that many other users share, and therefore… > >> $ apt-cache policy iceweasel >> iceweasel: >> Installed

~/.xsession-errors file grows way too big

2010-05-19 Thread T o n g
Hi, I am astonished to find out that my ~/.xsession-errors grows to a humongous 640M! My wife's is nearly 400M as well. This is way way too big. I took a look, the reason and cure is very simple -- having X to trunk it each time when started (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=

Re: ~/.xsession-errors file grows way too big

2010-05-20 Thread T o n g
On Wed, 19 May 2010 11:33:02 -0500, Boyd Stephen Smith Jr. wrote: >> I took a look, the reason and cure is very simple -- having X to trunk >> it each time when started >> (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287876) whereas >> currently, my ~/.xsession-errors kept logs back to stone

Creating a (bootable) DOS floppy disk image

2010-05-29 Thread T o n g
Hi, How can I make a DOS floppy disk image under Linux? [OT] Moreover, my experience with DOS was back in stone age when you use sys A: to make it boot-able. Now with Win NT/XP etc, I hear that merely copying ntldr, ntdetect.com and boot.ini into it will make it boot-able. Anybody know if i

Conclusion: Creating a DOS floppy disk image

2010-05-30 Thread T o n g
On Sun, 30 May 2010 09:45:12 +0200, Sven Joachim wrote: >> How can I make a DOS floppy disk image under Linux? > > $ dd if=/dev/zero of=floppy-image bs=1440k count=1 > $ /sbin/mkdosfs floppy-image > > You need the dosfstools package for the latter command. Thanks Sven, and every who replied as

date bug?

2010-05-31 Thread T o n g
Hi, Please take a look at the following, do you think it is bug of date? $ date Mon May 31 13:26:13 EDT 2010 $ date --date='1 month ago' Sat May 1 13:24:20 EDT 2010 $ date --date='last month' Sat May 1 11:09:21 EDT 2010 $ date --date='-1 month' Sat May 1 13:26:49 EDT 2010 All above should

ext2 empty

2010-05-31 Thread T o n g
Hi, I came across a tool called something like "ext2 empty" but forgot where it is now. Primarily, it zero out all unused spaces in ext2 fs, so that the unused spaces won't take up much spaces when compressed. Any hint? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge

Re: ext2 empty

2010-05-31 Thread T o n g
On Mon, 31 May 2010 18:18:47 +, T o n g wrote: > I came across a tool called something like "ext2 empty" but forgot where > it is now. Primarily, it zero out all unused spaces in ext2 fs, so that > the unused spaces won't take up much spaces when compressed. zerofree

debootstrap failed

2010-06-05 Thread T o n g
Hi, I was able to use debootstrap before, but recent tests always fail -- trial logs at: http://paste.debian.net/76281/ http://paste.debian.net/76285/ In brief, a vanilla debootstrap session rm -rf /mnt/os12/* debootstrap --arch amd64 sid /mnt/os12 http://cdn.debian.net/debian/ will fail fo

git working tree is dirty

2010-06-06 Thread T o n g
Hi, I get "Working tree is dirty" error when using git. Details at http://paste.grml.org/7/ How can I fix it? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debi

git: Interactive rebase already started

2010-06-07 Thread T o n g
Hi, What should I do if encountered the "Interactive rebase already started" situation? I did: $ git checkout -b t/unmount Switched to a new branch 't/unmount' # hack grml-debootstrap $ git rebase -i origin/master Waiting for Emacs... Cannot 'squash' without a previous commit But

Re: git: Interactive rebase already started

2010-06-08 Thread T o n g
On Mon, 07 Jun 2010 13:17:37 -0500, Boyd Stephen Smith Jr. wrote: >> I mean, how can I fix the problem? > > (git rebase --abort), Yep, works great! > This isn't really a Git support group. You may have better luck asking > such questions on the Git mailing list. No need to subscribe, since

cp: backup version control

2010-06-18 Thread T o n g
Hi, >From 'man cp': ,- | The backup suffix is `~', unless set with --suffix or SIM- | PLE_BACKUP_SUFFIX. The version control method may be | selected via the --backup option or through the | VERSION_CONTROL environment variable. `- However, I found that the VERSION_CONTROL environment v

Re: cp: backup version control

2010-06-18 Thread T o n g
On Sat, 19 Jun 2010 10:20:09 +0800, Huang, Tao wrote: > here's a set of examples Thanks a lot! -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject

32bits and 3G memory limit

2010-06-20 Thread T o n g
Hi, Sorry if it is a FAQ, Is the 3G memory access limit is the natural one, or something superficial imposed by M$? I mean, does 32bits Linux (the i386 architecture) has such 3G limit as well? thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xp

Re: 32bits and 3G memory limit

2010-06-21 Thread T o n g
Thanks everyone who replied, On Sun, 20 Jun 2010 17:26:08 +, Camaleón wrote: >> I mean, does 32bits Linux (the i386 architecture) has such 3G limit as >> well? > > No, 32 bits architecture can make use of PAE and add/use/address as much > as 64 GiB of RAM. > > http://en.wikipedia.org/wiki/P

gpart can retire now

2010-06-27 Thread T o n g
Hi, [sorry about the cross-posting first] The gpart package that find lost partitions, has anyone try to test if it still works? "Luckily" my whole partition table is wiped clean by a running away Windows app, and I get the chance to test it. The result? -- After 1 hour and 25+ minutes of scan

grub2 and USB

2010-06-27 Thread T o n g
Hi, Anybody knows if grub2 allows me to boot partitions from USB? If so, that'd be useful to boot from boxes that don't have booting off USB disks ability. Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUB

Re: gpart can retire now

2010-06-27 Thread T o n g
On Sun, 27 Jun 2010 15:37:31 -0800, Greg Madden wrote: >> quick scan > > An old fashioned, but still reliable method , cli: not gui > ... > I have recovered deleted partitions this way ,never had to do a whole > hard drive. > > I found this that has more detail: > http://www.faqs.org/docs/Linux-

Re: gpart can retire now

2010-06-28 Thread T o n g
On Mon, 28 Jun 2010 07:36:16 -0500, Ron Johnson wrote: > You must file a bug against it stating your assertion and your > reasoning. Ok, will do -- wasn't sure if I should report to WNPP or something else... -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http:

The empty primary partition, where should it be

2010-06-29 Thread T o n g
Hi, Do you have empty primary partitions? Have you noticed where they are? When leaving an empty primary partition, I'm thinking: /dev/hda1 Primary /dev/hda2 Primary /dev/hda3 Empty /dev/hda4 Extended /dev/hda5 Logical but what I found most existing partitions look like this: /dev/hda1 Primary

Re: gpart can retire now

2010-06-29 Thread T o n g
On Mon, 28 Jun 2010 22:39:14 -0700, Mark wrote: >> It sounds like a good time to stop using "Windows apps". >> >> > Especially naughty runaway Windows apps that wipe partition tables. Honestly, all I did was just to close the lid of my laptop and went to sleep. Next morning, I found my laptop wi

Re: FW: python 2.6 migrated to testing

2010-06-29 Thread T o n g
On Tue, 29 Jun 2010 23:28:20 +0300, Andrei Popescu wrote: > JFYI Thanks a lot. As a normal user who doesn't following any of the development mlist, I really appreciate such FYI forwardings. Just hoping that all such changes that will affect/influence end users will get forwarded here as wel

Re: The empty primary partition, where should it be

2010-06-29 Thread T o n g
On Tue, 29 Jun 2010 22:41:22 +, T o n g wrote: > On Wed, 30 Jun 2010 00:38:09 +0200, Klistvud wrote: > >> By Empty, do you mean: >> a) unpartitioned space >> b) zero-length partition >> c) partition with no filesystem (unformatted) or d) none of the above? &

Re: remark from dd

2010-06-30 Thread T o n g
On Wed, 30 Jun 2010 10:07:22 -0700, peasthope wrote: > Given > r...@dalton:/home/peter# dd if=disk2 of=/dev/fd0 bs=36k > dd: writing `/dev/fd0': No space left on device > 41+0 records in > 40+0 records out > 1474560 bytes (1.5 MB) copied, 40.9183 s, 36.0 kB/s > r...@dalton:

Photo time are wrong

2010-07-13 Thread T o n g
Hi, I use to get correct file time for my photos from my digital camera. But recently they are all wrong now, shifting by about 3 hours. The camera is the same. Something get changed on Debian side? How can I fix it? (photos are from mounted SD card via SD card reader). Thanks -- Tong (remo

Re: Control/change the apt caching server on the fly

2010-07-13 Thread T o n g
On Tue, 13 Jul 2010 20:20:15 +, Liam O'Toole wrote: >> I want to find a way to setup my laptop so that it use my local caching >> server at home, yet easily to switch to direct connection when >> elsewhere. >> >> > apt-get and aptitude respect the environment variables http_proxy and > ftp_pro

apt-cacher-ng: Cache storage error while opening data file

2010-07-13 Thread T o n g
Hi, I got the following error when doing "aptitude update": Err http://cdn.debian.net testing/main Packages 503 Cache storage error while opening data file Err http://security.geo.debian.org testing/updates/main Packages 404 OK What's wrong? How should I fix it? Here is d

<    4   5   6   7   8   9   10   11   >