Re: [arch-general] Laptop beeps after resuming from suspension

2011-02-11 Thread Ng Oon-Ee
On Fri, 2011-02-11 at 16:18 +0800, Thomas Dean wrote:
 
  It probably loads the pcspkr module. Adding !pcspkr to the modules array
  in rc.conf might fix it. Otherwise, a rmmod pcspkr in a post-sleep hook
  in /etc/pm/sleep.d/50-pcspkr (chmod +x it) might workaround it.
 
 The only mudule I load is cpufreq.

You need to blacklist pcspkr



Re: [arch-general] A repo-add replacement?

2011-02-11 Thread Magnus Therning
On Thu, Feb 10, 2011 at 19:02, PyroPeter abi1...@googlemail.com wrote:
 On 02/10/2011 07:03 PM, Magnus Therning wrote:

 repo-add repo.db.tar.gz `find . -name *.pkg.tar.gz | sort`

 That is in fact broken, because it sorts just like 'ls *':

   % ls *.pkg.tar.gz
   foo-1.2.3.1-1.pkg.tar.gz  foo-1.2.3-1.pkg.tar.gz
   % find . -name \*.pkg.tar.gz|sort
   ./foo-1.2.3.1-1.pkg.tar.gz
   ./foo-1.2.3-1.pkg.tar.gz

 /M

 It turns out GNU sort has a switch for sorting version numbers :-P

 $ find . -name \*.pkg.tar.gz | sort -V

 should work.

That does indeed seem to work.  Thanks! :-)

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus


Re: [arch-general] Laptop beeps after resuming from suspension

2011-02-11 Thread Thomas Dean
On Fri, 2011-02-11 at 16:25 +0800, Ng Oon-Ee wrote:
 On Fri, 2011-02-11 at 16:18 +0800, Thomas Dean wrote:
  
   It probably loads the pcspkr module. Adding !pcspkr to the modules array
   in rc.conf might fix it. Otherwise, a rmmod pcspkr in a post-sleep hook
   in /etc/pm/sleep.d/50-pcspkr (chmod +x it) might workaround it.
  
  The only mudule I load is cpufreq.
 
 You need to blacklist pcspkr
 

Thank you.
Could you please describe what pcspkr is used for?
Will there be any problem arising after I blacklist it.



Re: [arch-general] Laptop beeps after resuming from suspension

2011-02-11 Thread Cédric Girard
On Fri, Feb 11, 2011 at 10:24 AM, Thomas Dean tdean...@gmail.com wrote:

 On Fri, 2011-02-11 at 16:25 +0800, Ng Oon-Ee wrote:
  On Fri, 2011-02-11 at 16:18 +0800, Thomas Dean wrote:
   
It probably loads the pcspkr module. Adding !pcspkr to the modules
 array
in rc.conf might fix it. Otherwise, a rmmod pcspkr in a post-sleep
 hook
in /etc/pm/sleep.d/50-pcspkr (chmod +x it) might workaround it.
  
   The only mudule I load is cpufreq.
 
  You need to blacklist pcspkr
 

 Thank you.
 Could you please describe what pcspkr is used for?
 Will there be any problem arising after I blacklist it.


No.
Have a look at the wiki page [1].

[1] https://wiki.archlinux.org/index.php/Disable_PC_Speaker_Beep

-- 
Cédric Girard


Re: [arch-general] [arch-dev-public] Vi package

2011-02-11 Thread Johannes Held
David Campbell davek...@archlinux.us:
 Excerpts from Allan McRae's message of 2011-02-10 17:12:54 -0500:
  Is the current vi package actually usable for an install by someone more
  familiar with it?
 Yes, I have used it a few times, and prefer it over nano.
+1

The simple things (switching input modes and saving files) works.

-- 
Gruß, Johannes


Re: [arch-general] Laptop beeps after resuming from suspension

2011-02-11 Thread Thomas Dean
On Fri, 2011-02-11 at 10:31 +0100, Cédric Girard wrote:
 On Fri, Feb 11, 2011 at 10:24 AM, Thomas Dean tdean...@gmail.com wrote:
 
  On Fri, 2011-02-11 at 16:25 +0800, Ng Oon-Ee wrote:
   On Fri, 2011-02-11 at 16:18 +0800, Thomas Dean wrote:

 It probably loads the pcspkr module. Adding !pcspkr to the modules
  array
 in rc.conf might fix it. Otherwise, a rmmod pcspkr in a post-sleep
  hook
 in /etc/pm/sleep.d/50-pcspkr (chmod +x it) might workaround it.
   
The only mudule I load is cpufreq.
  
   You need to blacklist pcspkr
  
 
  Thank you.
  Could you please describe what pcspkr is used for?
  Will there be any problem arising after I blacklist it.
 
 
 No.
 Have a look at the wiki page [1].
 
 [1] https://wiki.archlinux.org/index.php/Disable_PC_Speaker_Beep
 

Will this affect my listening to music by Rhythmbox?



Re: [arch-general] Laptop beeps after resuming from suspension

2011-02-11 Thread Cédric Girard
On Fri, Feb 11, 2011 at 10:45 AM, Thomas Dean tdean...@gmail.com wrote:



 Will this affect my listening to music by Rhythmbox?


Why don't you try it and figure it by yourself?

Anyway, the answer is no. The PC speaker is not the same as the speaker used
to listen to music or other advanced sound.

-- 
Cédric Girard


Re: [arch-general] Laptop beeps after resuming from suspension

2011-02-11 Thread Thomas Dean
On Fri, 2011-02-11 at 10:59 +0100, Cédric Girard wrote:
 On Fri, Feb 11, 2011 at 10:45 AM, Thomas Dean tdean...@gmail.com wrote:
 
 
 
  Will this affect my listening to music by Rhythmbox?
 
 
 Why don't you try it and figure it by yourself?
 
 Anyway, the answer is no. The PC speaker is not the same as the speaker used
 to listen to music or other advanced sound.
 

Well, thank you very much. The problem has been solved perfectly.
Disabling it doesn't affect Rhythmbox.

But I'm still thinking why it doesn't beep if I don't suspend my
computer :-) Is this one of the mysteries in the world?



Re: [arch-general] [arch-dev-public] Vi package

2011-02-11 Thread Caleb Cushing
I'd like to say that one of the problems before was not simply the
stripped down vi, but the fact that arch was setting up the example
vimrc as default, which is not the actual vim default, and was never
intended to be used as a distro default. so the settings people got
confused long term knowledgeable vim users too. what the default is I
don't care, I've long aliased vi  to vim now.

-- 
Caleb Cushing

http://xenoterracide.com


[arch-general] gcc: internal compiler error: Segmentation fault

2011-02-11 Thread David C. Rankin
Guys,

Has anyone else experienced a segmentation fault with the current gcc? I
received the following:

In file included from /home/david/tbld/kdebase/kcontrol/konq/fontopts.cpp:387:0:
/home/david/tbld/kdebase/src/kcontrol/konq/fontopts.moc: In member function
virtual void KonqFontOptions::load(bool):
/home/david/tbld/kdebase/src/kcontrol/konq/fontopts.moc:136:93: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.

From the error, I take it this is a gcc issue and I'll submit it there, 
but I
wanted to see if anyone else had seen it (or something like it) and what, if
anything, else the Arch devs would like to see on the issue.

-- 
David C. Rankin, J.D.,P.E.