Re: quick question about turning the annoying beep off in X

2003-11-19 Thread Jean-Baptiste Quenot
* twig les:

 Magic!   I never  bothered to  check if  putting the  command *before*
 wmaker in ~/.xinitrc would make a difference.  Thnx.

The WindowMaker process typically  *replaces* the shell interpreting the
.xinitrc script, you  can notice that by the exec  keyword in front of
it.  Thus everything after the exec statement will be ignored.

By the  way, there  is another  solution to disable  the beep,  which is
independant of X11, works also in the console:

$ echo set bell-style visible  ~/.inputrc

When  bash starts,  the readline  library reads  ~/.inputrc.  For  csh I
don't know...

And there is a global setting for disabling the system bell in the Gnome
Sound Desktop Preferences if you are  using Gnome.  In Gnome Terminal as
well in the profile edition dialog.

Best regards,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


pgp0.pgp
Description: PGP signature


Re: quick question about turning the annoying beep off in X

2003-11-13 Thread Chris Pressey
On Thu, 13 Nov 2003 13:44:43 -0800 (PST)
twig les [EMAIL PROTECTED] wrote:

 Hey all, in my /etc/csh.cshrc I have
 
 xset b off
 
 which does what I want, which is to tell X to shut up without me
 having to type the command in every X session.  But it seems
 clumsy as it puts up an error xset:  unable to open display 
 when I ssh in.  I fully understand that this *should* be an
 error because csh.cshrc is a shell init file, I just tried this
 in .xinitrc and it didn't work.  Putting it in
 /usr/X11R6/bin/startx had predictably bad results.
 
 So anyone know the correct file for this command?

You could try ~/.xsession, although I think that might only work when
you run xdm.

If all else fails, you could just call it like

  xset b off  /dev/null

although that, too, is a bit of an ugly hack (if it ever generates
output that you *do* care about, you won't see it.)

-Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick question about turning the annoying beep off in X

2003-11-13 Thread Dan Nelson
In the last episode (Nov 13), twig les said:
 Hey all, in my /etc/csh.cshrc I have
 
 xset b off
 
 which does what I want, which is to tell X to shut up without me
 having to type the command in every X session.  But it seems clumsy
 as it puts up an error xset: unable to open display  when I ssh
 in.  I fully understand that this *should* be an error because
 csh.cshrc is a shell init file, I just tried this in .xinitrc and it
 didn't work.  Putting it in
 /usr/X11R6/bin/startx had predictably bad results.
 
 So anyone know the correct file for this command?

I'm pretty sure .xinitrc is the one you want.  Make sure you run the
command before any session managers etc.  I just tested it and it works
for me.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick question about turning the annoying beep off in X

2003-11-13 Thread Kevin D. Kinsey, DaleCo, S.P.
twig les wrote:

Hey all, in my /etc/csh.cshrc I have

xset b off

which does what I want, which is to tell X to shut up without me
having to type the command in every X session.  But it seems
clumsy as it puts up an error xset:  unable to open display 
when I ssh in.  I fully understand that this *should* be an
error because csh.cshrc is a shell init file, I just tried this
in .xinitrc and it didn't work.  Putting it in
/usr/X11R6/bin/startx had predictably bad results.
So anyone know the correct file for this command?

 

~/.xinitrc might work???

Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick question about turning the annoying beep off in X

2003-11-13 Thread twig les
--- Dan Nelson [EMAIL PROTECTED] wrote:
 In the last episode (Nov 13), twig les said:
  Hey all, in my /etc/csh.cshrc I have
  
  xset b off
  
  which does what I want, which is to tell X to shut up
 without me
  having to type the command in every X session.  But it seems
 clumsy
  as it puts up an error xset: unable to open display 
 when I ssh
  in.  I fully understand that this *should* be an error
 because
  csh.cshrc is a shell init file, I just tried this in
 .xinitrc and it
  didn't work.  Putting it in
  /usr/X11R6/bin/startx had predictably bad results.
  
  So anyone know the correct file for this command?
 
 I'm pretty sure .xinitrc is the one you want.  Make sure you
 run the
 command before any session managers etc.  I just tested it and
 it works
 for me.
 
 -- 
   Dan Nelson
   [EMAIL PROTECTED]


Magic!  I never bothered to check if putting the command
*before* wmaker in ~/.xinitrc would make a difference.  Thnx.




=
---
Get a taste of Religion ... eat a priest!   
---

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick question about turning the annoying beep off in X

2003-11-13 Thread Viktor Lazlo


On Thu, 13 Nov 2003, twig les wrote:

 Hey all, in my /etc/csh.cshrc I have

 xset b off

 which does what I want, which is to tell X to shut up without me
 having to type the command in every X session.  But it seems
 clumsy as it puts up an error xset:  unable to open display 
 when I ssh in.  I fully understand that this *should* be an
 error because csh.cshrc is a shell init file, I just tried this
 in .xinitrc and it didn't work.  Putting it in
 /usr/X11R6/bin/startx had predictably bad results.

 So anyone know the correct file for this command?

Why not put it in .xinitrc?

Cheers,

Viktor
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]