bash not running ~/.bash_profile

2005-06-17 Thread James Buchanan

Hi,

For some reason my ~/.bash_profile and ~/.bashrc are not being executed 
by bash.  Is there some way I can fix this problem?  I tried to add a 
script S10sourceprofile to /etc/rc2.d/ but that didn't work.


I'm using Sarge.  I've searched Google and a few people seem to have 
this problem, and the bash docs say that these only get executed if the 
shell is being run as a login shell.  In this case it would seem that 
only my /etc/profile is being run.  I suppose I could add:


if [-f ~/.bash_profile]; then
. ~/bash_profile
fi

to /etc/profile, but then I don't know if that would somehow break my 
system, since I am not sure if bash is being run in interactive mode on 
purpose...


What can I do to solve this issue?  My system logs me in using kdm, by 
the way.  Not sure if init runs a bash login shell which then runs kdm 
or whatever.


Thanks,
James


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




cdrecord slow

2005-06-11 Thread James Buchanan
Hi,

For some reason, cdrecord is very slow.  It never burns anything faster than 
4x, even though I instruct it on the command line to burn at 32x.  Also, DVDs 
will only burn at 1x.  I've read that automounting seems to slow it down, and 
playing CDs in the drive locks it at a very slow speed for some reason.

There are also apparently two types of automounting, but now I am just 
confused.  How do I switch off automounting for the CD-ROM, both ways if 
necessary?

Anyone know of any issues with cdrecord being really slow for some reason?

I'm running Sarge on a 2.6.8-1 kernel.

Thanks,
James


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



No sound in Gnome (Sarge, SoundBlaster card, Gnome 2.4.1)

2004-05-21 Thread James Buchanan
So far Google reveals only that SoundBlaster cards sometimes misbehave. 
I couldn't find anything specific about not getting any sound out of
Gnome with a SoundBlaster Live 5.1 card.

I have the correct modules loaded (2.6.3 kernel, snd-emu10k1,
snd/sound/coundcore, ac97-codec), fixed permissions on /dev/mixer and
/dev/dsp, and added myself to the audio group.

Looking in /proc/driver/emu10k1/:00:0f.0 :

$ cat info:

Driver Version : 0.20a
Card type  : Emu10k1
Revision   : 10
Model  : 0x8064
IO : 0xa800-0xa81f
IRQ: 18
 
Registered /dev Entries:
/dev/dsp0
/dev/dsp1
/dev/mixer0
/dev/midi0
/dev/sequencer

$ cat ac97:

Vendor name  : Unknown
Vendor id: 454D 4328
AC97 Version : 2.0 or later
Capabilities :
DAC resolutions  : -16-bit- -18-bit-
ADC resolutions  : -16-bit- -18-bit-
3D enhancement   : No 3D Stereo Enhancement
POP path : pre 3D
Sim. stereo  : off
3D enhancement   : off
Loudness : off
Mono output  : MIX
MIC select   : MIC1
ADC/DAC loopback : off
Ext Capabilities : -PCM surround DAC- -slot/DAC mappings-
Front DAC rate   : 0

---

Looks like /dev/dsp and /dev/mixer aren't handled by the device driver
under Registered /dev Entries so nothing's happening when applications
use /dev/dsp and /dev/mixer.  But if I cat /dev/urandom  /dev/dsp I do
get a hissing sound, leading me to believe that I am completely confused
and out of my depth...

I'm not sure how to instruct Gnome to use /dev/dsp0 or /dev/dsp1, or
/dev/mixer0 or /dev/mixer1, or whatever it is that I must do.

Any help appreciated,
Thanks.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[SOLVED] No sound in Gnome

2004-05-21 Thread James Buchanan
Sorry list, problem solved.

Symlinked /dev/dsp0 to /dev/dsp and /dev/mixer to /dev/mixer0.
Didn't have speaker volume turned up :)

D'oh!



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Yahoo's Antispam proposal

2004-05-21 Thread James Buchanan
 If nothing changes email will soon be unusable.

I've often thought about refusing to use email at all, and communicating
with people I know with IRC on a server I host, and sharing files with
good old FTP.

Maybe the Internet community needs to get together and write a new RFC
for spam free email, and lock the damn thing down.  Email could be
refused with a forged from line.  Also, there could be a negotiation
stage (possibly).  This has privacy and anonymity issues however.  That
could kill such an idea.

Someone needs to write a really good RFC for a new email next
generation service and make it impossibly hard for spammers, that is
simple and quick to implement.  No 6-part RFCs with vague requirements
and a long list of gotcha's.  Quick and simple like the orginal SMTP,
but locked down and designed around squishing spam from the start.

--
James



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Debian Users: Please boycott Paypal

