Re: Grepping fonts for a specific glyph

2010-01-28 Thread T o n g
On Thu, 28 Jan 2010 12:32:56 +0200, Dotan Cohen wrote: > I need to know which of my installed fonts have glyphs for a specific > Unicode character (U+05D0). How can I do that? Use imagemagick! Something like for fontf in `mlocate -i .ttf`; do convert -background lightblue -fill blue -pointsize

eth0 or eth1

2010-01-28 Thread T o n g
Hi, One of My Debian has eth1 as the Ethernet card, while all others use eth0. There are only one Ethernet card in each system. Why the different? How can I have consistent 'eth0' throughout all systems? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ h

Suspend/Hibernate under Debian

2010-01-28 Thread T o n g
Hi, I'm trying to get Suspend/Hibernate works with my Debian Laptop. Please recommend a good article/blog/site for me to follow. I've done some extensive search, but it's still not working. I first tried suspend to ram (because I know suspend to disk need extra work), but the symptom is simil

Re: Grepping fonts for a specific glyph

2010-01-28 Thread T o n g
On Fri, 29 Jan 2010 01:16:27 +0200, Dotan Cohen wrote: > script out of it, and I had to change the path-removal code: great, that was one exercise deliberately left for you. :-) > One question, why mlocate instead of locate? Well, "people say so", :-) I actually don't know -- all that I know is

Re: eth0 or eth1

2010-01-28 Thread T o n g
On Thu, 28 Jan 2010 15:17:21 -0600, Chance Platt wrote: >> One of My Debian has eth1 as the Ethernet card, while all others use >> eth0. There are only one Ethernet card in each system. Why the >> different? >> > Is there more than one NIC in your system? No, there is only one NIC in my system.

Re: Grepping fonts for a specific glyph

2010-01-28 Thread T o n g
On Fri, 29 Jan 2010 01:32:54 +0200, Dotan Cohen wrote: > My first go at it just left the whole path... Now I have all these > little gifs all over the filesystem! Oops, "that hurts" -- thought that was obvious. :-) >>> One question, why mlocate instead of locate? >> >> Well, "people say so", :-

Re: Suspend/Hibernate under Debian

