extlinux-update: command not found anymore

2015-05-01 Thread T o n g
Hi, Having installed extlinux in sid, I still don't have the /boot/extlinux/ linux.cfg file, so I tried to run extlinux-update to generate one. However, I got: extlinux-update: command not found Also, https://packages.debian.org/search? searchon=contents&keywords=extlinux- update&mode=exa

sed, insert file before last line

2014-07-11 Thread T o n g
Hi, The following inserting file method for sed used to be working, even before last line, but not any more. Is it a bug in the current sed? Demo of inserting file method with sed: mkdir /tmp/test printf '%s\n' {1..3} > /tmp/test/f1 printf '%s\n' {one,two,three,four,five,six,seven,eight,nine,t

Seeking moral support after being cyber bullied for my post warning about bitlocker

2014-02-21 Thread T o n g
Hi, I felt that I've been cyber bullied for my post warning about bitlocker, and I've blog the story at, http://sfxpt.wordpress.com/2014/02/21/bitlocker-guideline-and-precaution/ Please take a look and see if you have the same feeling. Thanks -- To UNSUBSCRIBE, email to debian-user-requ..

Re: Install Debian on SD

2014-01-25 Thread T o n g
On Tue, 21 Jan 2014 22:31:14 +, James Kirk wrote: > I would like to install debian on a SD (I've only a Company laptop and I > would like to not modify the standard configuration). Yep, that's the same reason that I installed my debian onto my USB key several years ago. > Since SD is a flas

Is your osspd working?

2014-01-24 Thread T o n g
Hi, Any of you are still using /dev/dsp as I do? Is your /dev/dsp (osspd) still working? OSS Proxy Daemon is a Linux userland OSS sound device (/dev/[a]dsp and /dev/mixer) implementation using CUSE. Currently it supports forwarding OSS sound streams to PulseAudio and ALSA. I'm using Ubuntu

Re: [Ann] dbab, The Best-Ad-Blocking Method in a Package

2014-01-06 Thread T o n g
On Sun, 05 Jan 2014 17:39:44 -0600, John Hasler wrote: >>  the time it takes for someone to setup the best ad blocking method >> has been hatched down from the previously over an hour to just a few >> minutes this time ... > > "apt-get install privoxy" works for me. Yeah, that’s the beauty o

[Ann] dbab, The Best-Ad-Blocking Method in a Package

2014-01-05 Thread T o n g
Hi, FYI, I've just packed The Best Ad Blocking Method [1] into a Package [2], [3] [1] http://sfxpt.wordpress.com/2011/02/21/the-best-ad-blocking-method/ [2] http://sfxpt.wordpress.com/2014/01/05/the-best-ad-blocking-method-in- a-package/ [3] http://mentors.debian.net/package/dbab Taken from th

Debian/Ubuntu Package Developing with Docker, Continued

2013-11-17 Thread T o n g
Hi, Last time I posted about that Docker being the best tool for developing Debian/Ubuntu packages [1]. If you missed it, here is the recap: - The reason Docker being the best tool for developing Debian/Ubuntu packages is that, it gives you isolated pure & pristine environments to build packa

Debian/Ubuntu Package Developing with Docker

2013-11-10 Thread T o n g
Hi, I found that Docker is the best tool for developing Debian/Ubuntu packages, but seems no one has talked about it in Debian world. So here is mine [1]. [1] http://sfxpt.wordpress.com/2013/11/10/debianubuntu-package-developing- with-docker/ If you build your packages with pbuilder, then you

Re: What the proper way to update debian/changelog

2013-05-23 Thread T o n g
On Thu, 23 May 2013 18:55:11 +1200, Richard Hector wrote: > That's where you run it, iirc. thanks Richard. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/knmila$m39

Re: What the proper way to update debian/changelog

2013-05-22 Thread T o n g
Forgot to ask, should the dch be used before dpkg-source -x *.dsc or after, to streamline updating the debian/changelog, to increase the least significant version # and add my change comment, and my id? If after, how about the directory already created by dpkg-source? Thanks -- To UNSUBSCRIB

What the proper way to update debian/changelog

2013-05-21 Thread T o n g
Hi, What the proper way to update debian/changelog, to increase the least significant version # and add my change comment, and my id? Thanks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive

Re: Howto: Record playing audio only via ffmpeg/avconv

2013-05-08 Thread T o n g
On Thu, 09 May 2013 00:11:20 +0800, Hörmetjan Yiltiz wrote: > I'd like to capture a song [1] played via http protocol using firefox. I > wish I could find the file itself in tmpfs but I just could not find it. > > Now I'd like to record the song myself using ffmpeg or avconv ( or even > VLC ), as

Re: The order of my SATA and PATA are switching all the time

2013-05-08 Thread T o n g
On Wed, 08 May 2013 08:40:57 -0400, Stephen Powell wrote: >> Can I use something like root="ID=ata-IBM-DBCA-203240_HP0HPL43952"? I >> remember nothing worked well, so I reverted to the (now troublesome) >> "safe" /dev/sdXn. > > /dev/sdXn is *not* safe. That's the whole point. If you read my mes

Re: installing from iso on partition to another partition, avoiding all access to usb

2013-05-07 Thread T o n g
On Tue, 07 May 2013 20:11:40 -0700, Dan Hitt wrote: > Suppose that i don't want to make a bootable usb stick, or burn a cd, > or burn a dvd. Yes, as long as you can boot into GRUB2. Check my reply in other thread. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subj

Re: Install from iso (no disc burn)

2013-05-07 Thread T o n g
On Tue, 07 May 2013 21:40:03 -0400, Harry Putnam wrote: > I'd like to try installing debian from an iso file but not burn a disc. If you are using the commonly used GRUB2, then consider yourself lucky: Boot an ISO via Grub2 http://michael-prokop.at/blog/2009/05/25/boot-an-iso-via-grub2/ loopbac

Re: The order of my SATA and PATA are switching all the time

2013-05-07 Thread T o n g
On Tue, 07 May 2013 07:55:24 -0400, Stephen Powell wrote: >> Recently I added an old PATA HD to my system, which previously consist >> of two SATA HDs. Ever since then, the order of my SATA and PATA are >> keep switching. > > This problem, and its solution, are discussed at length on my LILO web

Re: wu-ftp substitute

2013-05-07 Thread T o n g
On Tue, 07 May 2013 16:26:58 +1200, Joel Wirāmu Pauling wrote: >> I'm looking for a wu-ftp substitute, i.e., an ftp server that is >> relatively easy to configure the anonymous upload. > > vsftpd I hope that you *did* notice that I need an ftp server that is *relatively easy* to configure the *a

wu-ftp substitute

2013-05-06 Thread T o n g
Hi, I'm looking for a wu-ftp substitute, i.e., an ftp server that is relatively easy to configure the anonymous upload. Please advice. Thanks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Arc

The order of my SATA and PATA are switching all the time

2013-05-06 Thread T o n g
Hi, Recently I added an old PATA HD to my system, which previously consist of two SATA HDs. Ever since then, the order of my SATA and PATA are keep switching. NB, it is not that I can't boot, I can boot just fine, but half of the time the boot process will drop to that single user PANIC mode

How to set emacs' gtk menu font size

2013-05-05 Thread T o n g
Hi, >From a certain point of time that I can't remember, emacs started to use gtk style of menus. It didn't bother me until now, because the font size is so big that it distort my emacs window shape. Anyone know how to set the emacs' gtk menu font & size? I believe emacs is now built with G

defoma and registering ttf fonts system wide

2013-05-04 Thread T o n g
Hi, I used to use defoma to register ttf fonts. Now that it's gone, how to register ttf fonts system wide now? A side question, I used to be able to find out why packages disappearing from the repo by querying it at http://packages.qa.debian.org/, now I can't. How can I know why packages get

Re: Planning for Disk Encryption

2013-05-03 Thread T o n g
On Thu, 02 May 2013 09:19:32 +0200, tv.deb...@googlemail.com wrote: >>So, what would you plan for normal home users on disk failure for Disk >>Encryption? How to cope with it? > > > Hi, I guess what you are referring to can happen if you get bad sectors > where the luks header resides. This is a

Sounds good -- geary email client

2013-05-03 Thread T o n g
On Sun, 28 Apr 2013 23:41:50 -0400, Frank McCormick wrote: >> I just wish it could open in Sylpheed's reader window itself, instead >> of me having to switch to a different workspace where google-chrome is >> running all the time. Would Thunderbird or similar do that? I've >> never used it, so I

Planning for Disk Encryption

2013-05-01 Thread T o n g
Hi, It's well known that fail to plan means plan to fail. But when comes to Disk Encryption, I did not see any reasonably planning on disk failure, even though I've googled extensively. My understanding/impression is that with Full Disk Encryption, even a single bad sector will have a much l

Removing commited versions from git history

2013-02-27 Thread T o n g
Hi, I want to permanently delete an old revision (or revisions) of single file from Git. Specifically, I want to delete from my public git server repo my initial published version of one single file, but keep the rest of its revisions. How can I do that? I've done some searching, as follows.

Re: lightweight dns server

2013-02-27 Thread T o n g
On Wed, 27 Feb 2013 15:44:55 +, Alan Chandler wrote: >> please suggest a lightweight dns server that is available on debian >> main repo >> > dnsmasq is ideal for this. It also includes a dhcp server if you need > that too. +1, check out: Providing DHCP and DNS services with DNSMasq http:/

cp, but preserve the dest attribute

2012-11-17 Thread T o n g
Hi, cp -a, or rsync -a, or cpio normally preserve the source attribute and set the destination attribute accordingly. Now my question is, is there any way for me to preserve the destination attribute and disregard the source attribute. Any way to make it possible, cp/rsync/cpio or something e

Re: partitions - primary vs logical and bootability

2012-11-10 Thread T o n g
On Sun, 11 Nov 2012 05:07:20 +, T o n g wrote: > On Sat, 10 Nov 2012 19:51:29 -0800, Rick Thomas wrote: > >> You only get 4 primary partitions. If you want any Logical partitions, >> you have to have to make one of the primary partitions an Extended >> partiti

Re: partitions - primary vs logical and bootability

2012-11-10 Thread T o n g
On Sat, 10 Nov 2012 19:51:29 -0800, Rick Thomas wrote: > You only get 4 primary partitions. If you want any Logical partitions, > you have to have to make one of the primary partitions an Extended > partition, and put your Logical partitions inside that Extended > partition. > > So, in effect, y

Re: Awk, filtering match through external command

2012-11-10 Thread T o n g
On Sat, 10 Nov 2012 00:36:48 -0500, John L. Cunningham wrote: > Well... > > head /etc/group |\ > awk '{"echo " $0 " | cut -d: -f1" | getline result; print result}' > > ...seems to work. Great. Thanks. > But it is also very silly. Again, as I said, this is only *for the sake of illustration

Re: Awk, filtering match through external command

2012-11-09 Thread T o n g
On Thu, 08 Nov 2012 23:29:23 -0500, John L. Cunningham wrote: >> However, I want the cmd itself a piping command as well. E.g.., >> >> "echo " substr($0, RSTART, RLENGTH) | command external with >> parameters| >> getline result >> > I'm not getting it. Perhaps you could post a sample input wi

Awk, filtering match through external command

2012-11-08 Thread T o n g
Hi,  Awk allows reading results from external command: cmd | getline result However, I want the cmd itself a piping command as well. E.g.., "echo " substr($0, RSTART, RLENGTH) | command external with parameters| getline result Any way to make it works? Thanks -- To UNSUBSCRIBE, email

Re: [OT] debian package maintain tutorial

2012-11-04 Thread T o n g
On Sat, 03 Nov 2012 17:13:21 +, Lisi Reisz wrote: >> For more than one year I wish to pick up some package to maintain but >> has never proceed further. Exactly my situation as well, just I've been wishing for years. >> I don't know it's a problem or not, such as I can figure out the >> mean

acpid and acpi-support

2012-11-04 Thread T o n g
Hi, Would acpi-support conflict with acpid? acpi-support scripts for handling many ACPI events acpid Advanced Configuration and Power Interface event daemon They seems to do the same thing to me, would they conflict with each other? What would best suit my laptop? Thanks -- To UNSUBSCR

[Conclusion] Looking for an emacs replacement

2012-09-08 Thread T o n g
On Sat, 08 Sep 2012 16:01:33 +, Camaleón wrote: Time to look for an all purpose editor to replace emacs. > > And you want to drop it just because of a problem with your settings not > being honored? Have you report it? Does it matter? -- I started to use Emacs almost 15 years ago. By th

defoma and its font path

2012-09-08 Thread T o n g
Hi, It's been generations since I last play with X and defoma. Is defoma still the recommended way of configuring TrueType fonts? I noticed that defoma's font path is not in my Xorg. Is there any modern way to "slip" it in without touching the xorg.conf, using xorg.conf.d perhaps? Thanks -

Re: new installation preserving /home partition

2012-09-07 Thread T o n g
On Fri, 07 Sep 2012 21:33:15 -0300, Mauricio Calvao wrote: > I would like however to preserve my /home partition. Is that > **advisable** or should I delete this partition as well? Depending on how much version dependant stuff you put there. I personally never put any version dependant tools in

Looking for an emacs replacement

2012-09-07 Thread T o n g
Hi, > Subject: My app-defaults won't work for emacs any more > Date: Tue, 4 Sep 2012 01:25:20 + (UTC) > > I haven't updated my emacs for quite a while and today when I update it, > I notice that the new emacs is not following my app-defaults settings, > which has been working for quite a lon

Do I still need alsa if I have pulseaudio

2012-09-03 Thread T o n g
Hi, Do I still need alsa if I have pulseaudio? Thanks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k23mk9$v3d$2...@ger.gmane.org

My app-defaults won't work for emacs any more

2012-09-03 Thread T o n g
Hi, I haven't updated my emacs for quite a while and today when I update it, I notice that the new emacs is not following my app-defaults settings, which has been working for quite a long time. Does it happen to you as well? How did you fix it? Thanks -- To UNSUBSCRIBE, email to debian-us

Re: Preseeding from USB

2012-09-02 Thread T o n g
OMG, thanks again for the fast and comprehensive answer. On Sun, 02 Sep 2012 19:33:56 -0600, Bob Proulx wrote: >> Is it doing installation from the CD or from the Internet? I mean, do I >> have to user a certain CD, eg Debian installation CD, or it has nothing >> with the CD media so I can put t

Re: Preseeding from USB

2012-09-02 Thread T o n g
Wow, that's a fast and comprehensive answer. I didn't expect the answer comes back so quickly. Thanks. On Sun, 02 Sep 2012 15:56:03 -0600, Bob Proulx wrote: >> If normally booted, my USB key would be sdc, should I use >> >> preseed/file=/sdc/path/preseed.cfg >> >> or /mnt/sdc or /media/its_l

Re: VirtualBox and USB

2012-09-02 Thread T o n g
On Sun, 02 Sep 2012 00:17:04 -0500, Mark Allums wrote: > Wait: Have you . . . Thanks Mark, that is really a comprehensive answer. Really appreciate it. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, ema

About localepurge debconf selections

2012-09-01 Thread T o n g
Hi, Where can I find the explanation of the following localepurge debconf selection settings? $ debconf-get-selections |grep ^localepurge localepurge localepurge/quickndirtycalc boolean true localepurge localepurge/remove_no note localepurge localepurge/mandelete boolean true

Re: trying to umount a chroot /dev

2012-08-27 Thread T o n g
On Wed, 22 Aug 2012 09:54:09 +0100, Roger Leigh wrote: >> > Why did you choose "rbind" over "bind". Just curious. >> >> The advantage of using "rbind" is that you don't have to mount >> "/dev/pts" and "/dev/shm" (or just "/dev/pts" on wheezy since >> "/dev/shm" has been moved to "/run/shm") afte

Re: Setting up to do repetitive installs on ONE machine (cf BabelBox)

2012-08-27 Thread T o n g
On Thu, 09 Aug 2012 16:03:57 -0600, Bob Proulx wrote: > In any case with all packages locally available it speeds things up > considerably for doing repeated installations. It is actually kinder to > the upstream file servers because I have many machines and am often > doing many installations in

startx, gnome 3 and system-wide default session

2012-08-27 Thread T o n g
Hi, I get into X by startx (not lightdm). How can I define the default gnome session (gnome-classic instead of 2d/3d) system-wide for all users? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, emai

Re: epub or mobi

2012-08-02 Thread T o n g
On Thu, 02 Aug 2012 08:46:50 -0400, Brad Alexander wrote: > Epub files are the closer to a standardized format, whereas mobi is more > proprietary. > > The other reason I prefer epub is that it is, in essence, html docs in a > zip file format. You can unzip ,epub get a listing of html files: I'm

epub or mobi

2012-08-01 Thread T o n g
Hi, If I can choose, which version of ebook I should pick, the epub or mobi files, and why? 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.debian.org with a subj

Re: Autofs and NFS, user mapping

2012-08-01 Thread T o n g
On Tue, 31 Jul 2012 10:44:14 -0400, Tom H wrote: > 1) Does the mount work if you export with nfsv3 specified? Hmm... that might be the way. How can I do that? I remember that I have to specify nfsv3 on the client/nfsmount side to get the straight-mount work for my uid and gid. Thanks -- Ton

Re: Autofs and NFS, user mapping

2012-07-30 Thread T o n g
On Sun, 29 Jul 2012 18:06:31 -0600, Bob Proulx wrote: > T o n g wrote: >> My Autofs auto-mounted NFS share looks like this: >> >> drwxr-xr-x 9 4294967294 4294967294 45056 2011-04-12 09:47 tmp/ >> >> I.e., the user id and group id are all mapped wrong. >

Autofs and NFS, user mapping

2012-07-29 Thread T o n g
Hi, My Autofs auto-mounted NFS share looks like this: drwxr-xr-x 9 4294967294 4294967294 45056 2011-04-12 09:47 tmp/ I.e., the user id and group id are all mapped wrong. I have identical user ids and groups between my NFS sharing stations, so previously, prior to using Autofs I just use the

DVD burning within VirtualBox VM

2012-07-04 Thread T o n g
Hi, I think DVD burning would be possible within the VirtualBox VM. Can anyone confirm that? The host is Win7, and I don't like Windows' DVD burning solution at all. Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -

Re: filesystem mounted as noexec

2012-03-18 Thread T o n g
On Sun, 18 Mar 2012 14:23:38 +0100, Lorenzo Beretta wrote: > some google-fu, and a look at mount(8): , Thanks Lorenzo. -- 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

filesystem mounted as noexec

2012-03-17 Thread T o n g
On Sat, 17 Mar 2012 14:43:41 +0100, Lorenzo Beretta wrote: > Most likely your filesystem is mounted with noexec, Bingo! Thanks! Hmm..., but why? I didn't specify noexec for any of my mounted filesystems except /proc: $ grep noexec /etc/fstab proc/proc procdefaults,n

zpipe.c: the zlib example

2012-03-16 Thread T o n g
Hi, I believe that zpipe.c used to be working. But it is still working now? I get it compiled OK, gcc -g -lz -o zpipe zpipe.c but wasn't able to run it: $ ./zpipe bash: ./zpipe: Permission denied I get the same result even I put an output immediately after main: /* compress or decompress

Re: Cron, > 1 month but < 2 months

2012-03-12 Thread T o n g
On Tue, 13 Mar 2012 16:32:36 +1300, Chris Bannister wrote: >> arnt@nb6:~$ date &&ddate >> Fri Mar 9 15:25:34 CET 2012 >> Today is Pungenday, the 68th day of Chaos in the YOLD 3178 arnt@nb6:~$ >> ddate 14 3 2012 >> Pungenday, Chaos 73, 3178 YOLD >> arnt@nb6:~$ ddate 15 3 2012 >> Prickle-Prickle, D

[Solved]: Cron, > 1 month but < 2 months

2012-03-12 Thread T o n g
On Fri, 09 Mar 2012 12:37:19 +0100, Florian Ernst wrote: >> >> Is there any easy way to schedule a job for a duration that is >> >> greater than one month but shorter than 2 months? Any duration will >> >> do, as long as it is easy to schedule. >> > >> > Easy? Hmmm. >> > >> > 0 12 * * 1 [ $(expr

How often will this cron job execute

2012-03-08 Thread T o n g
Hi, I've got the following entry in my cron job: 1 1 1 */2 * me my-this-job How often will it execute? Checking the log, I notice that it run on Jan 1 and Mar 1. That's really not something that I've been expecting for. I have another cron job fired at Feb 1, so no doubt that my cron was work

Maintaining/resting gnome settings

2012-02-15 Thread T o n g
Hi, My wife uses gnome, but the problem is that her gnome settings goes berserk every now and then. It won't be long for her to find out this is not working as expect, then that is not working as expect. I use fluxbox instead of DM, so I don't know gnome well. So all I can do is to remove any

Re: My network speed is only 10MB

2012-01-24 Thread T o n g
On Sun, 22 Jan 2012 23:14:15 -0600, Stan Hoeppner wrote: > Ethernet at 100 Mb/s = 12.5 MB/s > File copy at 10 MB/s = 80 Mb/s > > Ethernet at 1000 Mb/s = 125 MB/s > File copy at 117 MB/s = 936 Mb/s Thanks Stan, for all your explains. -- Tong (remove underscore(s) to reply) http://xpt.so

Re: My network speed is only 10MB

2012-01-21 Thread T o n g
On Sat, 21 Jan 2012 23:49:15 +0500, Syed Hasan Atizaz wrote: > well 10MB is quite good, things that could affect your network speed > could be firewall, iptables, router itself plus the cables, i mean no > matter if you have cat 6 connected at one end and . . . Thanks for everybody's replies, es

Re: Which /var/ contents are disposable

2012-01-15 Thread T o n g
On Thu, 12 Jan 2012 11:51:19 +0200, Andrei Popescu wrote: >> Moreover, I'll throw in /var/log as well, because I don't care about >> the logs either. > > You might benefit from putting it on tmpfs then ;) That brings up an interesting topic. -- No, I didn't put /var/log on tmpfs, but /tmp, /var

Re: Long lasting issue with Asian fonts

2012-01-11 Thread T o n g
On Sun, 08 Jan 2012 15:07:10 +, Camaleón wrote: >> I filed a bug report against package fontconfig and I have sent a >> number of updates to the bug address, but I haven't received any >> response: http://bugs.debian.org/479035 > > Wow, no reply in almost three years... I use defoma and neve

Re: Which /var/ contents are disposable

2012-01-11 Thread T o n g
Thanks for your detailed explain, Karl. On Wed, 11 Jan 2012 18:21:19 +, Karl E. Jørgensen wrote: > * /var/mail - if people are OK losing their mail (but they're > usually not). Oh, I meant home system only, in which my mail queue will guarantee to be empty at the time that I chos

Re: Order of cron.daily jobs

2012-01-05 Thread T o n g
On Thu, 05 Jan 2012 15:32:37 +, Camaleón wrote: > You can add a #comment inside the scripts themselves remembering how > hard is to get them sorted and run at the desired order ;-) ROTFL. Camaleón, you just won't admit that you ever neglect something, will you. :-) -- Tong (remove undersco

Re: file mode of scp/sftp

2012-01-05 Thread T o n g
On Thu, 05 Jan 2012 16:12:04 +, Camaleón wrote: > Additional info: . . . Bingo! 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 subje

Re: Order of cron.daily jobs

2012-01-04 Thread T o n g
On Wed, 04 Jan 2012 16:59:27 +, Camaleón wrote: > Yup, but this can be found by simply "trial and error" tests. trial and error can sure yield some conclusion, but whether the conclusion is good really depend on the trials. For Vincent's case specifically, I believe no matter how many tria

Re: file mode of scp/sftp

2012-01-04 Thread T o n g
On Wed, 04 Jan 2012 17:23:12 +, Camaleón wrote: >> If users scp/sftp to my host, how is the default mode of files copied >> determined? Is it from users' umask in their ~/.profile, or somewhere >> else? > > For ssh connections I'm not sure this still applies. Look at "man 8 > sshd" and scroll

Re: procmail, problem with this delivering recipe

2012-01-04 Thread T o n g
On Tue, 03 Jan 2012 23:18:59 -0700, Bob Proulx wrote: >> there were actually more piping commands between formail & $SENDMAIL in >> my rcfile. > > Yes. But as noted that is incorrect. Only one action line is allowed > there. Hmm..., actually, it is correct. True, that there can only be exactly

file mode of scp/sftp

2012-01-03 Thread T o n g
Hi, If users scp/sftp to my host, how is the default mode of files copied determined? Is it from users' umask in their ~/.profile, or somewhere else? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE,

Re: procmail, problem with this delivering recipe

2012-01-03 Thread T o n g
On Wed, 04 Jan 2012 03:40:24 +, T o n g wrote: > # send header only [ . . . ] > I.e., having processed it, procmail went on with the following recipes > instead of considering the mail delivered and cease processing the > rcfile. Hmm... looks like procmail considered the

Re: Order of cron.daily jobs

2012-01-02 Thread T o n g
On Mon, 02 Jan 2012 17:45:45 +, Tony van der Hoff wrote: >> How is the execution order of cron.daily jobs determined? >>. . . > > the same order as ls -s, ie. alphanumerically. I thought so. Thanks everyone. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/

Order of cron.daily jobs

2012-01-02 Thread T o n g
Hi, How is the execution order of cron.daily jobs determined? I want inject my own cron job before and after certain predefined jobs. Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian

Re: [OT] web email acct compromised

2011-12-25 Thread T o n g
On Sun, 25 Dec 2011 07:47:42 -0600, hvw59601 wrote: > Recently one of my Yahoo accts was compromised. Mail was sent all over > the place with nonsense, to LDU also. > [. . . ] > And how is an account compromised? Looks like it's a growing trend to me. One of my friend was hit a while ago as we

OT: deferring gmail's new look

2011-12-24 Thread T o n g
Hi, Somehow I don't like the gmail's new look. I was able to defer switching to gmail's new look before, but I can't figure out how I did it now. Anyone knows how? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- T

Re: Prompting \n

2011-12-24 Thread T o n g
On Sun, 25 Dec 2011 04:16:41 +, T o n g wrote: > BTW, the reason that I gave up 'echo -e' was that it started to > mysteriously output that "-e " in front of the messages I wanted to show > in my /bin/sh scripts. I still haven't figure out why yet. Oh, I f

Re: Prompting \n

2011-12-24 Thread T o n g
On Sat, 24 Dec 2011 19:18:17 -0700, Bob Proulx wrote: >> So, I'm wondering what's the current solution to show/prompt messages >> with embedded \n? > > Use printf. What problems are you having with it? > > $ printf "Hello world!\n" Thanks for your explanation, Bob. What I didn't make clear

Re: cron and MAILTO

2011-12-18 Thread T o n g
Thanks for your answer Bob. On Sun, 18 Dec 2011 21:38:05 -0700, Bob Proulx wrote: >> I know normally cron will send emails to whoever the job is owned/ >> launched by, but if I put a MAILTO at the top of the file, will all >> emails be then sent to my designated MAILTO user id, instead of to >> d

Re: ddclient not working

2011-12-18 Thread T o n g
On Tue, 06 Dec 2011 22:24:43 +, Camaleón wrote: >> Instead I started looking for when it worked correctly and what the >> ddclient.config was at that moment. Then I copied that .config over and >> that made it work correctly. >> >> Which brings up an interesting question: what are the answers

How to get an IP address

2011-11-14 Thread T o n g
Hi, I know how to get an IP address *info* using dig, but has anyone looked into how to get *only* the IP address? so that I can use, eg. the_ip=`get_ip host` Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To U

Re: LibreOffice Base and light-weighted SQL DB

2011-11-09 Thread T o n g
On Wed, 09 Nov 2011 08:23:33 +0200, Johann Spies wrote: >> > I'm all ears. What's your recommendation? >> >> That will depend on what are your expectations. >> >> - For a clone to MS Access (with easy wizards to make fancy reports or >> to create forms with a few clicks...) there is Kexi, knoda

Adobe flash is dead

2011-11-09 Thread T o n g
Well, not exactly now but at lease Adobe flash is dead for all mobile devices: Adobe confirms Flash Player is dead for mobile devices http://www.engadget.com/2011/11/09/adobe-confirms-flash-player-is-dead- for-mobile-devices/ Steve Jobs wins: Flash being phased out from mobile devices http://ww

Re: LibreOffice Base and light-weighted SQL DB

2011-11-08 Thread T o n g
On Tue, 08 Nov 2011 15:33:08 +, Camaleón wrote: > There are another frontend programs which are better prepared to deal > with this task, IMO. I'm all ears. What's your recommendation? thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.source

LibreOffice Base and light-weighted SQL DB

2011-11-07 Thread T o n g
Hi, Ever used the OO/LibreOffice Base? Ever used it with any light-weighted SQL DB? Have any comments to share? 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.d

special device does not exist

2011-11-05 Thread T o n g
Hi, I'm having a very weird problem. % mount /dev/sdb7 /mnt/tmp mount: special device /dev/sdb7 does not exist I.e., my sdb7 is not in my system's device list. But the partition does exist: $ fdisk -l /dev/sdb | grep sdb7 /dev/sdb7 15300 1784820474842 83 Linux And

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

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: 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: 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: 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: "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

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: 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" :-? Can you do that? ... I can't wait to t

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: 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

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

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-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

  1   2   3   4   5   6   7   >