2004-05-20 Thread James Buchanan

 Try to stay on topic on the list?
 
 The kernel maintainer walked because of political issues in Debian.
 

Yes, I must apologise to the list because of this (and those people I
unfairly flamed).  I didn't mean to come across with zealotry which is
what someone suggested it looked like.  I'll shutup about it now.

James



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[OT] Debian Users: Please boycott Paypal

2004-05-19 Thread James Buchanan
PayPal has suspended/cancelled the donations account of the Freenet
Project:

http://freenet.sourceforge.net/index.php?page=indexmode=developer

These corportate stinkers are liars and thieves.  They have agreed to
send a check to cover an outstanding balance, but everything else
presumably gets gobbled up somewhere.

Liars: the flimsy reason they give for freezing Freenet's donations
account is use of an anonymous proxy.  This is bullshit.  The Freenet
project's Ian Clarke has never used any such tool to access the Paypal
account, and presumably nobody else had access to the account.  So where
was the use of an anonymous proxy?  Perhaps, because he worked on an
anonymising tool, the charge is anonymous proxy by proxy!

The numbers for certain Paypal contacts are on the linked page above. 
Please call to express your disgust.

Please help boycott Paypal and spread the word over the 'net.  Let's
show Paypal that when they screw with the good netizens of the World,
the mighty hand of a million users slaps them back!

Thankyou.
James Buchanan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Debian Users: Please boycott Paypal

2004-05-19 Thread James Buchanan

 Thanks, but just because we are debian users, it does not make us a
 willing party or lobbyist group.
 
 Take your arguments elsewhere. 

Thanks, but if you don't want to play you don't have to, kid.

Take your poo-poos elsewhere.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



IPv6 General Questions

2004-05-18 Thread James Buchanan
Hi,

I'm curious to know how I might test out IPv6 networking.  I certainly
need another Ipv6 box to talk to, and I might build a little subnet at
home with old 386/486 boxes for cheap to do this.  It might be my only
way.  Does my ISP have to explicitly support IPv6 for me to talk to the
rest of the world in IPv6?  Would their routers peek at the version of
IP packets and chuck them out if they wanted only IPv4 packets, or would
this not happen for Ethernet connections because routing is done on MAC
addresses or somesuch?  (Is that even possible at all?  'Fraid I dunno
much about networking.)

Tunneling IPv6 through IPv4 seems like a possibility, however, the
so-called back routing required might make this not feasible for me
since providers will probably charge a price I can't afford to connect
up to their 6bone thingy.  Also I'd need a static IPv4 address, and my
ISP won't give me one...

Cheers
James



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Safe to compile/install 2.6.6 kernel on Sarge? + options

2004-05-14 Thread James Buchanan
Should it be possible to safely compile and install a 2.6.6 kernel on 
Sarge with a 2.6.3 kernel running?  The options for this kernel are a 
little confusing.  I know there is a native ATA/ATAPI driver now so 
that ide-scsi is no longer needed (but will removing generic SCSI 
support render cdrecord  co. useless?)

I'll backup the various bits in /boot and keep the old entries in 
grub's menu.lst, and what about the modules?  Before I go ahead and 
compile and install, if it's generally safe to do so, will 
the /lib/modules/modprobe.conf need to be backed up?  It seems to be 
global, so that it's applicable regardless of kernel version.  Maybe 
it doesn't really change from version to version... do I need to make 
sure of certain configuration items in there depending on which 
kernel version I have?

Thanks very much.
:)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't dialup, possible DNS problem

2003-07-05 Thread James Buchanan
Hello,

I've tried configuring my dialup accounts using pppconfig, however
when I try to fetch a web page Mozilla sits there forever 'resolving
host foo.bar.com...'  When I try to use ping, it also just sits there
trying to resolve the host.

The same happens when I try to configure wvdial.  Both don't seem to
let me access the Internet.

I've tried configuring with static as well as dymanic DNS.  No luck.
Any ideas?

--James



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: shuttle disaster

2003-02-07 Thread James Buchanan
 On Thu, Feb 06, 2003 at 11:34:51PM -0600, DvB wrote:
  James Buchanan [EMAIL PROTECTED] writes:
 
   Famine victims OK, but nobody has mentioned the people living in
   poverty in America.  Boost welfare, more education funding,
subsidise
   pay rises for the lowest paid workers... ooops, America's budget
all
   gone ;-)
  
 
  sarcasm
  Of course! If we spent that much, people with enough money to have
  significant amounts of it in taxable stock accounts wouldn't be
able to
  keep it all!
  /sarcasm

 Yeah, after all it's not their money .. they just worked hard to
earn
 it.