2010-01-28 Thread T o n g
On Thu, 28 Jan 2010 22:53:28 -0500, Celejar wrote: > YMMV, but in my experience, s2disk "just works" I'm afraid that's old solution -- You have searched for files named s2disk in suite squeeze, all sections, and all architectures. Sorry, your search gave no results -- Tong (remove underscor

Re: Suspend/Hibernate under Debian

2010-01-29 Thread T o n g
On Thu, 28 Jan 2010 22:53:28 -0500, Celejar wrote: >> I'm trying to get Suspend/Hibernate works with my Debian Laptop. Please >> recommend a good article/blog/site for me to follow. . . > > YMMV, but in my experience, s2disk "just works", while s2ram has never > really worked for me. IIUC, s2di

Re: garbages in man page output

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 08:55:07 +, Camaleón wrote: > test with another locale that can handle UTF-8: > > LANG=en_US.UTF-8 man whatever No luck, still get the same garbage. > Or try by appending "-d" for debugging. Here's it. What's wrong? -- $ LANG=en_

Re: eth0 or eth1

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 08:48:19 -0500, Stephen Powell wrote: > One other item in the > procedure that I neglected to mention is to edit /etc/network/interfaces > to make sure that it says eth0 instead of eth1. Thanks Stephen for make it comprehensive and complete -- I was luck to somehow have both

Re: Suspend/Hibernate under Debian

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 13:32:53 -0500, Celejar wrote: >> and s2disk preserves the system and shuts down fine. >> >> However, on turning on the machine, everything goes back to old routine >> and does a normal boot, instead of resuming from my suspension. What >> I've missed? > > It looks like the k

Re: Suspend/Hibernate under Debian

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 14:10:19 -0500, Celejar wrote: >> What does you kernel line look like in your lilo/grub1/grub2 >> configuration. I think it may be helpful to have a resume= argument >> there somewhere. > > I actually don't have 'resume' arguments in my kernel lines, yes, the resume= argumen

Re: serious problem upgrading sox

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 20:47:14 +0100, Bernard wrote: > On my Debian Lenny system, the sox version that I had installed > (v14.0.1) was somewhat outdated, so I tried to install 14.3, which > appeared to be available only on 'testing' repositories... You should never mingle Lenny & testing, even if y

[Solved] Suspend/Hibernate under Debian

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 14:17:06 -0500, Celejar wrote: >> shutdown method = shutdown > > Don't really understand this stuff well, but have you tried the > 'platform' method? I'm able to shut down fine, so that irrelevant. >> $ blkid | grep sda9 >> /dev/sda9: LABEL="swap" UUID="05858bd5-e713-421a-a4

Re: serious problem upgrading sox

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 22:05:22 +0100, Bernard wrote: >> You should never mingle Lenny & testing, even if you think you know >> everything. >> > Thanks for this advice. No, I don't think that I know everything... The fundamental difference between Lenny & testing (libc for eg) will cause you never-

Re: Suspend/Hibernate under Debian

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 21:06:42 +, T o n g wrote: > - > "Please recommend a good article/blog/site for me to follow". > > The best places are the included docs, ie, > > /usr/share/doc/uswsusp/README > /usr/share/doc/uswsusp/README.Debian > /usr/share/doc

Suspend to Ram under Debian

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 21:06:42 +, T o n g wrote: Re: [Solved] Suspend/Hibernate under Debian > Hooray!!! > It resumes fine!!! FYI, To suspend to Ram under Debian, the best doc is the included one, ie, /usr/share/doc/uswsusp/README.s2ram-whitelist.gz The online version is at Susp

Re: serious problem upgrading sox

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 23:53:19 +0100, Bernard wrote: > A 'find / | grep sox' showed me that . . . mlocate sox would be much much faster. Ref: http://article.gmane.org/gmane.linux.debian.user/373030/ > . . . I will later on make further attempts at > installing the newer version from testing/si

Re: Sorting elements *and* knowing where each one has been put

2010-01-29 Thread T o n g
On Sat, 30 Jan 2010 00:08:00 +0100, Merciadri Luca wrote: > The problem is that I need to know where value_i is, before, and after, > the sorting. Is this homework? -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBS

hibernate suspend to both under Debian

2010-01-29 Thread T o n g
On Fri, 29 Jan 2010 23:55:15 +, T o n g wrote: > Re: [Solved] Suspend/Hibernate under Debian > >> Hooray!!! >> It resumes fine!!! > > FYI, > > To suspend to Ram under Debian . . . Hi, I'm able to do both suspend to disk and suspend to RAM with hiberna

Re: hibernate suspend to both under Debian

2010-01-30 Thread T o n g
On Sat, 30 Jan 2010 05:48:38 +, T o n g wrote: > I'm able to do both suspend to disk and suspend to RAM with hibernate, > but I'm not able to do suspend to both no matter what I tried. You need to modify the whitelist of the source code of s2ram to allow your machine to su

build from source, patch does not remove cleanly

2010-01-30 Thread T o n g
Hi, I'm trying to build uswsusp from source. It builds fine with debuild -us -uc provided that I don't change anything. But having made my modification, I got the following error: -- [...] debconf-updatepo dh_clean QUILT_PATCHES=debian/

Re: build from source, patch does not remove cleanly

2010-01-30 Thread T o n g
On Sat, 30 Jan 2010 20:14:56 +0100, Sven Joachim wrote: > Read /usr/share/doc/quilt/README.source for information how to work with > packages that use quilt. Thanks. It compiles fine now. How would I submit patch? Would my hacked debian/patches/Acer_Aspire_5536 alone be fine? Thanks -- Tong

Re: remove an HTML tag and all its children from commandline

2010-01-30 Thread T o n g
On Sun, 31 Jan 2010 10:54:46 +0800, Zhang Weiwu wrote: > I want to remove all advertisements in my 100 html files. They are > pretty neatly classed, like the following: > > > ... > > > However I could not simply do this: > s/.*// > > Because it is too greedy For not-so-simple tasks, you need

Re: remove an HTML tag and all its children from commandline

2010-01-31 Thread T o n g
On Sun, 31 Jan 2010 20:05:46 +0800, Zhang Weiwu wrote: > $ tidy -q -asxml -utf8 page_07_zh.html | xpath -e > '//d...@class="advertisement"]' exactly. Glad that you found both tidy & libxml-xpath-perl, and solve the problem yourself. -- Tong (remove underscore(s) to reply) http://xpt.sourcefo

OT: automake --add-missing

2010-02-13 Thread T o n g
Hi, >From automake doc: ,- | The '--add-missing' argument copies some boilerplate files from | your Automake installation into the current directory and the | '--copy' argument copies files instead of linking to them. `- However, why I can't make it work: rm ./NEWS ./README ./AUTHORS .

Re: Debian way to compile your own version of a package

2010-02-14 Thread T o n g
On Sun, 14 Feb 2010 18:35:06 -0500, Frank McCormick wrote: >> I would like to recompile Vim with a specific patch, and I'd like to >> know what's the recommended way to do so in a Debian system. Should it >> be kept separate - like in /usr/local - or should I create a .deb >> package with a specia

Re: Man pages show non-english characters

2010-02-20 Thread T o n g
On Fri, 19 Feb 2010 21:43:58 -0600, Harry Putnam wrote: > on a recently upgrade to squeeze and still working the upgrade I notice > my man pages have a scattering of non-englsh char scattered through > them, that in places makes it difficult to read. > . . . > How can I get all english man pages?

acroread packages obsoleted

2010-03-27 Thread T o n g
Hi, The last time I did aptitude update, I found my acroread packages (from debian-multimedia) are now obsolete, which contain, acroread, acroread-data, acroread-escript and acroread-plugins $ apt-cache policy acroread acroread: Installed: 9.1.0-0.4 Candidate: 9.1.0-0.4 Version table:

Re: acroread packages obsoleted

2010-03-27 Thread T o n g
On Sat, 27 Mar 2010 20:20:32 +, Brad Rogers wrote: >> How can I have acroread now? > > Add 'non-free' to your sources.lst for debian-multimedia. It's been > that way for since 17 Feb. Thanks a lot Brad, that's exactly the reason. PS. apparently I'm not the only one who is not aware of thi

Re: HAL UID ?

2010-03-27 Thread T o n g
On Sat, 27 Mar 2010 15:02:47 -0600, Paul E Condon wrote: > I am investigating pmount and pmount-hal IIRC, the HAL and everything related to it will be phased out soon. I won't recommend you spend time on something that'll be outdated soon. -- Tong (remove underscore(s) to reply) http://xpt.s

problem installing grub-legacy

2010-03-27 Thread T o n g
hi, Long story, I don't want Grub2/Grub-PC, etc, but get upgraded to it. Now I can't go back, because grub-common is listed as a dependency of grub- legacy. But the grub-common package has been upgraded for use with version 2 only. Comment? Thanks -- Tong (remove underscore(s) to reply) h

Looking for good dark background GTK themes

2010-03-28 Thread T o n g
Hi, Any dark-background fans here? Please suggest your dark background GTK Theme. Mine used to look like this, http://xpt.sourceforge.net/techdocs/misc/ce01-DarkBackgroundIsGoodForYou/ screenshot.png No high contract, yet everything shows vividly. Unfortunately it doesn't work for the update

Flash click problem

2010-03-28 Thread T o n g
Hi, Recently, I experience click-problems for web flashes. For example, in this flash, http://www.hs101.ca/final_low/start.htm Clicking on the "Next" or "Back" barely work -- one click is no good, I have to continuously clicking until eventually somehow one get through, that's normally after

Failed to install flashplayer-mozilla

2010-03-28 Thread T o n g
Thanks everyone for the responds. On Sun, 28 Mar 2010 12:03:35 -0500, Ron Johnson wrote: > Note, though, which flash player I use. *Not* flashplugin-nonfree. > > $ apt-cache policy flashplayer-mozilla flashplayer-mozilla: >Installed: 1:10.0.45.2-0.0 >Candidate: 1:10.0.45.2-0.0 >Ver

Re: How to read log files

2010-03-28 Thread T o n g
On Sun, 28 Mar 2010 19:11:03 +0300, Dotan Cohen wrote: > Is there a good resource for learning to read log files such as the > kernel log, messages, dmesg, and such? I have been googling but found > nothing really comprehensive yet understandable for a newbie. Where > should I start? When I used

Re: Failed to install flashplayer-mozilla

2010-03-28 Thread T o n g
On Sun, 28 Mar 2010 15:56:36 -0500, Ron Johnson wrote: > That looks like 64-bit Debian, right? Yep, so...? -- 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 wit

Re: Flash click problem

2010-03-28 Thread T o n g
On Sun, 28 Mar 2010 23:57:44 +0200, janek wrote: >> Recently, I experience click-problems for web flashes. For example, in >> this flash, >> >> http://www.hs101.ca/final_low/start.htm > > More info: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548986 > > Try to set variable GDK_NATIVE_WIND

Conclusion: Looking for good dark background GTK themes

2010-03-28 Thread T o n g
On Mon, 29 Mar 2010 01:58:23 +0200, jo...@gmx.li wrote: > Are you also interested in KDE/fluxbox themes? Actually I'm into simplicity. My current GTK theme zip up to only less than 3k. It is based on "Clearlooks Compact" by Martin Ankerl martin.ank...@gmail.com. http://art.gnome.org/download/th

Conclusion: problem installing grub-legacy

2010-03-29 Thread T o n g
On Mon, 29 Mar 2010 00:57:04 -0700, Freeman wrote: >> I don't want Grub2/Grub-PC, etc, but get upgraded to it. Now >> I can't go back, because grub-common is listed as a dependency of grub- >> legacy. But the grub-common package has been upgraded for use with >> version 2 only. >> > I posted this

Re: Conclusion: Looking for good dark background GTK themes

2010-03-29 Thread T o n g
On Mon, 29 Mar 2010 03:29:57 +, T o n g wrote: > I like a generally dark theme, > with no high contract, just mild tones, yet everything shows vividly. Detailed conclusion is available at http://sfxpt.wordpress.com/2010/03/29/good-dark-background-gtk2-theme/ -- Tong (remove unders

Going wireless

2010-04-09 Thread T o n g
Hi, I always use wired network for my laptop because I don't know how to properly get wireless going. I've been to web sites like the following but they all look rather complicated. The basics of wireless LAN interface http://www.debian.org/doc/manuals/reference/ ch05.en.html#_the_basics_of_wir

Re: Going wireless

2010-04-09 Thread T o n g
1st of all, thanks everyone that responded. On Fri, 09 Apr 2010 16:16:57 +0200, Wolodja Wentland wrote: > Check http://wiki.debian.org/WiFi/HowToUse > > I am particularly fond of wpa_supplicant in roaming mode [1] but you > might want to take a look at wicd or network-mangler as well. I've rea

Synergy, controlling many client with same setting

2010-04-13 Thread T o n g
Hi, I want to layout my synergy control so that all client machines are to the left of my server. Is it possible? Only one client machine might connect to my server at any given time, but I don't want to change my the ~/.synergy.conf file every time when the client machine changes (because th

Re: why does the shell show commands foolishly when I press UP key?

2007-12-08 Thread T o n g
On Wed, 14 Nov 2007 11:09:35 +0100, Misko wrote: > On Mon, Nov 12, 2007 at 10:49:49PM -0800, [EMAIL PROTECTED] wrote: >> >> > I often use UP key to get commands entered previously. The shell show some >> > commands again and >> > again, just because I have used them several times. Can the shell

Re: [OT] LaTeX

2007-12-08 Thread T o n g
On Sun, 25 Nov 2007 11:12:38 -0500, Michael Pobega wrote: > I'd like to begin writing my coursework for college in LaTeX, but I've > no clue where to start. . . LaTeX is not recommended for casual writing. The learning curve is so steep that most people would give up before they see the beauty o

Re: volume mgmt w/o gnome

2007-12-08 Thread T o n g
/disk/pen/pen03-Automounting/index.html All else notes on pmount http://xpt.sourceforge.net/cgi-bin/search?P=pmount&DEFAULTOP=and&DB=default&FMT=query&xDB=default&xFILTERS=--A I haven't tried it yet, since I'm a command line guy, and the following command line

Re: CLI tool to deeply examine a DVD?

2007-12-08 Thread T o n g
g 1024 /lfs/dlCache2/movies/rip/dat/test/vob/003/test vob | tcextract -a 0 -x ac3 -t vob | tcdecode -x ac3 | tcscan -x pcm = Grabbing preview - title #3, frame #4566 transcode -H 10 -z -k -o snapshot -y ppm,null -x vob,null -i /lfs/dlCache2/movies/rip/dat/test/vob/003 -c 6-7 -L 45180 &

Re: getopt and parameters with spaces

2007-12-18 Thread T o n g
On Tue, 18 Dec 2007 21:09:58 +0100, Frodo Looijaard wrote: >> I believe that the suggested way to call getopt is >> >> eval set -- `getopt -o -- "$@"` > > No, it is actually: > eval set -- "`getopt -o -- "$@"`" > > Note

Preventing IP conflict

2007-12-19 Thread T o n g
Hi, It's now the third time that I bumped into such situation. All of sudden I suffer from network delay and package lost, can't ping DNS server but can ping some IPs that is connecting to my box. I have suspected my cable, kernel version, etc, etc, and until today, after rebooting into Window$

Re: Preventing IP conflict

2007-12-20 Thread T o n g
Thanks everyone for the reply. On Thu, 20 Dec 2007 06:58:55 +0100, Bonnel Christophe wrote: >> It's now the third time that I bumped into such situation. All of sudden I >> suffer from network delay and package lost, can't ping DNS server but can >> ping some IPs that is connecting to my box. >>

Re: texexec utility?

2007-12-21 Thread T o n g
On Fri, 21 Dec 2007 22:13:05 +0100, Davide Mancusi wrote: >> I have textex/texlive installed but I do not see >> texexec. . . >> >> What package is this utility part of? > > [EMAIL PROTECTED]:~$ apt-file list bin/texexec > [EMAIL PROTECTED]:~$ > > Looks like texexec is not in Debian. What

Using rsync to download photos from camera

2007-12-31 Thread T o n g
Hi, I've been using rsync for many years to synchronize between local directories or remote PCs. I've also successfully used rsync to synchronize photos from my Pentax Optio camera to PC, so that only the newly shot photos are copied. However, I found the very same approach doesn't work for the

Re: Using rsync to download photos from camera

2008-01-01 Thread T o n g
On Mon, 31 Dec 2007 12:01:08 -0500, Wayne Topa wrote: >> I.e., rsync insists to copy again files that have already been copied, >> although I see no obvious reason why it is doing so. > > I use rsync, much like you do, to copy .debs to 4 other boxes. I only > use it like below, and only transfer

Using aliases or functions in bash script

2008-01-23 Thread T o n g
them in my script? Looking through the man pages, I think the following content is related to my question: Aliases are not expanded when the shell is not interactive, unless the expand_aliases shell option is set using shopt. [-+]O [shopt_option] shopt_optio

Re: Using aliases or functions in bash script

2008-01-23 Thread T o n g
On Wed, 23 Jan 2008 23:21:37 +, Tzafrir Cohen wrote: >> I have the following alias and function defined in my ~/.bashrc: >> >> $ alias rd >> alias rd='rmdir' >> >> $ type dt >> dt is a function >> dt () >> { >> pushd +$1 >> } >> >> How can I use them in my script? . .

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

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

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

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: Preseeding from USB

2012-09-02 Thread T o n g
entry in my grub boot menu. > I use preseeding to hook in a final finishing up installation script. > > d-i preseed/late_command string wget -O/target/var/tmp/bootstrap http://localwww/bootstrap/bootstrap; in-target sh /var/tmp/bootstrap > > That runs a script and allows me t

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

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

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

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

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 -

[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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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