I've lost the thread here, I don't really get the joke - can someone
explain this for me please.  Maybe it's because I'm not American.  :-)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: shuttle disaster

2003-02-06 Thread James Buchanan
Famine victims OK, but nobody has mentioned the people living in
poverty in America.  Boost welfare, more education funding, subsidise
pay rises for the lowest paid workers... ooops, America's budget all
gone ;-)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Help: motherboard works with Linux?

2003-01-29 Thread James Buchanan
Hi all,

I am thinking of buying this motherboard: Gigabyte GA-8IEXP with the Intel
845E AGPset chipset - what worries me is its winbond I/O chip.  Is that
like a winmodem ie. only works with Windows?

Here is the spec: http://www.giga-byte.com/products/8iexp.htm

Please help if you can.  I'd like to know if I can install Debian Woody
using this motherboard or whether it will fail because it isn't supported.

Thanks heaps
James



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Window Managers

2003-01-26 Thread James Buchanan
Hi Osamu,

I recommend one package that detects all installed Window managers, and
allows the user to select which one to start, or click a checkbox that
updates an /etc/wmconfig file to make that window manager the default.  And
also it should have a hot key so that if you press F12 for example in an
emergency the whole Window system can be brought down and you can login at a
command prompt instead of that annoying wdm login thing.  This is awful when
someone gets their X setup wrong and the screen goes mad, the mouse goes
nuts and you can't login because nothing works and you need a command prompt
to get back into XFree86Setup!

PLEASE add the hot-key to kill off the graphical login to get a good ol'
command line back!  This feature is missing as far as I know and it should
be showed in big letters on wdm - To kill wdm and get a shell, hit
F-whatever.

Thanks !  Your email was very helpful.  Now I know why .xinitrc didn't work
but .xsession did!

By the way, what does a programmer need to learn to develop a new window
manager, do you know?  (Read the source code for a simple WM, because there
is nothing else?)

Kind Regards,
James



- Original Message -
From: Osamu Aoki [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: James Buchanan [EMAIL PROTECTED]
Sent: Sunday, January 26, 2003 8:44 PM
Subject: Re: Window Managers


 On Sat, Jan 25, 2003 at 09:01:42AM +, Karsten M. Self wrote:
  on Sat, Jan 25, 2003 at 04:28:45PM +1100, James Buchanan
([EMAIL PROTECTED]) wrote:
   Hi,
  
   When I run `startx' I would like afterstep to run, and I would like a
   menu giving me a list of all the window managers/desktop environments
   that I can run.  How do I tell startx to run afterstep by default?  I
   have done `man startx'  but it's all incomprehensible gibberish to me!
   :-(  I did look at xinitrc but again, I can't read shell scripts.

 No not there.  ~/.xsession :-)

   None of it looks obvious to me unfortunately.  Oh yes, apparently
   Gnome is installed, but how do I run it?
 
  Systemwide:
 
  # update-alternatives --config x-window-manager

 I wish it is as simple.  Since x-session-manager has priority over
 x-window-manager, nothing really happens for the window manager.
 x-session-manager loads its window manager (sawmill ...).

 Anyway, Branden was going to review this mess of window/session manager
 initialization soon.  Anyway, it is non-trivial configuration to
 understand.  So many random codes by different packages :-(  I was and I
 am still confused.

  For your own use, make the following the last line of ~/.xsession
 
  exec afterstep
 
  ...and take a look at WindowMaker if you like Afterstep.

 Yeh, ~/.xsession is the key on Debian.

 Also one of the following are interesting.
  exec wmaker  # install wmaker,   nice and clean
  exec blackbox# install blackbox, very slick and light
  exec fluxbox # install fluxbox,  blackbox + nice tab thing
  exec fcwm# install xfce, Mac OS-X like
  exec icewm   # install icewm,Light  windows like

 --
 ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~
+
 Osamu Aoki [EMAIL PROTECTED]   Cupertino CA USA, GPG-key:
A8061F32
  .''`.  Debian Reference: post-installation user's guide for
non-developers
  : :' : http://qref.sf.net and http://people.debian.org/~osamu
  `. `'  Our Priorities are Our Users and Free Software --- Social
Contract


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Window Managers

2003-01-24 Thread James Buchanan
Hi,

When I run `startx' I would like afterstep to run, and I would like a menu
giving me a list of all the window managers/desktop environments that I can
run.  How do I tell startx to run afterstep by default?  I have done `man
startx'  but it's all incomprehensible gibberish to me!  :-(  I did look at
xinitrc but again, I can't read shell scripts.  None of it looks obvious to
me unfortunately.  Oh yes, apparently Gnome is installed, but how do I run
it?

Thanks for any help - btw I am running Potato 2.2r6.

Cheers
James


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]